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

KeyError during EXIF processing #143

Closed
firsc opened this issue May 16, 2024 · 1 comment
Closed

KeyError during EXIF processing #143

firsc opened this issue May 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@firsc
Copy link

firsc commented May 16, 2024

Hi, when I load an image with a broken EXIF dictionary, the program throws this error (I think it also reset my config when handling this image because the font size and UI layout changed after restarting).

This is the image in question: broken_img.zip

Traceback (most recent call last):
  File "run_gui.py", line 42, in <module>
  File "run_gui.py", line 32, in <module>
  File "run_gui.py", line 21, in run_gui
  File "widgets\main_window.py", line 177, in __init__
  File "widgets\main_window.py", line 571, in restore
  File "widgets\main_window.py", line 209, in load_directory
  File "models\image_list_model.py", line 130, in load_directory
  File "exifread\__init__.py", line 147, in process_file
KeyError: 'E'

I'm on Windows, using the latest release (1.25).

@jhc13 jhc13 added the bug Something isn't working label May 16, 2024
@jhc13
Copy link
Owner

jhc13 commented May 17, 2024

This has been fixed in v1.25.1.

@jhc13 jhc13 closed this as completed May 17, 2024
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

2 participants