Crash when going online
Latest master version for nbxmpp and Gajim, When starting and trying to go online, I get those TB:
Versions
- OS: Linux
- Gajim version: latest master
- GTK version:
- Python-nbxmpp version: latest master
Steps to reproduce the problem
- Start Gajim then go online
Expected behavior
Go online
Actual behavior
13/01/2022 08:49:38 (E) gajim.c.ged Error while running an event handler: <bound method AccountPage._subscribe_received of <account_page.AccountPage object at 0x7f2f714d7c00 (gajim+gui+account_page+AccountPage at 0x405bc80)>>
Traceback (most recent call last):
File "/home/asterix/gajim/gajim/common/ged.py", line 101, in raise_event
if handler(event_obj):
File "/home/asterix/gajim/gajim/gtk/account_page.py", line 135, in _subscribe_received
self._notification_manager.add_subscription_request(event)
File "/home/asterix/gajim/gajim/gtk/notification_manager.py", line 168, in add_subscription_request
self.add(SubscriptionRequestRow(
File "/home/asterix/gajim/gajim/gtk/notification_manager.py", line 304, in __init__
subscription_menu = get_subscription_menu(
File "/home/asterix/gajim/gajim/gtk/menus.py", line 445, in get_subscription_menu
return make_menu(menuitems)
File "/home/asterix/gajim/gajim/gtk/util.py", line 934, in make_menu
menuitem = make_menu_item(*item)
File "/home/asterix/gajim/gajim/gtk/util.py", line 925, in make_menu_item
item.set_action_and_target_value(action, value.to_variant())
File "/home/asterix/gajim/gajim/common/structs.py", line 287, in to_variant
field_t, variant_str = self._get_type_and_variant_string(field.type)
File "/home/asterix/gajim/gajim/common/structs.py", line 280, in _get_type_and_variant_string
raise ValueError('unknown type: %s' % field_type)
ValueError: unknown type: bool