After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 585763 - importer not launched when connecting camera if gthumb is opened
importer not launched when connecting camera if gthumb is opened
Status: RESOLVED NOTGNOME
Product: gthumb
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2009-06-14 18:32 UTC by Paolo Benvenuto
Modified: 2011-03-15 12:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paolo Benvenuto 2009-06-14 18:32:13 UTC
trunk

When I connect the camera gthumb importer is run if gthumb wasn't run, but if it was running, another gthumb instance is run and the importer isn't launched.
Comment 1 Michael Chudobiak 2009-06-15 13:07:17 UTC
Does it behave any differently now?

- Mike
Comment 2 Matthias Hawran 2010-02-01 12:51:47 UTC
Hi,

Thanks for your report.
However please note that the new 2.11.x is the current
and older versions are obsolete.

I just tested your use case with the latest master
and it works fine, gthumb runs the importer if there was an instance already running.

I'll close this report.

Please try this use case with the new 2.11.x
and feel free to reopen if necessary.

Cheers,
Matthias
Comment 3 Paolo Benvenuto 2011-03-07 06:48:05 UTC
2.12, still present

The camera is connected:

$ lsusb 
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 04a9:31e0 Canon, Inc.
Bus 001 Device 002: ID 18a5:0214 Verbatim, Ltd Portable Hard Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

but it isn't mounted, and gthumb's importer doesn't see it.

Actually, if I put the card in a card reader, it's imported, and gthumb sees it normally.
Comment 4 Michael Chudobiak 2011-03-14 17:00:45 UTC
Perhaps a left-over script from an earlier packaging of gthumb 2.10.x is unmounting the device. See my comments at:

https://bugs.launchpad.net/ubuntu/+source/gthumb/+bug/713838

- Mike
Comment 5 Michael Chudobiak 2011-03-15 12:49:17 UTC
Copied from the downstream bug:

------
"OK, I got it to work. Based on your comments, I changed the command in the menu for gThumb Photo Import Tool to:
sh -c 'gphoto2 ; exec gthumb --import-photos'
and that did the trick. Apparently you can't mention anything about gvfs any more.
------
"Paolo, you need to right click Applications the select "Edit Menus". In the resulting window, select Graphics on the left side and then on the right side, right click gThumb Photo Import Tool. Select Properties and in the resulting window, change the command in the "Command" box to read:
sh -c 'gphoto2 ; exec gthumb --import-photos'
It's easiest to just blank out the old command and paste in the one I wrote above.
Once the new command is in the box, just click "Close" and close out of the menu editor.

If your camera is already connected, disconnect it. Then the next time you plug it in and set it to upload, everything should work as before. Some of the choices in the new version of the import tool have been moved to the "Preferences" button, so look at that once it runs.
------


This seems to be a distro packaging issue, and not a gthumb issue. Closing bug.

- Mike