Bug 175894

Summary: error accessing files on usb camera
Product: [Applications] digikam Reporter: simon
Component: Import-UMSAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description simon 2008-11-23 15:56:32 UTC
Version:           0.10.0-beta6 (using 4.1.80 (KDE 4.1.80 (KDE 4.2 Beta1)), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.26-tuxonice

i connected my camera and its mounted under /media/disk-1, the thumbs are displayed in the Import Dialog, but when i try to 
view a file (doubleclick or "view" context menu) it fails ("failed to retrieve file ...")

the debug output during this is pasted below.

The strange thing is: i can download the files though and they are accessible directly from the camera in dolphin without errors.



[New Thread 0x456e9950 (LWP 12793)]
error reading file:///media/disk-1/dcim/106_pana//p1060826.jpg
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#cameraModel"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#focalLength"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#mimeType"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#cameraManufacturer"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#orientation"
loading writer for key  "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#flashUsed"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#35mmEquivalent"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#contentCreated"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#whiteBalance"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#height"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#url"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#width"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#size"
loading writer for key  "http://strigi.sf.net/ontologies/0.9#depth"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#meteringMode"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#sourceModified"
loading writer for key  "http://strigi.sf.net/ontologies/0.9#parentUrl"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#exposureBias"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#exposureTime"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#name"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#fileExtension"
error reading file:///media/disk-1/dcim/106_pana//p1060826.jpg
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#cameraModel"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#focalLength"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#mimeType"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#cameraManufacturer"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#orientation"
loading writer for key  "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#flashUsed"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#35mmEquivalent"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#contentCreated"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#whiteBalance"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#height"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#url"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#width"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#size"
loading writer for key  "http://strigi.sf.net/ontologies/0.9#depth"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#meteringMode"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#sourceModified"
loading writer for key  "http://strigi.sf.net/ontologies/0.9#parentUrl"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#exposureBias"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#exposureTime"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#name"
loading writer for key  "http://freedesktop.org/standards/xesam/1.0/core#fileExtension"
[New Thread 0x45eea950 (LWP 13800)]
QFSFileEngine::open: No file name specified
digikam(10185)/digikam (core) Digikam::UMSCamera::downloadItem: Failed to open dest file for writing:  ""
Comment 1 caulier.gilles 2008-12-05 14:31:28 UTC
Sound like DBUS error ???

Gilles Caulier
Comment 2 caulier.gilles 2008-12-16 16:33:41 UTC
There is the same backtrace in #175898

Gilles Caulier

*** This bug has been marked as a duplicate of bug 175898 ***
Comment 3 simon 2008-12-16 22:41:27 UTC
ok, i am not certain that this is really a duplicate, as the other is about slow selecting

when i click on the thumbnail with no sidepanel expanded i get this message and a error popup:

QFSFileEngine::open: No file name specified
digikam(1966)/digikam (core) Digikam::UMSCamera::downloadItem: Failed to open dest file for writing:  ""

Gilles: should this issue be reopened and removed as a duplicate?

Comment 4 caulier.gilles 2008-12-16 22:43:53 UTC
It's a duplicate i think...

Gilles
Comment 5 caulier.gilles 2022-01-27 16:12:01 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=175898