error while trying to add a "hat" to own kaikout bot in foreign MUC #12

Open
opened 2024-09-22 16:35:35 +02:00 by mirux · 0 comments

maybe due to trying to add a "hat" to my kaikout bot in a MUC where I am not the owner and not hosting:

KeyError: 'jid_whitelist'
ERROR 'jid_whitelist'
Traceback (most recent call last):
File "/usr/local/kaikout/.venv/lib/python3.11/site-packages/slixmpp/xmlstream/xmlstream.py", line 1107, in handler_callback_routine
await cb(data)
File "/usr/local/kaikout/.venv/lib/python3.11/site-packages/kaikout/xmpp/client.py", line 254, in on_muc_presence
if jid_bare and jid_bare not in self.settings[room]['jid_whitelist']:
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 'jid_whitelist'

~/.local/share/kaikout/toml files have not been deleted before or after

kaikout service / bot needed to be restarted as it dropped out

maybe due to trying to add a "hat" to my kaikout bot in a MUC where I am not the owner and not hosting: KeyError: 'jid_whitelist' ERROR 'jid_whitelist' Traceback (most recent call last): File "/usr/local/kaikout/.venv/lib/python3.11/site-packages/slixmpp/xmlstream/xmlstream.py", line 1107, in handler_callback_routine await cb(data) File "/usr/local/kaikout/.venv/lib/python3.11/site-packages/kaikout/xmpp/client.py", line 254, in on_muc_presence if jid_bare and jid_bare not in self.settings[room]['jid_whitelist']: ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ KeyError: 'jid_whitelist' ~/.local/share/kaikout/toml files have not been deleted before or after kaikout service / bot needed to be restarted as it dropped out
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: sch/KaikOut#12
No description provided.