For a project i am trying to use the influxdb plugin. It worked one time and it now throws this error.
How can i fix this issue?
Traceback (most recent call last): File "BS440.py", line 323, in <module> plugin.execute(config, persondata, weightdatasorted, bodydatasorted) File "plugins/BS440influxdb.py", line 71, in execute last_time = self.timestamp_from_resultset(next(rs.get_points())) File "plugins/BS440influxdb.py", line 51, in timestamp_from_resultset d = d.replace(tzinfo=dt.timezone.utc) AttributeError: 'module' object has no attribute 'timezone'
Hello there,
For a project i am trying to use the influxdb plugin. It worked one time and it now throws this error.
How can i fix this issue?
Traceback (most recent call last): File "BS440.py", line 323, in <module> plugin.execute(config, persondata, weightdatasorted, bodydatasorted) File "plugins/BS440influxdb.py", line 71, in execute last_time = self.timestamp_from_resultset(next(rs.get_points())) File "plugins/BS440influxdb.py", line 51, in timestamp_from_resultset d = d.replace(tzinfo=dt.timezone.utc) AttributeError: 'module' object has no attribute 'timezone'