"execute command" button causes error when no internet connection
Versions:
- OS: Ubuntu 22.04.1 LTS 22.04 (jammy)
- GTK Version: 3.24.33
- PyGObject Version: 3.42.1
- GLib Version : 2.71.3
- python-nbxmpp Version: 3.2.4
- Gajim Version: 1.5.2
Traceback
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/gtk/account_page.py", line 121, in _on_adhoc_commands
open_window('AdHocCommands', account=self._account, jid=server_jid)
File "/usr/lib/python3/dist-packages/gajim/gtk/util.py", line 715, in open_window
window = window_cls(**kwargs)
File "/usr/lib/python3/dist-packages/gajim/gtk/adhoc.py", line 89, in __init__
self._client.get_module('AdHocCommands').request_command_list(
TypeError: 'NoneType' object is not callable
Steps to reproduce the problem
- internet connection is offline (the internet connection itself, not account status)
- start gajim
- go to account tab for some account that is enabled
- press button
Execute Command