It works fine up till scanning for instagram profiles and then it gives the following error:
Validating Instagram Profiles
:: Links
[]
:: Predictions
[]
==> ERROR: No predictions found
:: Creating PDF Report
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PIL/ImageFile.py", line 510, in _save
fh = fp.fileno()
io.UnsupportedOperation: fileno
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/PIL/Image.py", line 459, in _getencoder
encoder = getattr(core, encoder_name + "_encoder")
AttributeError: module 'PIL._imaging' has no attribute 'jpeg2k_encoder'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/weasyprint/document.py", line 255, in _save_jpeg2000
pillow_image.save(image_file, format='JPEG2000', optimize=optimize)
File "/usr/lib/python3/dist-packages/PIL/Image.py", line 2164, in save
save_handler(self, fp, filename)
File "/usr/lib/python3/dist-packages/PIL/Jpeg2KImagePlugin.py", line 300, in _save
ImageFile._save(im, fp, [("jpeg2k", (0, 0) + im.size, 0, kind)])
File "/usr/lib/python3/dist-packages/PIL/ImageFile.py", line 515, in _save
e = Image._getencoder(im.mode, e, a, im.encoderconfig)
File "/usr/lib/python3/dist-packages/PIL/Image.py", line 461, in _getencoder
raise OSError(f"encoder {encoder_name} not available") from e
OSError: encoder jpeg2k not available
It works fine up till scanning for instagram profiles and then it gives the following error:
Validating Instagram Profiles
:: Links []
:: Predictions [] ==> ERROR: No predictions found
:: Creating PDF Report Traceback (most recent call last): File "/usr/lib/python3/dist-packages/PIL/ImageFile.py", line 510, in _save fh = fp.fileno() io.UnsupportedOperation: fileno
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/PIL/Image.py", line 459, in _getencoder encoder = getattr(core, encoder_name + "_encoder") AttributeError: module 'PIL._imaging' has no attribute 'jpeg2k_encoder'
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/weasyprint/document.py", line 255, in _save_jpeg2000 pillow_image.save(image_file, format='JPEG2000', optimize=optimize) File "/usr/lib/python3/dist-packages/PIL/Image.py", line 2164, in save save_handler(self, fp, filename) File "/usr/lib/python3/dist-packages/PIL/Jpeg2KImagePlugin.py", line 300, in _save ImageFile._save(im, fp, [("jpeg2k", (0, 0) + im.size, 0, kind)]) File "/usr/lib/python3/dist-packages/PIL/ImageFile.py", line 515, in _save e = Image._getencoder(im.mode, e, a, im.encoderconfig) File "/usr/lib/python3/dist-packages/PIL/Image.py", line 461, in _getencoder raise OSError(f"encoder {encoder_name} not available") from e OSError: encoder jpeg2k not available
This goes on and on.