-
Notifications
You must be signed in to change notification settings - Fork 39
Description
Fails to open any image
Issue
Hi, I just installed your tool with pip install gruvbox-factory and I'm likely just miss using it but I can't get it to work on anything. I've tried it on everything in my Downloads and Photos folder which had a decent variety image types and sizes and it gave the following error every time:
Traceback (most recent call last):
File "/home/joeashton/.local/bin/gruvbox-factory", line 8, in <module>
sys.exit(main())
File "/home/joeashton/.local/lib/python3.10/site-packages/factory/__main__.py", line 51, in main
process_image(image_path, console, gruvbox_factory)
File "/home/joeashton/.local/lib/python3.10/site-packages/factory/__main__.py", line 104, in process_image
image = gruvbox_factory.open_image(image_path)
File "/home/joeashton/.local/lib/python3.10/site-packages/ImageGoNord/GoNord.py", line 262, in open_image
exif[ExifTags.Base.ProcessingSoftware] = self.EXIF_IGN
AttributeError: module 'PIL.ExifTags' has no attribute 'Base'
Reproduction
The way I'm using it is I have made a directory ~/Photos/GruvBox/ in that I paste the image, from the same directory I run gruvbox-factory -i <image_name>. So when I tired it on the example image from this repo I ran gruvbox-factory -i example.png.
I also tried:
gruvbox-factory -i example.png
gruvbox-factory -i ./example.png
cd ..
gruvbox-factory -i GruvBox/example.png
gruvbox-factory -i ./GruvBox/example.png
All give the same error as shown above.
System Info
$ pip --version
pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)
$ python3 --version
Python 3.10.12
OS: Pop!_OS 22.04 LTS x86_64
Host: HP ENVY x360 Convertible 15-eu0xxx
Kernel: 6.12.10-76061203-generic
Shell: bash 5.1.16
DE: GNOME 42.9
WM: Mutter
Terminal: kitty
Memory: 7787MiB / 15308MiB