digikam cannot download pictures due to gvfsd-gphoto2 blocking the device

Bug #288470 reported by Geoff123
58
This bug affects 10 people
Affects Status Importance Assigned to Milestone
digiKam
Invalid
Medium
digikam (Ubuntu)
Opinion
Low
Unassigned
gnome-volume-manager (Ubuntu)
Confirmed
Undecided
Unassigned
gvfs (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: digikam

It appears that gvfsd-gphoto2 always pops up when plugging in a camera to usb port. When I start digikam and try to import photos then digikam import does not work. However, when I manually kill the gvfs-gphoto2 I can then use digikam to get photos. This happens with both of my cameras when plugged in.

For example:
gsking 17962 1 0 20:59 ? 00:00:00 /usr/lib/gvfs/gvfsd-gphoto2 --spawner :1.5 /org/gtk/gvfs/exec_spaw/9
gsking@computer:~/programs/src$ killall gvfsd-gphoto2

Description: Ubuntu 8.10
Release: 8.10

Revision history for this message
Alexandre Racine (alexandreracine) wrote :

I have the same problem.

The less drastic workaround that I have is to wait for the popup, then choose "Unmount" instead of a software or an action and you will be able to use digikam after that for importing pictures.

The thing is, maybe "Unmount" should be in the action list. So you could say "always unmount" since using the "do nothing" action still interfere with digikam.

Changed in digikam:
status: New → Confirmed
Revision history for this message
Tobias Krais (tux-spam) wrote :

Hi folks,

same problem here. I'm glad I found this bugreport.

Greetings, Tobias

Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

Thanks! To make this easier, I chose this script to start when the camera is plugged in:

#!/bin/bash
killall gvfsd-gphoto2
digikam --detect-camera

Revision history for this message
Nicolai P (nicolaip) wrote :

This damn problem still exists in Jaunty! Please fix this, that's a really big problem if you don't know the workaround...

Revision history for this message
Luka Renko (lure) wrote :

This is known issue and there not much digikam can do about it.

Revision history for this message
ceg (ceg) wrote :

The volume should not be mounted. Especially if "do nothing" is selected.

Revision history for this message
Daniel Hahler (blueyed) wrote :

Digikam could offer better help/workaround in this case:
I have reported bug 571656, which is likely a duplicate of this one.

I'm getting the following error in digikam.
"""
Failed to connect to the camera. Please make sure it is connected properly and turned on. Would you like to try again?
[Retry] [Abort]
"""

Digikam could detect this problem and offer to "pkill gvfsd-gphoto2" or whatever is required - as a workaround.

The real bug is the device getting (b)locked by gvfsd-gphoto2.

Changed in digikam (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Low
Revision history for this message
Geoff123 (gsking1) wrote :

I agree with #1 and #7.
Maybe Digikam could:
-unmount the device for us so that digikam can use it?
-provide a more thorough message suggesting that the user unmount the device? Add to the error line: You may also need to make sure that the camera is not mounted and in use by another program.

Like #1 points out I've gotten in the habit of clicking unmount from the gnome popup, but I'm sure that this could cause problems for other users that don't know this workaround.

Daniel Hahler (blueyed)
Changed in gvfs (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
summary: - digikam cannot download pictures due to gvfsd-gphoto2
+ digikam cannot download pictures due to gvfsd-gphoto2 blocking the
+ device
Changed in digikam:
status: Unknown → Confirmed
Revision history for this message
malangaman (cahevia) wrote :

Have the same bug in 10.04 Ubuntu running DigiKam will try work around above.

Changed in digikam:
importance: Unknown → Medium
Changed in digikam:
status: Confirmed → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-volume-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
NoOp (glgxg) wrote :

Ubuntu 12.04.1 Precise
3.2.0-34-generic-pae #53-Ubuntu SMP Thu Nov 15 11:11:12 UTC 2012 i686 i686 i386 GNU/Linux

$ apt-cache policy digikam
digikam:
  Installed: 4:2.5.0-1ubuntu2
  Candidate: 4:2.5.0-1ubuntu2
  Version table:
 *** 4:2.5.0-1ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
        100 /var/lib/dpkg/status

Killing gvfsd-gphoto2 allows digikam to import photos (Fuji FinePix S1800).

$ apt-cache policy gvfs
gvfs:
  Installed: 1.12.1-0ubuntu1.1
  Candidate: 1.12.1-0ubuntu1.1
  Version table:
 *** 1.12.1-0ubuntu1.1 0
        500 http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1.12.1-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main i386 Packages

Revision history for this message
NoOp (glgxg) wrote :

$ apt-cache policy digikam
digikam:
  Installed: 4:2.5.0-1ubuntu2
  Candidate: 4:2.5.0-1ubuntu2
  Version table:
 *** 4:2.5.0-1ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

7 years later and still broken. Worse actually as now crashes with a segfault when attempting to import.

Dennis (mikro402)
Changed in digikam (Ubuntu):
status: Triaged → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.