[Pkg-xmpp-devel] Bug#908351: gajim: Throws errors soon after startup, doesn't work, won't quit

Matt Marjanovic maddog at mir.com
Sat Sep 8 20:39:55 BST 2018


Package: gajim
Version: 1.1.0~beta1-1
Severity: important

Dear Maintainer,

After upgrading to this version of gajim, it seems to start up ok,
provides a password prompt for my (one) account, then throws up a
dialog with errors.  After that, trying to use any message windows
yields more errors.  Furthermore, trying to quit (Gajim->Quit)
throws errors (and doesn't quit).

Traceback output (from shell)):


Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gajim/message_window.py", line 822, in
_on_notebook_switch_page
    new_ctrl.set_control_active(True)
  File "/usr/lib/python3/dist-packages/gajim/groupchat_control.py", line 2373,
in set_control_active
    self.parent_win.redraw_tab(self, 'active')
  File "/usr/lib/python3/dist-packages/gajim/message_window.py", line 648, in
redraw_tab
    tab_label_str, color = ctrl.get_tab_label(chatstate)
  File "/usr/lib/python3/dist-packages/gajim/groupchat_control.py", line 1038,
in get_tab_label
    label_str = GLib.markup_escape_text(label_str)
  File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 418, in
markup_escape_text
    return GLib.markup_escape_text(text, length)
TypeError: Argument 0 does not allow None as a value
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 661, in
<lambda>
    func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
  File "/usr/lib/python3/dist-packages/nbxmpp/idlequeue.py", line 563, in
_process_events
    return IdleQueue._process_events(self, fd, flags)
  File "/usr/lib/python3/dist-packages/nbxmpp/idlequeue.py", line 411, in
_process_events
    obj.pollin()
  File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 451, in
pollin
    self._do_receive()
  File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 676, in
_do_receive
    self._on_receive(received)
  File "/usr/lib/python3/dist-packages/nbxmpp/transports_nb.py", line 690, in
_on_receive
    self.on_receive(data)
  File "/usr/lib/python3/dist-packages/nbxmpp/dispatcher_nb.py", line 535, in
_WaitForData
    resp(_iq)
  File "/usr/lib/python3/dist-packages/gajim/common/modules/bookmarks.py", line
95, in _private_bookmarks_received
    self.auto_join_bookmarks()
  File "/usr/lib/python3/dist-packages/gajim/common/modules/bookmarks.py", line
267, in auto_join_bookmarks
    bm['password'], minimize=minimize)
  File "/usr/lib/python3/dist-packages/gajim/gui_interface.py", line 1942, in
join_gc_room
    is_continued=is_continued)
  File "/usr/lib/python3/dist-packages/gajim/gui_interface.py", line 1966, in
new_room
    mw.new_tab(gc_control)
  File "/usr/lib/python3/dist-packages/gajim/message_window.py", line 319, in
new_tab
    self.redraw_tab(control)
  File "/usr/lib/python3/dist-packages/gajim/message_window.py", line 648, in
redraw_tab
    tab_label_str, color = ctrl.get_tab_label(chatstate)
  File "/usr/lib/python3/dist-packages/gajim/groupchat_control.py", line 1038,
in get_tab_label
    label_str = GLib.markup_escape_text(label_str)
  File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 418, in
markup_escape_text
    return GLib.markup_escape_text(text, length)
TypeError: Argument 0 does not allow None as a value
09/08/2018 12:36:49 (E) gajim.c.ged Error while running an event handler:
<bound method RosterWindow._nec_our_show of <gajim.roster_window.RosterWindow
object at 0x7f3108673908>>
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gajim/common/ged.py", line 93, in
raise_event
    if handler(*args, **kwargs):
  File "/usr/lib/python3/dist-packages/gajim/roster_window.py", line 2666, in
_nec_our_show
    self.on_status_changed(obj.conn.name, obj.show)
  File "/usr/lib/python3/dist-packages/gajim/roster_window.py", line 2266, in
on_status_changed
    self.quit_gtkgui_interface()
  File "/usr/lib/python3/dist-packages/gajim/roster_window.py", line 2464, in
