You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
124 lines
8.6 KiB
124 lines
8.6 KiB
.INFO 12272:28072 2024-09-06 16:04:38,142 agvtasks.py:273 - SERVER - 准备启动AGV小车任务派发定时任务, 间隔时间: 12
|
|
2024-09-06 16:04:38,144 - INFO - Application startup complete.
|
|
2024-09-06 16:07:15,590 - ERROR - Exception in ASGI application
|
|
Traceback (most recent call last):
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\middleware\base.py", line 78, in call_next
|
|
message = await recv_stream.receive()
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\anyio\streams\memory.py", line 94, in receive
|
|
return self.receive_nowait()
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\anyio\streams\memory.py", line 87, in receive_nowait
|
|
raise EndOfStream
|
|
anyio.EndOfStream
|
|
|
|
During handling of the above exception, another exception occurred:
|
|
|
|
Traceback (most recent call last):
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 435, in run_asgi
|
|
result = await app( # type: ignore[func-returns-value]
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in __call__
|
|
return await self.app(scope, receive, send)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\fastapi\applications.py", line 276, in __call__
|
|
await super().__call__(scope, receive, send)
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\applications.py", line 122, in __call__
|
|
await self.middleware_stack(scope, receive, send)
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
|
|
raise exc
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
|
|
await self.app(scope, receive, _send)
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\middleware\cors.py", line 84, in __call__
|
|
await self.app(scope, receive, send)
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\middleware\base.py", line 108, in __call__
|
|
response = await self.dispatch_func(request, call_next)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "D:\AutoTaskSchedule\simAgv\main.py", line 54, in process_time_header
|
|
response = await next(request)
|
|
^^^^^^^^^^^^^^^^^^^
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\middleware\base.py", line 84, in call_next
|
|
raise app_exc
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\middleware\base.py", line 70, in coro
|
|
await self.app(scope, receive_or_disconnect, send_no_error)
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
|
|
raise exc
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
|
|
await self.app(scope, receive, sender)
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__
|
|
raise e
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__
|
|
await self.app(scope, receive, send)
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\routing.py", line 718, in __call__
|
|
await route.handle(scope, receive, send)
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\routing.py", line 276, in handle
|
|
await self.app(scope, receive, send)
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\starlette\routing.py", line 66, in app
|
|
response = await func(request)
|
|
^^^^^^^^^^^^^^^^^^^
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\fastapi\routing.py", line 237, in app
|
|
raw_response = await run_endpoint_function(
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\fastapi\routing.py", line 163, in run_endpoint_function
|
|
return await dependant.call(**values)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "D:\AutoTaskSchedule\simAgv\logic\agv\views.py", line 35, in index
|
|
query = QuerySet(Agv).filter(is_valid=True, is_active=True)
|
|
^^^^^^^^^^^^^
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\tortoise\queryset.py", line 299, in __init__
|
|
super().__init__(model)
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\tortoise\queryset.py", line 96, in __init__
|
|
self.capabilities: Capabilities = model._meta.db.capabilities
|
|
^^^^^^^^^^^^^^
|
|
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\tortoise\models.py", line 285, in db
|
|
raise ConfigurationError(
|
|
tortoise.exceptions.ConfigurationError: default_connection for the model <class 'models.agv.Agv'> cannot be None
|
|
2024-09-06 16:08:17,538 - INFO - Shutting down
|
|
2024-09-06 16:08:17,647 - INFO - Waiting for application shutdown.
|
|
2024-09-06 16:08:17,649 - INFO - Application shutdown complete.
|
|
2024-09-06 16:08:17,650 - INFO - Finished server process [12272]
|
|
INFO 11504:26992 2024-09-06 16:19:14,235 agvtasks.py:273 - SERVER - 准备启动AGV小车任务派发定时任务, 间隔时间: 12
|
|
2024-09-06 16:19:14,237 - INFO - Application startup complete.
|
|
2024-09-06 16:28:08,549 - INFO - Shutting down
|
|
2024-09-06 16:28:08,658 - INFO - Waiting for application shutdown.
|
|
2024-09-06 16:28:08,661 - INFO - Application shutdown complete.
|
|
2024-09-06 16:28:08,662 - INFO - Finished server process [11504]
|
|
INFO 14408:36888 2024-09-06 16:28:09,897 agvtasks.py:273 - SERVER - 准备启动AGV小车任务派发定时任务, 间隔时间: 12
|
|
2024-09-06 16:28:09,899 - INFO - Application startup complete.
|
|
2024-09-06 16:28:11,095 - INFO - Shutting down
|
|
2024-09-06 16:28:11,205 - INFO - Waiting for application shutdown.
|
|
2024-09-06 16:28:11,207 - INFO - Application shutdown complete.
|
|
2024-09-06 16:28:11,208 - INFO - Finished server process [14408]
|
|
INFO 33012:30064 2024-09-06 17:33:05,949 agvtasks.py:273 - SERVER - 准备启动AGV小车任务派发定时任务, 间隔时间: 12
|
|
2024-09-06 17:33:05,951 - INFO - Application startup complete.
|
|
2024-09-06 17:33:15,443 - INFO - Shutting down
|
|
2024-09-06 17:33:15,553 - INFO - Waiting for application shutdown.
|
|
2024-09-06 17:33:15,554 - INFO - Application shutdown complete.
|
|
2024-09-06 17:33:15,555 - INFO - Finished server process [33012]
|
|
INFO 33740:5880 2024-09-06 17:33:22,981 agvtasks.py:273 - SERVER - 准备启动AGV小车任务派发定时任务, 间隔时间: 12
|
|
2024-09-06 17:33:22,983 - INFO - Application startup complete.
|
|
2024-09-06 17:33:26,258 - INFO - Shutting down
|
|
2024-09-06 17:33:26,367 - INFO - Waiting for application shutdown.
|
|
2024-09-06 17:33:26,367 - INFO - Application shutdown complete.
|
|
2024-09-06 17:33:26,367 - INFO - Finished server process [33740]
|
|
INFO 35040:17000 2024-09-06 17:34:07,447 agvtasks.py:273 - SERVER - 准备启动AGV小车任务派发定时任务, 间隔时间: 12
|
|
2024-09-06 17:34:07,449 - INFO - Application startup complete.
|
|
2024-09-06 17:49:24,793 - INFO - Shutting down
|
|
2024-09-06 17:49:24,901 - INFO - Waiting for application shutdown.
|
|
2024-09-06 17:49:24,905 - INFO - Application shutdown complete.
|
|
2024-09-06 17:49:24,906 - INFO - Finished server process [35040]
|
|
INFO 40716:17136 2024-09-06 17:49:25,709 agvtasks.py:273 - SERVER - 准备启动AGV小车任务派发定时任务, 间隔时间: 12
|
|
2024-09-06 17:49:25,710 - INFO - Application startup complete.
|
|
2024-09-06 17:52:02,164 - INFO - Shutting down
|
|
2024-09-06 17:52:02,273 - INFO - Waiting for application shutdown.
|
|
2024-09-06 17:52:02,274 - INFO - Application shutdown complete.
|
|
2024-09-06 17:52:02,275 - INFO - Finished server process [40716]
|
|
INFO 34940:9244 2024-09-06 17:52:03,508 agvtasks.py:273 - SERVER - 准备启动AGV小车任务派发定时任务, 间隔时间: 12
|
|
2024-09-06 17:52:03,510 - INFO - Application startup complete.
|
|
2024-09-06 17:59:04,023 - INFO - Shutting down
|
|
2024-09-06 17:59:04,130 - INFO - Waiting for application shutdown.
|
|
2024-09-06 17:59:04,132 - INFO - Application shutdown complete.
|
|
2024-09-06 17:59:04,132 - INFO - Finished server process [34940]
|
|
INFO 36040:23864 2024-09-06 17:59:05,373 agvtasks.py:273 - SERVER - 准备启动AGV小车任务派发定时任务, 间隔时间: 12
|
|
2024-09-06 17:59:05,375 - INFO - Application startup complete.
|