mirror of
https://codeberg.org/sch/BukuBot
synced 2024-12-22 18:05:24 +01:00
error deleting subscription 3 #5
Labels
No labels
Duplicate
Help needed
Improvement
Invalid
Problem
Question
Task
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: sch/BukuBot#5
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?
Id 3 is created but cant be deleted:
Traceback (most recent call last):
File "/usr/local/bukubot/.venv/lib/python3.11/site-packages/slixmpp/xmlstream/xmlstream.py", line 1119, in event
handler_callback(data)
File "/usr/local/bukubot/.venv/lib/python3.11/site-packages/bukubot/xmpp/client.py", line 94, in process_message
Chat.action(self, message)
File "/usr/local/bukubot/.venv/lib/python3.11/site-packages/bukubot/xmpp/chat.py", line 51, in action
message_body = Chat.format_message(result, extended=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bukubot/.venv/lib/python3.11/site-packages/bukubot/xmpp/chat.py", line 171, in format_message
idx = bookmark[0]
~~~~~~~~^^^
TypeError: 'NoneType' object is not subscriptable
ERROR No matching index 3
You should get this message
ERROR No matching index 3
.What command did you send to the bot?
Please specify steps to reproduce.
Created bm 1 2 3 and deleted 1 2 and no 3 error meesage raised
I will check.
Please note that when an index is deleted, the last bookmark is replaced by the deleted index.
If 1 is deleted, the 3 becomes 1.
These are the errors that I have had:
Duplicate of #4 fixed at
e27e87c43b