Bug 122264 - Exif data fail to show up in recent SVN
Summary: Exif data fail to show up in recent SVN
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Exif (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-19 08:52 UTC by alfons.hoogervorst
Modified: 2021-04-25 10:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.9.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alfons.hoogervorst 2006-02-19 08:52:58 UTC
Version:           SVN (using KDE Devel)
Installed from:    Compiled sources
Compiler:          g++ 3.3.1 compiled from sources
OS:                Linux

Exif data aren't being showed at all (in either simple or full mode). This started since recently this week. I followed the bug #121646 ("Digikam on PPC has problem identifying JPEG and tries to use dcraw with them") discussion, but I don't think it has anything to do with what I see.
I believe the bug was introduced just before the switch to using Exiv 2.0, so it may be either KDE libs related (I'm tracking SVN 3.5 branch), or digikam / extragear/libs related (tracking SVN HEAD).
I'll be digging into this a bit deeper later.
Comment 1 caulier.gilles 2006-02-19 12:40:22 UTC
Have you installed the last Exiv2 release (0.9.1) ?

Here all work fine like before to use Exiv2 library. All jpeg files are parsed succefully and Exif metadata are displayed. Have you any error messages with you start digikam from a console ? Can you place any files on the web to download ? 

Gilles Caulier
Comment 2 alfons.hoogervorst 2006-02-19 14:21:24 UTC
Gilles,
Doesn't matter what images, either shot with a minolta or a canon camera. I did find out that Exiv2 (0.9.1) reads enough data (in the Dimgloader interface), however, the kexifdata doesn't parse the exif data. 
I'll try with a newer version of libexif soon. 
Comment 3 alfons.hoogervorst 2006-02-19 14:29:19 UTC
Another note: in Konqueror, the metafile info (EXIF) data shows up fine. So I think it is in passing the data from Exiv to KExifData.
Digging deeper... :-)
Comment 4 caulier.gilles 2006-02-19 15:02:24 UTC
You trying to see Exif data from main interface side bar or Image editor ?

Gilles
Comment 5 alfons.hoogervorst 2006-02-19 15:08:11 UTC
Gilles,
The Exif data shows up empty in both the main interface as well as the image editor. KExifdata inserts empty value strings in its data array / map.
Comment 6 alfons.hoogervorst 2006-02-19 20:26:19 UTC
Okay, I recompiled a newer libexif (had to recompile libgphoto2 too), and can't get rid of the problem, so it seems there is some kind of parsing problem. 
Please try the image located at http://hoogervorst.dyndns.org/~alfons/wordpress/images/test.jpg; I'll take a further look at the problem tomorrow.
Comment 7 alfons.hoogervorst 2006-02-19 20:27:40 UTC
(That photo is by the way 1+ Mb, so be gentle with my connection... :-)
Comment 8 caulier.gilles 2006-02-19 20:32:55 UTC
ok i will take a look tomorrow morning...

Gilles
Comment 9 F.J. Cruz 2006-02-19 22:08:57 UTC
El Domingo, 19 de Febrero de 2006 20:26, alfons.hoogervorst@gmail.com 
escribi
Comment 10 caulier.gilles 2006-02-20 18:17:54 UTC
ok, i understand exactly what you mean (via Marcel from ML(:=))):

When digiKam start with Exif side enable, the first album automaticly selected by digiKam do not display the first album item Exif info.

If you change current album, Exif info of first current album item are displayed properly.

To resume : something is wrong when digikam is started about indeep signals/slots rules. This is not depending of new Exiv2 depency.

Gilles
Comment 11 alfons.hoogervorst 2006-02-20 20:22:54 UTC
btw, I see this consistently: No exif information at all. I'll be debugging this this week (rather busy right now), so please don't close this bug.
Keep you posted.  :-)
Comment 12 caulier.gilles 2006-03-03 10:59:57 UTC
SVN commit 515268 by cgilles:

digikam from trunk : Metadata support using Exiv2 :

- New image properties sidebar tab named "Metadata" instead old "Exif". This area include :

* Standard Exif tags viewer.
* MarkerNote Exif tags viewer.
* IPTC records viewer.

