Skip to content
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

sqlite3.OperationalError: database is locked #350

Closed
3 tasks
lsyyktv opened this issue Jul 21, 2023 · 8 comments
Closed
3 tasks

sqlite3.OperationalError: database is locked #350

lsyyktv opened this issue Jul 21, 2023 · 8 comments

Comments

@lsyyktv
Copy link

lsyyktv commented Jul 21, 2023

Provide a general summary of the issue in the Title above.

Expected behavior

  • Tell us what should happen.

Current behavior

  • Tell us what happens instead of the expected behavior.

Screenshot [ Optional ]

  • Make a screenshot to help us understand the context more clearly.

Possible reasons and solutions [ Optional ]

  • Suggest a fix/reason for the bug.

Context

  • How has this issue affected you? How it appeared? What are you trying to accomplish?
  • Providing context helps us come up with a solution that is most useful in the real world.

Custom values [Optional]

  • NO

Your environment

*ARM DEBIAN 11

Stack trace

  • Include stack trace of the logs/console.

Checklist

Go over all the following points, and put an x in all the boxes that apply.

  • I searched the current issues and the issue is not known.
  • I searched on Google, Steam, YouTube, Reddit and there's no fix.
  • I am mostly sure that the problem is related to the project and isn't my fault.
    image
@Alpha-C2
Copy link

Do in main dir of YukkiMusic

rm YukkiMusicBot.session
rm YukkiMusicBot.session-journal

And start the bot !

@lsyyktv
Copy link
Author

lsyyktv commented Jul 25, 2023

Do in main dir of YukkiMusic

rm YukkiMusicBot.session rm YukkiMusicBot.session-journal

And start the bot !

But the error still exists

@Alpha-C2
Copy link

Alpha-C2 commented Jul 25, 2023

Do in main dir of YukkiMusic

rm YukkiMusicBot.session rm YukkiMusicBot.session-journal

And start the bot !

But the error still exists

Delete current directory (for clearing old saved sessions which cause lock of database) and re clone it.

OR

Do command 'ls' in main directory, if you find any '.session' or '.session-journal' files, remove it.

@lsyyktv
Copy link
Author

lsyyktv commented Jul 25, 2023

Do in main dir of YukkiMusic

rm YukkiMusicBot.session rm YukkiMusicBot.session-journal

And start the bot !

But the error still exists

Delete current directory (for clearing old saved sessions which cause lock of database) and re clone it.

OR

Do command 'ls' in main directory, if you find any '.session' or '.session-journal' files, remove it.

Thanks,I have done that,but the error still exists, is there something wrong with the python version(3.9.2)?
image

@Alpha-C2
Copy link

Do in main dir of YukkiMusic

rm YukkiMusicBot.session rm YukkiMusicBot.session-journal

And start the bot !

But the error still exists

Delete current directory (for clearing old saved sessions which cause lock of database) and re clone it.

OR

Do command 'ls' in main directory, if you find any '.session' or '.session-journal' files, remove it.

Thanks,I have done that,but the error still exists, is there something wrong with the python version(3.9.2)?

image

Nope ig 🙂, try upgrading python if you believe in it.

@lsyyktv
Copy link
Author

lsyyktv commented Jul 25, 2023

Do in main dir of YukkiMusic

rm YukkiMusicBot.session rm YukkiMusicBot.session-journal

And start the bot !

But the error still exists

Delete current directory (for clearing old saved sessions which cause lock of database) and re clone it.

OR

Do command 'ls' in main directory, if you find any '.session' or '.session-journal' files, remove it.

Thanks,I have done that,but the error still exists, is there something wrong with the python version(3.9.2)?
image

Nope ig 🙂, try upgrading python if you believe in it.

Thank you,I'll try that later!

@Jatindalal875
Copy link

Try

sudo pkill -9 python3

rm -r *.session

Than tmux and bash start

@axrav
Copy link
Member

axrav commented Oct 9, 2023

marking this as closed, as seems like it has been solved

@axrav axrav closed this as completed Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants