Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exiv2 fails to read metadata on images with duplicate tags #9

Open
Aerilius opened this issue Feb 8, 2017 · 1 comment
Open

Exiv2 fails to read metadata on images with duplicate tags #9

Aerilius opened this issue Feb 8, 2017 · 1 comment
Labels

Comments

@Aerilius
Copy link
Owner

Aerilius commented Feb 8, 2017

Some photos that have correct GPano tags do not trigger the panorama viewer.
This is because exiv2 fails to read any metadata if only some tags are inconsistent or duplicate. It seems duplicate tags are however common.

$ exiv2 -px example_duplicate_tags.jpg 
Error: XMP Toolkit error 203: Duplicate property or field node
Warning: Failed to decode XMP metadata.
example_duplicate_tags.jpg: (No XMP data found in the file)

example_duplicate_tags.jpg.zip

@Aerilius
Copy link
Owner Author

Aerilius commented Feb 8, 2017

Probably have to revert commit 54b7f04 back to using exiftool. While exiv2 is used by many Gnome softwares, it's not in a default Ubuntu install, so we get a different but no extra dependency.

@Aerilius Aerilius added the bug label Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant