We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
fix method: add code into _load.py at line 108: if len(self.tiftag[pointer: pointer+2]) != 2: return ifd_dict
if len(self.tiftag[pointer: pointer+2]) != 2: return ifd_dict
The text was updated successfully, but these errors were encountered:
Here is an image that will cause this issue: https://read.nando.audio/images/warsaw-veturilo.jpg
The above solution does fix it.
And here is the stacktrace.
TaskError - taskid:scale_images:../output/images/warsaw-veturilo.jpg PythonAction Error Traceback (most recent call last): File "/home/nando/ythn/nando/read.nando.audio/.venv/lib/python3.10/site-packages/doit/action.py", line 461, in execute returned_value = self.py_callable(*self.args, **kwargs) File "/home/nando/ythn/nando/read.nando.audio/.venv/lib/python3.10/site-packages/nikola/plugins/task/scale_images.py", line 69, in process_image self.resize_image( File "/home/nando/ythn/nando/read.nando.audio/.venv/lib/python3.10/site-packages/nikola/image_processing.py", line 117, in resize_image exif = piexif.load(_im.info["exif"]) File "/home/nando/ythn/nando/read.nando.audio/.venv/lib/python3.10/site-packages/piexif/_load.py", line 49, in load exif_dict["Interop"] = exifReader.get_ifd_dict(pointer, "Interop") File "/home/nando/ythn/nando/read.nando.audio/.venv/lib/python3.10/site-packages/piexif/_load.py", line 108, in get_ifd_dict tag_count = struct.unpack(self.endian_mark + "H", struct.error: unpack requires a buffer of 2 bytes
Sorry, something went wrong.
No branches or pull requests
fix method: add code into _load.py at line 108:
if len(self.tiftag[pointer: pointer+2]) != 2: return ifd_dict
The text was updated successfully, but these errors were encountered: