Pictures not showing up in library, "file error" when importing them
Mandatory: Shotwell version the issue was seen with
Shotwell 0.30.17 installed from Flathub, on Ubuntu 22.04.1
When attaching an image, compress the image using Zip/gzip... to prevent gitlab from
Potentially stripping the meta-data
The expected behaviour
Shotwell library should include any picture files in my library directory.
What was actually happening
A few pictures from my library don't show up in Shotwell. If I attempt to explicitly import them, I get a generic message "file or hardware error".
Steps to reproduce the issue
Try to import the attached file.
More info
- The files where I detected this problem are JPGs generated with GIMP by me, from scanned pictures. Some have this problem and some haven't, although I scanned them all in the same resolution and applied the same post-processing.
- The problematic file attached has a resolution of 4166 × 6105 px; if I downscale to 3412 × 5000 px, it imports correctly into Shotwell.
- I can reproduce the error with Shotwell 0.30.17 installed from Flathub, on Ubuntu 22.04.1. I can not reproduce the error using the same version of Shotwell on a different computer running Fedora 37. Notice that the latter is a new Shotwell install with an empty DB, just to check if the error could be reproduced.