Page 1 of 1

How to troubleshoot?

PostPosted: Sat Oct 21, 2017 4:19 pm
by Different Computers
Virtual Devices Error Variable 165174490 not found in database.

Re: How to troubleshoot?

PostPosted: Sat Oct 21, 2017 4:31 pm
by Different Computers
OK, it gets weirder.

This is in some way related to something that triggers when a track changes in iTunes.

And when it does... my Indigo MBP goes to sleep! I have triple checked the Energy Saver settings.
Code: Select all
 Virtual Devices Error           Variable 165174490 not found in database.
   EPS - Homebridge Buddy Error    Exception in cache.addWatchedAttribute line 188: 'key id 503342941 not found in database'
                      CODE: self.subscribeToChanges(indigo.devices[devId])

   Connected to PowerLinc 2413U interface on port usbserial-A704EPZ5
   PowerLinc address 3C.4C.95, firmware version 9.14

Oct 21, 2017 at 6:27:04 PM
   Received sleep notification from system
   Closed connection to PowerLinc 2413U
   Trigger                         iTunes status changed
   Trigger                         House Audio stopped so I set the display page on DomoPad.
   Trigger                         iTunes status changed
   Trigger                         House Audio stopped so I set the display page on DomoPad.
   Trigger                         Switch Effect away from Rythm
   Received awake notification from system
   Nanoleaf                        Stopping 'Indicator'
   Domotics Pad Mobile Client ErrorError in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 257, in processControlPageDisplayNotification
KeyError: (1875762236,)

   Domotics Pad Mobile Client ErrorError in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 257, in processControlPageDisplayNotification
KeyError: (1875762236,)

   Nanoleaf                        Stopping 'Wall Art'
   Nanoleaf Error                  Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 912, in processSetEffect
NameError: global name 'action' is not defined

   Nanoleaf Error                  Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 912, in processSetEffect
NameError: global name 'action' is not defined

   Nanoleaf Error                  Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 912, in processSetEffect
NameError: global name 'action' is not defined

(I realize there's a LOT going on in that log, but I didn't want to leave anything out.)

Weirder still: This NEVER happened before I shut it down for a few hours this afternoon while doing some electrical work.

Here it just happened again, and this seems to be the critical portion:
Code: Select all
 Virtual Devices Error           Variable 165174490 not found in database.
   EPS - Homebridge Buddy Error    Exception in cache.addWatchedAttribute line 188: 'key id 503342941 not found in database'
                      CODE: self.subscribeToChanges(indigo.devices[devId])

   Connected to PowerLinc 2413U interface on port usbserial-A704EPZ5
   PowerLinc address 3C.4C.95, firmware version 9.14


It's as if the system goes to sleep just long enough to disable USB comms, stops iTunes, then picks back up where it left off.

Re: How to troubleshoot?

PostPosted: Sat Oct 21, 2017 5:23 pm
by Different Computers
Hmmm. Restarted everything, and even the virtual devices error has disappeared.

Re: How to troubleshoot?

PostPosted: Sun Oct 22, 2017 3:10 pm
by matt (support)
I believe Indigo Server can get into a funky state if it receives a sleep notification but then the macOS never actually puts the Mac to sleep. I'm not sure what is causing the macOS to sleep, but I think preventing that will prevent the problems you saw in Indigo.

Re: How to troubleshoot?

PostPosted: Sun Oct 22, 2017 3:27 pm
by Different Computers
Best I can guess is it was a bad idea of mine to experiment with adding the Indigo MBP to bluetooth links for my home phone system. IN any case, the reboot fixed it.

Re: How to troubleshoot?

PostPosted: Wed Dec 06, 2017 2:37 pm
by WouterK
Hi,

having the same error :

Virtual Devices Error Variable 794878929 not found in database.

Cannot figure out which device it is. Does not seem to have any effect. What can I do to clear / correct the error.

Thanks,

Wouter

Re: How to troubleshoot?

PostPosted: Wed Dec 06, 2017 4:08 pm
by jay (support)
Just edit each Virtual On/Off device you have defined - one of them is configured to use a variable that no longer exists. You should be able to get a clue looking at the log lines around the error line which should give you some context as to what's going on when the error occurs. That in turn should help you determine which Virtual On/Off device it is.

Re: How to troubleshoot?

PostPosted: Fri Dec 08, 2017 1:20 am
by WouterK
hi,

Thanks Jay, thats what I missed. Found the virtual device. Support status was selected but no variable defined. Solved.

Regards.

Wouter