└ <ClassManager of <class 'langflow.services.database.models.user.model.User'> at 7f228be921b0>
File "/home/langflow/.local/lib/python3.10/site-packages/sqlmodel/main.py", line 723, in init
sqlmodel_init(self=pydantic_self, data=data)
│                  │                       └ {'username': 'langflow', 'password': '$2b$12$DEuLSfGto1YTVUSFHbGcW.R23dMFdJlhz/htwgowL52L7YHmvLXpi', 'is_superuser': True, 'i...
│                  └ User()
└ <function sqlmodel_init at 0x7f22a334df30>
File "/home/langflow/.local/lib/python3.10/site-packages/sqlmodel/_compat.py", line 348, in sqlmodel_init
sqlmodel_table_construct(
└ <function sqlmodel_table_construct at 0x7f22a334de10>
File "/home/langflow/.local/lib/python3.10/site-packages/sqlmodel/_compat.py", line 248, in sqlmodel_table_construct
defaults[name] = field.get_default(call_default_factory=True)
│        │       │     └ <function FieldInfo.get_default at 0x7f22a35e1510>
│        │       └ FieldInfo(annotation=UUID, required=False, default_factory=uuid4)
│        └ 'id'
└ {}
File "/home/langflow/.local/lib/python3.10/site-packages/pydantic/fields.py", line 596, in get_default
raise ValueError("'validated_data' must be provided if 'call_default_factory' is True.")

ValueError: 'validated_data' must be provided if 'call_default_factory' is True.
2024-11-14 11:28:19.745 | DEBUG    | langflow.services.settings.auth:validate_superuser:77 - Resetting superuser password to default value
2024-11-14 11:28:19.746 | INFO     | langflow.services.database.service:on_connection:127 - sqlite connection, setting pragmas: ['PRAGMA synchronous = NORMAL', 'PRAGMA journal_mode = WAL']

okay, anyhow, installation yet ignores my admin user and password set in .env hmmm

reinstalled again, similar errors. seems 1.10.0 is broken :-(

another error, after total reinstall ERROR    2024-11-14 13:43:41 - ERROR    - main - 'validated_data' must be provided if 'call_default_factory' is True.                                                             main.py:117
Traceback (most recent call last):
                           File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
                             return _run_code(code, main_globals, None,
                                    |         |     -> {'__name__': '__main__', '__doc__': None, '__package__': 'langflow', '__loader__': <_frozen_importlib_external.SourceFileLoad...
                                    |         -> <code object <module> at 0x7fd543a6b940, file "/home/langflow/.local/lib/python3.10/site-packages/langflow/__main__.py", line 1>
                                    -> <function _run_code at 0x7fd543a7d120>
                           File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
                             exec(code, run_globals)
                                  |     -> {'__name__': '__main__', '__doc__': None, '__package__': 'langflow', '__loader__': <_frozen_importlib_external.SourceFileLoad...
                                  -> <code object <module> at 0x7fd543a6b940, file "/home/langflow/.local/lib/python3.10/site-packages/langflow/__main__.py", line 1>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/__main__.py", line 603, in <module>
                             main()
                             -> <function main at 0x7fd516c08dc0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/__main__.py", line 598, in main
                             app()
                             -> <typer.main.Typer object at 0x7fd5420cefe0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/typer/main.py", line 325, in __call__
                             return get_command(self)(*args, **kwargs)
                                    |           |      |       -> {}
                                    |           |      -> ()
                                    |           -> <typer.main.Typer object at 0x7fd5420cefe0>
                                    -> <function get_command at 0x7fd5421c7b50>
                           File "/home/langflow/.local/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
                             return self.main(*args, **kwargs)
                                    |    |     |       -> {}
                                    |    |     -> ()
                                    |    -> <function TyperGroup.main at 0x7fd5421c6320>
                                    -> <TyperGroup version-option>
                           File "/home/langflow/.local/lib/python3.10/site-packages/typer/core.py", line 728, in main
                             return _main(
                                    -> <function _main at 0x7fd5421c56c0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/typer/core.py", line 197, in _main
                             rv = self.invoke(ctx)
                                  |    |      -> <click.core.Context object at 0x7fd516a9b370>
                                  |    -> <function MultiCommand.invoke at 0x7fd54317aa70>
                                  -> <TyperGroup version-option>
                           File "/home/langflow/.local/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
                             return _process_result(sub_ctx.command.invoke(sub_ctx))
                                    |               |       |       |      -> <click.core.Context object at 0x7fd516a9a350>
                                    |               |       |       -> <function Command.invoke at 0x7fd54317a560>
                                    |               |       -> <TyperCommand run>
                                    |               -> <click.core.Context object at 0x7fd516a9a350>
                                    -> <function MultiCommand.invoke.<locals>._process_result at 0x7fd516cdd990>
                           File "/home/langflow/.local/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
                             return ctx.invoke(self.callback, **ctx.params)
                                    |   |      |    |           |   -> {'env_file': './.env', 'open_browser': False, 'auto_saving': True, 'host': 'localhost', 'workers': None, 'worker_timeout':
                         No...
                                    |   |      |    |           -> <click.core.Context object at 0x7fd516a9a350>
                                    |   |      |    -> <function run at 0x7fd516c08f70>
                                    |   |      -> <TyperCommand run>
                                    |   -> <function Context.invoke at 0x7fd5431792d0>
                                    -> <click.core.Context object at 0x7fd516a9a350>
                           File "/home/langflow/.local/lib/python3.10/site-packages/click/core.py", line 783, in invoke
                             return __callback(*args, **kwargs)
                                                |       -> {'env_file': './.env', 'open_browser': False, 'auto_saving': True, 'host': 'localhost', 'workers': None, 'worker_timeout': No...
                                                -> ()
                           File "/home/langflow/.local/lib/python3.10/site-packages/typer/main.py", line 707, in wrapper
                             return callback(**use_params)
                                    |          -> {'host': 'localhost', 'workers': None, 'worker_timeout': None, 'port': None, 'components_path': PosixPath('/home/langflow/.lo...
                                    -> <function run at 0x7fd516c09510>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/__main__.py", line 218, in run
                             process = run_on_mac_or_linux(host, port, log_level, options, app)
                                       |                   |     |     |          |        -> <fastapi.applications.FastAPI object at 0x7fd516ac4c10>
                                       |                   |     |     |          -> {'bind': 'localhost:7860', 'workers': 1, 'timeout': 300, 'worker_class':
                         'langflow.server.LangflowUvicornWorker', 'logger_cla...
                                       |                   |     |     -> 'critical'
                                       |                   |     -> 7860
                                       |                   -> 'localhost'
                                       -> <function run_on_mac_or_linux at 0x7fd516c09360>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/__main__.py", line 254, in run_on_mac_or_linux
                             webapp_process.start()
                             |              -> <function BaseProcess.start at 0x7fd5421df400>
                             -> <Process name='Process-1' parent=109679 started>
                           File "/home/langflow/.local/lib/python3.10/site-packages/multiprocess/process.py", line 121, in start
                             self._popen = self._Popen(self)
                             |    |        |    |      -> <Process name='Process-1' parent=109679 started>
                             |    |        |    -> <staticmethod(<function Process._Popen at 0x7fd5420cb490>)>
                             |    |        -> <Process name='Process-1' parent=109679 started>
                             |    -> None
                             -> <Process name='Process-1' parent=109679 started>
                           File "/home/langflow/.local/lib/python3.10/site-packages/multiprocess/context.py", line 224, in _Popen
                             return _default_context.get_context().Process._Popen(process_obj)
                                    |                |                            -> <Process name='Process-1' parent=109679 started>
                                    |                -> <function DefaultContext.get_context at 0x7fd5420cb640>
                                    -> <multiprocess.context.DefaultContext object at 0x7fd5421fa1a0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/multiprocess/context.py", line 281, in _Popen
                             return Popen(process_obj)
                                    |     -> <Process name='Process-1' parent=109679 started>
                                    -> <class 'multiprocess.popen_fork.Popen'>
                           File "/home/langflow/.local/lib/python3.10/site-packages/multiprocess/popen_fork.py", line 19, in __init__
                             self._launch(process_obj)
                             |    |       -> <Process name='Process-1' parent=109679 started>
                             |    -> <function Popen._launch at 0x7fd5160f2b90>
                             -> <multiprocess.popen_fork.Popen object at 0x7fd515f8bd00>
                           File "/home/langflow/.local/lib/python3.10/site-packages/multiprocess/popen_fork.py", line 71, in _launch
                             code = process_obj._bootstrap(parent_sentinel=child_r)
                                    |           |                          -> 6
                                    |           -> <function BaseProcess._bootstrap at 0x7fd5421dfd00>
                                    -> <Process name='Process-1' parent=109679 started>
                           File "/home/langflow/.local/lib/python3.10/site-packages/multiprocess/process.py", line 314, in _bootstrap
                             self.run()
                             |    -> <function BaseProcess.run at 0x7fd5421df370>
                             -> <Process name='Process-1' parent=109679 started>
                           File "/home/langflow/.local/lib/python3.10/site-packages/multiprocess/process.py", line 108, in run
                             self._target(*self._args, **self._kwargs)
                             |    |        |    |        |    -> {}
                             |    |        |    |        -> <Process name='Process-1' parent=109679 started>
                             |    |        |    -> ('localhost', 7860, 'critical', {'bind': 'localhost:7860', 'workers': 1, 'timeout': 300, 'worker_class': 'langflow.server.Lan...
                             |    |        -> <Process name='Process-1' parent=109679 started>
                             |    -> <function run_langflow at 0x7fd516c08af0>
                             -> <Process name='Process-1' parent=109679 started>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/__main__.py", line 408, in run_langflow
                             server.run()
                             |      -> <function BaseApplication.run at 0x7fd53c1153f0>
                             -> <langflow.server.LangflowApplication object at 0x7fd5421d7910>
                           File "/home/langflow/.local/lib/python3.10/site-packages/gunicorn/app/base.py", line 71, in run
                             Arbiter(self).run()
                             |       -> <langflow.server.LangflowApplication object at 0x7fd5421d7910>
                             -> <class 'gunicorn.arbiter.Arbiter'>
                           File "/home/langflow/.local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 210, in run
                             self.manage_workers()
                             |    -> <function Arbiter.manage_workers at 0x7fd516048430>
                             -> <gunicorn.arbiter.Arbiter object at 0x7fd515fde710>
                           File "/home/langflow/.local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 570, in manage_workers
                             self.spawn_workers()
                             |    -> <function Arbiter.spawn_workers at 0x7fd516048550>
                             -> <gunicorn.arbiter.Arbiter object at 0x7fd515fde710>
                           File "/home/langflow/.local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 641, in spawn_workers
                             self.spawn_worker()
                             |    -> <function Arbiter.spawn_worker at 0x7fd5160484c0>
                             -> <gunicorn.arbiter.Arbiter object at 0x7fd515fde710>
                           File "/home/langflow/.local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 608, in spawn_worker
                             worker.init_process()
                             |      -> <function UvicornWorker.init_process at 0x7fd53c1b81f0>
                             -> <langflow.server.LangflowUvicornWorker object at 0x7fd53c1aa950>
                           File "/home/langflow/.local/lib/python3.10/site-packages/uvicorn/workers.py", line 75, in init_process
                             super().init_process()
                           File "/home/langflow/.local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 143, in init_process
                             self.run()
                             |    -> <function UvicornWorker.run at 0x7fd53c1b8430>
                             -> <langflow.server.LangflowUvicornWorker object at 0x7fd53c1aa950>
                           File "/home/langflow/.local/lib/python3.10/site-packages/uvicorn/workers.py", line 107, in run
                             return asyncio.run(self._serve())
                                    |       |   |    -> <function LangflowUvicornWorker._serve at 0x7fd53c1b8550>
                                    |       |   -> <langflow.server.LangflowUvicornWorker object at 0x7fd53c1aa950>
                                    |       -> <function run at 0x7fd543c3a710>
                                    -> <module 'asyncio' from '/usr/lib/python3.10/asyncio/__init__.py'>
                           File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
                             return loop.run_until_complete(main)
                                    |    |                  -> <coroutine object LangflowUvicornWorker._serve at 0x7fd53c13e490>
                                    |    -> <function BaseEventLoop.run_until_complete at 0x7fd54322e320>
                                    -> <_UnixSelectorEventLoop running=True closed=False debug=False>
                           File "/usr/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
                             self.run_forever()
                             |    -> <function BaseEventLoop.run_forever at 0x7fd54322e290>
                             -> <_UnixSelectorEventLoop running=True closed=False debug=False>
                           File "/usr/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
                             self._run_once()
                             |    -> <function BaseEventLoop._run_once at 0x7fd54322fd90>
                             -> <_UnixSelectorEventLoop running=True closed=False debug=False>
                           File "/usr/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once
                             handle._run()
                             |      -> <function Handle._run at 0x7fd543387760>
                             -> <Handle Task.task_wakeup(<Future finis...y' is True.")>)>
                           File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
                             self._context.run(self._callback, *self._args)
                             |    |            |    |           |    -> <member '_args' of 'Handle' objects>
                             |    |            |    |           -> <Handle Task.task_wakeup(<Future finis...y' is True.")>)>
                             |    |            |    -> <member '_callback' of 'Handle' objects>
                             |    |            -> <Handle Task.task_wakeup(<Future finis...y' is True.")>)>
                             |    -> <member '_context' of 'Handle' objects>
                             -> <Handle Task.task_wakeup(<Future finis...y' is True.")>)>
                           File "/home/langflow/.local/lib/python3.10/site-packages/uvicorn/lifespan/on.py", line 86, in main
                             await app(scope, self.receive, self.send)
                                   |   |      |    |        |    -> <function LifespanOn.send at 0x7fd53bf54040>
                                   |   |      |    |        -> <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>
                                   |   |      |    -> <function LifespanOn.receive at 0x7fd53bf540d0>
                                   |   |      -> <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>
                                   |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   -> <uvicorn.middleware.proxy_headers.ProxyHeadersMiddleware object at 0x7fd542cd0160>
                           File "/home/langflow/.local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 29, in __call__
                             return await self.app(scope, receive, send)
                                          |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                          |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                          |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                          |    -> <fastapi.applications.FastAPI object at 0x7fd516ac4c10>
                                          -> <uvicorn.middleware.proxy_headers.ProxyHeadersMiddleware object at 0x7fd542cd0160>
                           File "/home/langflow/.local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__
                             await super().__call__(scope, receive, send)
                                                    |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                                    |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                                    -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/applications.py", line 113, in __call__
                             await self.middleware_stack(scope, receive, send)
                                   |    |                |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |                |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |                -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <starlette.middleware.errors.ServerErrorMiddleware object at 0x7fd53bf48d90>
                                   -> <fastapi.applications.FastAPI object at 0x7fd516ac4c10>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 152, in __call__
                             await self.app(scope, receive, send)
                                   |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <opentelemetry.instrumentation.asgi.OpenTelemetryMiddleware object at 0x7fd53bf49060>
                                   -> <starlette.middleware.errors.ServerErrorMiddleware object at 0x7fd53bf48d90>
                           File "/home/langflow/.local/lib/python3.10/site-packages/opentelemetry/instrumentation/asgi/__init__.py", line 681, in __call__
                             return await self.app(scope, receive, send)
                                          |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                          |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                          |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                          |    -> <starlette.middleware.base.BaseHTTPMiddleware object at 0x7fd53bf490c0>
                                          -> <opentelemetry.instrumentation.asgi.OpenTelemetryMiddleware object at 0x7fd53bf49060>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/middleware/base.py", line 101, in __call__
                             await self.app(scope, receive, send)
                                   |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <starlette.middleware.base.BaseHTTPMiddleware object at 0x7fd53bf49120>
                                   -> <starlette.middleware.base.BaseHTTPMiddleware object at 0x7fd53bf490c0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/middleware/base.py", line 101, in __call__
                             await self.app(scope, receive, send)
                                   |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <langflow.main.JavaScriptMIMETypeMiddleware object at 0x7fd53bf49150>
                                   -> <starlette.middleware.base.BaseHTTPMiddleware object at 0x7fd53bf49120>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/middleware/base.py", line 101, in __call__
                             await self.app(scope, receive, send)
                                   |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <starlette.middleware.cors.CORSMiddleware object at 0x7fd53bf49360>
                                   -> <langflow.main.JavaScriptMIMETypeMiddleware object at 0x7fd53bf49150>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/middleware/cors.py", line 77, in __call__
                             await self.app(scope, receive, send)
                                   |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7fd53bf49180>
                                   -> <starlette.middleware.cors.CORSMiddleware object at 0x7fd53bf49360>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 48, in __call__
                             await self.app(scope, receive, send)
                                   |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <fastapi.routing.APIRouter object at 0x7fd516ac5960>
                                   -> <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7fd53bf49180>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/routing.py", line 715, in __call__
                             await self.middleware_stack(scope, receive, send)
                                   |    |                |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |                |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |                -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <bound method Router.app of <fastapi.routing.APIRouter object at 0x7fd516ac5960>>
                                   -> <fastapi.routing.APIRouter object at 0x7fd516ac5960>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/routing.py", line 724, in app
                             await self.lifespan(scope, receive, send)
                                   |    |        |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |        |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7fd5423a0400>>
                                   |    |        -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <function Router.lifespan at 0x7fd540711360>
                                   -> <fastapi.routing.APIRouter object at 0x7fd516ac5960>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/routing.py", line 693, in lifespan
                             async with self.lifespan_context(app) as maybe_state:
                                        |    |                -> <fastapi.applications.FastAPI object at 0x7fd516ac4c10>
                                        |    -> <function _merge_lifespan_context.<locals>.merged_lifespan at 0x7fd5160f17e0>
                                        -> <fastapi.routing.APIRouter object at 0x7fd516ac5960>
                           File "/home/langflow/.local/lib/python3.10/site-packages/fastapi/routing.py", line 133, in merged_lifespan
                             async with original_context(app) as maybe_original_state:
                                        |                -> <fastapi.applications.FastAPI object at 0x7fd516ac4c10>
                                        -> <function _merge_lifespan_context.<locals>.merged_lifespan at 0x7fd5160f1bd0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/fastapi/routing.py", line 133, in merged_lifespan
                             async with original_context(app) as maybe_original_state:
                                        |                -> <fastapi.applications.FastAPI object at 0x7fd516ac4c10>
                                        -> <function _merge_lifespan_context.<locals>.merged_lifespan at 0x7fd5161a9f30>
                           File "/home/langflow/.local/lib/python3.10/site-packages/fastapi/routing.py", line 133, in merged_lifespan
                             async with original_context(app) as maybe_original_state:
                                        |                -> <fastapi.applications.FastAPI object at 0x7fd516ac4c10>
                                        -> <function get_lifespan.<locals>.lifespan at 0x7fd516c0a050>
                         > File "/home/langflow/.local/lib/python3.10/site-packages/langflow/main.py", line 107, in lifespan
                             await asyncio.to_thread(_initialize)
                                   |       |         -> <function get_lifespan.<locals>._initialize at 0x7fd516c09f30>
                                   |       -> <function to_thread at 0x7fd54323ab90>
                                   -> <module 'asyncio' from '/usr/lib/python3.10/asyncio/__init__.py'>
                           File "/usr/lib/python3.10/asyncio/threads.py", line 25, in to_thread
                             return await loop.run_in_executor(None, func_call)
                                          |    |                     -> functools.partial(<built-in method run of _contextvars.Context object at 0x7fd540a86a00>, <function
                         get_lifespan.<locals>._in...
                                          |    -> <function BaseEventLoop.run_in_executor at 0x7fd54322eb00>
                                          -> <_UnixSelectorEventLoop running=True closed=False debug=False>
                           File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
                             result = self.fn(*self.args, **self.kwargs)
                                      |        |            -> None
                                      |        -> None
                                      -> None
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/main.py", line 95, in _initialize
                             initialize_super_user_if_needed()
                             -> <function initialize_super_user_if_needed at 0x7fd5170cdcf0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/initial_setup/setup.py", line 659, in initialize_super_user_if_needed
                             super_user = create_super_user(db=session, username=username, password=password)
                                          |                    |                 |                  -> 'langflow'
                                          |                    |                 -> 'langflow'
                                          |                    -> <sqlmodel.orm.session.Session object at 0x7fd53bec1bd0>
                                          -> <function create_super_user at 0x7fd5289a96c0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/services/auth/utils.py", line 218, in create_super_user
                             super_user = User(
                                          -> <class 'langflow.services.database.models.user.model.User'>
                           File "<string>", line 4, in __init__
                           File "/home/langflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/state.py", line 571, in _initialize_instance
                             with util.safe_reraise():
                                  |    -> <class 'sqlalchemy.util.langhelpers.safe_reraise'>
                                  -> <module 'sqlalchemy.util' from '/home/langflow/.local/lib/python3.10/site-packages/sqlalchemy/util/__init__.py'>
                           File "/home/langflow/.local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
                             raise exc_value.with_traceback(exc_tb)
                                   |         |              -> <traceback object at 0x7fd53bc6ffc0>
                                   |         -> <method 'with_traceback' of 'BaseException' objects>
                                   -> ValueError("'validated_data' must be provided if 'call_default_factory' is True.")
                           File "/home/langflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/state.py", line 569, in _initialize_instance
                             manager.original_init(*mixed[1:], **kwargs)
                             |       |              |            -> {'username': 'langflow', 'password': '$2b$12$mXTPA7Qkxsi2S3Z5Sb59ROGwOclTQeVkoRTHM9.OGwnwAjl0VapPO', 'is_superuser': True,
                         'i...
                             |       |              -> (<sqlalchemy.orm.state.InstanceState object at 0x7fd53bd959c0>, User())
                             |       -> <function SQLModel.__init__ at 0x7fd540c01fc0>
                             -> <ClassManager of <class 'langflow.services.database.models.user.model.User'> at 7fd52948a750>
                           File "/home/langflow/.local/lib/python3.10/site-packages/sqlmodel/main.py", line 723, in __init__
                             sqlmodel_init(self=__pydantic_self__, data=data)
                             |                  |                       -> {'username': 'langflow', 'password': '$2b$12$mXTPA7Qkxsi2S3Z5Sb59ROGwOclTQeVkoRTHM9.OGwnwAjl0VapPO', 'is_superuser':
                         True, 'i...
                             |                  -> User()
                             -> <function sqlmodel_init at 0x7fd540ebe830>
                           File "/home/langflow/.local/lib/python3.10/site-packages/sqlmodel/_compat.py", line 348, in sqlmodel_init
                             sqlmodel_table_construct(
                             -> <function sqlmodel_table_construct at 0x7fd540ebe710>
                           File "/home/langflow/.local/lib/python3.10/site-packages/sqlmodel/_compat.py", line 248, in sqlmodel_table_construct
                             defaults = field.get_default(call_default_factory=True)
                             |        |       |     -> <function FieldInfo.get_default at 0x7fd54114de10>
                             |        |       -> FieldInfo(annotation=UUID, required=False, default_factory=uuid4)
                             |        -> 'id'
                             -> {}
                           File "/home/langflow/.local/lib/python3.10/site-packages/pydantic/fields.py", line 596, in get_default
                             raise ValueError("'validated_data' must be provided if 'call_default_factory' is True.")

@severfire ,
Hello there! Could you let me know which version you were using before upgrading to the latest one?

Hi,
I totally removed older version
all wity dependencies and db files
thanks
a.
On Nov 14, 2024, 16:29, at 16:29, "Ítalo Johnny" @.***> wrote:

@severfire ,
Hello there! Could you let me know which version you were using before
upgrading to the latest one?
--
Reply to this email directly or view it on GitHub:
https://github.com/langflow-ai/langflow/issues/4593#issuecomment-2476712533
You are receiving this because you were mentioned.
Message ID: @.***>

Righ! I'm trying to reproduce the issue!

Thank you for your help!
I also wonder if that may be server related issue like with rights or something related to python itself
what information would you need to have?
On Nov 14, 2024, 16:56, at 16:56, "Ítalo Johnny" @.***> wrote:

Righ! I'm trying to reproduce the issue!
--
Reply to this email directly or view it on GitHub:
https://github.com/langflow-ai/langflow/issues/4593#issuecomment-2476779165
You are receiving this because you were mentioned.
Message ID: @.***>

I upgraded from 1.0.19Post 2 to 1.1.0 and got thousands of lines of stack trace logs flooding my screen. I can't keep up with the errors and langflow never successfully launches:
[11/14/24 11:47:19] ERROR    2024-11-14 11:47:19 - ERROR    - utils  utils.py:27
- Error creating DB and tables
Traceback (most recent call last):
python[251520]:
File
"/usr/lib/python3.12/threading.py",
line 1030, in _bootstrap
self._bootstrap_inner()
|    -> <function
Thread._bootstrap_inner at
0x7517dcdaede0>
-> <Thread(asyncio_0, started
128742099781312)>
File
"/usr/lib/python3.12/threading.py",
line 1073, in _bootstrap_inner
self.run()
|    -> <function Thread.run at
0x7517dcdaeac0>
-> <Thread(asyncio_0, started
128742099781312)>
File
"/usr/lib/python3.12/threading.py",
line 1010, in run
self._target(self._args,
self._kwargs)
|    |        |    |        |    ->
{}
|    |        |    |        ->
<Thread(asyncio_0, started
128742099781312)>
|    |        |    -> (<weakref at
0x7517d43e8220; to 'ThreadPoolExecutor'
at 0x7517d45b6750>, <_queue.SimpleQueue
object at 0x7517d43e88b0>, None,...
|    |        -> <Thread(asyncio_0,
started<PHONE_NUMBER>81312)>
|    -> <function _worker at
0x7517d94c3740>
-> <Thread(asyncio_0, started
128742099781312)>
File
"/usr/lib/python3.12/concurrent/futures
/thread.py", line 92, in _worker
work_item.run()
|         -> <function
_WorkItem.run at 0x7517d94c3880>
->
<concurrent.futures.thread._WorkItem
object at 0x7517d43d98b0>
File
"/usr/lib/python3.12/concurrent/futures
/thread.py", line 58, in run
result = self.fn(self.args,
self.kwargs)
|    |   |    |       |
-> {}
|    |   |    |       ->
<concurrent.futures.thread._WorkItem
object at 0x7517d43d98b0>
|    |   |    -> ()
|    |   ->
<concurrent.futures.thread._WorkItem
object at 0x7517d43d98b0>
|    ->
functools.partial(<built-in method run
of _contextvars.Context object at
0x7517d9814080>, <function
get_lifespan.._in...
->
<concurrent.futures.thread._WorkItem
object at 0x7517d43d98b0>
File
"/apps/langflow/lib/python3.1
2/site-packages/langflow/main.py", line
93, in _initialize
initialize_services(fix_migration=f
ix_migration)
|
-> False
-> <function initialize_services at
0x7517b6fa53a0>
File
"/apps/langflow/lib/python3.1
2/site-packages/langflow/services/utils
.py", line 164, in initialize_services
initialize_database(fix_migration=f
ix_migration)
|
-> False
-> <function initialize_database at
0x7517c37d60c0>
> File
"/apps/langflow/lib/python3.1
2/site-packages/langflow/services/datab
ase/utils.py", line 21, in
initialize_database
database_service.create_db_and_tabl
es()
|                -> <function
DatabaseService.create_db_and_tables at
0x7517b6fa5e40>
->
<langflow.services.database.service.Dat
abaseService object at 0x75172f1abe60>
File
"/apps/langflow/lib/python3.1
2/site-packages/langflow/services/datab
ase/service.py", line 318, in
create_db_and_tables
inspector = inspect(self.engine)
|       |    ->
Engine(postgresql://langflow:@localh
ost:5432/langflow)
|       ->
<langflow.services.database.service.Dat
abaseService object at 0x75172f1abe60>
-> <function inspect at
0x7517dad8fce0>
File
"/apps/langflow/lib/python3.1
2/site-packages/sqlalchemy/inspection.p
y", line 140, in inspect
ret = reg(subject)
|   ->
Engine(postgresql://langflow:@localh
ost:5432/langflow)
-> <function
Inspector._engine_insp at
0x7517da51b2e0>
File
"/apps/langflow/lib/python3.1
2/site-packages/sqlalchemy/engine/refle
ction.py", line 312, in _engine_insp
return
Inspector._construct(Inspector._init_en
gine, bind)
|         |          |
|             ->
Engine(postgresql://langflow:@localh
ost:5432/langflow)
|         |          |
-> <function Inspector._init_engine at
0x7517da51af20>
|         |          ->
<class
'sqlalchemy.engine.reflection.Inspector
'>
|         ->
<classmethod(<function
Inspector._construct at
0x7517da51ab60>)>
-> <class
'sqlalchemy.engine.reflection.Inspector
'>
File
"/apps/langflow/lib/python3.1
2/site-packages/sqlalchemy/engine/refle
ction.py", line 245, in _construct
init(self, bind)
|    |     ->
Engine(postgresql://langflow:@localh
ost:5432/langflow)
|    ->
<sqlalchemy.dialects.postgresql.base.PG
Inspector object at 0x7517d99e0f20>
-> <function Inspector._init_engine
at 0x7517da51af20>
File
"/apps/langflow/lib/python3.1
2/site-packages/sqlalchemy/engine/refle
ction.py", line 256, in _init_engine
engine.connect().close()
|      -> <function Engine.connect
at 0x7517da694180>
->
Engine(postgresql://langflow:@localh
ost:5432/langflow)
File
"/apps/langflow/lib/python3.1
2/site-packages/sqlalchemy/engine/base.
py", line 3278, in connect
return self._connection_cls(self)
|    |               ->
Engine(postgresql://langflow:@localh
ost:5432/langflow)
|    -> <class
'sqlalchemy.engine.base.Connection'>
->
Engine(postgresql://langflow:@localh
ost:5432/langflow)
File
"/apps/langflow/lib/python3.1
2/site-packages/sqlalchemy/engine/base.
py", line 146, in init
self._dbapi_connection =
engine.raw_connection()
|                        |      ->
<function Engine.raw_connection at
0x7517da694220>
|                        ->
Engine(postgresql://langflow:@localh
ost:5432/langflow)
->
<sqlalchemy.engine.base.Connection
object at 0x7517d43d9dc0>
File
"/apps/langflow/lib/python3.1
2/site-packages/sqlalchemy/engine/base.

Yes, i reinstalled it again, and now I langflow even can't start, giving errors. so it is easier to see

ERROR    2024-11-15 11:54:35 - ERROR    - service - Error stopping tracing serviceTraceback (most recent call last):
service.py:162
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/main.py", line 107, in lifespan
                             await asyncio.to_thread(_initialize)
                                   |       |         -> <function get_lifespan.<locals>._initialize at 0x7f4a6e315fc0>
                                   |       -> <function to_thread at 0x7f4a9a826b90>
                                   -> <module 'asyncio' from '/usr/lib/python3.10/asyncio/__init__.py'>
                           File "/usr/lib/python3.10/asyncio/threads.py", line 25, in to_thread
                             return await loop.run_in_executor(None, func_call)
                                          |    |                     -> functools.partial(<built-in method run of _contextvars.Context object at 0x7f4a98042900>, <function
                         get_lifespan.<locals>._in...
                                          |    -> <function BaseEventLoop.run_in_executor at 0x7f4a9a81ab00>
                                          -> <_UnixSelectorEventLoop running=True closed=False debug=False>
                           File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
                             result = self.fn(*self.args, **self.kwargs)
                                      |        |            -> None
                                      |        -> None
                                      -> None
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/main.py", line 95, in _initialize
                             initialize_super_user_if_needed()
                             -> <function initialize_super_user_if_needed at 0x7f4a6e6f1cf0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/initial_setup/setup.py", line 659, in initialize_super_user_if_needed
                             super_user = create_super_user(db=session, username=username, password=password)
                                          |                    |                 |                  -> 'langflow'
                                          |                    |                 -> 'langflow'
                                          |                    -> <sqlmodel.orm.session.Session object at 0x7f4a93435480>
                                          -> <function create_super_user at 0x7f4a7fff56c0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/services/auth/utils.py", line 218, in create_super_user
                             super_user = User(
                                          -> <class 'langflow.services.database.models.user.model.User'>
                           File "<string>", line 4, in __init__
                           File "/home/langflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/state.py", line 571, in _initialize_instance
                             with util.safe_reraise():
                                  |    -> <class 'sqlalchemy.util.langhelpers.safe_reraise'>
                                  -> <module 'sqlalchemy.util' from '/home/langflow/.local/lib/python3.10/site-packages/sqlalchemy/util/__init__.py'>
                           File "/home/langflow/.local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
                             raise exc_value.with_traceback(exc_tb)
                                   |         |              -> <traceback object at 0x7f4a9344b880>
                                   |         -> <method 'with_traceback' of 'BaseException' objects>
                                   -> ValueError("'validated_data' must be provided if 'call_default_factory' is True.")
                           File "/home/langflow/.local/lib/python3.10/site-packages/sqlalchemy/orm/state.py", line 569, in _initialize_instance
                             manager.original_init(*mixed[1:], **kwargs)
                             |       |              |            -> {'username': 'langflow', 'password': '$2b$12$gBZxP4.jFwioKGu0XcT2he..WA.F8RN.86MuQkhrbCxgGA.SVIYD.', 'is_superuser': True,
                         'i...
                             |       |              -> (<sqlalchemy.orm.state.InstanceState object at 0x7f4a9357f460>, User())
                             |       -> <function SQLModel.__init__ at 0x7f4a98219fc0>
                             -> <ClassManager of <class 'langflow.services.database.models.user.model.User'> at 7f4a808dba60>
                           File "/home/langflow/.local/lib/python3.10/site-packages/sqlmodel/main.py", line 723, in __init__
                             sqlmodel_init(self=__pydantic_self__, data=data)
                             |                  |                       -> {'username': 'langflow', 'password': '$2b$12$gBZxP4.jFwioKGu0XcT2he..WA.F8RN.86MuQkhrbCxgGA.SVIYD.',
                         'is_superuser': True, 'i...
                             |                  -> User()
                             -> <function sqlmodel_init at 0x7f4a982d2830>
                           File "/home/langflow/.local/lib/python3.10/site-packages/sqlmodel/_compat.py", line 348, in sqlmodel_init
                             sqlmodel_table_construct(
                             -> <function sqlmodel_table_construct at 0x7f4a982d2710>
                           File "/home/langflow/.local/lib/python3.10/site-packages/sqlmodel/_compat.py", line 248, in sqlmodel_table_construct
                             defaults = field.get_default(call_default_factory=True)
                             |        |       |     -> <function FieldInfo.get_default at 0x7f4a98751e10>
                             |        |       -> FieldInfo(annotation=UUID, required=False, default_factory=uuid4)
                             |        -> 'id'
                             -> {}
                           File "/home/langflow/.local/lib/python3.10/site-packages/pydantic/fields.py", line 596, in get_default
                             raise ValueError("'validated_data' must be provided if 'call_default_factory' is True.")

                         ValueError: 'validated_data' must be provided if 'call_default_factory' is True.

                         During handling of the above exception, another exception occurred:

                         Traceback (most recent call last):

                           File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
                             return _run_code(code, main_globals, None,
                                    |         |     -> {'__name__': '__main__', '__doc__': None, '__package__': 'langflow', '__loader__': <_frozen_importlib_external.SourceFileLoad...
                                    |         -> <code object <module> at 0x7f4a9b04f940, file "/home/langflow/.local/lib/python3.10/site-packages/langflow/__main__.py", line 1>
                                    -> <function _run_code at 0x7f4a9b061120>
                           File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
                             exec(code, run_globals)
                                  |     -> {'__name__': '__main__', '__doc__': None, '__package__': 'langflow', '__loader__': <_frozen_importlib_external.SourceFileLoad...
                                  -> <code object <module> at 0x7f4a9b04f940, file "/home/langflow/.local/lib/python3.10/site-packages/langflow/__main__.py", line 1>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/__main__.py", line 603, in <module>
                             main()
                             -> <function main at 0x7f4a6e048dc0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/__main__.py", line 598, in main
                             app()
                             -> <typer.main.Typer object at 0x7f4a996cef80>
                           File "/home/langflow/.local/lib/python3.10/site-packages/typer/main.py", line 325, in __call__
                             return get_command(self)(*args, **kwargs)
                                    |           |      |       -> {}
                                    |           |      -> ()
                                    |           -> <typer.main.Typer object at 0x7f4a996cef80>
                                    -> <function get_command at 0x7f4a997c7b50>
                           File "/home/langflow/.local/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
                             return self.main(*args, **kwargs)
                                    |    |     |       -> {}
                                    |    |     -> ()
                                    |    -> <function TyperGroup.main at 0x7f4a997c6320>
                                    -> <TyperGroup version-option>
                           File "/home/langflow/.local/lib/python3.10/site-packages/typer/core.py", line 728, in main
                             return _main(
                                    -> <function _main at 0x7f4a997c56c0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/typer/core.py", line 197, in _main
                             rv = self.invoke(ctx)
                                  |    |      -> <click.core.Context object at 0x7f4a6e0db340>
                                  |    -> <function MultiCommand.invoke at 0x7f4a9a766a70>
                                  -> <TyperGroup version-option>
                           File "/home/langflow/.local/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
                             return _process_result(sub_ctx.command.invoke(sub_ctx))
                                    |               |       |       |      -> <click.core.Context object at 0x7f4a6e0da4d0>
                                    |               |       |       -> <function Command.invoke at 0x7f4a9a766560>
                                    |               |       -> <TyperCommand run>
                                    |               -> <click.core.Context object at 0x7f4a6e0da4d0>
                                    -> <function MultiCommand.invoke.<locals>._process_result at 0x7f4a6e315990>
                           File "/home/langflow/.local/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
                             return ctx.invoke(self.callback, **ctx.params)
                                    |   |      |    |           |   -> {'host': None, 'workers': None, 'worker_timeout': None, 'port': None, 'components_path':
                         PosixPath('/home/langflow/.local/lib...
                                    |   |      |    |           -> <click.core.Context object at 0x7f4a6e0da4d0>
                                    |   |      |    -> <function run at 0x7f4a6e048f70>
                                    |   |      -> <TyperCommand run>
                                    |   -> <function Context.invoke at 0x7f4a9a7652d0>
                                    -> <click.core.Context object at 0x7f4a6e0da4d0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/click/core.py", line 783, in invoke
                             return __callback(*args, **kwargs)
                                                |       -> {'host': None, 'workers': None, 'worker_timeout': None, 'port': None, 'components_path': PosixPath('/home/langflow/.local/lib...
                                                -> ()
                           File "/home/langflow/.local/lib/python3.10/site-packages/typer/main.py", line 707, in wrapper
                             return callback(**use_params)
                                    |          -> {'host': None, 'workers': None, 'worker_timeout': None, 'port': None, 'components_path': PosixPath('/home/langflow/.local/lib...
                                    -> <function run at 0x7f4a6e049510>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/__main__.py", line 218, in run
                             process = run_on_mac_or_linux(host, port, log_level, options, app)
                                       |                   |     |     |          |        -> <fastapi.applications.FastAPI object at 0x7f4a6e100d90>
                                       |                   |     |     |          -> {'bind': '<IP_ADDRESS>:7860', 'workers': 1, 'timeout': 300, 'worker_class':
                         'langflow.server.LangflowUvicornWorker', 'logger_cla...
                                       |                   |     |     -> 'critical'
                                       |                   |     -> 7860
                                       |                   -> '<IP_ADDRESS>'
                                       -> <function run_on_mac_or_linux at 0x7f4a6e049360>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/__main__.py", line 254, in run_on_mac_or_linux
                             webapp_process.start()
                             |              -> <function BaseProcess.start at 0x7f4a997df400>
                             -> <Process name='Process-1' parent=625335 started>
                           File "/home/langflow/.local/lib/python3.10/site-packages/multiprocess/process.py", line 121, in start
                             self._popen = self._Popen(self)
                             |    |        |    |      -> <Process name='Process-1' parent=625335 started>
                             |    |        |    -> <staticmethod(<function Process._Popen at 0x7f4a996cb490>)>
                             |    |        -> <Process name='Process-1' parent=625335 started>
                             |    -> None
                             -> <Process name='Process-1' parent=625335 started>
                           File "/home/langflow/.local/lib/python3.10/site-packages/multiprocess/context.py", line 224, in _Popen
                             return _default_context.get_context().Process._Popen(process_obj)
                                    |                |                            -> <Process name='Process-1' parent=625335 started>
                                    |                -> <function DefaultContext.get_context at 0x7f4a996cb640>
                                    -> <multiprocess.context.DefaultContext object at 0x7f4a997fa140>
                           File "/home/langflow/.local/lib/python3.10/site-packages/multiprocess/context.py", line 281, in _Popen
                             return Popen(process_obj)
                                    |     -> <Process name='Process-1' parent=625335 started>
                                    -> <class 'multiprocess.popen_fork.Popen'>
                           File "/home/langflow/.local/lib/python3.10/site-packages/multiprocess/popen_fork.py", line 19, in __init__
                             self._launch(process_obj)
                             |    |       -> <Process name='Process-1' parent=625335 started>
                             |    -> <function Popen._launch at 0x7f4a6d73a710>
                             -> <multiprocess.popen_fork.Popen object at 0x7f4a6d5e7f10>
                           File "/home/langflow/.local/lib/python3.10/site-packages/multiprocess/popen_fork.py", line 71, in _launch
                             code = process_obj._bootstrap(parent_sentinel=child_r)
                                    |           |                          -> 6
                                    |           -> <function BaseProcess._bootstrap at 0x7f4a997dfd00>
                                    -> <Process name='Process-1' parent=625335 started>
                           File "/home/langflow/.local/lib/python3.10/site-packages/multiprocess/process.py", line 314, in _bootstrap
                             self.run()
                             |    -> <function BaseProcess.run at 0x7f4a997df370>
                             -> <Process name='Process-1' parent=625335 started>
                           File "/home/langflow/.local/lib/python3.10/site-packages/multiprocess/process.py", line 108, in run
                             self._target(*self._args, **self._kwargs)
                             |    |        |    |        |    -> {}
                             |    |        |    |        -> <Process name='Process-1' parent=625335 started>
                             |    |        |    -> ('<IP_ADDRESS>', 7860, 'critical', {'bind': '<IP_ADDRESS>:7860', 'workers': 1, 'timeout': 300, 'worker_class': 'langflow.server.Lan...
                             |    |        -> <Process name='Process-1' parent=625335 started>
                             |    -> <function run_langflow at 0x7f4a6e048af0>
                             -> <Process name='Process-1' parent=625335 started>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/__main__.py", line 408, in run_langflow
                             server.run()
                             |      -> <function BaseApplication.run at 0x7f4a6d4c4f70>
                             -> <langflow.server.LangflowApplication object at 0x7f4a997d78b0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/gunicorn/app/base.py", line 71, in run
                             Arbiter(self).run()
                             |       -> <langflow.server.LangflowApplication object at 0x7f4a997d78b0>
                             -> <class 'gunicorn.arbiter.Arbiter'>
                           File "/home/langflow/.local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 210, in run
                             self.manage_workers()
                             |    -> <function Arbiter.manage_workers at 0x7f4a6d483f40>
                             -> <gunicorn.arbiter.Arbiter object at 0x7f4a6d626470>
                           File "/home/langflow/.local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 570, in manage_workers
                             self.spawn_workers()
                             |    -> <function Arbiter.spawn_workers at 0x7f4a6d4900d0>
                             -> <gunicorn.arbiter.Arbiter object at 0x7f4a6d626470>
                           File "/home/langflow/.local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 641, in spawn_workers
                             self.spawn_worker()
                             |    -> <function Arbiter.spawn_worker at 0x7f4a6d490040>
                             -> <gunicorn.arbiter.Arbiter object at 0x7f4a6d626470>
                           File "/home/langflow/.local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 608, in spawn_worker
                             worker.init_process()
                             |      -> <function UvicornWorker.init_process at 0x7f4a6d543d00>
                             -> <langflow.server.LangflowUvicornWorker object at 0x7f4a6e100370>
                           File "/home/langflow/.local/lib/python3.10/site-packages/uvicorn/workers.py", line 75, in init_process
                             super().init_process()
                           File "/home/langflow/.local/lib/python3.10/site-packages/gunicorn/workers/base.py", line 143, in init_process
                             self.run()
                             |    -> <function UvicornWorker.run at 0x7f4a6d543f40>
                             -> <langflow.server.LangflowUvicornWorker object at 0x7f4a6e100370>
                           File "/home/langflow/.local/lib/python3.10/site-packages/uvicorn/workers.py", line 107, in run
                             return asyncio.run(self._serve())
                                    |       |   |    -> <function LangflowUvicornWorker._serve at 0x7f4a936680d0>
                                    |       |   -> <langflow.server.LangflowUvicornWorker object at 0x7f4a6e100370>
                                    |       -> <function run at 0x7f4a9b21e710>
                                    -> <module 'asyncio' from '/usr/lib/python3.10/asyncio/__init__.py'>
                           File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
                             return loop.run_until_complete(main)
                                    |    |                  -> <coroutine object LangflowUvicornWorker._serve at 0x7f4a6d4ee3b0>
                                    |    -> <function BaseEventLoop.run_until_complete at 0x7f4a9a81a320>
                                    -> <_UnixSelectorEventLoop running=True closed=False debug=False>
                           File "/usr/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
                             self.run_forever()
                             |    -> <function BaseEventLoop.run_forever at 0x7f4a9a81a290>
                             -> <_UnixSelectorEventLoop running=True closed=False debug=False>
                           File "/usr/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
                             self._run_once()
                             |    -> <function BaseEventLoop._run_once at 0x7f4a9a81bd90>
                             -> <_UnixSelectorEventLoop running=True closed=False debug=False>
                           File "/usr/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once
                             handle._run()
                             |      -> <function Handle._run at 0x7f4a9a973760>
                             -> <Handle Task.task_wakeup(<Future finished result=None>)>
                           File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
                             self._context.run(self._callback, *self._args)
                             |    |            |    |           |    -> <member '_args' of 'Handle' objects>
                             |    |            |    |           -> <Handle Task.task_wakeup(<Future finished result=None>)>
                             |    |            |    -> <member '_callback' of 'Handle' objects>
                             |    |            -> <Handle Task.task_wakeup(<Future finished result=None>)>
                             |    -> <member '_context' of 'Handle' objects>
                             -> <Handle Task.task_wakeup(<Future finished result=None>)>
                           File "/home/langflow/.local/lib/python3.10/site-packages/uvicorn/lifespan/on.py", line 86, in main
                             await app(scope, self.receive, self.send)
                                   |   |      |    |        |    -> <function LifespanOn.send at 0x7f4a936ffac0>
                                   |   |      |    |        -> <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>
                                   |   |      |    -> <function LifespanOn.receive at 0x7f4a936ffb50>
                                   |   |      -> <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>
                                   |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   -> <uvicorn.middleware.proxy_headers.ProxyHeadersMiddleware object at 0x7f4a99b13280>
                           File "/home/langflow/.local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 29, in __call__
                             return await self.app(scope, receive, send)
                                          |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                          |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                          |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                          |    -> <fastapi.applications.FastAPI object at 0x7f4a6e100d90>
                                          -> <uvicorn.middleware.proxy_headers.ProxyHeadersMiddleware object at 0x7f4a99b13280>
                           File "/home/langflow/.local/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__
                             await super().__call__(scope, receive, send)
                                                    |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                                    |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                                    -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/applications.py", line 113, in __call__
                             await self.middleware_stack(scope, receive, send)
                                   |    |                |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |                |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |                -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <starlette.middleware.errors.ServerErrorMiddleware object at 0x7f4a936f8a90>
                                   -> <fastapi.applications.FastAPI object at 0x7f4a6e100d90>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 152, in __call__
                             await self.app(scope, receive, send)
                                   |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <opentelemetry.instrumentation.asgi.OpenTelemetryMiddleware object at 0x7f4a936f8d60>
                                   -> <starlette.middleware.errors.ServerErrorMiddleware object at 0x7f4a936f8a90>
                           File "/home/langflow/.local/lib/python3.10/site-packages/opentelemetry/instrumentation/asgi/__init__.py", line 681, in __call__
                             return await self.app(scope, receive, send)
                                          |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                          |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                          |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                          |    -> <starlette.middleware.base.BaseHTTPMiddleware object at 0x7f4a936f8dc0>
                                          -> <opentelemetry.instrumentation.asgi.OpenTelemetryMiddleware object at 0x7f4a936f8d60>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/middleware/base.py", line 101, in __call__
                             await self.app(scope, receive, send)
                                   |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <starlette.middleware.base.BaseHTTPMiddleware object at 0x7f4a936f8e20>
                                   -> <starlette.middleware.base.BaseHTTPMiddleware object at 0x7f4a936f8dc0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/middleware/base.py", line 101, in __call__
                             await self.app(scope, receive, send)
                                   |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <langflow.main.JavaScriptMIMETypeMiddleware object at 0x7f4a936f8e80>
                                   -> <starlette.middleware.base.BaseHTTPMiddleware object at 0x7f4a936f8e20>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/middleware/base.py", line 101, in __call__
                             await self.app(scope, receive, send)
                                   |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <starlette.middleware.cors.CORSMiddleware object at 0x7f4a936f8ee0>
                                   -> <langflow.main.JavaScriptMIMETypeMiddleware object at 0x7f4a936f8e80>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/middleware/cors.py", line 77, in __call__
                             await self.app(scope, receive, send)
                                   |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7f4a936f9090>
                                   -> <starlette.middleware.cors.CORSMiddleware object at 0x7f4a936f8ee0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 48, in __call__
                             await self.app(scope, receive, send)
                                   |    |   |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |   |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |   -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <fastapi.routing.APIRouter object at 0x7f4a6e101660>
                                   -> <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7f4a936f9090>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/routing.py", line 715, in __call__
                             await self.middleware_stack(scope, receive, send)
                                   |    |                |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |                |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |                -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <bound method Router.app of <fastapi.routing.APIRouter object at 0x7f4a6e101660>>
                                   -> <fastapi.routing.APIRouter object at 0x7f4a6e101660>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/routing.py", line 724, in app
                             await self.lifespan(scope, receive, send)
                                   |    |        |      |        -> <bound method LifespanOn.send of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |        |      -> <bound method LifespanOn.receive of <uvicorn.lifespan.on.LifespanOn object at 0x7f4a984595a0>>
                                   |    |        -> {'type': 'lifespan', 'asgi': {'version': '3.0', 'spec_version': '2.0'}, 'state': {}, 'app': <fastapi.applications.FastAPI obj...
                                   |    -> <function Router.lifespan at 0x7f4a97d35360>
                                   -> <fastapi.routing.APIRouter object at 0x7f4a6e101660>
                           File "/home/langflow/.local/lib/python3.10/site-packages/starlette/routing.py", line 693, in lifespan
                             async with self.lifespan_context(app) as maybe_state:
                                        |    |                -> <fastapi.applications.FastAPI object at 0x7f4a6e100d90>
                                        |    -> <function _merge_lifespan_context.<locals>.merged_lifespan at 0x7f4a6d739360>
                                        -> <fastapi.routing.APIRouter object at 0x7f4a6e101660>
                           File "/usr/lib/python3.10/contextlib.py", line 199, in __aenter__
                             return await anext(self.gen)
                                                |    -> <async_generator object _merge_lifespan_context.<locals>.merged_lifespan at 0x7f4a936cdac0>
                                                -> <contextlib._AsyncGeneratorContextManager object at 0x7f4a936f9690>
                           File "/home/langflow/.local/lib/python3.10/site-packages/fastapi/routing.py", line 133, in merged_lifespan
                             async with original_context(app) as maybe_original_state:
                                        |                -> <fastapi.applications.FastAPI object at 0x7f4a6e100d90>
                                        -> <function _merge_lifespan_context.<locals>.merged_lifespan at 0x7f4a6d739c60>
                           File "/usr/lib/python3.10/contextlib.py", line 199, in __aenter__
                             return await anext(self.gen)
                                                |    -> <async_generator object _merge_lifespan_context.<locals>.merged_lifespan at 0x7f4a936cddc0>
                                                -> <contextlib._AsyncGeneratorContextManager object at 0x7f4a936f96c0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/fastapi/routing.py", line 133, in merged_lifespan
                             async with original_context(app) as maybe_original_state:
                                        |                -> <fastapi.applications.FastAPI object at 0x7f4a6e100d90>
                                        -> <function _merge_lifespan_context.<locals>.merged_lifespan at 0x7f4a6e0064d0>
                           File "/usr/lib/python3.10/contextlib.py", line 199, in __aenter__
                             return await anext(self.gen)
                                                |    -> <async_generator object _merge_lifespan_context.<locals>.merged_lifespan at 0x7f4a936cde40>
                                                -> <contextlib._AsyncGeneratorContextManager object at 0x7f4a936f96f0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/fastapi/routing.py", line 133, in merged_lifespan
                             async with original_context(app) as maybe_original_state:
                                        |                -> <fastapi.applications.FastAPI object at 0x7f4a6e100d90>
                                        -> <function get_lifespan.<locals>.lifespan at 0x7f4a6e3167a0>
                           File "/usr/lib/python3.10/contextlib.py", line 199, in __aenter__
                             return await anext(self.gen)
                                                |    -> <async_generator object get_lifespan.<locals>.lifespan at 0x7f4a936cdec0>
                                                -> <contextlib._AsyncGeneratorContextManager object at 0x7f4a936f9720>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/main.py", line 122, in lifespan
                             await teardown_services()
                                   -> <function teardown_services at 0x7f4a7fff5f30>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/services/utils.py", line 129, in teardown_services
                             await service_manager.teardown()
                                   |               -> <function ServiceManager.teardown at 0x7f4a81519990>
                                   -> <langflow.services.manager.ServiceManager object at 0x7f4a81ec6b60>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/services/manager.py", line 97, in teardown
                             await service.teardown()
                                   |       -> <function TelemetryService.teardown at 0x7f4a7fd98d30>
                                   -> <langflow.services.telemetry.service.TelemetryService object at 0x7f4a6e100df0>
                           File "/home/langflow/.local/lib/python3.10/site-packages/langflow/services/telemetry/service.py", line 165, in teardown
                             await self.stop()
                                   |    -> <function TelemetryService.stop at 0x7f4a7fd98ca0>
                                   -> <langflow.services.telemetry.service.TelemetryService object at 0x7f4a6e100df0>
                         > File "/home/langflow/.local/lib/python3.10/site-packages/langflow/services/telemetry/service.py", line 156, in stop
                             if self.worker_task:
                                -> <langflow.services.telemetry.service.TelemetryService object at 0x7f4a6e100df0>

I think I fixed it. It has something to do with the psycopg2 dependency. The current version uses sqlalchemy and the prior versions uses psycopg directly.
"psycopg2-binary>=2.9.6",
"psycopg>=3.1.9",
#"sqlalchemy[aiosqlite,postgresql_psycopgbinary]>=2.0.36",
Also I made some changes to the service.py to always define the driver for postgres. I will need to double check what was doing the trick but then I can probably give an update.

@KevinMichaelSchindler awesome! @italojohnny If that would be the issue, I wonder if the hotfix for langflow could be released? I am also using sqlite version

@KevinMichaelSchindler awesome! @italojohnny If that would be the issue, I wonder if the hotfix for langflow could be released? I am also using sqlite version

The previous langflow version worked without the sqlalchemy dependency but probably there is a reason for adding it so it might be that some specific component or scenario breaks when reverting the dependencies. The default docker image uses postgres so I haven't tested the sqlite version. The tests definitely break for the sqlite stuff so more tinkering needs to be done to get the sqlite stuff to work. I assume the langflow team will bring out a proper fix soon but I thought I'll share this for the folks who are currently struggling with it.
P.S. I confirmed that when I change just the dependency to:
"psycopg2-binary>=2.9.6",
"psycopg>=3.1.9",
#"sqlalchemy[aiosqlite,postgresql_psycopgbinary]>=2.0.36",
It seems to work for the default docker yml, so no changes to service.py are required it seems.

@KevinMichaelSchindler that was the error i was getting at the beginning, mismatch between the models and the database... after next reinstall i got https://github.com/langflow-ai/langflow/issues/4593#issuecomment-2478562843

You are using sqlite in your .env right? (python3 -m langflow run --env-file ./.env --no-open-browser --auto-saving --host localhost)
I just tested it for the "make init" locally and the docker-compose.yml in the docker-example. These use postgres out of the box but the docker image was showing the same error regarding sqlalchemy, so that is what I fixed.
As said if you are using sqlite there might be some additional fixing required, I am sorry :(

@KevinMichaelSchindler Yes, I am. I used pip installation. I am not using docker installation here.
Hmm... I wonder how many people have similar problem... its not small thing I guess...

I found the issue is with dependencies, especially Pydantic, used AI to help me a bit...

Final Codebase Context
Based on the provided codebase, Langflow uses both Pydantic v1 and v2. This can be seen in several places:
In the dependencies from pyproject.toml:
Shows "pydantic>=2.7.0" and "pydantic-settings>=2.2.0" as dependencies.
However, there are also explicit imports from pydantic.v1 in several files, for example in the flow model:
This dual usage pattern suggests that Langflow is in a transition period between Pydantic v1 and v2, likely maintaining compatibility with both versions. This is a common pattern for libraries that are migrating from Pydantic v1 to v2 while maintaining backward compatibility.
The main version requirement is Pydantic 2.x (>=2.7.0), but the codebase still uses some v1 imports for specific functionality that might not have been migrated yet or requires v1 compatibility.

therefore...
langflow@server:~$ python3.10 -m langflow run --env-file ./.env --no-open-browser --auto-saving --host localhost Starting Langflow v1.1.0... /home/langflow/.local/lib/python3.10/site-packages/pydantic/_internal/_generate_schema.py:260: PydanticDeprecatedSince20: json_encodersis deprecated. See https://docs.pydantic.dev/2.7/concepts/serialization/#custom-serializers for alternatives. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.7/migration/   warnings.warn( /home/langflow/.local/lib/python3.10/site-packages/composio/client/http.py:20: DeprecationWarning: Inheritance class AsyncHttpClient from ClientSession is discouraged   class AsyncHttpClient(AsyncSession, logging.WithLogger): /home/langflow/.local/lib/python3.10/site-packages/crewai/tools/base_tool.py:28: PydanticDeprecatedSince20: Pydantic V1 style@validatorvalidators are deprecated. You should migrate to Pydantic V2 style@field_validatorvalidators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.7/migration/   @validator("args_schema", always=True, pre=True) /home/langflow/.local/lib/python3.10/site-packages/pydantic/_internal/_config.py:284: PydanticDeprecatedSince20: Support for class-basedconfig is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.7/migration/   warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning)

Hello @severfire, @KevinMichaelSchindler  and @greenmotion ,
First of all, I want to express our deep gratitude for everyone’s help in making Langflow a better tool. Your support means a lot to us!
Secondly, I apologize for the delay in responding. This particular issue has been quite challenging to reproduce. In addition to myself, others are also working to address it.
The tracebacks point to a migration issue, but the exact cause remains unclear. There is a possibility that fix #4599 resolved the problem. However, since we haven’t been able to reproduce the issue consistently, we cannot guarantee this with 100% certainty yet.
For this reason, I would recommend, as an alternative, trying out the nightly version, which already includes this fix along with others. This might serve as a temporary solution until we can confirm the fix and proceed with the next official release.
Thank you for your patience and understanding

@italojohnny I have feeling it is python dependency issue. (I was playing with reinstalling different versions of  Pydantic, staying with latest version, and also with pip install grpcio==1.59.0 grpcio-tools==1.59.0) Anyhow today my morning - like 12h ago I was able to run langflow, but it did not load .env config, I had to use export. next week or later this week I will check your fixes, as right now my installation seems stable (with workarounds), and I have to do different tasks) thank you for all your help!

@italojohnny: I'd be more than happy to test your nightly build, but I must admit I'm relatively new to Python and have been running Langflow in a venv and not a docker container.  How would I update my langflow instance to a nightly build version?

@italojohnny :
I did a pip install langflow-nightly -U yesterday and still had a few weird errors, but it started up just fine after clearing the langflow cache.

Hey all.
Thanks for all the help here! Love to see it.
The problem is with pydantic's version.
If you run pip install langflow pydantic==2.7.4 you should have a working Langflow installation.
This will be in our next release.
Sorry for this.

Thanks @ogabrielluiz! I am a new user, but ran into this same issue. After running your pip snippet things are cleared up for me.


[SIEMINT-76] [Release] [DDS] PingOne: Crawler Integration v1.0.0

What does this PR do?
This is a initial release PR of PingOne integration including all the required assets.
Additional Notes

Crawler code for this integration has been committed in its respective repo
Pipeline and Facet group created for this integration are available in our sandbox and would be shared separately with the required teams.
Samples for the pipeline review would also be shared separately with the required teams.
OOTB detection rules JSON would be shared separately with the required teams as a part of separate repository ..
Since during the standard attribute remapping we are not preserving the source attributes as per suggested best practices, it would result in filters using these standard attributes populating the values of other integrations as well as per current Datadog behavior

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Changelog entries must be created for modifications to shipped code
[ ] Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
[ ] If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

Setting the assets/no-deploy flag on this until https://github.com/DataDog/integrations-core/pull/17870 merges

Thanks, created DOCS-8353 to review

Thanks for making the changes to the message remapper, everything looks good for the logs integration pipeline. Will approve after I can test in staging once this comment from @nathanmadams is resolved and the other PR is merged

The other PR just merged so I think you'll need to rebase this one. Once you do, feel free to remove the assets/no-deploy label so it can be reviewed.

@nathanmadams I have rebase the branch. But don't have permission to remove label: assets/no-deploy. Can you please update this?

@nathanmadams I have rebase the branch. But don't have permission to remove label: assets/no-deploy. Can you please update this?

Just took care of it, I'll get this in staging and will approve after I can test it out

/test

validate-assets

Just merged master to see if the validations would re-run successfully.

Does this PR look good to merge?

thank you!

@Wyrine Are we good to merge this PR after this change?

Are we good to merge this PR after this change?

Yes, good to merge!