<html><head><style type='text/css'>p { margin: 0; }</style><style type='text/css'>body { font-family: 'Verdana'; font-size: 10pt; color: #000000}</style></head><body>Hi all,<br><br>I am running Kubuntu Gutsy with the stock digikam installed.  I have built and installed digikam 0.9.4-rc1 in /usr/local.  I cannot edit raw images, as kdcraw is unable to decode the image.<br><br>There seems to be two issues here:<br><ol><li>kdcraw run from within digikam fails, saying it can't decode the image.  When I try to run the command manually, it seems to work fine!</li><li>the new digikam is using the stock version in /usr/lib/libkdcraw3, rather than the one in /usr/local/lib/libkdcraw3.  This is not a big deal, as both are version 8.83.  I'd certainly like to rectify this for when the versions differ!<br></li></ol>Here are my environment settings:<br><br>paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1<br>$ env|grep /usr/local<br>LD_LIBRARY_PATH=/usr/local/lib:<br>KDEDIR=/usr/local:/usr<br>PATH=/usr/local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/paul/bin<br>MAN_PATH=/usr/local/man:/usr/local/man:<br>PWD=/usr/local/src/graphics/digikam-0.9.4-rc1<br>KDEDIRS=/usr/local:/usr<br><br>Below is the (edited) output from running digikam then trying to edit a raw file.<br><br>paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1<br>$ which digikam<br>/usr/local/bin/digikam<br><br>paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1<br>
$ digikam<br>X Error: BadDevice, invalid or uninitialized input device 171<br>[snip]<br>digikam: ICC profiles repository is: color_management<br>Found dcraw version: 8.83<br>digikam: ScanLib: Finding non-existent Albums: 529 ms<br>digikam: ScanLib: Finding items not in database: 27549 ms<br>digikam: ScanLib: Updating items without a date: 18 ms<br>digikam: KDirWatch method = INotify<br>KIPI (loading): KIPI::PluginLoader: plugin KameraKlient is in the ignore list for host application<br>KIPI (loading): KIPI::PluginLoader: Loaded plugin JPEGLossless<br>[snip]<br>digikam: ImagePlugin_Core plugin loaded<br>digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Core<br>digikam: ImagePlugin_RainDrop plugin loaded<br>[snip]<br>digikam: Theme file loaded: /usr/local/share/apps/digikam/themes/Dreary<br>digikam: /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw : RAW file identified<br><span style="color: rgb(255, 0, 0);">Running RAW decoding command: /usr/lib/libkdcraw3/kdcraw -c -v -4 -h -H 0 -b 1 -w -q 0 -o 1 /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw</span><br style="color: rgb(255, 0, 0);">RAW decoding StdErr: Loading Canon PowerShot G1 image from /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...<br>RAW decoding StdErr: Scaling with darkness 22, saturation 1023, and<br>multipliers 1.333333 1.210909 1.535758 1.000000<br>RAW decoding StdErr: Converting to sRGB colorspace...<br>RAW decoding StdErr: Writing data to standard output ...<br>digikam: White Level: 8091<br>digikam: White Point: 65535<br>digikam: /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw : RAW file identified<br><span style="color: rgb(255, 0, 0);">Running RAW decoding command: /usr/lib/libkdcraw3/kdcraw -c -v -4 -H 4 -b 3.77 -w -q 3 -o 0 /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw</span><br style="color: rgb(255, 0, 0);">RAW decoding StdErr: Loading Canon PowerShot G1 image from /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...<br>RAW decoding StdErr: Scaling with darkness 22, saturation 1023, and<br>multipliers 0.868193 0.788477 1.000000 0.651144<br>RAW decoding StdErr: Bilinear interpolation...<br>VNG interpolation...<br>RAW decoding StdErr: Rebuilding highlights...<br>RAW decoding StdErr: Building histograms...<br>RAW decoding StdErr: Writing data to standard output ...<br><span style="color: rgb(255, 0, 0);">Cannot parse header from RAW decoding: Magic is: P7</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Cannot parse header from RAW decoding: Magic is: -</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Cannot parse header from RAW decoding: Magic is: *s</span><br style="color: rgb(255, 0, 0);">[more output, but irrelevant]<br><br>So, just on a whim, I tried running the command manually, both the old and the new kdcraw:<br><br>paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1<br>$ /usr/lib/libkdcraw3/kdcraw -c -v -4 -H 4 -b 3.77 -w -q 3 -o 0 /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw > /dev/null<br>Loading Canon PowerShot G1 image from /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...<br>Scaling with darkness 22, saturation 1023, and<br>multipliers 0.868193 0.788477 1.000000 0.651144<br>Bilinear interpolation...<br>VNG interpolation...<br>Rebuilding highlights...<br>Building histograms...<br>Writing data to standard output ...<br><br>paul@aphrodite /usr/local/src/graphics/digikam-0.9.4-rc1<br>$ /usr/local/lib/libkdcraw3/kdcraw -c -v -4 -H 4 -b 3.77 -w -q 3 -o 0 /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw > /dev/null<br>Loading Canon PowerShot G1 image from /media/camera/2008-05-25/photo2008-05-25_10-56-06-000023.crw ...<br>Scaling with darkness 22, saturation 1023, and<br>multipliers 0.868193 0.788477 1.000000 0.651144<br>Bilinear interpolation...<br>VNG interpolation...<br>Rebuilding highlights...<br>Building histograms...<br>Writing data to standard output ...<br><br>As you can see, both the old version and the new version decode the file just fine.  Note that this happens only on Powershot G1 images.  My Rebel raw images are decoded OK.  Any ideas on why <br><ol><li>kdcraw hates my G1 images?</li><li>dcraw is using the old kdcraw?</li></ol>Thanks in advance!<br><br>Paul<br><br></body></html>