-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sqlalchemy error #233
Comments
|
I built a docker from |
@corviday have you tried running the test suite in a docker container? Does the |
That's a great idea, thanks. The test suite has some failures, but they seem to be unrelated (a needed directory isn't mounted to the container) but other tests pass. I don't know what that means, but it's useful. EDIT: I have restored the missing directory and all tests pass now. Hmmm. |
OK, that being the case can you give a full "steps to reproduce" overview then? |
Steps to reproduce:
Given that tests work, issue is likely flask-related? I don't think flask is used the same way in tests as with the server running live. Hm, except that flask is used when running on bare metal, and that(s fine. |
Can you be more specific about what parameters you're using for step 2 and exactly what URL you're using from step 3? I still cannot reproduce this. |
That's good news, I think? Here are the current docker-compose.yaml and be.env files, with their extension changed and passwords redacted. Here is my test URL. |
Things that don't fix it:
Switching GDAL and / or python back has so far proved to be quite a tangle and I don't have an answer yet. Working and buggy containers use the same version of sqlalchemy, so that's probably not the cause. |
Reopened an old branch that previously worked, but that one now has the error too, so it does seem like something else updating was the cause. |
Released a new version (3.6.3), which works in github tests, but not in docker containers. I now have an instance of 3.6.3 running on my workstation and running on docker-dev02. They have identical libraries according to pip freeze, so "library updates" seems to be ruled out as a source of the error. My desktop is using python 3.8.10 and docker-dev02 is using 3.8.15. That seems unlikely to be the problem, but I don't have any better ideas, so maybe I will try changing that next. Another possibility is something specific to gunicorn. |
Running it on my workstation as Current investigative Summary:
Next things to check: python versions, postgres C library versions. running in a docker container |
I updated a bunch of things in the |
Docker instances of the newest version (3.6.2) throw the following error when any API call is made:
This does not seem to be an issue with our python code, as a version with identical code has been deployed as an unmerged branch. It is perhaps caused by an update to sqlalchemy.
The text was updated successfully, but these errors were encountered: