You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm running into an issue with Kobo when accessing the endpoint for the report. When I navigate to the KPI UI for "Reports" I see a request to the URL that times out with error 504
/reports/<Form ID>/?names=
I got into the docker container for KPI and I'm seeing the following logs:
ValueError: invalid literal for int() with base 10: 'None'
WARNING:root:invalid literal for int() with base 10: 'None'
Traceback (most recent call last):
File "/opt/venv/src/formpack/src/formpack/reporting/autoreport.py", line 76, in _calculate_stats
values = list(field.parse_values(raw_value))
File "/opt/venv/src/formpack/src/formpack/schema/fields.py", line 504, in parse_values
yield int(raw_values)
ValueError: invalid literal for int() with base 10: 'None'
WARNING:root:invalid literal for int() with base 10: 'None'
Traceback (most recent call last):
File "/opt/venv/src/formpack/src/formpack/reporting/autoreport.py", line 76, in _calculate_stats
values = list(field.parse_values(raw_value))
File "/opt/venv/src/formpack/src/formpack/schema/fields.py", line 504, in parse_values
yield int(raw_values)
ValueError: invalid literal for int() with base 10: 'None'
Let me know if I can provide more information to help troubleshoot this.
The text was updated successfully, but these errors were encountered:
Upon further investigation - it appears that this error is not actually causing a crash. But it does result in a 504 gateway timeout for some reason. While watching the logs I get that same error printed dozens of times. The request eventually fails, and eventually I see the logs output:
Turns out the issue does not crash the server - but the python server does eventually kill the thread due to the request timing out. The large number of errors being logged apparently slows down the request and makes the server kill the thread.
Hi, I'm running into an issue with Kobo when accessing the endpoint for the report. When I navigate to the KPI UI for "Reports" I see a request to the URL that times out with error 504
/reports/<Form ID>/?names=
I got into the docker container for KPI and I'm seeing the following logs:
Let me know if I can provide more information to help troubleshoot this.
The text was updated successfully, but these errors were encountered: