Errors after updating from 0.6.7 to 7.1.8

Plugin to show the SECONDS SINCE last change (in contrast to DATE OF last change) of a selected device/state in (almost) real time in a variable to enable triggers.
User avatar
McJohn
Posts: 680
Joined: Tue Dec 18, 2012 5:58 am
Location: The Netherlands
Contact:

Errors after updating from 0.6.7 to 7.1.8

Post by McJohn »

Karl, version 0.6.7. of SecondsSinceLastChange was working perfectly.
We did an update to version 7.1.8 but then the errors are flying around and it won't work anymore.
what have we done wrong?


secondsSinceLastChange Error Error in plugin execution startup:

Traceback (most recent call last):
File "plugin.py", line 85, in startup
KeyError: key id 784322109 not found in database

secondsSinceLastChange Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 516, in runConcurrentThread
AttributeError: 'Plugin' object has no attribute 'ML'

secondsSinceLastChange Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
secondsSinceLastChange Error Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
File "plugin.py", line 231, in deviceUpdated
AttributeError: 'Plugin' object has no attribute 'ML'


und so weiter ...
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Errors after updating from 0.6.7 to 7.1.8

Post by kw123 »

looks like you deleted a "secs since last change device" - source while the plugin was inactive.

I need to be home to fix that condition


Karl
User avatar
McJohn
Posts: 680
Joined: Tue Dec 18, 2012 5:58 am
Location: The Netherlands
Contact:

Re: Errors after updating from 0.6.7 to 7.1.8

Post by McJohn »

Thanks for the feedback.
Strange, I didn't delete any device.
I only double clicked the latest downloaded version of SecondsSinceLastChange and after the install that errors appeared.

After the downgrade to 0.6.7 everything is working normal again. So don't hurry, it's working at the moment.
Post Reply

Return to “SecondsSinceLastChange Plugin”