Closed PJNorrisS1 closed 1 year ago
I think version 1.4.24 of sqlalchemy fixed that. Can you run pip3 show sqlalchemy
? Might need to update that package. I haven't tested sqlalchemy 2.x.
Hmm.....
root@b319fec8c736:/# pip3 show sqlalchemy
Name: SQLAlchemy
Version: 2.0.0
Summary: Database Abstraction Library
Home-page: https://www.sqlalchemy.org
Author: Mike Bayer
Author-email: mike_mp@zzzcomputing.com
License: MIT
Location: /usr/local/lib/python3.8/site-packages
Requires: greenlet, typing-extensions
Required-by: alembic
Hmm, yeah - try to back that down to 1.4.47
Please could you give me a couple of pointers on how to do that? I'm running this in a docker container. Thank you
I assume I could edit the requirements.txt to put a version in there.
This is sort of going off of memory
docker ps
docker exec -it {containeid} pip3 install sqlalchemy==1.4.47
Yeah or you could edit the requirements file to specify the version.
Just edit the setup/requirements.txt to use sqlalchemy==1.4.47 (i used 1.4.46 for testing) Edit: too slow.
I tried to fix the issues ocurring with SQLAlchemy 2.0.0. As im not to experienced with python nor SQLAlchemy (and their documentation could be a bit clearer) im not sure if this is fixed correctly or introduces some new problems. For me everything seems to work
See: https://github.com/simon-hoegl/RootTheBox/commit/51b94183783ad3e1384cca677c5cfae1f704e527
#0 5.857 ERROR: No matching distribution found for sqlalchemy==1.4.47
Looks like 1.4.46 was last 1.4 release. 2.0 came out yesterday!!!
Fixed. Adding 1.4.46 to the requirements resolved that. Will you change that on master, as that's a breaking change since 2.0 came out yesterday? Thanks for the speedy response as always.
Done - thanks for the report
I think there is an sql update that has caused a fatal error. In the logs I see:
Under libs/BotManger.py line 121 has the autocommit statement. I changed that, ran build, but getting 404 glitch in matrix on the home page after login.