mirror of
https://codeberg.org/sch/BukuBot
synced 2024-12-22 18:05:24 +01:00
errror while deleting: 'Del 2,3,4,5' #3
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#3
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?
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 88, in action
result = bookmarks_db.delete_rec(idx)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bukubot/.venv/lib/python3.11/site-packages/buku.py", line 1820, in delete_rec
raise TypeError('index, low, or high variable is not integer')
TypeError: index, low, or high variable is not integer
ERROR index, low, or high variable is not integer
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 88, in action
result = bookmarks_db.delete_rec(idx)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bukubot/.venv/lib/python3.11/site-packages/buku.py", line 1820, in delete_rec
raise TypeError('index, low, or high variable is not integer')
TypeError: index, low, or high variable is not integer
errror while deletiong: 'Del 2,3,4,5'to errror while deleting: 'Del 2,3,4,5'Good idea: Adding a functionality to delete multiple bookmarks at once.
Done
e27e87c43b