[Pkg-xmpp-devel] Bug#966011: gajim crashes at startup since v1.2

Florian fbugs at gmx.net
Wed Jul 22 08:49:22 BST 2020


Package: gajim
Version: 1.2.1-1
Severity: normal

Since v1.2, gajim does not start anymore on my system with the following
traceback:

############
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gajim/application.py", line 185, in _startup
    app.logger = logger.Logger()
  File "/usr/lib/python3/dist-packages/gajim/common/logger.py", line 206, in __init__
    self._load_caps_data()
  File "/usr/lib/python3/dist-packages/gajim/common/logger.py", line 144, in func_wrapper
    result = func(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/gajim/common/logger.py", line 1087, in _load_caps_data
    rows = self._con.execute(
  File "/usr/lib/python3/dist-packages/gajim/common/logger.py", line 153, in _convert_disco_info
    return parse_disco_info(Iq(node=disco_info))
  File "/usr/lib/python3/dist-packages/nbxmpp/protocol.py", line 1553, in __init__
    Protocol.__init__(self,
  File "/usr/lib/python3/dist-packages/nbxmpp/protocol.py", line 977, in __init__
    Node.__init__(self, tag=name, attrs=attrs, payload=payload, node=node)
  File "/usr/lib/python3/dist-packages/nbxmpp/simplexml.py", line 109, in __init__
    node = NodeBuilder(node, self)
  File "/usr/lib/python3/dist-packages/nbxmpp/simplexml.py", line 672, in __init__
    self._parser.Parse(data, finished)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 0
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gajim/application.py", line 220, in _activate
    self.interface = Interface()
  File "/usr/lib/python3/dist-packages/gajim/gui_interface.py", line 1912, in __init__
    app.logger.reset_shown_unread_messages()
AttributeError: 'NoneType' object has no attribute 'reset_shown_unread_messages'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gajim/application.py", line 295, in do_shutdown
    app.logger.commit()
AttributeError: 'NoneType' object has no attribute 'commit'
############


When removing .local/share/gajim, gajim starts normally.

I would prefer not to loose my settings, and the same .local/share/gajim
worked before v1.2.

Thanks, Florian



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-1-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gajim depends on:
ii  gir1.2-gtk-3.0       3.24.20-1
ii  python3              3.8.2-3
ii  python3-cairo        1.16.2-3
ii  python3-css-parser   1.0.4-2
ii  python3-cssutils     1.0.2-3
ii  python3-gi           3.36.0-3
ii  python3-gi-cairo     3.36.0-3
ii  python3-idna         2.10-1
ii  python3-keyring      18.0.1-2
ii  python3-nbxmpp       1.0.1-1
ii  python3-openssl      19.1.0-2
ii  python3-packaging    20.3-1.2
ii  python3-precis-i18n  1.0.0-1

Versions of packages gajim recommends:
ii  alsa-utils                         1.2.2-2
ii  aspell-en [aspell-dictionary]      2018.04.16-0-1
ii  ca-certificates                    20200601
ii  dbus                               1.12.20-1
ii  fonts-noto-color-emoji             0~20200408-1
ii  gajim-omemo                        2.6.80-1
ii  gajim-pgp                          1.2.46-2
ii  gir1.2-farstream-0.2               0.2.8-5
ii  gir1.2-geoclue-2.0                 2.5.6-1
ii  gir1.2-gsound-1.0                  1.0.2-4
ii  gir1.2-gspell-1                    1.8.3-1
ii  gir1.2-gst-plugins-base-1.0        1.16.2-4
ii  gir1.2-gstreamer-1.0               1.16.2-2
ii  gir1.2-gupnpigd-1.0                0.2.5-5
ii  gir1.2-secret-1                    0.20.3-1
ii  gnome-shell [notification-daemon]  3.36.3-1
ii  gstreamer1.0-plugins-ugly          1.16.2-2+b1
ii  notification-daemon                3.20.0-4
ii  pulseaudio-utils                   13.0-5
ii  python3-crypto                     2.6.1-13.1+b1
ii  python3-dbus                       1.2.16-2
ii  python3-gnupg                      0.4.6-1
ii  python3-pil                        7.2.0-1

Versions of packages gajim suggests:
ii  avahi-daemon      0.8-3
ii  libxss1           1:1.2.3-1
ii  nautilus-sendto   3.8.6-3
pn  python3-kerberos  <none>
ii  python3-pycurl    7.43.0.2-3+b1

-- no debconf information



More information about the Pkg-xmpp-devel mailing list