Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7033 closed defect (fixed)

TLS connection hangs because of ConfirmationDialogDoubleCheck throwing exception

Reported by: buymebeer Owned by:
Priority: normal Milestone: 0.15
Component: notifications Version: hg
Severity: normal Keywords: tls certificate tooltip
Cc: ioerror Blocked By:
Blocking: OS: All


Bug description

ConfirmationDialogDoubleCheck? is ?sometimes? not displayed when showing certificate information (happened to me when I created an account pointing to

ConfirmationDialogDoubleCheck? gets called with tooltip2 being a function (instead of a string as expected/required) as documented by the stacktrace below.

This causes a trace to be shown and the dialog is never displayed, the connection hangs in the main window while it waits for the dialog that doesn't show up to be closed. I know this bug report is probably hard to comprehend, but the stacktrace should speak for itself. Tripping on krokodyle and writing in English are not compatible activities for me at this hour.

Steps to reproduce

Traceback (most recent call last):

File "/home/me/devt/gajim/src/common/xmpp/", line 533, in _process_events

return IdleQueue?._process_events(self, fd, flags)

File "/home/me/devt/gajim/src/common/xmpp/", line 394, in _process_events


File "/home/me/devt/gajim/src/common/xmpp/", line 414, in pollin


File "/home/me/devt/gajim/src/common/xmpp/", line 600, in _do_receive


File "/home/me/devt/gajim/src/common/xmpp/", line 614, in _on_receive


File "/home/me/devt/gajim/src/common/xmpp/", line 308, in <lambda>

self.onreceive(lambda _data:self._xmpp_connect_machine(mode, _data))

File "/home/me/devt/gajim/src/common/xmpp/", line 343, in _xmpp_connect_machine


File "/home/me/devt/gajim/src/common/xmpp/", line 362, in _xmpp_connect_machine


File "/home/me/devt/gajim/src/common/xmpp/", line 398, in _on_stream_start


File "/home/me/devt/gajim/src/common/xmpp/", line 435, in _on_connect

self.on_connect(self, self.connected)

File "/home/me/devt/gajim/src/common/", line 1275, in _connect_success

return self.connection_accepted(con, con_type)

File "/home/me/devt/gajim/src/common/", line 1317, in connection_accepted


File "/home/me/devt/gajim/src/common/", line 77, in push_incoming_event

if not gajim.ged.raise_event(, event_object):

File "/home/me/devt/gajim/src/common/", line 88, in raise_event

if handler(*args, kwargs):

File "/home/me/devt/gajim/src/", line 1214, in handle_event_ssl_error


File "/home/me/devt/gajim/src/", line 5243, in init


File "/home/me/devt/gajim/src/", line 1753, in init


TypeError?: Gtk.Widget.set_tooltip_text() argument 1 must be string or None, not function

Change History (2)

comment:1 Changed 5 years ago by Yann Leboulanger <asterix@…>

  • Milestone changed from Patches Welcome to 0.15
  • Resolution set to fixed
  • Status changed from new to closed

(In [cc535a27c2bc]) fix SSLError dialog. Fixes #7033

comment:2 Changed 5 years ago by Yann Leboulanger <asterix@…>

(In [c967f10ba10f]) fix SSLError dialog. Fixes #7033

Note: See TracTickets for help on using tickets.