labsyspharm / visinity

MIT License
15 stars 4 forks source link

sqlalchemy has no attribute '__all__' #12

Closed kmkowale closed 1 year ago

kmkowale commented 1 year ago

Hi, I have been getting the following error when running the attempting to run visinity 0.95:


(visinity) C:\Users\karlm>python visinity\run.py Traceback (most recent call last): File "visinity\run.py", line 5, in from minerva_analysis import app File "C:\Users\karlm\visinity\minerva_analysis__init__.py", line 25, in db = SQLAlchemy(app) File "C:\Users\karlm\anaconda3\envs\visinity\lib\site-packages\flask_sqlalchemy__init.py", line 758, in init _include_sqlalchemy(self, query_class) File "C:\Users\karlm\anaconda3\envs\visinity\lib\site-packages\flask_sqlalchemy\init.py", line 112, in _include_sqlalchemy for key in module.all: AttributeError: module 'sqlalchemy' has no attribute 'all__'


Is there a workaround for this issue? It happens when I use the exe file as well. Thanks, Karl

mehdinejjar86 commented 1 year ago

The same goes for me :S. I tried upgrading Flask-SQLAlchemy via pip, but another problem surfaced.

simonwarchol commented 1 year ago

Hi @shiverstalker @kmkowale , Apologies for the delays here, I must have missed the github notification on the first post. I've just posted a new version that should resolve your issues. Please let me know if it doesn't and we can work together to get things working :) -Simon

mehdinejjar86 commented 1 year ago

@simonwarchol thank youu! It works perfectly right now!