Excluding ph and ec in Export Measurement Data as CSV, the measurement records are internal server errors. Only ph and ec measurement records are saved as csv files
Are there any relevant messages logged in the Web Log?
21:36:45 pi python[1536]: [2025-07-10 21:36:45 +0900] [1536] [ERROR] Error handling request /export_data/2e9cc85e-92a4-4731-9c69-fa90dbe04ccf/51411632-353c-440c-882e-ba36a7f672cb/1752129360/1752150960
Jul 10 21:36:45 pi python[1536]: Traceback (most recent call last):
Jul 10 21:36:45 pi python[1536]: File “/opt/Mycodo/env/lib/python3.9/site-packages/gunicorn/workers/gthread.py”, line 282, in handle
Jul 10 21:36:45 pi python[1536]: keepalive = self.handle_request(req, conn)
Jul 10 21:36:45 pi python[1536]: File “/opt/Mycodo/env/lib/python3.9/site-packages/gunicorn/workers/gthread.py”, line 340, in handle_request
Jul 10 21:36:45 pi python[1536]: resp.write(item)
Jul 10 21:36:45 pi python[1536]: File “/opt/Mycodo/env/lib/python3.9/site-packages/gunicorn/http/wsgi.py”, line 326, in write
Jul 10 21:36:45 pi python[1536]: self.send_headers()
Jul 10 21:36:45 pi python[1536]: File “/opt/Mycodo/env/lib/python3.9/site-packages/gunicorn/http/wsgi.py”, line 322, in send_headers
Jul 10 21:36:45 pi python[1536]: util.write(self.sock, util.to_bytestring(header_str, “latin-1”))
Jul 10 21:36:45 pi python[1536]: File “/opt/Mycodo/env/lib/python3.9/site-packages/gunicorn/util.py”, line 580, in to_bytestring
Jul 10 21:36:45 pi python[1536]: return value.encode(encoding)
Jul 10 21:36:45 pi python[1536]: UnicodeEncodeError: ‘latin-1’ codec can’t encode characters in position 210-212: ordinal not in range(256)
Are you using any characters other than the Latin character set to name your input or measurements that you’re attempting to export?

