key error if wrong/invalid JID #4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
KeyError: 'clear mirux@mi.de'
ERROR 'clear mirux@mi.de'
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 170, in on_message
await XmppChat.process_message(self, message)
File "/usr/local/kaikout/.venv/lib/python3.11/site-packages/kaikout/xmpp/chat.py", line 502, in process_message
response = str(self.settings[room]['scores'][jid_bare])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
type scores mmm@test.de (which does not exist)
KeyError: 'mmm@test.de'
ERROR 'mmm@test.de'
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 170, in on_message
await XmppChat.process_message(self, message)
File "/usr/local/kaikout/.venv/lib/python3.11/site-packages/kaikout/xmpp/chat.py", line 502, in process_message
response = str(self.settings[room]['scores'][jid_bare])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'mmm@test.de'
Done.
7ca023011a