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

photoidx.py create raises KeyError if exiftags are not present in an image #15

Closed
RKrahl opened this issue Apr 5, 2016 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@RKrahl
Copy link
Owner

RKrahl commented Apr 5, 2016

When creating a new index, photoidx.py create reads some exif tags like DateTimeOriginal and Orientaion to add the information to the index. If some tag is not present in any of the images, a KeyError is raised:

$ photoidx.py create
Traceback (most recent call last):
  ...
KeyError: 'Exif.Photo.DateTimeOriginal: Unknown tag'

This should be handled more gracefully.

@RKrahl RKrahl self-assigned this Apr 5, 2016
@RKrahl RKrahl added enhancement New feature or request priority high labels Apr 5, 2016
@RKrahl RKrahl added this to the 0.4 milestone Apr 5, 2016
@RKrahl RKrahl changed the title photoidx.py create if exiftags are not present in an image photoidx.py create raises KeyError if exiftags are not present in an image Apr 5, 2016
RKrahl added a commit that referenced this issue Apr 5, 2016
@RKrahl RKrahl closed this as completed in 2823b23 Apr 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant