You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I set the LANGFLOW_DATABASE_URL start with "mysql+aiomysql://", the function _create_engine split it to judge the database will be used. But if sqlite or postgresql is not used. the url is missing "://"
Reproduction
set the environment variable LANGFLOW_DATABASE_URL with "mysql+aiomysql://"。 then execute cmd python -m langflow run
Expected behavior
langflow works normallly
Who can help?
No response
Operating System
windows
Langflow Version
1.1.1
Python Version
3.11
Screenshot
Flow File
No response
The text was updated successfully, but these errors were encountered:
The issue you're encountering with the database URL losing "://" when using non-sqlite/postgresql databases like MySQL is related to the logic in the _create_engine function. This function splits the URL and reconstructs it without the "://" for databases other than SQLite and PostgreSQL, which leads to the error you're seeing [1].
To address this, you might need to modify the _create_engine function to ensure that the "://" is preserved for all database types. This involves adjusting the logic that reconstructs the database_url to include "://" for MySQL and other databases.
Additionally, the AttributeError related to the TelemetryService suggests that there might be a missing attribute or misconfiguration in the telemetry setup. This could be a separate issue that needs to be addressed in the TelemetryService implementation.
For further assistance, you might want to check if there are any updates or patches available for Langflow that address these issues.
Did you solve the MissingGreenlet: greenlet_spawn has not been called; can't call await_only() here. Was IO attempted in an unexpected placeerror using MySQL?
Bug Description
If I set the LANGFLOW_DATABASE_URL start with "mysql+aiomysql://", the function _create_engine split it to judge the database will be used. But if sqlite or postgresql is not used. the url is missing "://"
Reproduction
set the environment variable
LANGFLOW_DATABASE_URL
with "mysql+aiomysql://"。 then execute cmdpython -m langflow run
Expected behavior
langflow works normallly
Who can help?
No response
Operating System
windows
Langflow Version
1.1.1
Python Version
3.11
Screenshot
Flow File
No response
The text was updated successfully, but these errors were encountered: