Bug 132695 - CR2 RAW files do not open
Summary: CR2 RAW files do not open
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-RawImport-Native (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-20 17:37 UTC by Hubert Figuiere
Modified: 2022-01-26 04:23 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Figuiere 2006-08-20 17:37:41 UTC
Version:           0.9-beta1 (using KDE KDE 3.5.4)
OS:                Linux

When I try to open a CR2 file in Digikam, I get nothing (the editor popsup with a white content, histogram that failed, etc.)

Here is the stdout output:

Warning: Directory Canon has an unhandled next pointer.
Warning: Size 5352 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Directory Canon has an unhandled next pointer.
Warning: Size 5352 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Directory Canon has an unhandled next pointer.
Warning: Size 5352 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
kdeui (KDatePicker): KDatePicker::dateChangedSlot: date changed (2006/8/20).
kio (KTrader): query for Digikam/ImagePlugin : returning 30 offers
QFile::open: No file name specified
QFile::open: No file name specified
Warning: Directory Canon has an unhandled next pointer.
Warning: Size 5352 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Directory Canon has an unhandled next pointer.
Warning: Size 5352 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Directory Canon has an unhandled next pointer.
Warning: Size 5352 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Directory Canon has an unhandled next pointer.
Warning: Size 5352 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Directory Canon has an unhandled next pointer.
Warning: Size 5352 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Comment 1 caulier.gilles 2006-08-20 21:10:35 UTC
No problem here using the last dcraw version. Witch dcraw release you use ?

Can you give me a CR2 sample file to test ?

Gilles Caulier
Comment 2 Hubert Figuiere 2006-08-26 02:11:12 UTC
Raw Photo Decoder "dcraw" v8.31


I'll upload the file somewhere....
Comment 3 Hubert Figuiere 2006-08-26 02:14:44 UTC
Grab it there:

http://www.figuiere.net/hub/tmp/img_1673.cr2 (10MB)

It is not the only one.
Comment 4 Marcel Wiesweg 2006-08-26 15:35:23 UTC
Works here without problems. Thumbnail is there, image opens, histogram is there.
If you ignore in console output all warnings from libexiv2, the important lines when opening the image are:

digikam: /media/fotos/Digikam Sample/RAW/img_1673.cr2 : RAW file identified
digikam: Running dcraw command (dcraw,-c,-w,-a,-o,1,/media/fotos/Digikam Sample/RAW/img_1673.cr2)
digikam: Parsed PPM header: width 3522 height 2348 rgbmax 255
Comment 5 Hubert Figuiere 2006-08-26 16:06:56 UTC
I have no such message and the histogram calculation is marked as failed....

showfoto 0.4.0 from the same package HANG.
Comment 6 caulier.gilles 2006-08-28 07:02:46 UTC
No problem here to show the CR2 picture. It's a file right acess problem in your computer ?

Gilles
Comment 7 Hubert Figuiere 2006-08-28 13:06:15 UTC
if it was, I wouldn't have a thumbnail.
Comment 8 caulier.gilles 2006-08-28 13:15:23 UTC
right.

If i understand you, you have installed showfoto using a bin package, not using source code tarball. Right ?

If yes, i suspect a bin package problem, and i recommend you to try to compile and install digiKam using source code to validate this way. Thanks in advance

Gilles
Comment 9 Carl Rouse 2006-09-12 03:12:15 UTC
I also have this problem.
I am running Ubuntu Dapper 6.06 up to date.
I installed 0.8.2-rc1 from Ubuntu repository, worked perfectly, but very slow to display the cr2 files.
I uninstalled, and get binary .debs from http://kubuntu.omat.nl/dapper/
These exhibited the same problem as above, so I downloaded the source and comiled locally.
Compiled from source I still get the same behaviour.

"Viewing" a file - works
kio_digikampreview: Running dcraw command dcraw -c -e '/home/carl/Images/2006-09-06/img_1426.cr2'
kio_digikampreview: Using embedded RAW preview extraction
kio (KIOConnection): ERROR: Could not write data


"Opening" a file - doesn't work
digikam: Cannot parse EXIF metadata using Exiv2
QFile::open: No file name specified
QFile::open: No file name specified
digikam: /home/carl/Images/2006-09-06/img_1428.cr2 : RAW file identified
Warning: Size 22276 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Size 49288 of Exif.Canon.0x4005 exceeds 4096 bytes limit. Not decoded.
Warning: Size 22276 of Exif.Canon.0x4002 exceeds 4096 bytes limit. Not decoded.
Warning: Size 49288 of Exif.Canon.0x4005 exceeds 4096 bytes limit. Not decoded.
digikam: Running dcraw command (dcraw,-c,-2,-w,-a,-q,0,-o,1,/home/carl/Images/2006-09-06/img_1428.cr2)
kio_digikampreview: Running dcraw command dcraw -c -e '/home/carl/Images/2006-09-06/img_1428.cr2'
digikam: Dcraw StdErr: Unknown option "-2".
kio_digikampreview: Using embedded RAW preview extraction

exiv2 0.10 from http://kubuntu.omat.nl/dapper/
digiKam 0.9.0beta1 from source
digiKamImagePlugins 0.9.0beta1 from source
dcraw 8.37 from source

Any suggestions?

thanks,
  -Carl
Comment 10 caulier.gilles 2006-09-12 07:25:57 UTC
This is the problem :

> digikam: Dcraw StdErr: Unknown option "-2". 

The -2 option from dcraw have been deleted !!! This dcraw option uncompatibilty is a shame !

This problem have been fixed into next 0.9.0-beta2. The tarball are available for testing at this place :

http://digikam3rdparty.free.fr/0.9.0-beta2/

Please give us a report. Thanks in advance

Gilles Caulier
Comment 11 Carl Rouse 2006-09-13 13:23:52 UTC
That fixed it.

Thanks,
  -Carl
Comment 12 caulier.gilles 2006-09-13 13:32:56 UTC
Hubbert,

This is the same problem for you ?

Gilles
Comment 13 Hubert Figuiere 2006-09-26 19:21:56 UTC
0.9-beta2 fixes the problem. works fine
Comment 14 caulier.gilles 2019-12-23 17:33:19 UTC
Not reproducible with digiKam 7.0.0-beta1.