command %stats not working #2

Open
opened 2024-08-03 20:48:29 +02:00 by mirux · 0 comments

NameError: name 'sqlite' is not defined
ERROR name 'sqlite' is not defined
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 510, in process_message
response = XmppCommands.print_statistics(db_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/kaikout/.venv/lib/python3.11/site-packages/kaikout/xmpp/commands.py", line 266, in print_statistics
entries_unread = sqlite.get_number_of_entries_unread(db_file)
^^^^^^
NameError: name 'sqlite' is not defined

NameError: name 'sqlite' is not defined ERROR name 'sqlite' is not defined 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 510, in process_message response = XmppCommands.print_statistics(db_file) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/kaikout/.venv/lib/python3.11/site-packages/kaikout/xmpp/commands.py", line 266, in print_statistics entries_unread = sqlite.get_number_of_entries_unread(db_file) ^^^^^^ NameError: name 'sqlite' is not defined
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#2
No description provided.