Остання активність 1 month ago

Версія f28ec64a10d5c2c6bcf8ffb3b2a19bcc6c909bfc

logs.txt Неформатований
1'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 9.318}
22025-10-24T16:41:15.7697676Z 2025-10-24 16:41:15 INFO agent: retry.give_up {'func': 'find_folder_by_name', 'attempt': 5, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')"}
32025-10-24T16:41:15.769948Z 2025-10-24 16:41:15 INFO agent: retry.attempt_fail {'func': 'ensure_folder', 'attempt': 2, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 2.807}
42025-10-24T16:41:18.5786917Z 2025-10-24 16:41:18 INFO agent: retry.attempt_fail {'func': 'find_folder_by_name', 'attempt': 1, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 1.465}
52025-10-24T16:41:20.0447449Z 2025-10-24 16:41:20 INFO agent: retry.attempt_fail {'func': 'find_folder_by_name', 'attempt': 2, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 2.6}
62025-10-24T16:41:22.6456296Z 2025-10-24 16:41:22 INFO agent: retry.attempt_fail {'func': 'find_folder_by_name', 'attempt': 3, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 5.273}
72025-10-24T16:41:27.9201118Z 2025-10-24 16:41:27 INFO agent: retry.attempt_fail {'func': 'find_folder_by_name', 'attempt': 4, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 8.679}
82025-10-24T16:41:36.5996064Z 2025-10-24 16:41:36 INFO agent: retry.give_up {'func': 'find_folder_by_name', 'attempt': 5, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')"}
92025-10-24T16:41:36.5997065Z 2025-10-24 16:41:36 INFO agent: retry.attempt_fail {'func': 'ensure_folder', 'attempt': 3, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 5.874}
102025-10-24T16:41:42.4754953Z 2025-10-24 16:41:42 INFO agent: retry.attempt_fail {'func': 'find_folder_by_name', 'attempt': 1, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 1.489}
112025-10-24T16:41:43.9659004Z 2025-10-24 16:41:43 INFO agent: retry.attempt_fail {'func': 'find_folder_by_name', 'attempt': 2, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 3.446}
122025-10-24T16:41:47.4123419Z 2025-10-24 16:41:47 INFO agent: retry.attempt_fail {'func': 'find_folder_by_name', 'attempt': 3, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 4.821}
132025-10-24T16:41:52.2350485Z 2025-10-24 16:41:52 INFO agent: retry.attempt_fail {'func': 'find_folder_by_name', 'attempt': 4, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 9.588}
142025-10-24T16:42:01.8238947Z 2025-10-24 16:42:01 INFO agent: retry.give_up {'func': 'find_folder_by_name', 'attempt': 5, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')"}
152025-10-24T16:42:01.8239484Z 2025-10-24 16:42:01 INFO agent: retry.attempt_fail {'func': 'ensure_folder', 'attempt': 4, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 9.506}
162025-10-24T16:42:11.3389908Z 2025-10-24 16:42:11 INFO agent: retry.attempt_fail {'func': 'find_folder_by_name', 'attempt': 1, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 2.515}
172025-10-24T16:42:13.8643809Z 2025-10-24 16:42:13 INFO agent: retry.attempt_fail {'func': 'find_folder_by_name', 'attempt': 2, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 2.708}
182025-10-24T16:42:16.5757842Z 2025-10-24 16:42:16 INFO agent: retry.attempt_fail {'func': 'find_folder_by_name', 'attempt': 3, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 4.332}
192025-10-24T16:42:20.9076167Z 2025-10-24 16:42:20 INFO agent: retry.attempt_fail {'func': 'find_folder_by_name', 'attempt': 4, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')", 'wait_seconds': 9.115}
202025-10-24T16:42:30.0240813Z 2025-10-24 16:42:30 INFO agent: retry.give_up {'func': 'find_folder_by_name', 'attempt': 5, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')"}
212025-10-24T16:42:30.0242116Z 2025-10-24 16:42:30 INFO agent: retry.give_up {'func': 'ensure_folder', 'attempt': 5, 'max': 5, 'code': None, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')"}
222025-10-24T16:42:30.0242166Z 2025-10-24 16:42:30 INFO agent: job.folder.fail {'job_id': 1, 'error': "ValueError('Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. InvalidData(InvalidPadding)')"}
232025-10-24T16:42:30.0454242Z 2025-10-24 16:42:30 INFO agent: repo.job.mark_failed {'job_id': 1, 'reason': 'ensure_folder'}
242025-10-24T16:42:30.0475282Z 2025-10-24 16:42:30 INFO agent: notify.enter {'job_id': 1}
252025-10-24T16:42:30.7828091Z 2025-10-24 16:42:30,782 INFO httpx: HTTP Request: POST https://nmai.app.n8n.cloud/webhook/notify "HTTP/1.1 200 OK"
262025-10-24T16:42:30.7836257Z 2025-10-24 16:42:30 INFO agent: notify.http.result {'job_id': 1, 'attempt': 1, 'code': 200, 'body': '{"message":"Workflow was started"}'}
272025-10-24T16:42:30.7838113Z 2025-10-24 16:42:30 INFO agent: notify.sent {'job_id': 1, 'status': 'done'}
282025-10-24T16:42:30.7840085Z 2025-10-24 16:42:30 INFO agent: pipeline.complete {'job_id': 1}
292025-10-24T16:43:53.700Z No new trace in the past 1 min(s).
302025-10-24T16:44:04.0558599Z 2025-10-24 16:44:04 INFO agent: api.status.request {'job_id': 1}
312025-10-24T16:44:04.0639365Z INFO 169.254.131.1:37435 - "GET /create-report/1 HTTP/1.1" 500
322025-10-24T16:44:04.0784602Z ERROR Exception in ASGI application
332025-10-24T16:44:04.0785101Z Traceback (most recent call last):
342025-10-24T16:44:04.0785128Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
352025-10-24T16:44:04.078515Z result = await app( # type: ignore[func-returns-value]
362025-10-24T16:44:04.0785167Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
372025-10-24T16:44:04.0785184Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in _call_
382025-10-24T16:44:04.07852Z return await self.app(scope, receive, send)
392025-10-24T16:44:04.0785215Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
402025-10-24T16:44:04.0785235Z File "/app/.venv/lib/python3.12/site-packages/fastapi/applications.py", line 1133, in _call_
412025-10-24T16:44:04.0785369Z await super()._call_(scope, receive, send)
422025-10-24T16:44:04.078539Z File "/app/.venv/lib/python3.12/site-packages/starlette/applications.py", line 113, in _call_
432025-10-24T16:44:04.0785408Z await self.middleware_stack(scope, receive, send)
442025-10-24T16:44:04.0785426Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in _call_
452025-10-24T16:44:04.0785441Z raise exc
462025-10-24T16:44:04.0785459Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in _call_
472025-10-24T16:44:04.0785474Z await self.app(scope, receive, _send)
482025-10-24T16:44:04.0785493Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/cors.py", line 85, in _call_
492025-10-24T16:44:04.0785514Z await self.app(scope, receive, send)
502025-10-24T16:44:04.0785533Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 63, in _call_
512025-10-24T16:44:04.0785573Z await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
522025-10-24T16:44:04.0785592Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
532025-10-24T16:44:04.0785606Z raise exc
542025-10-24T16:44:04.0785623Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
552025-10-24T16:44:04.0785639Z await app(scope, receive, sender)
562025-10-24T16:44:04.0785657Z File "/app/.venv/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in _call_
572025-10-24T16:44:04.0785673Z await self.app(scope, receive, send)
582025-10-24T16:44:04.078569Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 716, in _call_
592025-10-24T16:44:04.0785707Z await self.middleware_stack(scope, receive, send)
602025-10-24T16:44:04.0785725Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 736, in app
612025-10-24T16:44:04.0785755Z await route.handle(scope, receive, send)
622025-10-24T16:44:04.0785774Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 290, in handle
632025-10-24T16:44:04.0785789Z await self.app(scope, receive, send)
642025-10-24T16:44:04.0785807Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 123, in app
652025-10-24T16:44:04.0785826Z await wrap_app_handling_exceptions(app, request)(scope, receive, send)
662025-10-24T16:44:04.0785844Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
672025-10-24T16:44:04.0785859Z raise exc
682025-10-24T16:44:04.0785876Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
692025-10-24T16:44:04.0785891Z await app(scope, receive, sender)
702025-10-24T16:44:04.0785924Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 109, in app
712025-10-24T16:44:04.078594Z response = await f(request)
722025-10-24T16:44:04.0785955Z ^^^^^^^^^^^^^^^^
732025-10-24T16:44:04.0785972Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 389, in app
742025-10-24T16:44:04.0785988Z raw_response = await run_endpoint_function(
752025-10-24T16:44:04.0786004Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
762025-10-24T16:44:04.0786023Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 288, in run_endpoint_function
772025-10-24T16:44:04.0786038Z return await dependant.call(**values)
782025-10-24T16:44:04.0786053Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
792025-10-24T16:44:04.078607Z File "/app/app/main.py", line 146, in get_report_status
802025-10-24T16:44:04.0786086Z counts = await repo.status_counts_total(job_id) or {}
812025-10-24T16:44:04.0786123Z ^^^^^^^^^^^^^^^^^^^^^^^^
822025-10-24T16:44:04.078614Z AttributeError: 'OperatorRatingRepo' object has no attribute 'status_counts_total'
832025-10-24T16:44:04.0786158Z 2025-10-24 16:44:04,064 ERROR uvicorn.error: Exception in ASGI application
842025-10-24T16:44:04.0786173Z Traceback (most recent call last):
852025-10-24T16:44:04.0786192Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
862025-10-24T16:44:04.0786208Z result = await app( # type: ignore[func-returns-value]
872025-10-24T16:44:04.0786224Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
882025-10-24T16:44:04.0786242Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in _call_
892025-10-24T16:44:04.0786258Z return await self.app(scope, receive, send)
902025-10-24T16:44:04.0786273Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
912025-10-24T16:44:04.0786308Z File "/app/.venv/lib/python3.12/site-packages/fastapi/applications.py", line 1133, in _call_
922025-10-24T16:44:04.0786595Z await super()._call_(scope, receive, send)
932025-10-24T16:44:04.0786616Z File "/app/.venv/lib/python3.12/site-packages/starlette/applications.py", line 113, in _call_
942025-10-24T16:44:04.0786632Z await self.middleware_stack(scope, receive, send)
952025-10-24T16:44:04.078665Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in _call_
962025-10-24T16:44:04.0786664Z raise exc
972025-10-24T16:44:04.0786684Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in _call_
982025-10-24T16:44:04.0786699Z await self.app(scope, receive, _send)
992025-10-24T16:44:04.0786732Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/cors.py", line 85, in _call_
1002025-10-24T16:44:04.0786748Z await self.app(scope, receive, send)
1012025-10-24T16:44:04.0786765Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 63, in _call_
1022025-10-24T16:44:04.0786781Z await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
1032025-10-24T16:44:04.0786799Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
1042025-10-24T16:44:04.0786812Z raise exc
1052025-10-24T16:44:04.0786829Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
1062025-10-24T16:44:04.0786844Z await app(scope, receive, sender)
1072025-10-24T16:44:04.0786862Z File "/app/.venv/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in _call_
1082025-10-24T16:44:04.0786876Z await self.app(scope, receive, send)
1092025-10-24T16:44:04.0786908Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 716, in _call_
1102025-10-24T16:44:04.0786925Z await self.middleware_stack(scope, receive, send)
1112025-10-24T16:44:04.0786941Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 736, in app
1122025-10-24T16:44:04.0786956Z await route.handle(scope, receive, send)
1132025-10-24T16:44:04.0786973Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 290, in handle
1142025-10-24T16:44:04.0786988Z await self.app(scope, receive, send)
1152025-10-24T16:44:04.0787005Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 123, in app
1162025-10-24T16:44:04.0787021Z await wrap_app_handling_exceptions(app, request)(scope, receive, send)
1172025-10-24T16:44:04.0787038Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
1182025-10-24T16:44:04.0787052Z raise exc
1192025-10-24T16:44:04.0787085Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
1202025-10-24T16:44:04.07871Z await app(scope, receive, sender)
1212025-10-24T16:44:04.0787116Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 109, in app
1222025-10-24T16:44:04.0787132Z response = await f(request)
1232025-10-24T16:44:04.0787146Z ^^^^^^^^^^^^^^^^
1242025-10-24T16:44:04.0787163Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 389, in app
1252025-10-24T16:44:04.0787178Z raw_response = await run_endpoint_function(
1262025-10-24T16:44:04.0787193Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1272025-10-24T16:44:04.078721Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 288, in run_endpoint_function
1282025-10-24T16:44:04.0787225Z return await dependant.call(**values)
1292025-10-24T16:44:04.078724Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1302025-10-24T16:44:04.0787278Z File "/app/app/main.py", line 146, in get_report_status
1312025-10-24T16:44:04.0787294Z counts = await repo.status_counts_total(job_id) or {}
1322025-10-24T16:44:04.0787309Z ^^^^^^^^^^^^^^^^^^^^^^^^
1332025-10-24T16:44:04.0787326Z AttributeError: 'OperatorRatingRepo' object has no attribute 'status_counts_total'
1342025-10-24T16:44:24.9697954Z 2025-10-24 16:44:24 INFO agent: api.status.request {'job_id': 4}
1352025-10-24T16:44:24.9717825Z 2025-10-24 16:44:24 INFO agent: api.status.not_found {'job_id': 4}
1362025-10-24T16:44:24.9786771Z INFO 169.254.131.1:15511 - "GET /create-report/4 HTTP/1.1" 404
1372025-10-24T16:44:30.9239053Z 2025-10-24 16:44:30 INFO agent: api.status.request {'job_id': 2}
1382025-10-24T16:44:30.9259653Z 2025-10-24 16:44:30 INFO agent: api.status.not_found {'job_id': 2}
1392025-10-24T16:44:30.9321034Z INFO 169.254.131.1:15517 - "GET /create-report/2 HTTP/1.1" 404
1402025-10-24T16:44:35.6482407Z 2025-10-24 16:44:35 INFO agent: api.status.request {'job_id': 3}
1412025-10-24T16:44:35.6510929Z 2025-10-24 16:44:35 INFO agent: api.status.not_found {'job_id': 3}
1422025-10-24T16:44:35.6538799Z INFO 169.254.131.1:15517 - "GET /create-report/3 HTTP/1.1" 404
1432025-10-24T16:44:40.4156522Z 2025-10-24 16:44:40 INFO agent: api.status.request {'job_id': 4}
1442025-10-24T16:44:40.4174454Z 2025-10-24 16:44:40 INFO agent: api.status.not_found {'job_id': 4}
1452025-10-24T16:44:40.4184414Z INFO 169.254.131.1:15517 - "GET /create-report/4 HTTP/1.1" 404
1462025-10-24T16:44:46.6802314Z 2025-10-24 16:44:46 INFO agent: api.status.request {'job_id': 2}
1472025-10-24T16:44:46.6820453Z 2025-10-24 16:44:46 INFO agent: api.status.not_found {'job_id': 2}
1482025-10-24T16:44:46.6868519Z INFO 169.254.131.1:63671 - "GET /create-report/2 HTTP/1.1" 404
1492025-10-24T16:44:52.3511774Z 2025-10-24 16:44:52 INFO agent: api.status.request {'job_id': 1}
1502025-10-24T16:44:52.3657772Z INFO 169.254.131.1:45531 - "GET /create-report/1 HTTP/1.1" 500
1512025-10-24T16:44:52.3685597Z ERROR Exception in ASGI application
1522025-10-24T16:44:52.3686045Z Traceback (most recent call last):
1532025-10-24T16:44:52.3686075Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
1542025-10-24T16:44:52.3686093Z result = await app( # type: ignore[func-returns-value]
1552025-10-24T16:44:52.3686111Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1562025-10-24T16:44:52.3686132Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in _call_
1572025-10-24T16:44:52.3686148Z return await self.app(scope, receive, send)
1582025-10-24T16:44:52.3686163Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1592025-10-24T16:44:52.368618Z File "/app/.venv/lib/python3.12/site-packages/fastapi/applications.py", line 1133, in _call_
1602025-10-24T16:44:52.3686248Z await super()._call_(scope, receive, send)
1612025-10-24T16:44:52.3686267Z File "/app/.venv/lib/python3.12/site-packages/starlette/applications.py", line 113, in _call_
1622025-10-24T16:44:52.3686283Z await self.middleware_stack(scope, receive, send)
1632025-10-24T16:44:52.3686302Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in _call_
1642025-10-24T16:44:52.3686316Z raise exc
1652025-10-24T16:44:52.3686334Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in _call_
1662025-10-24T16:44:52.368635Z await self.app(scope, receive, _send)
1672025-10-24T16:44:52.3686368Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/cors.py", line 85, in _call_
1682025-10-24T16:44:52.3686383Z await self.app(scope, receive, send)
1692025-10-24T16:44:52.3686401Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 63, in _call_
1702025-10-24T16:44:52.3686419Z await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
1712025-10-24T16:44:52.3686457Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
1722025-10-24T16:44:52.3686489Z raise exc
1732025-10-24T16:44:52.3686508Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
1742025-10-24T16:44:52.3686524Z await app(scope, receive, sender)
1752025-10-24T16:44:52.3686542Z File "/app/.venv/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in _call_
1762025-10-24T16:44:52.3686557Z await self.app(scope, receive, send)
1772025-10-24T16:44:52.3686575Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 716, in _call_
1782025-10-24T16:44:52.3686592Z await self.middleware_stack(scope, receive, send)
1792025-10-24T16:44:52.368661Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 736, in app
1802025-10-24T16:44:52.3686625Z await route.handle(scope, receive, send)
1812025-10-24T16:44:52.3753078Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 290, in handle
1822025-10-24T16:44:52.3755157Z await self.app(scope, receive, send)
1832025-10-24T16:44:52.3755192Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 123, in app
1842025-10-24T16:44:52.3755212Z await wrap_app_handling_exceptions(app, request)(scope, receive, send)
1852025-10-24T16:44:52.3755233Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
1862025-10-24T16:44:52.375526Z raise exc
1872025-10-24T16:44:52.3755283Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
1882025-10-24T16:44:52.37553Z await app(scope, receive, sender)
1892025-10-24T16:44:52.3755321Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 109, in app
1902025-10-24T16:44:52.3755337Z response = await f(request)
1912025-10-24T16:44:52.3755354Z ^^^^^^^^^^^^^^^^
1922025-10-24T16:44:52.3755404Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 389, in app
1932025-10-24T16:44:52.3755423Z raw_response = await run_endpoint_function(
1942025-10-24T16:44:52.3755442Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1952025-10-24T16:44:52.3755462Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 288, in run_endpoint_function
1962025-10-24T16:44:52.375548Z return await dependant.call(**values)
1972025-10-24T16:44:52.3755497Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1982025-10-24T16:44:52.3755516Z File "/app/app/main.py", line 146, in get_report_status
1992025-10-24T16:44:52.3755534Z counts = await repo.status_counts_total(job_id) or {}
2002025-10-24T16:44:52.3755552Z ^^^^^^^^^^^^^^^^^^^^^^^^
2012025-10-24T16:44:52.3755571Z AttributeError: 'OperatorRatingRepo' object has no attribute 'status_counts_total'
2022025-10-24T16:44:52.3756334Z 2025-10-24 16:44:52,358 ERROR uvicorn.error: Exception in ASGI application
2032025-10-24T16:44:52.3757086Z Traceback (most recent call last):
2042025-10-24T16:44:52.375711Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
2052025-10-24T16:44:52.375713Z result = await app( # type: ignore[func-returns-value]
2062025-10-24T16:44:52.3757148Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2072025-10-24T16:44:52.3757169Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in _call_
2082025-10-24T16:44:52.3757186Z return await self.app(scope, receive, send)
2092025-10-24T16:44:52.3757204Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2102025-10-24T16:44:52.3757224Z File "/app/.venv/lib/python3.12/site-packages/fastapi/applications.py", line 1133, in _call_
2112025-10-24T16:44:52.3757242Z await super()._call_(scope, receive, send)
2122025-10-24T16:44:52.3757286Z File "/app/.venv/lib/python3.12/site-packages/starlette/applications.py", line 113, in _call_
2132025-10-24T16:44:52.3757307Z await self.middleware_stack(scope, receive, send)
2142025-10-24T16:44:52.3757327Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in _call_
2152025-10-24T16:44:52.3757343Z raise exc
2162025-10-24T16:44:52.3757363Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in _call_
2172025-10-24T16:44:52.375738Z await self.app(scope, receive, _send)
2182025-10-24T16:44:52.3757401Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/cors.py", line 85, in _call_
2192025-10-24T16:44:52.3757419Z await self.app(scope, receive, send)
2202025-10-24T16:44:52.3757439Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 63, in _call_
2212025-10-24T16:44:52.375746Z await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2222025-10-24T16:44:52.375748Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2232025-10-24T16:44:52.3757512Z raise exc
2242025-10-24T16:44:52.3757533Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2252025-10-24T16:44:52.375755Z await app(scope, receive, sender)
2262025-10-24T16:44:52.3757572Z File "/app/.venv/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in _call_
2272025-10-24T16:44:52.3757589Z await self.app(scope, receive, send)
2282025-10-24T16:44:52.3757609Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 716, in _call_
2292025-10-24T16:44:52.3757628Z await self.middleware_stack(scope, receive, send)
2302025-10-24T16:44:52.3757648Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 736, in app
2312025-10-24T16:44:52.3757665Z await route.handle(scope, receive, send)
2322025-10-24T16:44:52.3757685Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 290, in handle
2332025-10-24T16:44:52.375772Z await self.app(scope, receive, send)
2342025-10-24T16:44:52.375774Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 123, in app
2352025-10-24T16:44:52.3757759Z await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2362025-10-24T16:44:52.3757779Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2372025-10-24T16:44:52.3757795Z raise exc
2382025-10-24T16:44:52.3757815Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
2392025-10-24T16:44:52.3757831Z await app(scope, receive, sender)
2402025-10-24T16:44:52.3757851Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 109, in app
2412025-10-24T16:44:52.3757867Z response = await f(request)
2422025-10-24T16:44:52.3757884Z ^^^^^^^^^^^^^^^^
2432025-10-24T16:44:52.3757903Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 389, in app
2442025-10-24T16:44:52.3757938Z raw_response = await run_endpoint_function(
2452025-10-24T16:44:52.3757957Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2462025-10-24T16:44:52.3757977Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 288, in run_endpoint_function
2472025-10-24T16:44:52.3757995Z return await dependant.call(**values)
2482025-10-24T16:44:52.3758012Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2492025-10-24T16:44:52.375803Z File "/app/app/main.py", line 146, in get_report_status
2502025-10-24T16:44:52.3758048Z counts = await repo.status_counts_total(job_id) or {}
2512025-10-24T16:44:52.3758066Z ^^^^^^^^^^^^^^^^^^^^^^^^
2522025-10-24T16:44:52.3758085Z AttributeError: 'OperatorRatingRepo' object has no attribute 'status_counts_total'