Closed the-louie closed 5 years ago
You're getting this error because you have no data, so self.data.before(datetime.max)
returns None
. In normal setting up pywws.logdata will have been run before attempting live logging, so this error doesn't usually happen.
The functionality of pywws.toservice has recently been replaced by the modules in pywws.service, so it's going to be dropped before long.
Ok, thanks!
I've reinstalled pywws on a new Raspberry pi and tried to configure livelog. When i started i got this:
I did some debug-printing of the content of row 284 and found the following: self.next_update = 2018-05-27 08:26:24.550716 datetime.max = 9999-12-31 23:59:59.999999 self.data.before = None
Created a quick workaround and got it running: