Page 1 of 1

Watchdog used to work great, but having difficulties

PostPosted: Tue May 21, 2019 4:53 pm
by mundmc
I am sorry I am unsure which update caused problems for me. I disabled the reliance on Pushover (and no longer use prowl). When I enable it, my log fills with this repeatedly:

Watchdog Starting Watchdog monitoring thread

Watchdog Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 103, in runConcurrentThread
File "plugin.py", line 259, in checkDevices
KeyError: u'D1144855710'

Watchdog Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)



I deleted all the items it was watching. I re-installed. I disabled, deleted, and re-installed. Still the same. Thoughts?

Re: Watchdog used to work great, but having difficulties

PostPosted: Wed May 22, 2019 2:42 am
by racarter
It seems the plugin is trying to process device ID 1144855710. Is this a valid device ID? The plugin should cope with deleted devices, so I don't know what's happened here.

If all else fails, disable the plugin and then delete the preference file com.racarter.indigoplugin.watchdog.indiPref in the /Preferences/Plugins folder and re-enable the plugin.

Re: Watchdog used to work great, but having difficulties

PostPosted: Wed May 22, 2019 5:24 am
by mundmc
racarter wrote:
It seems the plugin is trying to process device ID 1144855710. Is this a valid device ID? The plugin should cope with deleted devices, so I don't know what's happened here.

If all else fails, disable the plugin and then delete the preference file com.racarter.indigoplugin.watchdog.indiPref in the /Preferences/Plugins folder and re-enable the plugin.


A-ha! The preference file- that’s what I kept missing in my re-install.


MunDMC

Re: Watchdog used to work great, but having difficulties

PostPosted: Wed May 29, 2019 6:16 am
by changeagent
I am having similar problems. Getting these errors:

Watchdog Starting Watchdog monitoring thread

Watchdog Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 103, in runConcurrentThread
File "plugin.py", line 259, in checkDevices
KeyError: u'D1587412639'

Watchdog Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Had to disable the plugin.

Re: Watchdog used to work great, but having difficulties

PostPosted: Wed May 29, 2019 6:32 am
by racarter
I suggest you follow the advice I gave in my previous post, which should resolve the issue.

I still can’t figure out how the situation arises; any clues you can provide would be useful.

Re: Watchdog used to work great, but having difficulties

PostPosted: Wed May 29, 2019 8:20 am
by racarter
This issue is caused by two dictionaries getting out of sync somehow. I've just released version 1.7.4 which should stop the error from occurring.