Error on unrecognized avatar file type AVIF
- ubuntu 23.04
- gajim-nightly 20230831-1
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/gtk/util.py", line 614, in load_pixbuf
return GdkPixbuf.Pixbuf.new_from_file_at_scale(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn’t recognize the image file format for file “/home/user/.cache/gajim/avatars/8b69a199a1d00143d621d8f54cf5526addd17f33” (3)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/gtk/util.py", line 620, in load_pixbuf
img = Image.open(im_handle)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/PIL/Image.py", line 3283, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BufferedReader name='/home/user/.cache/gajim/avatars/8b69a199a1d00143d621d8f54cf5526addd17f33'>
I run:
file /home/user/.cache/gajim/avatars/8b69a199a1d00143d621d8f54cf5526addd17f33
output:
/home/user/.cache/gajim/avatars/8b69a199a1d00143d621d8f54cf5526addd17f33: ISO Media, AVIF Image