staging.inyokaproject.org

Unbenannt

Autor:
tassilomoedl
Datum:
28. August 2022 14:14
Code:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
/usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.12) or chardet (3.0.4) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
  File "python-json-influx.py", line 8, in <module>
    client.write_points(extractedData)
  File "/usr/local/lib/python3.8/dist-packages/influxdb/client.py", line 603, in write_points
    return self._write_points(points=points,
  File "/usr/local/lib/python3.8/dist-packages/influxdb/client.py", line 681, in _write_points
    self.write(
  File "/usr/local/lib/python3.8/dist-packages/influxdb/client.py", line 407, in write
    data = make_lines(data, precision).encode('utf-8')
  File "/usr/local/lib/python3.8/dist-packages/influxdb/line_protocol.py", line 194, in make_lines
    for point in data['points']:
TypeError: 'int' object is not iterable