AttributeError: directory after update to 4.1.0 #558
Replies: 1 comment 1 reply
-
You are using a recent version of Flask-Migrate with very old versions of Flask (3 years old) and Flask-SQLAlchemy (4 years old). It is possible that something in Flask or Flask-SQLAlchemy or SQLAlchemy was different in those old versions. Is there any reason why you want to use the latest Flask-Migrate but stay on such old versions for your other dependencies? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello :)
I'm having an issue since upgrading to 4.1.0, now every time I run flask db upgrade or flask db heads I get the following error:
When running flask db upgrade -d migrations I get pretty much the same trace but with AttributeError: x_arg
I'm using SQLAlchemy 1.4.54, Flask 2.1.3, Flask-SQLAlchemy 2.5.1 - could it be an incompabitility ?
Downgrading to previous version fixes the problem
Thanks for the help :) !
Beta Was this translation helpful? Give feedback.
All reactions