Bug 372164 - Camera related photograph properties are unavailable (erroneously)
Summary: Camera related photograph properties are unavailable (erroneously)
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (show other bugs)
Version: 5.2.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-06 22:49 UTC by Simon
Modified: 2017-08-12 18:27 UTC (History)
4 users (show)

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


Attachments
Image to reproduce the problem (1.14 MB, image/jpeg)
2016-11-06 22:49 UTC, Simon
Details
Screenshot showing conflicting EXIF metadata (189.22 KB, image/png)
2016-11-11 19:18 UTC, kramski
Details
Screenshot (185.99 KB, image/png)
2016-11-12 18:44 UTC, Maik Qualmann
Details
Error also reproduced with 5.3.0 AppImage (355.33 KB, image/png)
2016-11-13 11:43 UTC, kramski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon 2016-11-06 22:49:17 UTC
Created attachment 102082 [details]
Image to reproduce the problem

With the pictures from my Panasonic Lumix TZ71 the camera make, model and lens are displayed as "unavailable" in the properties sidebar. With the exiv2 command line utility I can find this information. I did reread metadata from tags, that does not change the situation. I attached an example image.

There is nothing related in stdout/stderr of digikam.
Comment 1 Simon 2016-11-06 22:52:36 UTC
Correction: I also cannot find the lens property with exiv2 command line tool, so that is not a digikam issue. But not finding camera make and model seems to be.
Comment 2 Maik Qualmann 2016-11-07 11:30:44 UTC
Problem is not reproducible here. The camera make and model is displayed in the properties sidebar.

Maik
Comment 3 caulier.gilles 2016-11-07 11:44:49 UTC
This depend of :

- ligphoto2 camera driver if Gphoto is used. Some camera driver can be incomplete.
- camera interface settings to handle complete metadata with Exiv2 (see DK Setup dialog)

Gilles Caulier
Comment 4 kramski 2016-11-11 19:16:57 UTC
Same here on 5.3.0: "Make" and "Model" are shown as "unavailable" in right pane properties for all my cameras (Lumix, Canon) and smartphones. ("Lens" works for me.)

However, they are shown correctly in the metadata editor's EXIF tab (will upload a screenshot on a minute). Are these both places using different libs/access methods?

Heinz
Comment 5 kramski 2016-11-11 19:18:11 UTC
Created attachment 102174 [details]
Screenshot showing conflicting EXIF metadata
Comment 6 Maik Qualmann 2016-11-12 18:44:43 UTC
Created attachment 102189 [details]
Screenshot

Everything is displayed correctly.
Please test digiKam-5.3.0 AppImage bundle for Linux:

http://download.kde.org/stable/digikam/

Maik
Comment 7 kramski 2016-11-13 11:41:14 UTC
Same result with the digiKam-5.3.0 AppImage bundle and a newly imported small test folder: Maker/Model "unavailable" in the properties pane.

My default setup is using a MySQl DB. I did another test with SQLite ("digikam --database-directory /home/kramski/Digikam") and voila: the exact same set of sample images is displayed correctly.
Comment 8 kramski 2016-11-13 11:43:05 UTC
Created attachment 102204 [details]
Error also reproduced with 5.3.0 AppImage
Comment 9 kramski 2016-11-13 11:59:34 UTC
(P.S.: "Make" and "Model" seem to be ok in MySQL's ImageMetadata table for the test image shown in my last screenshot.)
Comment 10 Maik Qualmann 2016-11-13 19:22:36 UTC
Git commit 309a9f2865b18f082d0c0fd37148c7867f3e0cc9 by Maik Qualmann.
Committed on 13/11/2016 at 19:21.
Pushed by mqualmann into branch 'master'.

fix displaying from camera make and model in the properties sidebar with MySQL
FIXED-IN: 5.4.0

M  +2    -1    NEWS
M  +1    -0    libs/dmetadata/metaengine_exif.cpp

http://commits.kde.org/digikam/309a9f2865b18f082d0c0fd37148c7867f3e0cc9
Comment 11 Kusi 2017-01-04 21:20:54 UTC
*** Bug 374560 has been marked as a duplicate of this bug. ***