Skip to content

Pre-create db folder for users #4

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

Closed
mikeckennedy opened this issue Jul 30, 2019 · 0 comments
Closed

Pre-create db folder for users #4

mikeckennedy opened this issue Jul 30, 2019 · 0 comments

Comments

@mikeckennedy
Copy link
Member

Some users are reporting this error because they have not created the db folder first. Not sure whether this was missed or just not emphasized enough in the course but it's no big deal to create that folder in the starter code to help smooth things over:

sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file
(Background on this error at: (link: http://sqlalche.me/e/e3q8) sqlalche.me/e/e3q8)

During Lesson 09 > Creating tables.

Could be an issue on my end, but the only way I found to make it work is to create the db folder myself.

theSuda referenced this issue in theSuda/data-driven-web-apps-with-flask Dec 17, 2019
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

1 participant