Page 1 of 1

StandardError detected in 'updateDeviceState'. Line '310

PostPosted: Wed Nov 15, 2017 5:34 pm
by Different Computers
Code: Select all
   Nanoleaf Error                  StandardError detected in 'updateDeviceState'. Line '310' has error=''ProtocolError' object has no attribute 'reason''
that's a one off error from the log that hasn't recurred & doesn't seem to have stopped anything from happening, but I thought you would want to see it.

Re: StandardError detected in 'updateDeviceState'. Line '310

PostPosted: Thu Nov 16, 2017 5:33 am
by autolog
Looks like it was a one-off error from the nanoleaf Aurora when requesting its status.

This error shouldn't occur where it did because at that point the Aurora has passed back a success code and therefore the error routines haven't been invoked. :?

If it happens again on a more regular basis, turn on full debugging and the debug logic will catch what is being returned and I can investigate further. :)

Re: StandardError detected in 'updateDeviceState'. Line '310

PostPosted: Sun Nov 19, 2017 7:17 am
by Different Computers
I am still seeing these about 2x an hour.
Code: Select all
   Nanoleaf Error                  StandardError detected in 'updateDeviceState'. Line '310' has error=''ProtocolError' object has no attribute 'reason''
Tricky to catch with full debugging because it happens at unpredictable times.

But maybe this helps?
Code: Select all
Nanoleaf                        sent "Wall Art" Set Effect to Classic Visualizer
   Nanoleaf Error                  StandardError detected communicating with NANOLEAF lamp:
   Nanoleaf Error                  Traceback (most recent call last):
   Nanoleaf Error                    File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/nanoleaf.indigoPlugin/Contents/Server Plugin/sendReceiveMessages.py", line 105, in run
   Nanoleaf Error                      success, statusMsg, self.globals['nl'][nanoleafDevId]["auroraInfo"] = self.globals['nl'][nanoleafDevId]["aurora"].info
   Nanoleaf Error                    File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/nanoleaf.indigoPlugin/Contents/Server Plugin/nanoleaf/aurora.py", line 84, in info
   Nanoleaf Error                      return self.__get()
   Nanoleaf Error                    File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/nanoleaf.indigoPlugin/Contents/Server Plugin/nanoleaf/aurora.py", line 37, in __get
   Nanoleaf Error                      errorMsg = e.args[0].reason.message.split('>: ')[1]
   Nanoleaf Error                  AttributeError: 'ProtocolError' object has no attribute 'reason'