Repository navigation
Expand file tree
/
Copy pathserver.log
More file actions
111 lines (99 loc) · 6.65 KB
/
Copy pathserver.log
File metadata and controls
111 lines (99 loc) · 6.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
C:\Users\User\vfx-browser\main.py:340: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup")
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 422, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 63, in __call__
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\fastapi\applications.py", line 1216, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\starlette\applications.py", line 96, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\starlette\middleware\errors.py", line 186, in __call__
raise exc
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\starlette\middleware\errors.py", line 164, in __call__
await self.app(scope, receive, _send)
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\fastapi\telemetry\_asgi.py", line 151, in __call__
await self.app(scope, receive, send)
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\starlette\middleware\exceptions.py", line 63, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app
raise exc
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__
await self.app(scope, receive, send)
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\starlette\routing.py", line 676, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\fastapi\routing.py", line 2786, in app
await route.handle(scope, receive, send)
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\fastapi\routing.py", line 1310, in handle
await super().handle(scope, receive, send)
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\starlette\routing.py", line 282, in handle
await self.app(scope, receive, send)
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\fastapi\routing.py", line 165, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app
raise exc
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\fastapi\routing.py", line 151, in app
response = await f(request)
^^^^^^^^^^^^^^^^
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\fastapi\routing.py", line 727, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\fastapi\routing.py", line 362, in run_endpoint_function
return await run_in_threadpool(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\starlette\concurrency.py", line 34, in run_in_threadpool
return await anyio.to_thread.run_sync(func)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\anyio\to_thread.py", line 65, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 2706, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\anyio\_backends\_asyncio.py", line 1100, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\vfx-browser\.venv\Lib\site-packages\fastapi\telemetry\_api.py", line 244, in _run_sync_endpoint
return function(**arguments)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\vfx-browser\main.py", line 278, in api_action
os.startfile(os.path.dirname(real), f"/select,{os.path.basename(real)}") # noqa: S606
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: [WinError 1155] No application is associated with the specified file for this operation: 'C:/Users/User/vfx-browser/test_library/Lens Flares'
C:\Users\User\vfx-browser\main.py:344: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup")
C:\Users\User\vfx-browser\main.py:357: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup")
C:\Users\User\vfx-browser\main.py:357: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup")
C:\Users\User\vfx-browser\main.py:395: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup")
ERROR: [Errno 10048] error while attempting to bind on address ('127.0.0.1', 8765): [winerror 10048] only one usage of each socket address (protocol/network address/port) is normally permitted
C:\Users\User\vfx-browser\main.py:395: DeprecationWarning:
on_event is deprecated, use lifespan event handlers instead.
Read more about it in the
[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
@app.on_event("startup")