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

Exceptions when thumbnailing JPEGs with inalid orientation EXIF tag #29

Closed
flozz opened this issue Sep 29, 2022 · 0 comments
Closed

Exceptions when thumbnailing JPEGs with inalid orientation EXIF tag #29

flozz opened this issue Sep 29, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@flozz
Copy link
Owner

flozz commented Sep 29, 2022

Traceback (most recent call last):
  File "/usr/lib/python3.10/concurrent/futures/_base.py", line 342, in _invoke_callbacks
    callback(self)
  File "/home/fabien/devel/public/yoga-image-optimizer/yoga-image-optimizer.git/yoga_image_optimizer/application.py", line 231, in _thumbnail_callback
    pixbuf = future.result()
  File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result
    return self.__get_result()
  File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
    raise self._exception
  File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File ".../yoga_image_optimizer/helpers.py", line 111, in preview_gdk_pixbuf_from_image
    for operation in ORIENTATION_OPERATIONS[orientation]:
KeyError: 0

related issues: #14, wanadev/yoga#38

@flozz flozz added the bug Something isn't working label Sep 29, 2022
@flozz flozz self-assigned this Sep 29, 2022
@flozz flozz closed this as completed in dcf753c Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant