Advertisement
Mochinov

Untitled

Oct 31st, 2023
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.73 KB | None | 0 0
  1.  
  2. 2023-10-31 12:31:05.297
  3. +------------------------------------
  4. 2023-10-31 12:31:05.297
  5. | AttributeError: 'PasswordSchema' object has no attribute 'old_password'
  6. 2023-10-31 12:31:05.297
  7. | raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
  8. 2023-10-31 12:31:05.297
  9. | File "/usr/local/lib/python3.11/site-packages/pydantic/main.py", line 734, in __getattr__
  10. 2023-10-31 12:31:05.297
  11. | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  12. 2023-10-31 12:31:05.297
  13. | if not verify_password(password_data.old_password, user.password):
  14. 2023-10-31 12:31:05.297
  15. | File "/code/src/routers/users.py", line 166, in check_user_profile_password
  16. 2023-10-31 12:31:05.297
  17. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  18. 2023-10-31 12:31:05.297
  19. | return await dependant.call(**values)
  20. 2023-10-31 12:31:05.297
  21. | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
  22. 2023-10-31 12:31:05.297
  23. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  24. 2023-10-31 12:31:05.297
  25. | raw_response = await run_endpoint_function(
  26. 2023-10-31 12:31:05.297
  27. | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
  28. 2023-10-31 12:31:05.297
  29. | ^^^^^^^^^^^^^^^^^^^
  30. 2023-10-31 12:31:05.297
  31. | response = await func(request)
  32. 2023-10-31 12:31:05.297
  33. | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
  34. 2023-10-31 12:31:05.297
  35. | await self.app(scope, receive, send)
  36. 2023-10-31 12:31:05.297
  37. | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
  38. 2023-10-31 12:31:05.297
  39. | await route.handle(scope, receive, send)
  40. 2023-10-31 12:31:05.297
  41. | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
  42. 2023-10-31 12:31:05.297
  43. | await self.app(scope, receive, send)
  44. 2023-10-31 12:31:05.297
  45. | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
  46. 2023-10-31 12:31:05.297
  47. | raise e
  48. 2023-10-31 12:31:05.297
  49. | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
  50. 2023-10-31 12:31:05.297
  51. | await self.app(scope, receive, sender)
  52. 2023-10-31 12:31:05.297
  53. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
  54. 2023-10-31 12:31:05.297
  55. | raise exc
  56. 2023-10-31 12:31:05.297
  57. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
  58. 2023-10-31 12:31:05.297
  59. | await self.app(scope, receive_or_disconnect, send_no_error)
  60. 2023-10-31 12:31:05.297
  61. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
  62. 2023-10-31 12:31:05.297
  63. | raise app_exc
  64. 2023-10-31 12:31:05.297
  65. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
  66. 2023-10-31 12:31:05.297
  67. | ^^^^^^^^^^^^^^^^^^^^^^^^
  68. 2023-10-31 12:31:05.297
  69. | return await call_next(request)
  70. 2023-10-31 12:31:05.297
  71. | File "/code/src/middlewares.py", line 53, in dispatch
  72. 2023-10-31 12:31:05.297
  73. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  74. 2023-10-31 12:31:05.297
  75. | response = await self.dispatch_func(request, call_next)
  76. 2023-10-31 12:31:05.297
  77. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
  78. 2023-10-31 12:31:05.297
  79. | Traceback (most recent call last):
  80. 2023-10-31 12:31:05.297
  81. |
  82. 2023-10-31 12:31:05.297
  83. | During handling of the above exception, another exception occurred:
  84. 2023-10-31 12:31:05.297
  85. |
  86. 2023-10-31 12:31:05.297
  87. | anyio.EndOfStream
  88. 2023-10-31 12:31:05.297
  89. | raise EndOfStream
  90. 2023-10-31 12:31:05.297
  91. | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 112, in receive
  92. 2023-10-31 12:31:05.297
  93. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  94. 2023-10-31 12:31:05.297
  95. | message = await recv_stream.receive()
  96. 2023-10-31 12:31:05.297
  97. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 78, in call_next
  98. 2023-10-31 12:31:05.297
  99. | Traceback (most recent call last):
  100. 2023-10-31 12:31:05.297
  101. |
  102. 2023-10-31 12:31:05.297
  103. | During handling of the above exception, another exception occurred:
  104. 2023-10-31 12:31:05.297
  105. |
  106. 2023-10-31 12:31:05.297
  107. | anyio.WouldBlock
  108. 2023-10-31 12:31:05.297
  109. | raise WouldBlock
  110. 2023-10-31 12:31:05.297
  111. | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 92, in receive_nowait
  112. 2023-10-31 12:31:05.297
  113. | ^^^^^^^^^^^^^^^^^^^^^
  114. 2023-10-31 12:31:05.297
  115. | return self.receive_nowait()
  116. 2023-10-31 12:31:05.297
  117. | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 97, in receive
  118. 2023-10-31 12:31:05.297
  119. | Traceback (most recent call last):
  120. 2023-10-31 12:31:05.297
  121. +-+---------------- 1 ----------------
  122. 2023-10-31 12:31:05.297
  123. | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  124. 2023-10-31 12:31:05.297
  125. | raise BaseExceptionGroup(
  126. 2023-10-31 12:31:05.297
  127. | File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 664, in __aexit__
  128. 2023-10-31 12:31:05.297
  129. | async with anyio.create_task_group() as task_group:
  130. 2023-10-31 12:31:05.297
  131. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 106, in __call__
  132. 2023-10-31 12:31:05.297
  133. | await self.app(scope, receive, send)
  134. 2023-10-31 12:31:05.297
  135. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 83, in __call__
  136. 2023-10-31 12:31:05.297
  137. | await self.app(scope, receive, _send)
  138. 2023-10-31 12:31:05.297
  139. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
  140. 2023-10-31 12:31:05.297
  141. | raise exc
  142. 2023-10-31 12:31:05.297
  143. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__
  144. 2023-10-31 12:31:05.297
  145. | await self.middleware_stack(scope, receive, send)
  146. 2023-10-31 12:31:05.297
  147. | File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__
  148. 2023-10-31 12:31:05.297
  149. | await super().__call__(scope, receive, send)
  150. 2023-10-31 12:31:05.297
  151. | File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 289, in __call__
  152. 2023-10-31 12:31:05.297
  153. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  154. 2023-10-31 12:31:05.297
  155. | return await self.app(scope, receive, send)
  156. 2023-10-31 12:31:05.297
  157. | File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
  158. 2023-10-31 12:31:05.297
  159. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  160. 2023-10-31 12:31:05.297
  161. | result = await app( # type: ignore[func-returns-value]
  162. 2023-10-31 12:31:05.297
  163. | File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 428, in run_asgi
  164. 2023-10-31 12:31:05.297
  165. + Exception Group Traceback (most recent call last):
  166. 2023-10-31 12:31:05.297
  167.  
  168. 2023-10-31 12:31:05.297
  169. During handling of the above exception, another exception occurred:
  170. 2023-10-31 12:31:05.297
  171.  
  172. 2023-10-31 12:31:05.297
  173. AttributeError: 'PasswordSchema' object has no attribute 'old_password'
  174. 2023-10-31 12:31:05.297
  175. raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
  176. 2023-10-31 12:31:05.297
  177. File "/usr/local/lib/python3.11/site-packages/pydantic/main.py", line 734, in __getattr__
  178. 2023-10-31 12:31:05.297
  179. ^^^^^^^^^^^^^^^^^^^^^^^^^^
  180. 2023-10-31 12:31:05.297
  181. if not verify_password(password_data.old_password, user.password):
  182. 2023-10-31 12:31:05.297
  183. File "/code/src/routers/users.py", line 166, in check_user_profile_password
  184. 2023-10-31 12:31:05.297
  185. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  186. 2023-10-31 12:31:05.297
  187. return await dependant.call(**values)
  188. 2023-10-31 12:31:05.297
  189. File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
  190. 2023-10-31 12:31:05.297
  191. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  192. 2023-10-31 12:31:05.297
  193. raw_response = await run_endpoint_function(
  194. 2023-10-31 12:31:05.297
  195. File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
  196. 2023-10-31 12:31:05.297
  197. ^^^^^^^^^^^^^^^^^^^
  198. 2023-10-31 12:31:05.297
  199. response = await func(request)
  200. 2023-10-31 12:31:05.297
  201. File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
  202. 2023-10-31 12:31:05.297
  203. await self.app(scope, receive, send)
  204. 2023-10-31 12:31:05.297
  205. File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
  206. 2023-10-31 12:31:05.297
  207. await route.handle(scope, receive, send)
  208. 2023-10-31 12:31:05.297
  209. File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
  210. 2023-10-31 12:31:05.297
  211. await self.app(scope, receive, send)
  212. 2023-10-31 12:31:05.297
  213. File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
  214. 2023-10-31 12:31:05.297
  215. raise e
  216. 2023-10-31 12:31:05.297
  217. File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
  218. 2023-10-31 12:31:05.297
  219. await self.app(scope, receive, sender)
  220. 2023-10-31 12:31:05.297
  221. File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
  222. 2023-10-31 12:31:05.297
  223. raise exc
  224. 2023-10-31 12:31:05.297
  225. File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
  226. 2023-10-31 12:31:05.297
  227. await self.app(scope, receive_or_disconnect, send_no_error)
  228. 2023-10-31 12:31:05.297
  229. File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
  230. 2023-10-31 12:31:05.297
  231. raise app_exc
  232. 2023-10-31 12:31:05.297
  233. File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
  234. 2023-10-31 12:31:05.297
  235. ^^^^^^^^^^^^^^^^^^^^^^^^
  236. 2023-10-31 12:31:05.297
  237. return await call_next(request)
  238. 2023-10-31 12:31:05.297
  239. File "/code/src/middlewares.py", line 53, in dispatch
  240. 2023-10-31 12:31:05.297
  241. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  242. 2023-10-31 12:31:05.297
  243. response = await self.dispatch_func(request, call_next)
  244. 2023-10-31 12:31:05.297
  245. File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
  246. 2023-10-31 12:31:05.297
  247. Traceback (most recent call last):
  248. 2023-10-31 12:31:05.297
  249. ERROR: Exception in ASGI application
  250. 2023-10-31 12:31:05.289
  251. INFO: 10.40.96.229:0 - "POST /user/me/password HTTP/1.1" 500 Internal Server Error
  252. 2023-10-31 12:31:05.203
  253. INFO: 10.50.73.14:46037 - "GET /health HTTP/1.1" 200 OK
  254. 2023-10-31 12:31:05.195
  255. INFO: 10.50.62.221:5635 - "GET /health HTTP/1.1" 200 OK
  256. 2023-10-31 12:31:05.194
  257. INFO: 10.50.27.218:5354 - "GET /health HTTP/1.1" 200 OK
  258. 2023-10-31 12:31:03.906
  259. INFO: 10.50.39.87:53648 - "GET /health HTTP/1.1" 200 OK
  260. 2023-10-31 12:30:58.974
  261. INFO: 10.40.96.229:0 - "GET /user/me/password HTTP/1.1" 405 Method Not Allowed
  262. 2023-10-31 12:30:56.462
  263. INFO: 10.50.62.175:54021 - "GET /health HTTP/1.1" 200 OK
  264. 2023-10-31 12:30:56.461
  265. INFO: 10.50.43.237:12398 - "GET /health HTTP/1.1" 200 OK
  266. 2023-10-31 12:30:53.681
  267. INFO: 10.50.43.237:42646 - "GET /health HTTP/1.1" 200 OK
  268. 2023-10-31 12:30:53.680
  269. INFO: 10.50.62.175:18172 - "GET /health HTTP/1.1" 200 OK
  270. 2023-10-31 12:30:51.875
  271. INFO: 10.50.62.175:19753 - "GET /health HTTP/1.1" 200 OK
  272. 2023-10-31 12:30:51.874
  273. INFO: 10.50.43.237:11672 - "GET /health HTTP/1.1" 200 OK
  274. 2023-10-31 12:30:49.127
  275. INFO: 10.40.96.229:0 - "GET /company/ HTTP/1.1" 200 OK
  276. 2023-10-31 12:30:49.015
  277. INFO: 10.40.96.229:0 - "GET /company HTTP/1.1" 307 Temporary Redirect
  278. 2023-10-31 12:30:07.983
  279. INFO: 10.50.73.14:27513 - "GET /health HTTP/1.1" 200 OK
  280. 2023-10-31 12:30:07.982
  281. INFO: 10.50.62.221:11794 - "GET /health HTTP/1.1" 200 OK
  282. 2023-10-31 12:30:07.905
  283. INFO: 10.50.27.218:34030 - "GET /health HTTP/1.1" 200 OK
  284. 2023-10-31 12:30:06.100
  285. INFO: 10.50.62.221:7216 - "GET /health HTTP/1.1" 200 OK
  286. 2023-10-31 12:30:06.096
  287. INFO: 10.50.73.14:42083 - "GET /health HTTP/1.1" 200 OK
  288. 2023-10-31 12:30:06.088
  289. INFO: 10.50.27.218:58733 - "GET /health HTTP/1.1" 200 OK
  290. 2023-10-31 12:30:05.591
  291. +------------------------------------
  292. 2023-10-31 12:30:05.591
  293. | AttributeError: 'PasswordSchema' object has no attribute 'old_password'
  294. 2023-10-31 12:30:05.591
  295. | raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
  296. 2023-10-31 12:30:05.591
  297. | File "/usr/local/lib/python3.11/site-packages/pydantic/main.py", line 734, in __getattr__
  298. 2023-10-31 12:30:05.591
  299. | ^^^^^^^^^^^^^^^^^^^^^^^^^^
  300. 2023-10-31 12:30:05.591
  301. | if not verify_password(password_data.old_password, user.password):
  302. 2023-10-31 12:30:05.591
  303. | File "/code/src/routers/users.py", line 166, in check_user_profile_password
  304. 2023-10-31 12:30:05.591
  305. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  306. 2023-10-31 12:30:05.591
  307. | return await dependant.call(**values)
  308. 2023-10-31 12:30:05.591
  309. | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
  310. 2023-10-31 12:30:05.591
  311. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  312. 2023-10-31 12:30:05.591
  313. | raw_response = await run_endpoint_function(
  314. 2023-10-31 12:30:05.591
  315. | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
  316. 2023-10-31 12:30:05.591
  317. | ^^^^^^^^^^^^^^^^^^^
  318. 2023-10-31 12:30:05.591
  319. | response = await func(request)
  320. 2023-10-31 12:30:05.591
  321. | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
  322. 2023-10-31 12:30:05.591
  323. | await self.app(scope, receive, send)
  324. 2023-10-31 12:30:05.591
  325. | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
  326. 2023-10-31 12:30:05.591
  327. | await route.handle(scope, receive, send)
  328. 2023-10-31 12:30:05.591
  329. | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
  330. 2023-10-31 12:30:05.591
  331. | await self.app(scope, receive, send)
  332. 2023-10-31 12:30:05.591
  333. | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
  334. 2023-10-31 12:30:05.591
  335. | raise e
  336. 2023-10-31 12:30:05.591
  337. | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
  338. 2023-10-31 12:30:05.591
  339. | await self.app(scope, receive, sender)
  340. 2023-10-31 12:30:05.590
  341. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
  342. 2023-10-31 12:30:05.590
  343. | raise exc
  344. 2023-10-31 12:30:05.590
  345. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
  346. 2023-10-31 12:30:05.590
  347. | await self.app(scope, receive_or_disconnect, send_no_error)
  348. 2023-10-31 12:30:05.590
  349. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
  350. 2023-10-31 12:30:05.590
  351. | raise app_exc
  352. 2023-10-31 12:30:05.590
  353. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
  354. 2023-10-31 12:30:05.590
  355. | ^^^^^^^^^^^^^^^^^^^^^^^^
  356. 2023-10-31 12:30:05.590
  357. | return await call_next(request)
  358. 2023-10-31 12:30:05.590
  359. | File "/code/src/middlewares.py", line 53, in dispatch
  360. 2023-10-31 12:30:05.590
  361. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  362. 2023-10-31 12:30:05.590
  363. | response = await self.dispatch_func(request, call_next)
  364. 2023-10-31 12:30:05.590
  365. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
  366. 2023-10-31 12:30:05.590
  367. | Traceback (most recent call last):
  368. 2023-10-31 12:30:05.590
  369. |
  370. 2023-10-31 12:30:05.590
  371. | During handling of the above exception, another exception occurred:
  372. 2023-10-31 12:30:05.590
  373. |
  374. 2023-10-31 12:30:05.590
  375. | anyio.EndOfStream
  376. 2023-10-31 12:30:05.590
  377. | raise EndOfStream
  378. 2023-10-31 12:30:05.590
  379. | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 112, in receive
  380. 2023-10-31 12:30:05.590
  381. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  382. 2023-10-31 12:30:05.590
  383. | message = await recv_stream.receive()
  384. 2023-10-31 12:30:05.590
  385. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 78, in call_next
  386. 2023-10-31 12:30:05.590
  387. | Traceback (most recent call last):
  388. 2023-10-31 12:30:05.590
  389. |
  390. 2023-10-31 12:30:05.590
  391. | During handling of the above exception, another exception occurred:
  392. 2023-10-31 12:30:05.590
  393. |
  394. 2023-10-31 12:30:05.590
  395. | anyio.WouldBlock
  396. 2023-10-31 12:30:05.590
  397. | raise WouldBlock
  398. 2023-10-31 12:30:05.590
  399. | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 92, in receive_nowait
  400. 2023-10-31 12:30:05.590
  401. | ^^^^^^^^^^^^^^^^^^^^^
  402. 2023-10-31 12:30:05.590
  403. | return self.receive_nowait()
  404. 2023-10-31 12:30:05.590
  405. | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 97, in receive
  406. 2023-10-31 12:30:05.590
  407. | Traceback (most recent call last):
  408. 2023-10-31 12:30:05.590
  409. +-+---------------- 1 ----------------
  410. 2023-10-31 12:30:05.590
  411. | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  412. 2023-10-31 12:30:05.590
  413. | raise BaseExceptionGroup(
  414. 2023-10-31 12:30:05.590
  415. | File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 664, in __aexit__
  416. 2023-10-31 12:30:05.590
  417. | async with anyio.create_task_group() as task_group:
  418. 2023-10-31 12:30:05.590
  419. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 106, in __call__
  420. 2023-10-31 12:30:05.590
  421. | await self.app(scope, receive, send)
  422. 2023-10-31 12:30:05.590
  423. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 83, in __call__
  424. 2023-10-31 12:30:05.590
  425. | await self.app(scope, receive, _send)
  426. 2023-10-31 12:30:05.590
  427. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
  428. 2023-10-31 12:30:05.590
  429. | raise exc
  430. 2023-10-31 12:30:05.590
  431. | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__
  432. 2023-10-31 12:30:05.590
  433. | await self.middleware_stack(scope, receive, send)
  434. 2023-10-31 12:30:05.590
  435. | File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__
  436. 2023-10-31 12:30:05.590
  437. | await super().__call__(scope, receive, send)
  438. 2023-10-31 12:30:05.590
  439. | File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 289, in __call__
  440. 2023-10-31 12:30:05.590
  441. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  442. 2023-10-31 12:30:05.590
  443. | return await self.app(scope, receive, send)
  444. 2023-10-31 12:30:05.590
  445. | File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
  446. 2023-10-31 12:30:05.590
  447. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  448. 2023-10-31 12:30:05.590
  449. | result = await app( # type: ignore[func-returns-value]
  450. 2023-10-31 12:30:05.590
  451. | File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 428, in run_asgi
  452. 2023-10-31 12:30:05.590
  453. + Exception Group Traceback (most recent call last):
  454. 2023-10-31 12:30:05.590
  455.  
  456. 2023-10-31 12:30:05.590
  457. During handling of the above exception, another exception occurred:
  458. 2023-10-31 12:30:05.590
  459.  
  460. 2023-10-31 12:30:05.590
  461. AttributeError: 'PasswordSchema' object has no attribute 'old_password'
  462. 2023-10-31 12:30:05.590
  463. raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
  464. 2023-10-31 12:30:05.590
  465. File "/usr/local/lib/python3.11/site-packages/pydantic/main.py", line 734, in __getattr__
  466. 2023-10-31 12:30:05.590
  467. ^^^^^^^^^^^^^^^^^^^^^^^^^^
  468. 2023-10-31 12:30:05.590
  469. if not verify_password(password_data.old_password, user.password):
  470. 2023-10-31 12:30:05.590
  471. File "/code/src/routers/users.py", line 166, in check_user_profile_password
  472. 2023-10-31 12:30:05.590
  473. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  474. 2023-10-31 12:30:05.590
  475. return await dependant.call(**values)
  476. 2023-10-31 12:30:05.590
  477. File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
  478. 2023-10-31 12:30:05.590
  479. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  480. 2023-10-31 12:30:05.590
  481. raw_response = await run_endpoint_function(
  482. 2023-10-31 12:30:05.590
  483. File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
  484. 2023-10-31 12:30:05.590
  485. ^^^^^^^^^^^^^^^^^^^
  486. 2023-10-31 12:30:05.590
  487. response = await func(request)
  488. 2023-10-31 12:30:05.590
  489. File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
  490. 2023-10-31 12:30:05.590
  491. await self.app(scope, receive, send)
  492. 2023-10-31 12:30:05.590
  493. File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
  494. 2023-10-31 12:30:05.590
  495. await route.handle(scope, receive, send)
  496. 2023-10-31 12:30:05.590
  497. File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
  498. 2023-10-31 12:30:05.590
  499. await self.app(scope, receive, send)
  500. 2023-10-31 12:30:05.590
  501. File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
  502. 2023-10-31 12:30:05.590
  503. raise e
  504. 2023-10-31 12:30:05.590
  505. File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
  506. 2023-10-31 12:30:05.590
  507. await self.app(scope, receive, sender)
  508. 2023-10-31 12:30:05.590
  509. File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
  510. 2023-10-31 12:30:05.590
  511. raise exc
  512. 2023-10-31 12:30:05.590
  513. File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
  514. 2023-10-31 12:30:05.590
  515. await self.app(scope, receive_or_disconnect, send_no_error)
  516. 2023-10-31 12:30:05.590
  517. File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
  518. 2023-10-31 12:30:05.590
  519. raise app_exc
  520. 2023-10-31 12:30:05.590
  521. File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
  522. 2023-10-31 12:30:05.590
  523. ^^^^^^^^^^^^^^^^^^^^^^^^
  524. 2023-10-31 12:30:05.590
  525. return await call_next(request)
  526. 2023-10-31 12:30:05.590
  527. File "/code/src/middlewares.py", line 53, in dispatch
  528. 2023-10-31 12:30:05.590
  529. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  530. 2023-10-31 12:30:05.590
  531. response = await self.dispatch_func(request, call_next)
  532. 2023-10-31 12:30:05.590
  533. File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
  534. 2023-10-31 12:30:05.590
  535. Traceback (most recent call last):
  536. 2023-10-31 12:30:05.590
  537. ERROR: Exception in ASGI application
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement