Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gajim
gajim
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 210
    • Issues 210
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 22
    • Merge Requests 22
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gajim
  • gajimgajim
  • Issues
  • #9339

Closed
Open
Opened Sep 10, 2018 by Marco d'Itri@rfc1036

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
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gajim/gajim#9339