-
-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Support] BukuBot issue with database lock error #743
Comments
Can you reproduce this manually (in Python prompt or in a standalone script)? If yes, please describe necessary conditions to reproduce it (e.g. minimum initial number of records, and a sequence of indices to be removed by executing I haven't managed to reproduce it via trivial imitation (even in a loop); so it seems to me like this might be caused by actual attempts for concurrent access (possibly due to the bot being run in multiple threads or something of the sort). …Also, here's some feedback on the code 😅
|
I have only tried with I have changed the code:
I suppose I will try |
You don't seem to be using that |
Done https://git.xmpp-it.net/sch/BukuBot/commit/3387dffeaaa06f8fc24ee968818d0982550a1553 Thank you for comment about I have tried with
Result: Message
BukuBot
Console:
Should not the delete process be from the latest (i.e the highest number) to the earliest (the smallest number) or is this not matter when using Done https://git.xmpp-it.net/sch/BukuBot/commit/3387dffeaaa06f8fc24ee968818d0982550a1553 |
Thank you for the help. I have forgot to mention you in the git message! |
I think you misunderstood the API. What you're meant to pass into
Aren't you feeding it data in the opposite order? The usage docs say it's expected to be pre-ordered. |
Please pardon for not posting this at #719 (the thread is locked)
I have an issue with buku which sends a database lock error
ERROR database is locked
.See https://git.xmpp-it.net/sch/BukuBot/issues/7
This occurs upon a deletion or several deletions, either one by one or at the same time.
The code that is reponsible for deletion is:
The text was updated successfully, but these errors were encountered: