Traceback and missed notifications
Versions
- OS: Debian unstable
- Gajim version: HEAD
- GTK version: debian unstable
- Python-nbxmpp version: HEAD
I track gajim HEAD. Since a couple of weeks ago from time to time new messages from contacts are not reported in the UI. They can be seen if I close and reopen the chat window or if I disconnect and reconnect from the XMPP server.
I have noticed this trackback, which could be related:
09/10/18 15:47:30 (E) gajim.c.ged Error while running an event handler: <bound method GajimRemote.on_chatstate_received of <gajim.remote_control.GajimRemote object at 0x7fb56ad850b8>>
Traceback (most recent call last):
File "/USR3/src/gajim/gajim/gajim/common/ged.py", line 90, in raise_event
if handler(*args, **kwargs):
File "/USR3/src/gajim/gajim/gajim/remote_control.py", line 328, in on_chatstate_received
obj.jid, obj.fjid, obj.stanza, obj.resource, obj.chatstate]))
File "/USR3/src/gajim/gajim/gajim/remote_control.py", line 399, in raise_signal
GLib.Variant.new_tuple(get_dbus_struct(data)))
File "/USR3/src/gajim/gajim/gajim/remote_control.py", line 56, in get_dbus_struct
lst = [get_dbus_struct(i) for i in obj if i is not None]
File "/USR3/src/gajim/gajim/gajim/remote_control.py", line 56, in <listcomp>
lst = [get_dbus_struct(i) for i in obj if i is not None]
File "/USR3/src/gajim/gajim/gajim/remote_control.py", line 57, in get_dbus_struct
result = GLib.Variant('av', lst)
File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 172, in __new__
v = creator._create(format_string, value)
File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 145, in _create
builder.add_value(self._create(element_type, i))
File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 118, in _create
return self._LEAF_CONSTRUCTORS[format](value)
TypeError: Argument 0 does not allow None as a value