Flask-Admin-Dashboard icon indicating copy to clipboard operation
Flask-Admin-Dashboard copied to clipboard

Issue with SQLAlchemy 1.4.0

Open sonicnkt opened this issue 3 years ago • 0 comments

There is a issue with SQLAlchemy 1.4.0 which is automatically installed as a dependency of Flask-SQLAlchemy in the requirements.txt.

It leads to the following issue when running the app:

sa_url.database = os.path.join(app.root_path, sa_url.database)
AttributeError: can't set attribute

It can easily be fixed for the moment by manually adding SQLAlchemy==1.3.23 to requirements.txt.

More Infos: https://stackoverflow.com/questions/66647787/attributeerror-cant-set-attribute-when-connecting-to-sqlite-database-with-flas

sonicnkt avatar Mar 17 '21 17:03 sonicnkt