23:06:51.452 | ERROR | uvicorn.error - Exception in ASGI application
Traceback (most recent call last):
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 366, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 75, in
call
return await
self.app(scope, receive, send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/uvicorn/middleware/message_logger.py", line 82, in
call
raise exc from None
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/uvicorn/middleware/message_logger.py", line 78, in
call
await
self.app(scope, inner_receive, inner_send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/fastapi/applications.py", line 261, in
call
await super().__call__(scope, receive, send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/applications.py", line 112, in
call
await self.middleware_stack(scope, receive, send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/middleware/errors.py", line 181, in
call
raise exc
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/middleware/errors.py", line 159, in
call
await
self.app(scope, receive, _send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/middleware/cors.py", line 92, in
call
await self.simple_response(scope, receive, send, request_headers=headers)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/middleware/cors.py", line 147, in simple_response
await
self.app(scope, receive, send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/exceptions.py", line 82, in
call
raise exc
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/exceptions.py", line 71, in
call
await
self.app(scope, receive, sender)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in
call
raise e
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in
call
await
self.app(scope, receive, send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/routing.py", line 656, in
call
await route.handle(scope, receive, send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/routing.py", line 408, in handle
await
self.app(scope, receive, send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/fastapi/applications.py", line 261, in
call
await super().__call__(scope, receive, send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/applications.py", line 112, in
call
await self.middleware_stack(scope, receive, send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/middleware/errors.py", line 181, in
call
raise exc
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/middleware/errors.py", line 159, in
call
await
self.app(scope, receive, _send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/exceptions.py", line 82, in
call
raise exc
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/exceptions.py", line 71, in
call
await
self.app(scope, receive, sender)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in
call
raise e
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in
call
await
self.app(scope, receive, send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/routing.py", line 656, in
call
await route.handle(scope, receive, send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/routing.py", line 259, in handle
await
self.app(scope, receive, send)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/starlette/routing.py", line 61, in app
response = await func(request)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/prefect/orion/utilities/server.py", line 101, in handle_response_scoped_depends
response = await default_handler(request)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/fastapi/routing.py", line 227, in app
raw_response = await run_endpoint_function(
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/fastapi/routing.py", line 160, in run_endpoint_function
return await dependant.call(**values)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/prefect/orion/api/ui/flow_runs.py", line 74, in read_flow_run_history
return [
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/prefect/orion/api/ui/flow_runs.py", line 79, in <listcomp>
duration=r.estimated_run_time,
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/sqlalchemy/ext/hybrid.py", line 927, in
get
return self.fget(instance)
File "/localpart0/aop-shared/WAVES/prefect2/lib/python3.10/site-packages/prefect/orion/database/orm_models.py", line 271, in estimated_run_time
return self.total_run_time + (pendulum.now() - self.state_timestamp)
TypeError: unsupported operand type(s) for -: 'DateTime' and 'NoneType'