Skip to content
Prompt & SolderHow to Ask Claude
All builds
PPNo photo
Unverified Proof shown

libgphoto2 no longer returns empty listings after a failed folder query

A pull request written with Claude Code stops gphoto2 marking a camera folder as loaded before asking the camera, which left disconnected cameras looking empty.

—

Credits

  • Source byline Sija Source ↗

Earliest dated source: 16 Nov 2026

The full story

In libgphoto2, listing a folder with the camera disconnected returned a 'no device' error once and then an empty listing reported as success on every later call, because both caching layers marked the folder as loaded before asking the camera. Fixing that exposed other places in the PTP path handling that turned errors into 'not found'.

One was serious: the delete function never checked whether a file was found, so a file that was in the cache but no longer on the camera resolved to object 0xFFFFFFFF, and deleting that asks the camera to delete all objects. The pull request, generated with Claude Code, fixes these in separate commits and flags the delete fix as worth merging on its own.

How it was done

Tools

Themes

Loading themes…

Sources

From the maker's own write-up or code. We summarise what they report; we haven't tested it ourselves.

  • libgphoto2: Do not return cached empty listings after a failed folder queryCode or repositorygithub.com
    Source byline: SijaPublished 16 Nov 2026

    The libgphoto2 pull request describing the bugs and fixes.

Related builds

Finding related builds…

Prompt & Solder

An independent community project. Not affiliated with Anthropic.

What this is. Real projects where people used Claude to build, fix, port, revive or take apart something, from jailbroken Kindles to rebuilt DOS games, plus the times it went badly wrong. Every build links to where it was shared, and every source is listed here.

How far to trust it. We summarise what people reported and say what each build rests on: a full write-up with code, a short post, or a passing comment. We haven't tested them ourselves. Photos are shown from the original sources with credit. Only modify hardware you own, and back up first.

Privacy. No accounts. Analytics cookies (Google Analytics) only if you accept them; no ads or cross-site tracking. Searches are counted anonymously (just the words) to show what's popular, and so are clicks on Ask Claude (just the count). The Claude connector only receives the search words your Claude sends it.

How toAsk ClaudeEvery sourceStatsSubmit a buildPrivacyRSS