Description of problem:
gthumb had a problem in the past, about six months ago: It did not recognise USB-mounted photo media (SD or CF card reader). The window just stayed empty, no way to get images scanned from the media.
That was solved with some package releases about 2 months ago.
As I do not use it too frequently on my laptop (DELL latitude D520), I only noticed this week, that it seems to be broken again, but in a different way:
gthumb correctly recognises the media (SD card in this case) and displays all files (images and movies). I can (select the wanted images and) click on "Import"; button flashes, progress bar appears. But nothing else happens. The interfaces stays reactive; I can select other images and scroll, click "Import" again.
Launching from commandline gives no errors except something with invalid value for thread priority value. Options (rotate, delete, ...) do not matter; same result!
Version-Release number of selected component (if applicable):
see above, with the latest updates for F12
No import possible
I _suspect_ this problem to have appeared with the glibc library update, the only "big" update of packages related to this, but there was also a libexif update in between. I cannot simply revert these packages, so it remains a suspicion, not more.
Here is the problem. You have movies on your memory card!
Run gthumb-importer from a terminal and click Import. You will see the following error message:
(gthumb:6553): Gtk-CRITICAL **: gtk_progress_set_percentage: assertion `percentage >= 0 && percentage <= 1.0' failed
Now change to /media/whatever your automount directory name is.
Temporarily move all movies to a safe spot off of the memory card, for example ~/mov
Run gthumb-importer and click Import. Voila! It works.
Something broke in the version of gthumb shipping with Fedora 12. Fedora 11 and earlier correctly ignored non JPEGs.
This might be a one-liner for Christian to fix.
(In reply to comment #1)
> Here is the problem. You have movies on your memory card!
Thank you for the hint. I will check later, but indeed there are movies on the card. That may explain why I beleive that it worked some time with the F12 distribution earlier (probably with one of my cards that does not contain movies).
> (gthumb:6553): Gtk-CRITICAL **: gtk_progress_set_percentage: assertion
> `percentage >= 0 && percentage <= 1.0' failed
I confirm that this message appears, but could not connect it to the problem.
> This might be a one-liner for Christian to fix.
I hope so :-)
Fortunately there was already an upstream bug report:
and also a patch to fix the issue.
Basically all time when for at least one file within the list no preview could be generated gthumb did not import any files. In your case it was the video for which libgphoto2 could not generate a preview image.
An update for Fedora 12 is on its way.
With the newer gthumb in rawhide and F13 (2.11.91) I could not reproduce the issue - no actions necessary in these Fedora branches.
gthumb-2.10.12-2.fc12 has been submitted as an update for Fedora 12.
I have verified your fix to work.
Thanks for looking into the problem!
(In reply to comment #4)
> gthumb-2.10.12-2.fc12 has been submitted as an update for Fedora 12.
I confirm that both work
- the workaround with copying movies or unreadable files "by hand"
- the update 2.10.12-2 works also with movies on the card.
Unfortunately the update is not yet in the fedora (yum) repository. Can John's and my statement be used to validate it?
Good to hear that it works!
It will take some time until the update reaches updates-testing and later updates. Since koji is capable to set the bug status correctly (and populating some information about the package where it is fixed etc.) I'll set the bug status back to MODIFIED. ;-)
gthumb-2.10.12-2.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update gthumb'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/gthumb-2.10.12-2.fc12
gthumb-2.10.12-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.