KeyError: 'could not find foreign type Surface' when starting Gajim
Please first check if another issue has been opened for your problem
Versions
- OS: Debian 10 (buster)
- Gajim version: 1.1.92+7b9278ae
- GTK version: GTK Version: 3.24.5
- Python-nbxmpp version: python-nbxmpp Version: 0.9.92
Steps to reproduce the problem
- Get latest version of Gajim from the git repo
- run ./launch.py
- Try to login and enter the password
Expected behavior
The contacts should appear in the roaster.
Actual behavior
The contacts aren't appearing in the roaster. It appears only my own username in the roaster.
I attached the screenshoot and also the log:
Relevant log excerpt:
10/15/2019 21:02:10 (E) gajim.c.ged Error while running an event handler: <bound method Interface.handle_event_roster_info of <gajim.gui_interface.Interface object at 0x7fa74f7665c0>>
Traceback (most recent call last):
File "/path/apps/gajim/gajim/common/ged.py", line 101, in raise_event
if handler(*args, **kwargs):
File "/path/apps/gajim/gajim/gui_interface.py", line 539, in handle_event_roster_info
self.roster.add_contact(obj.jid, account)
File "/path/apps/gajim/gajim/roster_window.py", line 710, in add_contact
self._add_entity(contact, account)
File "/path/apps/gajim/gajim/roster_window.py", line 428, in _add_entity
image = self._get_avatar_image(account, contact.jid)
File "/path/apps/gajim/gajim/roster_window.py", line 1370, in _get_avatar_image
return Gtk.Image.new_from_surface(surface)
KeyError: 'could not find foreign type Surface'