[Bug] Image files with spaces in filename not recognized on macOS
Bug Description Look CC cannot read screenshotted image files on mac, because they have spaces in images. If they don't have spaces in filenames it can read. Please fix.
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.0.76
- Feedback ID: cc0cfd1a-7463-4d6f-970e-76ac1324b504
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/vkrishnaprasad/.local/share/claude/versions/2.0.76 (expected in multi-process scenarios)\n at XZR (/$bunfs/root/claude:2430:2165)\n at fUA (/$bunfs/root/claude:2430:1885)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-25T14:18:13.491Z"},{"error":"Failed to decode image: Format error decoding Jpeg: Exhausted data in the image","timestamp":"2025-12-25T14:18:19.326Z"},{"error":"Error: ENOENT: no such file or directory, open '/Users/vkrishnaprasad/Desktop/Screenshot 2025-12-25 at 9.16.12 AM.jpg /Users/vkrishnaprasad/Desktop/Screenshot 2025-12-25 at 12.17.02 PM.jpg /Users/vkrishnaprasad/Desktop/Screenshot 2025-12-25 at 9.11.35 AM.jpg /Users/vkrishnaprasad/Desktop/Screenshot 2025-12-25 at 9.10.11 AM.jpg'\n at readFileSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:598)\n at sW (/$bunfs/root/claude:11:8463)\n at readFileBytesSync (/$bunfs/root/claude:12:558)\n at Q4_ (/$bunfs/root/claude:335:87228)\n at Q4_ (/$bunfs/root/claude:335:87524)\n at <anonymous> (/$bunfs/root/claude:2522:6531)\n at cR (/$bunfs/root/claude:202:23045)\n at g$ (/$bunfs/root/claude:202:31768)\n at W0 (/$bunfs/root/claude:202:31487)","timestamp":"2025-12-25T14:18:40.187Z"},{"error":"Failed to decode image: Format error decoding Jpeg: Exhausted data in the image","timestamp":"2025-12-25T14:19:39.018Z"},{"error":"Failed to decode image: Format error decoding Jpeg: Exhausted data in the image","timestamp":"2025-12-25T14:19:39.025Z"},{"error":"Failed to decode image: Format error decoding Jpeg: Exhausted data in the image","timestamp":"2025-12-25T14:20:07.428Z"},{"error":"Failed to decode image: Format error decoding Jpeg: Exhausted data in the image","timestamp":"2025-12-25T14:20:07.433Z"},{"error":"Failed to decode image: Format error decoding Jpeg: Exhausted data in the image","timestamp":"2025-12-25T14:20:07.433Z"},{"error":"Failed to decode image: Format error decoding Jpeg: Exhausted data in the image","timestamp":"2025-12-25T14:20:07.439Z"}]
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/2143
- https://github.com/anthropics/claude-code/issues/14335
- https://github.com/anthropics/claude-code/issues/1726
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
This issue has been automatically closed as a duplicate of #2143.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.