Created attachment 1828815 [details] Screenshot showing the bug Description of problem: A regression occurred when Shotwell false claimed empty memory card despite the presence of image files. Version-Release number of selected component (if applicable): 0.31.3 How reproducible: Always Steps to Reproduce: 1. Attempt to import photos from memory cards 2. 3. Actual results: "The camera seems empty. No photos/video found to import" Expected results: Shotwell should see photos/videos in the memory Additional info:
The upstream maintainer mentioned the issue was caused by the updated gphoto2. See attached links above.
Please note the comment of the upstream maintainer https://gitlab.gnome.org/GNOME/shotwell/-/issues/4926#note_1329820 "This is a development release. Why fedora opted to ship this, is beyond me. The fix is released in the latest stable release 0.30.whatever." Due this Bug, Shotwell is broken on Fedora 35
Well, the update to 0.31 was already done for Fedora 30, and while I don't remember it now, there surely was a reason why Kalev did it at that time. One could also ask why upstream didn't release a stable version based on that branch (i.e., a 0.32) since then. Anyway, we already cherry-picked some commits, and maybe we are missing one. I can have a look. Another option would be to switch back to 0.30, but this would force us to use an epoch, and I am not sure about any incompatibilities wrt to the database or the configuration.
There was some database and configuration changes between Schema Version 20 (0.30.14) and 23 (0.31.3) * Some columns were added to the database * GSettings have been migrated: org.yorba.Shotwell -> org.gnome.Shotwell So switching back maybe not so easy. I've done it for my installation. I installed Shotwell 0.30.14 from Flatpak and did some changes to the database UPDATE VersionTable SET schema_version=20, app_version='0.30.14' WHERE id=1; Without that, Shotwell rejected to launch Your photo library is not compatible with this version of Shotwell. It appears it was created by Shotwell 0.31.2 (schema 23). This Version is 0.30.14 (schema 20). Please use the latest version of Shotwell Additionally, I dropped all the additional Database Structures alter table PhotoTable drop column has_gps; alter table PhotoTable drop column gps_lat; alter table PhotoTable drop column gps_lon; drop table FaceLocationTable; I assume, it is easier, to cherry pick the right changes :-)
https://src.fedoraproject.org/rpms/shotwell/pull-request/1 This PR appears to fix the issue for me.
Thanks Julian! I've created an update, could you please test.
FEDORA-2022-f755b31430 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f755b31430
FEDORA-2022-f755b31430 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-f755b31430` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f755b31430 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-f755b31430 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.