Bug#908351: gajim: Throws errors soon after startup, doesn't work, won't quit

2018-09-11 Thread W. Martin Borgert

Quoting Matto Marjanovic :

Yes:  I've now compiled/installed from gajim's master (which includes that
commit), and it appears to be working a-ok.


Great! Thanks for testing!

I'll close the bug with the next upstream version then.



Bug#908351: gajim: Throws errors soon after startup, doesn't work, won't quit

2018-09-11 Thread W. Martin Borgert

Hi Matt,

upstream is confident that the following commit might solve your problem:

https://dev.gajim.org/gajim/gajim/commit/0a20cb5997e635d12ccc5d72080ac0c38ae2876e

Maybe you can try this already?

The change will be in the next beta (or final) release.
Hopefully it really solves your problem.

Cheers



Bug#908351: gajim: Throws errors soon after startup, doesn't work, won't quit

2018-09-10 Thread Matto Marjanovic

A follow-up, for what it may be worth...

Typically, when gajim starts up for me, it automatically joins a groupchat
after entering my account password, and the exceptions being thrown appear
to relate to that.

I have gone back to 1.0.3-1 (compiled from source) so that I have a working
gajim and can continue with life, but if anyone wants me to try out anything
with the 1.1.0+ source to reproduce/diagnose this, I'd be happy to give it
a shot.

-m



Bug#908351: gajim: Throws errors soon after startup, doesn't work, won't quit

2018-09-08 Thread Matt Marjanovic
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

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:
>
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:
>
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 =