XD-DENG / flask-example

A minimal web app developed with Flask
104 stars 99 forks source link

sqlite3.OperationalError #4

Open enzofoucaud opened 4 years ago

enzofoucaud commented 4 years ago

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

XD-DENG commented 4 years ago

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

J0R0W commented 3 years ago

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.