Bug 228489

Summary: Digikam cannot autodetect camera when gvfs-gdu-volume-monitor is running
Product: [Applications] digikam Reporter: Oleg Atamanenko <oleg.atamanenko+kde>
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: caulier.gilles, kde-bugzilla, rdieter
Priority: NOR    
Version: 1.1.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.