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

database is locked #59149

Open
2 tasks done
Happiness-in-Danger opened this issue Jun 30, 2024 · 0 comments
Open
2 tasks done

database is locked #59149

Happiness-in-Danger opened this issue Jun 30, 2024 · 0 comments
Labels
Needs Triage Issue that has not been reviewed by a pandas team member Usage Question

Comments

@Happiness-in-Danger
Copy link

Research

  • I have searched the [pandas] tag on StackOverflow for similar questions.

  • I have asked my usage related question on StackOverflow.

Link to question on StackOverflow

https://stackoverflow.com/questions/3172929/operationalerror-database-is-locked

Question about pandas

Image_1719753762358

The picture is error log

My program transfers the downloaded data to the database by to_sql.The programe is closed like Ctrl+C and closed terminal ,and when I restart my programe,the datebase is locked.Even though I've tried to delay retrying.I close the cursor and connection of the data through the atexit module when the program is closed.But The problem remains.
I don't know how to solve this problem. She has been bothering me for a long time.Thanks

@Happiness-in-Danger Happiness-in-Danger added Needs Triage Issue that has not been reviewed by a pandas team member Usage Question labels Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Triage Issue that has not been reviewed by a pandas team member Usage Question
Projects
None yet
Development

No branches or pull requests

1 participant