Don't ask me what happened - Grjim asked me to report this
Versions
- OS: Windows 10
- GTK Version: 3.24.30
- PyGObject Version: 3.40.1
- GLib Version : 2.70.0
- python-nbxmpp Version: 2.0.4
- Gajim Version: 1.3.3
Traceback
Traceback (most recent call last):
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.9/site-packages/PIL/ImageFile.py", line 504, in _save
io.UnsupportedOperation: fileno
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Raine\AppData\Roaming\Gajim\Plugins\url_image_preview\url_image_preview.py", line 478, in _on_finished
if preview.create_thumbnail(data):
File "C:\Users\Raine\AppData\Roaming\Gajim\Plugins\url_image_preview\url_image_preview.py", line 824, in create_thumbnail
self.thumbnail = create_thumbnail(data, self.size)
File "C:\Users\Raine\AppData\Roaming\Gajim\Plugins\url_image_preview\utils.py", line 129, in create_thumbnail
thumbnail = create_thumbnail_with_pil(data, size)
File "C:\Users\Raine\AppData\Roaming\Gajim\Plugins\url_image_preview\utils.py", line 184, in create_thumbnail_with_pil
image.save(output_file,
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.9/site-packages/PIL/Image.py", line 2235, in save
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.9/site-packages/PIL/JpegImagePlugin.py", line 782, in _save
File "C:/msys64/home/appveyor/gajim/win/_build_root/mingw64/lib/python3.9/site-packages/PIL/ImageFile.py", line 523, in _save
OSError: encoder error -2 when writing image file
Steps to reproduce the problem
...