quit_gtkgui_interface
    self.prepare_quit()
  File "/usr/lib/python3/dist-packages/gajim/roster_window.py", line 2449, in
prepare_quit
    app.interface.msg_win_mgr.shutdown(msgwin_width_adjust)
  File "/usr/lib/python3/dist-packages/gajim/message_window.py", line 1179, in
shutdown
    self.save_state(w, width_adjust)
  File "/usr/lib/python3/dist-packages/gajim/message_window.py", line 1227, in
save_state
    win_maximized = msg_win.window.get_window().get_state() == \
AttributeError: 'NoneType' object has no attribute 'get_state'
09/08/2018 12:36:49 (E) gajim.c.ged Error while running an event handler:
<bound method ChatControlBase._nec_our_status of
<gajim.groupchat_control.GroupchatControl object at 0x7f31051326a0>>
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gajim/common/ged.py", line 93, in
raise_event
    if handler(*args, **kwargs):
  File "/usr/lib/python3/dist-packages/gajim/chat_control_base.py", line 162,
in _nec_our_status
    self.got_disconnected()
  File "/usr/lib/python3/dist-packages/gajim/groupchat_control.py", line 1645,
in got_disconnected
    self.parent_win.redraw_tab(self)
  File "/usr/lib/python3/dist-packages/gajim/message_window.py", line 648, in
redraw_tab
    tab_label_str, color = ctrl.get_tab_label(chatstate)
  File "/usr/lib/python3/dist-packages/gajim/groupchat_control.py", line 1038,
in get_tab_label
    label_str = GLib.markup_escape_text(label_str)
  File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 418, in
markup_escape_text
    return GLib.markup_escape_text(text, length)
TypeError: Argument 0 does not allow None as a value




-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gajim depends on:
ii  gir1.2-gtk-3.0    3.22.30-2
ii  python3           3.6.5-3
ii  python3-cssutils  1.0.2-1
ii  python3-gi        3.28.3-1
ii  python3-gi-cairo  3.28.3-1
ii  python3-idna      2.6-1
ii  python3-keyring   13.1.0-1
ii  python3-nbxmpp    0.6.7-1
ii  python3-openssl   18.0.0-1

Versions of packages gajim recommends:
ii  alsa-utils                           1.1.6-1
ii  aspell-en [aspell-dictionary]        2018.04.16-0-1
ii  ca-certificates                      20170717
ii  dbus                                 1.12.10-1
ii  fonts-noto-color-emoji               0~20180810-1
ii  gajim-omemo                          2.6.0-1
ii  gajim-pgp                            1.2.7-1
ii  gir1.2-farstream-0.2                 0.2.8-4
ii  gir1.2-geoclue-2.0                   2.4.12-2
ii  gir1.2-gspell-1                      1.6.1-1
ii  gir1.2-gst-plugins-base-1.0          1.14.2-dmo2
ii  gir1.2-gstreamer-1.0                 1.14.2-2
ii  gir1.2-gupnpigd-1.0                  0.2.5-2
ii  gir1.2-secret-1                      0.18.6-1
pn  gstreamer0.10-plugins-ugly           <none>
ii  notification-daemon                  3.20.0-3
ii  pulseaudio-utils                     12.0-1
ii  python3-crypto                       2.6.1-9+b1
ii  python3-dbus                         1.2.8-2+b1
ii  python3-gnupg                        0.4.3-1
ii  python3-pil                          5.2.0-2
ii  python3-precis-i18n                  1.0.0-1
ii  sox                                  14.4.2-3
ii  xfce4-notifyd [notification-daemon]  0.4.2-1

Versions of packages gajim suggests:
ii  avahi-daemon      0.7-4
ii  libxss1           1:1.2.2-1+b2
pn  nautilus-sendto   <none>
pn  python3-gconf     <none>
pn  python3-gnome2    <none>
pn  python3-kerberos  <none>
ii  python3-pycurl    7.43.0.1-0.2+b1

-- no debconf information



More information about the Pkg-xmpp-devel mailing list