Bug 228489 - Digikam cannot autodetect camera when gvfs-gdu-volume-monitor is running
Summary: Digikam cannot autodetect camera when gvfs-gdu-volume-monitor is running
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Import-Gphoto2 (show other bugs)
Version: 1.1.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-25 17:45 UTC by Oleg Atamanenko
Modified: 2017-08-16 06:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Atamanenko 2010-02-25 17:45:42 UTC
Version:           1.1.0 (using KDE 4.4.0)
OS:                Linux
Installed from:    Ubuntu Packages

I'm using KDE on Ubuntu.

After introducing gvfs in gnome I can't normally upload photos from my photo (Canon EOS450D) using digikam.

Expected behaviour:
1. Connect camera and turn it on.
2. Device notifier 'detects' camera.
3. User chooses 'download photos using digikam'
4. Digikam opens and allows to download photos.

Actual behavior:
4' Digikam says it cannot connect to camera and suggests to click 'retry'.
This doesn't help.

Known workaround:
Kill gvfs-gdu-volume-monitor and restart digikam. 
After these actions digikam can detect camera and allows to download photos.

I think that issue is in digikam. But maybe it relates to gvfs...
Comment 1 Daniel Hahler 2010-05-02 13:55:40 UTC
Part 1 of this fix appears to be improving the error message, to include a hint that the device is already in use / mounted already.

(Launchpad bug: https://launchpad.net/bugs/288470)
Comment 2 Marcel Wiesweg 2010-05-02 15:37:56 UTC
I guess we are talking about a gphoto2 camera here. That means "mount" and "umount" is not the term, rather "connected via USB with libgphoto2".

So this gnome process takes any connected camera and opens it with libgphoto2?

The question is: Does libgphoto2, when trying to connect to a camera already opened by another process, give us any hint at the actual problem?
Comment 3 Oleg Atamanenko 2010-05-04 05:47:36 UTC
I'll check behaviour of libgphoto2 and post results here later.
Comment 4 caulier.gilles 2011-08-04 15:03:29 UTC
Oleg,

What's news about this file ?

Gilles Caulier
Comment 5 Oleg Atamanenko 2011-08-05 01:29:41 UTC
I switched to Arch and I can't reproduce the issue because I don't have gnome or gvfs installed.