"Quit" menu item does not work
Bug description
The "Quit" menu item in the "Actions" menu does not work.
Steps to reproduce
- Start Gajim
- Click Actions - Quit
Expected Results: Gajim quits Actual results: Nothing happens, except for a python error on the console Traceback (most recent call last): File "/usr/share/gajim/src/roster_window.py", line 2547, in on_quit_request self.get_status_message('offline', on_continue, show_pep=False) File "/usr/share/gajim/src/roster_window.py", line 2307, in get_status_message on_response('', empty_pep) File "/usr/share/gajim/src/roster_window.py", line 2544, in on_continue on_continue2(message, pep_dict) File "/usr/share/gajim/src/roster_window.py", line 2511, in on_continue2 on_continue3(message, pep_dict) File "/usr/share/gajim/src/roster_window.py", line 2490, in on_continue3 self.send_status(acct, 'offline', message) File "/usr/share/gajim/src/roster_window.py", line 2121, in send_status self.send_status_continue(account, status, txt, auto, to) File "/usr/share/gajim/src/roster_window.py", line 2170, in send_status_continue gajim.connections[account].change_status(status, txt, auto) File "/usr/share/gajim/src/common/connection.py", line 661, in change_status self.connection.start_disconnect() File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 695, in start_disconnect self.disconnect() File "/usr/share/gajim/src/common/zeroconf/client_zeroconf.py", line 682, in disconnect self.zeroconf.disconnect() File "/usr/share/gajim/src/common/zeroconf/zeroconf_avahi.py", line 416, in disconnect self.remove_announce() File "/usr/share/gajim/src/common/zeroconf/zeroconf_avahi.py", line 295, in remove_announce if self.entrygroup.GetState() != self.avahi.ENTRY_GROUP_FAILURE: AttributeError: 'NoneType' object has no attribute 'GetState'
I noticed that avahi is mentioned in the stacktrace. I tried to disable the "Local" transport (after the failure to quit), which made Gajim quit without further notice. However, next time it started, "Local" was still disabled in the configuration and now quitting worked fine. After re-enabling "Local" and restarting Gajim, the above error is back.
Software versions
OS version: Debian testing
GTK version: 2.24.22
PyGTK version: 2.24.0