Ostatnio aktywny 1 month ago

Aunali zrewidował ten Gist 1 month ago. Przejdź do rewizji

1 file changed, 252 insertions

logs.txt(stworzono plik)

@@ -0,0 +1,252 @@
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}
2 + 2025-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)')"}
3 + 2025-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}
4 + 2025-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}
5 + 2025-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}
6 + 2025-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}
7 + 2025-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}
8 + 2025-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)')"}
9 + 2025-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}
10 + 2025-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}
11 + 2025-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}
12 + 2025-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}
13 + 2025-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}
14 + 2025-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)')"}
15 + 2025-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}
16 + 2025-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}
17 + 2025-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}
18 + 2025-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}
19 + 2025-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}
20 + 2025-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)')"}
21 + 2025-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)')"}
22 + 2025-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)')"}
23 + 2025-10-24T16:42:30.0454242Z 2025-10-24 16:42:30 INFO agent: repo.job.mark_failed {'job_id': 1, 'reason': 'ensure_folder'}
24 + 2025-10-24T16:42:30.0475282Z 2025-10-24 16:42:30 INFO agent: notify.enter {'job_id': 1}
25 + 2025-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"
26 + 2025-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"}'}
27 + 2025-10-24T16:42:30.7838113Z 2025-10-24 16:42:30 INFO agent: notify.sent {'job_id': 1, 'status': 'done'}
28 + 2025-10-24T16:42:30.7840085Z 2025-10-24 16:42:30 INFO agent: pipeline.complete {'job_id': 1}
29 + 2025-10-24T16:43:53.700Z No new trace in the past 1 min(s).
30 + 2025-10-24T16:44:04.0558599Z 2025-10-24 16:44:04 INFO agent: api.status.request {'job_id': 1}
31 + 2025-10-24T16:44:04.0639365Z INFO 169.254.131.1:37435 - "GET /create-report/1 HTTP/1.1" 500
32 + 2025-10-24T16:44:04.0784602Z ERROR Exception in ASGI application
33 + 2025-10-24T16:44:04.0785101Z Traceback (most recent call last):
34 + 2025-10-24T16:44:04.0785128Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
35 + 2025-10-24T16:44:04.078515Z result = await app( # type: ignore[func-returns-value]
36 + 2025-10-24T16:44:04.0785167Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
37 + 2025-10-24T16:44:04.0785184Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in _call_
38 + 2025-10-24T16:44:04.07852Z return await self.app(scope, receive, send)
39 + 2025-10-24T16:44:04.0785215Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
40 + 2025-10-24T16:44:04.0785235Z File "/app/.venv/lib/python3.12/site-packages/fastapi/applications.py", line 1133, in _call_
41 + 2025-10-24T16:44:04.0785369Z await super()._call_(scope, receive, send)
42 + 2025-10-24T16:44:04.078539Z File "/app/.venv/lib/python3.12/site-packages/starlette/applications.py", line 113, in _call_
43 + 2025-10-24T16:44:04.0785408Z await self.middleware_stack(scope, receive, send)
44 + 2025-10-24T16:44:04.0785426Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in _call_
45 + 2025-10-24T16:44:04.0785441Z raise exc
46 + 2025-10-24T16:44:04.0785459Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in _call_
47 + 2025-10-24T16:44:04.0785474Z await self.app(scope, receive, _send)
48 + 2025-10-24T16:44:04.0785493Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/cors.py", line 85, in _call_
49 + 2025-10-24T16:44:04.0785514Z await self.app(scope, receive, send)
50 + 2025-10-24T16:44:04.0785533Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 63, in _call_
51 + 2025-10-24T16:44:04.0785573Z await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
52 + 2025-10-24T16:44:04.0785592Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
53 + 2025-10-24T16:44:04.0785606Z raise exc
54 + 2025-10-24T16:44:04.0785623Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
55 + 2025-10-24T16:44:04.0785639Z await app(scope, receive, sender)
56 + 2025-10-24T16:44:04.0785657Z File "/app/.venv/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in _call_
57 + 2025-10-24T16:44:04.0785673Z await self.app(scope, receive, send)
58 + 2025-10-24T16:44:04.078569Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 716, in _call_
59 + 2025-10-24T16:44:04.0785707Z await self.middleware_stack(scope, receive, send)
60 + 2025-10-24T16:44:04.0785725Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 736, in app
61 + 2025-10-24T16:44:04.0785755Z await route.handle(scope, receive, send)
62 + 2025-10-24T16:44:04.0785774Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 290, in handle
63 + 2025-10-24T16:44:04.0785789Z await self.app(scope, receive, send)
64 + 2025-10-24T16:44:04.0785807Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 123, in app
65 + 2025-10-24T16:44:04.0785826Z await wrap_app_handling_exceptions(app, request)(scope, receive, send)
66 + 2025-10-24T16:44:04.0785844Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
67 + 2025-10-24T16:44:04.0785859Z raise exc
68 + 2025-10-24T16:44:04.0785876Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
69 + 2025-10-24T16:44:04.0785891Z await app(scope, receive, sender)
70 + 2025-10-24T16:44:04.0785924Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 109, in app
71 + 2025-10-24T16:44:04.078594Z response = await f(request)
72 + 2025-10-24T16:44:04.0785955Z ^^^^^^^^^^^^^^^^
73 + 2025-10-24T16:44:04.0785972Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 389, in app
74 + 2025-10-24T16:44:04.0785988Z raw_response = await run_endpoint_function(
75 + 2025-10-24T16:44:04.0786004Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
76 + 2025-10-24T16:44:04.0786023Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 288, in run_endpoint_function
77 + 2025-10-24T16:44:04.0786038Z return await dependant.call(**values)
78 + 2025-10-24T16:44:04.0786053Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
79 + 2025-10-24T16:44:04.078607Z File "/app/app/main.py", line 146, in get_report_status
80 + 2025-10-24T16:44:04.0786086Z counts = await repo.status_counts_total(job_id) or {}
81 + 2025-10-24T16:44:04.0786123Z ^^^^^^^^^^^^^^^^^^^^^^^^
82 + 2025-10-24T16:44:04.078614Z AttributeError: 'OperatorRatingRepo' object has no attribute 'status_counts_total'
83 + 2025-10-24T16:44:04.0786158Z 2025-10-24 16:44:04,064 ERROR uvicorn.error: Exception in ASGI application
84 + 2025-10-24T16:44:04.0786173Z Traceback (most recent call last):
85 + 2025-10-24T16:44:04.0786192Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
86 + 2025-10-24T16:44:04.0786208Z result = await app( # type: ignore[func-returns-value]
87 + 2025-10-24T16:44:04.0786224Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
88 + 2025-10-24T16:44:04.0786242Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in _call_
89 + 2025-10-24T16:44:04.0786258Z return await self.app(scope, receive, send)
90 + 2025-10-24T16:44:04.0786273Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
91 + 2025-10-24T16:44:04.0786308Z File "/app/.venv/lib/python3.12/site-packages/fastapi/applications.py", line 1133, in _call_
92 + 2025-10-24T16:44:04.0786595Z await super()._call_(scope, receive, send)
93 + 2025-10-24T16:44:04.0786616Z File "/app/.venv/lib/python3.12/site-packages/starlette/applications.py", line 113, in _call_
94 + 2025-10-24T16:44:04.0786632Z await self.middleware_stack(scope, receive, send)
95 + 2025-10-24T16:44:04.078665Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in _call_
96 + 2025-10-24T16:44:04.0786664Z raise exc
97 + 2025-10-24T16:44:04.0786684Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in _call_
98 + 2025-10-24T16:44:04.0786699Z await self.app(scope, receive, _send)
99 + 2025-10-24T16:44:04.0786732Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/cors.py", line 85, in _call_
100 + 2025-10-24T16:44:04.0786748Z await self.app(scope, receive, send)
101 + 2025-10-24T16:44:04.0786765Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 63, in _call_
102 + 2025-10-24T16:44:04.0786781Z await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
103 + 2025-10-24T16:44:04.0786799Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
104 + 2025-10-24T16:44:04.0786812Z raise exc
105 + 2025-10-24T16:44:04.0786829Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
106 + 2025-10-24T16:44:04.0786844Z await app(scope, receive, sender)
107 + 2025-10-24T16:44:04.0786862Z File "/app/.venv/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in _call_
108 + 2025-10-24T16:44:04.0786876Z await self.app(scope, receive, send)
109 + 2025-10-24T16:44:04.0786908Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 716, in _call_
110 + 2025-10-24T16:44:04.0786925Z await self.middleware_stack(scope, receive, send)
111 + 2025-10-24T16:44:04.0786941Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 736, in app
112 + 2025-10-24T16:44:04.0786956Z await route.handle(scope, receive, send)
113 + 2025-10-24T16:44:04.0786973Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 290, in handle
114 + 2025-10-24T16:44:04.0786988Z await self.app(scope, receive, send)
115 + 2025-10-24T16:44:04.0787005Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 123, in app
116 + 2025-10-24T16:44:04.0787021Z await wrap_app_handling_exceptions(app, request)(scope, receive, send)
117 + 2025-10-24T16:44:04.0787038Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
118 + 2025-10-24T16:44:04.0787052Z raise exc
119 + 2025-10-24T16:44:04.0787085Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
120 + 2025-10-24T16:44:04.07871Z await app(scope, receive, sender)
121 + 2025-10-24T16:44:04.0787116Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 109, in app
122 + 2025-10-24T16:44:04.0787132Z response = await f(request)
123 + 2025-10-24T16:44:04.0787146Z ^^^^^^^^^^^^^^^^
124 + 2025-10-24T16:44:04.0787163Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 389, in app
125 + 2025-10-24T16:44:04.0787178Z raw_response = await run_endpoint_function(
126 + 2025-10-24T16:44:04.0787193Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127 + 2025-10-24T16:44:04.078721Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 288, in run_endpoint_function
128 + 2025-10-24T16:44:04.0787225Z return await dependant.call(**values)
129 + 2025-10-24T16:44:04.078724Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
130 + 2025-10-24T16:44:04.0787278Z File "/app/app/main.py", line 146, in get_report_status
131 + 2025-10-24T16:44:04.0787294Z counts = await repo.status_counts_total(job_id) or {}
132 + 2025-10-24T16:44:04.0787309Z ^^^^^^^^^^^^^^^^^^^^^^^^
133 + 2025-10-24T16:44:04.0787326Z AttributeError: 'OperatorRatingRepo' object has no attribute 'status_counts_total'
134 + 2025-10-24T16:44:24.9697954Z 2025-10-24 16:44:24 INFO agent: api.status.request {'job_id': 4}
135 + 2025-10-24T16:44:24.9717825Z 2025-10-24 16:44:24 INFO agent: api.status.not_found {'job_id': 4}
136 + 2025-10-24T16:44:24.9786771Z INFO 169.254.131.1:15511 - "GET /create-report/4 HTTP/1.1" 404
137 + 2025-10-24T16:44:30.9239053Z 2025-10-24 16:44:30 INFO agent: api.status.request {'job_id': 2}
138 + 2025-10-24T16:44:30.9259653Z 2025-10-24 16:44:30 INFO agent: api.status.not_found {'job_id': 2}
139 + 2025-10-24T16:44:30.9321034Z INFO 169.254.131.1:15517 - "GET /create-report/2 HTTP/1.1" 404
140 + 2025-10-24T16:44:35.6482407Z 2025-10-24 16:44:35 INFO agent: api.status.request {'job_id': 3}
141 + 2025-10-24T16:44:35.6510929Z 2025-10-24 16:44:35 INFO agent: api.status.not_found {'job_id': 3}
142 + 2025-10-24T16:44:35.6538799Z INFO 169.254.131.1:15517 - "GET /create-report/3 HTTP/1.1" 404
143 + 2025-10-24T16:44:40.4156522Z 2025-10-24 16:44:40 INFO agent: api.status.request {'job_id': 4}
144 + 2025-10-24T16:44:40.4174454Z 2025-10-24 16:44:40 INFO agent: api.status.not_found {'job_id': 4}
145 + 2025-10-24T16:44:40.4184414Z INFO 169.254.131.1:15517 - "GET /create-report/4 HTTP/1.1" 404
146 + 2025-10-24T16:44:46.6802314Z 2025-10-24 16:44:46 INFO agent: api.status.request {'job_id': 2}
147 + 2025-10-24T16:44:46.6820453Z 2025-10-24 16:44:46 INFO agent: api.status.not_found {'job_id': 2}
148 + 2025-10-24T16:44:46.6868519Z INFO 169.254.131.1:63671 - "GET /create-report/2 HTTP/1.1" 404
149 + 2025-10-24T16:44:52.3511774Z 2025-10-24 16:44:52 INFO agent: api.status.request {'job_id': 1}
150 + 2025-10-24T16:44:52.3657772Z INFO 169.254.131.1:45531 - "GET /create-report/1 HTTP/1.1" 500
151 + 2025-10-24T16:44:52.3685597Z ERROR Exception in ASGI application
152 + 2025-10-24T16:44:52.3686045Z Traceback (most recent call last):
153 + 2025-10-24T16:44:52.3686075Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
154 + 2025-10-24T16:44:52.3686093Z result = await app( # type: ignore[func-returns-value]
155 + 2025-10-24T16:44:52.3686111Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
156 + 2025-10-24T16:44:52.3686132Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in _call_
157 + 2025-10-24T16:44:52.3686148Z return await self.app(scope, receive, send)
158 + 2025-10-24T16:44:52.3686163Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
159 + 2025-10-24T16:44:52.368618Z File "/app/.venv/lib/python3.12/site-packages/fastapi/applications.py", line 1133, in _call_
160 + 2025-10-24T16:44:52.3686248Z await super()._call_(scope, receive, send)
161 + 2025-10-24T16:44:52.3686267Z File "/app/.venv/lib/python3.12/site-packages/starlette/applications.py", line 113, in _call_
162 + 2025-10-24T16:44:52.3686283Z await self.middleware_stack(scope, receive, send)
163 + 2025-10-24T16:44:52.3686302Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in _call_
164 + 2025-10-24T16:44:52.3686316Z raise exc
165 + 2025-10-24T16:44:52.3686334Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in _call_
166 + 2025-10-24T16:44:52.368635Z await self.app(scope, receive, _send)
167 + 2025-10-24T16:44:52.3686368Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/cors.py", line 85, in _call_
168 + 2025-10-24T16:44:52.3686383Z await self.app(scope, receive, send)
169 + 2025-10-24T16:44:52.3686401Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 63, in _call_
170 + 2025-10-24T16:44:52.3686419Z await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
171 + 2025-10-24T16:44:52.3686457Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
172 + 2025-10-24T16:44:52.3686489Z raise exc
173 + 2025-10-24T16:44:52.3686508Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
174 + 2025-10-24T16:44:52.3686524Z await app(scope, receive, sender)
175 + 2025-10-24T16:44:52.3686542Z File "/app/.venv/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in _call_
176 + 2025-10-24T16:44:52.3686557Z await self.app(scope, receive, send)
177 + 2025-10-24T16:44:52.3686575Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 716, in _call_
178 + 2025-10-24T16:44:52.3686592Z await self.middleware_stack(scope, receive, send)
179 + 2025-10-24T16:44:52.368661Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 736, in app
180 + 2025-10-24T16:44:52.3686625Z await route.handle(scope, receive, send)
181 + 2025-10-24T16:44:52.3753078Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 290, in handle
182 + 2025-10-24T16:44:52.3755157Z await self.app(scope, receive, send)
183 + 2025-10-24T16:44:52.3755192Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 123, in app
184 + 2025-10-24T16:44:52.3755212Z await wrap_app_handling_exceptions(app, request)(scope, receive, send)
185 + 2025-10-24T16:44:52.3755233Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
186 + 2025-10-24T16:44:52.375526Z raise exc
187 + 2025-10-24T16:44:52.3755283Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
188 + 2025-10-24T16:44:52.37553Z await app(scope, receive, sender)
189 + 2025-10-24T16:44:52.3755321Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 109, in app
190 + 2025-10-24T16:44:52.3755337Z response = await f(request)
191 + 2025-10-24T16:44:52.3755354Z ^^^^^^^^^^^^^^^^
192 + 2025-10-24T16:44:52.3755404Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 389, in app
193 + 2025-10-24T16:44:52.3755423Z raw_response = await run_endpoint_function(
194 + 2025-10-24T16:44:52.3755442Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
195 + 2025-10-24T16:44:52.3755462Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 288, in run_endpoint_function
196 + 2025-10-24T16:44:52.375548Z return await dependant.call(**values)
197 + 2025-10-24T16:44:52.3755497Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
198 + 2025-10-24T16:44:52.3755516Z File "/app/app/main.py", line 146, in get_report_status
199 + 2025-10-24T16:44:52.3755534Z counts = await repo.status_counts_total(job_id) or {}
200 + 2025-10-24T16:44:52.3755552Z ^^^^^^^^^^^^^^^^^^^^^^^^
201 + 2025-10-24T16:44:52.3755571Z AttributeError: 'OperatorRatingRepo' object has no attribute 'status_counts_total'
202 + 2025-10-24T16:44:52.3756334Z 2025-10-24 16:44:52,358 ERROR uvicorn.error: Exception in ASGI application
203 + 2025-10-24T16:44:52.3757086Z Traceback (most recent call last):
204 + 2025-10-24T16:44:52.375711Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
205 + 2025-10-24T16:44:52.375713Z result = await app( # type: ignore[func-returns-value]
206 + 2025-10-24T16:44:52.3757148Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
207 + 2025-10-24T16:44:52.3757169Z File "/app/.venv/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in _call_
208 + 2025-10-24T16:44:52.3757186Z return await self.app(scope, receive, send)
209 + 2025-10-24T16:44:52.3757204Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
210 + 2025-10-24T16:44:52.3757224Z File "/app/.venv/lib/python3.12/site-packages/fastapi/applications.py", line 1133, in _call_
211 + 2025-10-24T16:44:52.3757242Z await super()._call_(scope, receive, send)
212 + 2025-10-24T16:44:52.3757286Z File "/app/.venv/lib/python3.12/site-packages/starlette/applications.py", line 113, in _call_
213 + 2025-10-24T16:44:52.3757307Z await self.middleware_stack(scope, receive, send)
214 + 2025-10-24T16:44:52.3757327Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in _call_
215 + 2025-10-24T16:44:52.3757343Z raise exc
216 + 2025-10-24T16:44:52.3757363Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in _call_
217 + 2025-10-24T16:44:52.375738Z await self.app(scope, receive, _send)
218 + 2025-10-24T16:44:52.3757401Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/cors.py", line 85, in _call_
219 + 2025-10-24T16:44:52.3757419Z await self.app(scope, receive, send)
220 + 2025-10-24T16:44:52.3757439Z File "/app/.venv/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 63, in _call_
221 + 2025-10-24T16:44:52.375746Z await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
222 + 2025-10-24T16:44:52.375748Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
223 + 2025-10-24T16:44:52.3757512Z raise exc
224 + 2025-10-24T16:44:52.3757533Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
225 + 2025-10-24T16:44:52.375755Z await app(scope, receive, sender)
226 + 2025-10-24T16:44:52.3757572Z File "/app/.venv/lib/python3.12/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in _call_
227 + 2025-10-24T16:44:52.3757589Z await self.app(scope, receive, send)
228 + 2025-10-24T16:44:52.3757609Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 716, in _call_
229 + 2025-10-24T16:44:52.3757628Z await self.middleware_stack(scope, receive, send)
230 + 2025-10-24T16:44:52.3757648Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 736, in app
231 + 2025-10-24T16:44:52.3757665Z await route.handle(scope, receive, send)
232 + 2025-10-24T16:44:52.3757685Z File "/app/.venv/lib/python3.12/site-packages/starlette/routing.py", line 290, in handle
233 + 2025-10-24T16:44:52.375772Z await self.app(scope, receive, send)
234 + 2025-10-24T16:44:52.375774Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 123, in app
235 + 2025-10-24T16:44:52.3757759Z await wrap_app_handling_exceptions(app, request)(scope, receive, send)
236 + 2025-10-24T16:44:52.3757779Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
237 + 2025-10-24T16:44:52.3757795Z raise exc
238 + 2025-10-24T16:44:52.3757815Z File "/app/.venv/lib/python3.12/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
239 + 2025-10-24T16:44:52.3757831Z await app(scope, receive, sender)
240 + 2025-10-24T16:44:52.3757851Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 109, in app
241 + 2025-10-24T16:44:52.3757867Z response = await f(request)
242 + 2025-10-24T16:44:52.3757884Z ^^^^^^^^^^^^^^^^
243 + 2025-10-24T16:44:52.3757903Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 389, in app
244 + 2025-10-24T16:44:52.3757938Z raw_response = await run_endpoint_function(
245 + 2025-10-24T16:44:52.3757957Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
246 + 2025-10-24T16:44:52.3757977Z File "/app/.venv/lib/python3.12/site-packages/fastapi/routing.py", line 288, in run_endpoint_function
247 + 2025-10-24T16:44:52.3757995Z return await dependant.call(**values)
248 + 2025-10-24T16:44:52.3758012Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
249 + 2025-10-24T16:44:52.375803Z File "/app/app/main.py", line 146, in get_report_status
250 + 2025-10-24T16:44:52.3758048Z counts = await repo.status_counts_total(job_id) or {}
251 + 2025-10-24T16:44:52.3758066Z ^^^^^^^^^^^^^^^^^^^^^^^^
252 + 2025-10-24T16:44:52.3758085Z AttributeError: 'OperatorRatingRepo' object has no attribute 'status_counts_total'
Nowsze Starsze