Traceback (most recent call last):
 
 "/home/$USER/anaconda3/envs/torch/lib/python3.6/logging/handlers.py", line 71, in emit

if self.shouldRollover(record):
 
 "/home/$USER/anaconda3/envs/torch/lib/python3.6/logging/handlers.py", line 187, in shouldRollover

msg = "%s\n" % self.format(record)
 
 "/home/$USER/anaconda3/envs/torch/lib/python3.6/logging/__init__.py", line 839, in format

return fmt.format(record)
 
 "/home/$USER/anaconda3/envs/torch/lib/python3.6/logging/__init__.py", line 576, in format

record.message = record.getMessage()
 
 "/home/$USER/anaconda3/envs/torch/lib/python3.6/logging/__init__.py", line 338, in getMessage

msg = msg % self.args
TypeError: not all arguments converted during string formatting

Traceback (most recent call last):


 "/app/backup/haupdater.py", line 40, in update

self._requests.updateSnapshotsSensor(self._state(), self._cache)


 "/app/backup/harequests.py", line 169, in updateSnapshotsSensor

last = max(snapshots, key=lambda s: s.date()).date().isoformat()
TypeError: can't compare offset-naive and offset-aware datetimes
