flask-example icon indicating copy to clipboard operation
flask-example copied to clipboard

sqlite3.OperationalError

Open enzofoucaud opened this issue 5 years ago • 2 comments

Hello, I am starting with Flask and I would like to know why this error persists? I have the impression that users.db is empty but since PyCharm I can't do anything to see inside

image

enzofoucaud avatar May 16 '20 17:05 enzofoucaud

Hi @enzofoucaud , I can't reproduce the error you're reporting. I suspect it's because of your file permission setting.

XD-DENG avatar May 17 '20 13:05 XD-DENG

I had the same issue with my Windows PC. It has to da with the path to the DB file. You have to change it, or use a Linux OS. Switching to an Ubuntu System solved the error for me.

J0R0W avatar Dec 21 '20 18:12 J0R0W