- New capability to copy metadata in clipboard like text.
- New capability to print metadata.
- Tags name use the "user Friendly" conversion from Exiv2 instead the internal name provided by old Exif viewer based on libkexif.
- Capability to read metadata from CRW files (Canon RAW files)
- New class DMetadata to load/save metadata without loading image data. Actually JPEG, CRW, and PNG files are supported. About PNG (Exif and IPTC raw profiles generated by ImageMagick are supported.

To support new file formats (like NEF, MRW, TIFF, DNG, etc), new image file parsers must be added to Exiv2 library.

IMPORTANT: 

- Exiv2 do not support yet gettext for i18n rules. All informations in metadata viewers aren't yet i18n (tags name, tags values, and tags descriptions)
- Any tag names use internal Exiv2 name, not the user friendly text transformations. This point must be fixed in Exiv2 libs.

To 0.9.0, these tools are just metadata readers. Writting capabilities (metadata editors) will added later 0.9.0. The files in B.K.O directly or indirectly relevant of this commits are listed below :

*Pending:

103255
106103
115764
111560

*Partially fixed:

91812
96459
109253
110598
118501         

* To check before closing:

122264

* Fixed (can be closed):

103489
121371
105670
109319

CCMAIL: digikam-devel@kde.org,  Andreas Huggel <ahuggel@gmx.net>

CCBUGS: 103255, 106103, 115764, 111560, 91812, 96459, 109253, 110598, 118501, 122264, 103489, 121371, 105670, 109319


 M  +2 -1      libs/Makefile.am  
 M  +5 -4      libs/dimg/Makefile.am  
 M  +1 -1      libs/dimg/dimg.cpp  
 M  +1 -1      libs/dimg/dimg.h  
 M  +19 -1     libs/dimg/dimgloader.cpp  
 M  +4 -2      libs/dimg/dimgloader.h  
 M  +4 -61     libs/dimg/loaders/jpegloader.cpp  
 M  +5 -29     libs/dimg/loaders/pngloader.cpp  
 M  +2 -1      libs/dimg/loaders/rawloader.cpp  
 A             libs/dmetadata (directory)  
 A             libs/dmetadata/Makefile.am  
 A             libs/dmetadata/dmetadata.cpp   [License: GPL]
 A             libs/dmetadata/dmetadata.h   [License: GPL]
 A             libs/dmetadata/loaders (directory)  
 A             libs/dmetadata/loaders/Makefile.am  
 A             libs/dmetadata/loaders/dmetaloader.cpp   [License: GPL]
 A             libs/dmetadata/loaders/dmetaloader.h   [License: GPL]
 A             libs/dmetadata/loaders/jpegmetaloader.cpp   [License: GPL]
 A             libs/dmetadata/loaders/jpegmetaloader.h   [License: GPL]
 A             libs/dmetadata/loaders/pngmetaloader.cpp   [License: GPL]
 A             libs/dmetadata/loaders/pngmetaloader.h   [License: GPL]
 A             libs/dmetadata/loaders/rawmetaloader.cpp   [License: GPL]
 A             libs/dmetadata/loaders/rawmetaloader.h   [License: GPL]
 A             libs/dmetadata/loaders/tiffmetaloader.cpp   [License: GPL]
 A             libs/dmetadata/loaders/tiffmetaloader.h   [License: GPL]
 M  +3 -2      libs/imageproperties/Makefile.am  
 M  +82 -323   libs/imageproperties/imagepropertiesexiftab.cpp  
 M  +12 -25    libs/imageproperties/imagepropertiesexiftab.h  
 M  +19 -18    libs/imageproperties/imagepropertiessidebar.cpp  
 M  +10 -9     libs/imageproperties/imagepropertiessidebar.h  
 M  +27 -26    libs/imageproperties/imagepropertiessidebarcamgui.cpp  
 M  +2 -1      libs/imageproperties/imagepropertiessidebarcamgui.h  
 M  +16 -15    libs/imageproperties/imagepropertiessidebardb.cpp  
 M  +3 -1      libs/widgets/Makefile.am  
 A             libs/widgets/metadata (directory)  
 A             libs/widgets/metadata/Makefile.am  
 A             libs/widgets/metadata/exifwidget.cpp   [License: GPL]
 A             libs/widgets/metadata/exifwidget.h   [License: GPL]
 A             libs/widgets/metadata/iptcwidget.cpp   [License: GPL]
 A             libs/widgets/metadata/iptcwidget.h   [License: GPL]
 A             libs/widgets/metadata/makernotewidget.cpp   [License: GPL]
 A             libs/widgets/metadata/makernotewidget.h   [License: GPL]
 A             libs/widgets/metadata/mdkeylistviewitem.cpp   [License: GPL]
 A             libs/widgets/metadata/mdkeylistviewitem.h   [License: GPL]
 A             libs/widgets/metadata/metadatalistview.cpp   [License: GPL]
 A             libs/widgets/metadata/metadatalistview.h   [License: GPL]
 A             libs/widgets/metadata/metadatalistviewitem.cpp   [License: GPL]
 A             libs/widgets/metadata/metadatalistviewitem.h   [License: GPL]
 A             libs/widgets/metadata/metadatawidget.cpp   [License: GPL]
 A             libs/widgets/metadata/metadatawidget.h   [License: GPL]
 M  +24 -1     utilities/cameragui/cameraui.cpp  
Comment 13 alfons.hoogervorst 2006-03-03 21:15:54 UTC
Hi Gilles,

That commit solves the bug. Thank you very very much! :-)