Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2023-10-31 12:31:05.297
- +------------------------------------
- 2023-10-31 12:31:05.297
- | AttributeError: 'PasswordSchema' object has no attribute 'old_password'
- 2023-10-31 12:31:05.297
- | raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/pydantic/main.py", line 734, in __getattr__
- 2023-10-31 12:31:05.297
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- | if not verify_password(password_data.old_password, user.password):
- 2023-10-31 12:31:05.297
- | File "/code/src/routers/users.py", line 166, in check_user_profile_password
- 2023-10-31 12:31:05.297
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- | return await dependant.call(**values)
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
- 2023-10-31 12:31:05.297
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- | raw_response = await run_endpoint_function(
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
- 2023-10-31 12:31:05.297
- | ^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- | response = await func(request)
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
- 2023-10-31 12:31:05.297
- | await self.app(scope, receive, send)
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
- 2023-10-31 12:31:05.297
- | await route.handle(scope, receive, send)
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
- 2023-10-31 12:31:05.297
- | await self.app(scope, receive, send)
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
- 2023-10-31 12:31:05.297
- | raise e
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
- 2023-10-31 12:31:05.297
- | await self.app(scope, receive, sender)
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
- 2023-10-31 12:31:05.297
- | raise exc
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
- 2023-10-31 12:31:05.297
- | await self.app(scope, receive_or_disconnect, send_no_error)
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
- 2023-10-31 12:31:05.297
- | raise app_exc
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
- 2023-10-31 12:31:05.297
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- | return await call_next(request)
- 2023-10-31 12:31:05.297
- | File "/code/src/middlewares.py", line 53, in dispatch
- 2023-10-31 12:31:05.297
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- | response = await self.dispatch_func(request, call_next)
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
- 2023-10-31 12:31:05.297
- | Traceback (most recent call last):
- 2023-10-31 12:31:05.297
- |
- 2023-10-31 12:31:05.297
- | During handling of the above exception, another exception occurred:
- 2023-10-31 12:31:05.297
- |
- 2023-10-31 12:31:05.297
- | anyio.EndOfStream
- 2023-10-31 12:31:05.297
- | raise EndOfStream
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 112, in receive
- 2023-10-31 12:31:05.297
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- | message = await recv_stream.receive()
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 78, in call_next
- 2023-10-31 12:31:05.297
- | Traceback (most recent call last):
- 2023-10-31 12:31:05.297
- |
- 2023-10-31 12:31:05.297
- | During handling of the above exception, another exception occurred:
- 2023-10-31 12:31:05.297
- |
- 2023-10-31 12:31:05.297
- | anyio.WouldBlock
- 2023-10-31 12:31:05.297
- | raise WouldBlock
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 92, in receive_nowait
- 2023-10-31 12:31:05.297
- | ^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- | return self.receive_nowait()
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 97, in receive
- 2023-10-31 12:31:05.297
- | Traceback (most recent call last):
- 2023-10-31 12:31:05.297
- +-+---------------- 1 ----------------
- 2023-10-31 12:31:05.297
- | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
- 2023-10-31 12:31:05.297
- | raise BaseExceptionGroup(
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 664, in __aexit__
- 2023-10-31 12:31:05.297
- | async with anyio.create_task_group() as task_group:
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 106, in __call__
- 2023-10-31 12:31:05.297
- | await self.app(scope, receive, send)
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 83, in __call__
- 2023-10-31 12:31:05.297
- | await self.app(scope, receive, _send)
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
- 2023-10-31 12:31:05.297
- | raise exc
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__
- 2023-10-31 12:31:05.297
- | await self.middleware_stack(scope, receive, send)
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__
- 2023-10-31 12:31:05.297
- | await super().__call__(scope, receive, send)
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 289, in __call__
- 2023-10-31 12:31:05.297
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- | return await self.app(scope, receive, send)
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
- 2023-10-31 12:31:05.297
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- | result = await app( # type: ignore[func-returns-value]
- 2023-10-31 12:31:05.297
- | File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 428, in run_asgi
- 2023-10-31 12:31:05.297
- + Exception Group Traceback (most recent call last):
- 2023-10-31 12:31:05.297
- 2023-10-31 12:31:05.297
- During handling of the above exception, another exception occurred:
- 2023-10-31 12:31:05.297
- 2023-10-31 12:31:05.297
- AttributeError: 'PasswordSchema' object has no attribute 'old_password'
- 2023-10-31 12:31:05.297
- raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
- 2023-10-31 12:31:05.297
- File "/usr/local/lib/python3.11/site-packages/pydantic/main.py", line 734, in __getattr__
- 2023-10-31 12:31:05.297
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- if not verify_password(password_data.old_password, user.password):
- 2023-10-31 12:31:05.297
- File "/code/src/routers/users.py", line 166, in check_user_profile_password
- 2023-10-31 12:31:05.297
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- return await dependant.call(**values)
- 2023-10-31 12:31:05.297
- File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
- 2023-10-31 12:31:05.297
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- raw_response = await run_endpoint_function(
- 2023-10-31 12:31:05.297
- File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
- 2023-10-31 12:31:05.297
- ^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- response = await func(request)
- 2023-10-31 12:31:05.297
- File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
- 2023-10-31 12:31:05.297
- await self.app(scope, receive, send)
- 2023-10-31 12:31:05.297
- File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
- 2023-10-31 12:31:05.297
- await route.handle(scope, receive, send)
- 2023-10-31 12:31:05.297
- File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
- 2023-10-31 12:31:05.297
- await self.app(scope, receive, send)
- 2023-10-31 12:31:05.297
- File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
- 2023-10-31 12:31:05.297
- raise e
- 2023-10-31 12:31:05.297
- File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
- 2023-10-31 12:31:05.297
- await self.app(scope, receive, sender)
- 2023-10-31 12:31:05.297
- File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
- 2023-10-31 12:31:05.297
- raise exc
- 2023-10-31 12:31:05.297
- File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
- 2023-10-31 12:31:05.297
- await self.app(scope, receive_or_disconnect, send_no_error)
- 2023-10-31 12:31:05.297
- File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
- 2023-10-31 12:31:05.297
- raise app_exc
- 2023-10-31 12:31:05.297
- File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
- 2023-10-31 12:31:05.297
- ^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- return await call_next(request)
- 2023-10-31 12:31:05.297
- File "/code/src/middlewares.py", line 53, in dispatch
- 2023-10-31 12:31:05.297
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:31:05.297
- response = await self.dispatch_func(request, call_next)
- 2023-10-31 12:31:05.297
- File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
- 2023-10-31 12:31:05.297
- Traceback (most recent call last):
- 2023-10-31 12:31:05.297
- ERROR: Exception in ASGI application
- 2023-10-31 12:31:05.289
- INFO: 10.40.96.229:0 - "POST /user/me/password HTTP/1.1" 500 Internal Server Error
- 2023-10-31 12:31:05.203
- INFO: 10.50.73.14:46037 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:31:05.195
- INFO: 10.50.62.221:5635 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:31:05.194
- INFO: 10.50.27.218:5354 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:31:03.906
- INFO: 10.50.39.87:53648 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:30:58.974
- INFO: 10.40.96.229:0 - "GET /user/me/password HTTP/1.1" 405 Method Not Allowed
- 2023-10-31 12:30:56.462
- INFO: 10.50.62.175:54021 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:30:56.461
- INFO: 10.50.43.237:12398 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:30:53.681
- INFO: 10.50.43.237:42646 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:30:53.680
- INFO: 10.50.62.175:18172 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:30:51.875
- INFO: 10.50.62.175:19753 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:30:51.874
- INFO: 10.50.43.237:11672 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:30:49.127
- INFO: 10.40.96.229:0 - "GET /company/ HTTP/1.1" 200 OK
- 2023-10-31 12:30:49.015
- INFO: 10.40.96.229:0 - "GET /company HTTP/1.1" 307 Temporary Redirect
- 2023-10-31 12:30:07.983
- INFO: 10.50.73.14:27513 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:30:07.982
- INFO: 10.50.62.221:11794 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:30:07.905
- INFO: 10.50.27.218:34030 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:30:06.100
- INFO: 10.50.62.221:7216 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:30:06.096
- INFO: 10.50.73.14:42083 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:30:06.088
- INFO: 10.50.27.218:58733 - "GET /health HTTP/1.1" 200 OK
- 2023-10-31 12:30:05.591
- +------------------------------------
- 2023-10-31 12:30:05.591
- | AttributeError: 'PasswordSchema' object has no attribute 'old_password'
- 2023-10-31 12:30:05.591
- | raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
- 2023-10-31 12:30:05.591
- | File "/usr/local/lib/python3.11/site-packages/pydantic/main.py", line 734, in __getattr__
- 2023-10-31 12:30:05.591
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.591
- | if not verify_password(password_data.old_password, user.password):
- 2023-10-31 12:30:05.591
- | File "/code/src/routers/users.py", line 166, in check_user_profile_password
- 2023-10-31 12:30:05.591
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.591
- | return await dependant.call(**values)
- 2023-10-31 12:30:05.591
- | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
- 2023-10-31 12:30:05.591
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.591
- | raw_response = await run_endpoint_function(
- 2023-10-31 12:30:05.591
- | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
- 2023-10-31 12:30:05.591
- | ^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.591
- | response = await func(request)
- 2023-10-31 12:30:05.591
- | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
- 2023-10-31 12:30:05.591
- | await self.app(scope, receive, send)
- 2023-10-31 12:30:05.591
- | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
- 2023-10-31 12:30:05.591
- | await route.handle(scope, receive, send)
- 2023-10-31 12:30:05.591
- | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
- 2023-10-31 12:30:05.591
- | await self.app(scope, receive, send)
- 2023-10-31 12:30:05.591
- | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
- 2023-10-31 12:30:05.591
- | raise e
- 2023-10-31 12:30:05.591
- | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
- 2023-10-31 12:30:05.591
- | await self.app(scope, receive, sender)
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
- 2023-10-31 12:30:05.590
- | raise exc
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
- 2023-10-31 12:30:05.590
- | await self.app(scope, receive_or_disconnect, send_no_error)
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
- 2023-10-31 12:30:05.590
- | raise app_exc
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
- 2023-10-31 12:30:05.590
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.590
- | return await call_next(request)
- 2023-10-31 12:30:05.590
- | File "/code/src/middlewares.py", line 53, in dispatch
- 2023-10-31 12:30:05.590
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.590
- | response = await self.dispatch_func(request, call_next)
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
- 2023-10-31 12:30:05.590
- | Traceback (most recent call last):
- 2023-10-31 12:30:05.590
- |
- 2023-10-31 12:30:05.590
- | During handling of the above exception, another exception occurred:
- 2023-10-31 12:30:05.590
- |
- 2023-10-31 12:30:05.590
- | anyio.EndOfStream
- 2023-10-31 12:30:05.590
- | raise EndOfStream
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 112, in receive
- 2023-10-31 12:30:05.590
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.590
- | message = await recv_stream.receive()
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 78, in call_next
- 2023-10-31 12:30:05.590
- | Traceback (most recent call last):
- 2023-10-31 12:30:05.590
- |
- 2023-10-31 12:30:05.590
- | During handling of the above exception, another exception occurred:
- 2023-10-31 12:30:05.590
- |
- 2023-10-31 12:30:05.590
- | anyio.WouldBlock
- 2023-10-31 12:30:05.590
- | raise WouldBlock
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 92, in receive_nowait
- 2023-10-31 12:30:05.590
- | ^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.590
- | return self.receive_nowait()
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 97, in receive
- 2023-10-31 12:30:05.590
- | Traceback (most recent call last):
- 2023-10-31 12:30:05.590
- +-+---------------- 1 ----------------
- 2023-10-31 12:30:05.590
- | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
- 2023-10-31 12:30:05.590
- | raise BaseExceptionGroup(
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 664, in __aexit__
- 2023-10-31 12:30:05.590
- | async with anyio.create_task_group() as task_group:
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 106, in __call__
- 2023-10-31 12:30:05.590
- | await self.app(scope, receive, send)
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 83, in __call__
- 2023-10-31 12:30:05.590
- | await self.app(scope, receive, _send)
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
- 2023-10-31 12:30:05.590
- | raise exc
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__
- 2023-10-31 12:30:05.590
- | await self.middleware_stack(scope, receive, send)
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__
- 2023-10-31 12:30:05.590
- | await super().__call__(scope, receive, send)
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 289, in __call__
- 2023-10-31 12:30:05.590
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.590
- | return await self.app(scope, receive, send)
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
- 2023-10-31 12:30:05.590
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.590
- | result = await app( # type: ignore[func-returns-value]
- 2023-10-31 12:30:05.590
- | File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 428, in run_asgi
- 2023-10-31 12:30:05.590
- + Exception Group Traceback (most recent call last):
- 2023-10-31 12:30:05.590
- 2023-10-31 12:30:05.590
- During handling of the above exception, another exception occurred:
- 2023-10-31 12:30:05.590
- 2023-10-31 12:30:05.590
- AttributeError: 'PasswordSchema' object has no attribute 'old_password'
- 2023-10-31 12:30:05.590
- raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
- 2023-10-31 12:30:05.590
- File "/usr/local/lib/python3.11/site-packages/pydantic/main.py", line 734, in __getattr__
- 2023-10-31 12:30:05.590
- ^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.590
- if not verify_password(password_data.old_password, user.password):
- 2023-10-31 12:30:05.590
- File "/code/src/routers/users.py", line 166, in check_user_profile_password
- 2023-10-31 12:30:05.590
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.590
- return await dependant.call(**values)
- 2023-10-31 12:30:05.590
- File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
- 2023-10-31 12:30:05.590
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.590
- raw_response = await run_endpoint_function(
- 2023-10-31 12:30:05.590
- File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
- 2023-10-31 12:30:05.590
- ^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.590
- response = await func(request)
- 2023-10-31 12:30:05.590
- File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
- 2023-10-31 12:30:05.590
- await self.app(scope, receive, send)
- 2023-10-31 12:30:05.590
- File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
- 2023-10-31 12:30:05.590
- await route.handle(scope, receive, send)
- 2023-10-31 12:30:05.590
- File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
- 2023-10-31 12:30:05.590
- await self.app(scope, receive, send)
- 2023-10-31 12:30:05.590
- File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
- 2023-10-31 12:30:05.590
- raise e
- 2023-10-31 12:30:05.590
- File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
- 2023-10-31 12:30:05.590
- await self.app(scope, receive, sender)
- 2023-10-31 12:30:05.590
- File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
- 2023-10-31 12:30:05.590
- raise exc
- 2023-10-31 12:30:05.590
- File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
- 2023-10-31 12:30:05.590
- await self.app(scope, receive_or_disconnect, send_no_error)
- 2023-10-31 12:30:05.590
- File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
- 2023-10-31 12:30:05.590
- raise app_exc
- 2023-10-31 12:30:05.590
- File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
- 2023-10-31 12:30:05.590
- ^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.590
- return await call_next(request)
- 2023-10-31 12:30:05.590
- File "/code/src/middlewares.py", line 53, in dispatch
- 2023-10-31 12:30:05.590
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-31 12:30:05.590
- response = await self.dispatch_func(request, call_next)
- 2023-10-31 12:30:05.590
- File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
- 2023-10-31 12:30:05.590
- Traceback (most recent call last):
- 2023-10-31 12:30:05.590
- ERROR: Exception in ASGI application
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement