Skip to content
Discussion options

You must be logged in to vote
The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/ben/python/testing/app.py", line 18, in <module>
    db.create_all()
    ~~~~~~~~~~~~~^^

The traceback shows that it's happening around db.create_all(), so that's where you'd put the except block.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@ben467834
Comment options

@davidism
Comment options

@ben467834
Comment options

@davidism
Comment options

Answer selected by ben467834
@ben467834
Comment options

@davidism
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants