INFO: 127.0.0.1:64802 - "GET /login HTTP/1.1" 500 Internal Server Error ERROR: Exception in ASGI application + Exception Group Traceback (most recent call last): | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\_utils.py", line 82, in collapse_excgroups | yield | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\base.py", line 190, in __call__ | async with anyio.create_task_group() as task_group: | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\anyio\_backends\_asyncio.py", line 678, in __aexit__ | raise BaseExceptionGroup( | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 411, in run_asgi | result = await app( # type: ignore[func-returns-value] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 69, in __call__ | return await self.app(scope, receive, send) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\fastapi\applications.py", line 1054, in __call__ | await super().__call__(scope, receive, send) | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\applications.py", line 116, in __call__ | await self.middleware_stack(scope, receive, send) | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\errors.py", line 186, in __call__ | raise exc | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\errors.py", line 164, in __call__ | await self.app(scope, receive, _send) | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\trustedhost.py", line 34, in __call__ | await self.app(scope, receive, send) | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\cors.py", line 83, in __call__ | await self.app(scope, receive, send) | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\base.py", line 189, in __call__ | with collapse_excgroups(): | File "C:\Users\Legion 7\AppData\Local\Programs\Python\Python312\Lib\contextlib.py", line 158, in __exit__ | self.gen.throw(value) | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\_utils.py", line 88, in collapse_excgroups | raise exc | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\base.py", line 191, in __call__ | response = await self.dispatch_func(request, call_next) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\i18n_middleware.py", line 33, in dispatch | response = await call_next(request) | ^^^^^^^^^^^^^^^^^^^^^^^^ | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\base.py", line 165, in call_next | raise app_exc | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\base.py", line 151, in coro | await self.app(scope, receive_or_disconnect, send_no_error) | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\_exception_handler.py", line 55, in wrapped_app | raise exc | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\_exception_handler.py", line 44, in wrapped_app | await app(scope, receive, sender) | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\routing.py", line 746, in __call__ | await route.handle(scope, receive, send) | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\routing.py", line 288, in handle | await self.app(scope, receive, send) | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\routing.py", line 75, in app | await wrap_app_handling_exceptions(app, request)(scope, receive, send) | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\_exception_handler.py", line 55, in wrapped_app | raise exc | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\_exception_handler.py", line 44, in wrapped_app | await app(scope, receive, sender) | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\routing.py", line 70, in app | response = await func(request) | ^^^^^^^^^^^^^^^^^^^ | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\fastapi\routing.py", line 299, in app | raise e | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\fastapi\routing.py", line 294, in app | raw_response = await run_endpoint_function( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\fastapi\routing.py", line 191, in run_endpoint_function | return await dependant.call(**values) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\backend\src\main\main_router.py", line 638, in login | available_methods_active = { | ^ | TypeError: 'NoneType' object is not iterable +------------------------------------ During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 411, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 69, in __call__ return await self.app(scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\fastapi\applications.py", line 1054, in __call__ await super().__call__(scope, receive, send) File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\applications.py", line 116, in __call__ await self.middleware_stack(scope, receive, send) File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\errors.py", line 186, in __call__ raise exc File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\errors.py", line 164, in __call__ await self.app(scope, receive, _send) File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\trustedhost.py", line 34, in __call__ await self.app(scope, receive, send) File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\cors.py", line 83, in __call__ await self.app(scope, receive, send) File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\base.py", line 189, in __call__ with collapse_excgroups(): File "C:\Users\Legion 7\AppData\Local\Programs\Python\Python312\Lib\contextlib.py", line 158, in __exit__ self.gen.throw(value) File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\_utils.py", line 88, in collapse_excgroups raise exc File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\base.py", line 191, in __call__ response = await self.dispatch_func(request, call_next) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\i18n_middleware.py", line 33, in dispatch response = await call_next(request) ^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\base.py", line 165, in call_next raise app_exc File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\base.py", line 151, in coro await self.app(scope, receive_or_disconnect, send_no_error) File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\middleware\exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\_exception_handler.py", line 55, in wrapped_app raise exc File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\_exception_handler.py", line 44, in wrapped_app await app(scope, receive, sender) File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\routing.py", line 746, in __call__ await route.handle(scope, receive, send) File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\routing.py", line 288, in handle await self.app(scope, receive, send) File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\routing.py", line 75, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\_exception_handler.py", line 55, in wrapped_app raise exc File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\_exception_handler.py", line 44, in wrapped_app await app(scope, receive, sender) File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\starlette\routing.py", line 70, in app response = await func(request) ^^^^^^^^^^^^^^^^^^^ File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\fastapi\routing.py", line 299, in app raise e File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\fastapi\routing.py", line 294, in app raw_response = await run_endpoint_function( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\env\Lib\site-packages\fastapi\routing.py", line 191, in run_endpoint_function return await dependant.call(**values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\OneDrive\PROJECTS\WWW\OKTYABR\WEB\october\backend\src\main\main_router.py", line 638, in login available_methods_active = { ^ TypeError: 'NoneType' object is not iterable INFO: 127.0.0.1:64803 - "GET /on_load/header HTTP/1.1" 200 OK