Bug 131641 - CR2 thumbnails not shown in camera GUI, no exif information available
Summary: CR2 thumbnails not shown in camera GUI, no exif information available
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Import-IconView (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-01 11:01 UTC by Gerhard Kulzer
Modified: 2022-01-26 11:42 UTC (History)
1 user (show)

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


Attachments
Debug statements (1.18 KB, patch)
2006-08-05 15:11 UTC, Marcel Wiesweg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Kulzer 2006-08-01 11:01:12 UTC
Version:           0.9 svn (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

In the camera GUI, only jpg file thumbnails are shown and no thumbnails are shown in the cr2 files. This is tested with EOS 350D and 30D.

Furthermore there are no image properties or exif data available when selecting the appropriate sidebars. Once the cr2 are downloaded all is well, thumbnails are visible and exif data is complete.

I presume the two bugs has the same root cause, since the exif data cannot be read, the embedded thumbnail is not available either.

The following error messages are produced in a shell from which digiKam was launched:

digikam: Cannot parse EXIF metadata using Exiv2
digikam: [static Digikam::DImg::FORMAT Digikam::DImg::fileFormat(const QString&)] Failed to open file
digikam: [static Digikam::DImg::FORMAT Digikam::DImg::fileFormat(const QString&)] Failed to open file
digikam: Size of Exif metadata from camera = 20
digikam: Exif header found at position 0
Comment 1 Marcel Wiesweg 2006-08-03 23:11:20 UTC
Gphoto2 or USB mass storage camera?

Can you reproduce this when loading from a local path? I mean, create a "Mounted camera" camera with a local path as mount point which contains some .cr2 files, and start the CameraUI.
With my test .cr2 files here, all seems to work.
Comment 2 Hubert Figuiere 2006-08-04 03:44:34 UTC
Canon cameras do not do Mass Storage.
Comment 3 Gerhard Kulzer 2006-08-04 08:41:24 UTC
Am Donnerstag, 3. August 2006 23:11 schrieb Marcel Wiesweg:
[bugs.kde.org quoted mail]
Gphoto2

> Can you reproduce this when loading from a local path? I mean, create a
> "Mounted camera" camera with a local path as mount point which contains
> some .cr2 files, and start the CameraUI. With my test .cr2 files here, all
> seems to work.


It works from a card reader, the thumbnails are visible.

Gerhard
Comment 4 Marcel Wiesweg 2006-08-05 15:11:02 UTC
Created attachment 17236 [details]
Debug statements

Perhaps it is a libgphoto2 problem? It seems that for those cameras, thumbnails
are loaded by libgphoto2.
The attached patch adds some debug statements to find out if the thumbnails are
loaded successfully or not.
Comment 5 caulier.gilles 2006-08-17 02:29:47 UTC
Yes Marcel, it's certainly a limitation in Gphoto library. 

In PTP mode (GPhoto2), my Dynax 5D only provide thumbs for JPEG files, not for RAW files. In UMS mode from digiKam (not using Gphoto2), no problem...

Marcus, can you give us more informations about ? Why Gphoto2 camera drivers can provide thumbs with RAW files ? 

Thanks in advance

Gilles Caulier
Comment 6 Marcus Meissner 2006-08-17 10:40:51 UTC
we currently handle only EXIF extraction from JPEGs.

can you mail me the logfile of:
LANG=C gphoto2 -L --debug >lofile 2>&1
Comment 7 caulier.gilles 2006-08-25 16:51:25 UTC
Gerhard,

We cannot do anything in digiKam about these problems. This is a gphoto2 Canon driver problems (all PTP Gphoto2 drivers i think).

I recommend you to report this problem in gphoto2 bugzilla :

http://gphoto.org/bugs

Thanks in advance

Gilles