-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Docker Compose Fails #4647
Comments
@JadTawil77 Hello there! I'm here to help you with your Docker Compose issue. I'm a bot that can assist you in solving bugs, answering questions, and becoming a contributor. Let's work together to resolve the issue you're facing. The error you're encountering, from sqlalchemy.dialects import sqlite as dialect_sqlite This import is used to check if the To resolve this issue, ensure that the version of SQLAlchemy being used is compatible with this import. The Langflow codebase specifies SQLAlchemy version |
@dosu Since we are running a docker container, the docker image should have all the necessary packages and their compatibilities, not my native machine. |
The Docker image should indeed include all necessary packages and their compatible versions. The base Docker image for Langflow is docker pull langflowai/langflow:latest If the problem persists, it could be related to how the image is built or configured. You might want to inspect the Dockerfile or any custom configurations that could affect SQLAlchemy's behavior. |
Indeed the problem does persist with the latest image. |
We also observe this error after updating from the previous Docker container with an existing database. |
e agora como podemos resolver isso? estou a horas aqui nisso |
@JadTawil77 encontrou alguma resposta? |
@desenvolvedor-guibson-lizardo Not yet. We shouldn't have to use an old version of langchain to make the docker work. The docker image should be up to date with latest. |
Build a Docker image from the main branch and push it to your own registry. This solved the problem for me. Issue was fixed in this PR #4599 |
Waiting for a quick update in docker hub. |
I am also waiting to run an instance! |
Bug Description
AttributeError: module
docker_example-langflow-1 | 'sqlalchemy.dialects' has no attribute
docker_example-langflow-1 | 'sqlite'
Reproduction
cd ../docker_example/
docker compose up
Expected behavior
I expect it to not throw errors
Who can help?
No response
Operating System
Ubuntu Linux
Langflow Version
latest
Python Version
None
Screenshot
No response
Flow File
No response
The text was updated successfully, but these errors were encountered: