[preview] Gajim crashes trying to create preview for image with specific name.
Steps to reproduce:
- Name the image file
красивые-цветки-цветут-0df23aedf21ebb1b7ad66a600b60ee5d.jpg
(doesn't depend on the extension and image itself) - Post it with HTTP Upload
- Gajim crashes
- Re-open Gajim
- Open history of the conversation
- If not crashes again, error message will shown:
Exception raised while saving thumbnail for image file (see error log for more information
UPD: Downloaded file is present in ~/.local/share/gajim/downloads
directory, thumbnail obviously does not exist in ~/.cache/gajim/downloads.thumb
.
Version:
- Debian 9.5 stretch
- gajim 1.0.3-1
- gajim-urlimagepreview 2.2.0-1
- libgtk2.0-0:amd64 2.24.31-2
- libgtk-3-0:amd64 3.22.11-1