Error message upon installing 7.4.8

User avatar
mundmc
Posts: 1068
Joined: Fri Sep 14, 2012 4:34 pm

Error message upon installing 7.4.8

Post by mundmc »

Not sure if I should post this here or on github. Upon installing the latest update, I get this message every several seconds:

Code: Select all

Roku Network Remote Error Error executing effect for device id 1527675311 Traceback (most recent call last): File "/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/Roku Network Remote.indigoPlugin/Contents/Server Plugin/RPFramework/RPFrameworkDeviceResponse.py", line 179, in executeEffects eval(u'rpDevice.' + effect.updateParam + u'(responseObj, rpCommand)') File "<string>", line 1, in <module> File "/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/Roku Network Remote.indigoPlugin/Contents/Server Plugin/rokuNetworkRemoteDevice.py", line 264, in updateDeviceStatusInfo channelNumber = deviceInfoDoc.find("channel").find("number").text AttributeError: 'NoneType' object has no attribute 'text'
Very much appreciate your many Indigo contributions!
justlen
Posts: 58
Joined: Thu May 05, 2005 6:20 pm

Re: Error message upon installing 7.4.8

Post by justlen »

I too am getting the same error. The plugin does appear to be working, however.

Code: Select all

Roku Network Remote Error       Error executing effect for device id 812584718
Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/Roku Network Remote.indigoPlugin/Contents/Server Plugin/RPFramework/RPFrameworkDeviceResponse.py", line 179, in executeEffects
    eval(u'rpDevice.' + effect.updateParam + u'(responseObj, rpCommand)')
  File "<string>", line 1, in <module>
  File "/Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/Roku Network Remote.indigoPlugin/Contents/Server Plugin/rokuNetworkRemoteDevice.py", line 264, in updateDeviceStatusInfo
    channelNumber = deviceInfoDoc.find("channel").find("number").text
AttributeError: 'NoneType' object has no attribute 'text'
User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: Error message upon installing 7.4.8

Post by RogueProeliator »

Sorry guys, I should be able to fix that up tonight -- those are part of some new states that I added that are only used for Roku TV devices. I tested this on my non-Roku TV and two Roku TVs, but it appears you guys have devices where the return isn't including that info. I will code it up to ignore the state if it isn't present -- which I should have done anyway.

This is technically a trapped error, just seeing the output from me logging it (that's why control should still be working). Anyhow, I'll get you a new version up to suppress the errors.

Adam
User avatar
mundmc
Posts: 1068
Joined: Fri Sep 14, 2012 4:34 pm

Re: Error message upon installing 7.4.8

Post by mundmc »

Awesome and thank you!
I should have included that this is a TV with built-in Roku functionality; I only use it for the IP control of the TV's On/Off and VOlume functions
justlen
Posts: 58
Joined: Thu May 05, 2005 6:20 pm

Re: Error message upon installing 7.4.8

Post by justlen »

Wow, thanks for the quick reply.

I've been doing some fun things with my elCheapo TCL/Roku TV. It normally displays a GeoChron clock, but if there is a NWS alert it kicks over to weather information.
User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: Error message upon installing 7.4.8

Post by RogueProeliator »

I should have included that this is a TV with built-in Roku functionality; I only use it for the IP control of the TV's On/Off and VOlume functions
Yeah, this is a state that only loads for TVs.. I think perhaps what is happening is that you two both have TVs that get in a state other than mine (different settings, input, configuration, something) so where mine always returned a value via the API, you guys are getting an empty result. No big deal, just didn't know that could come back in that manner.
I've been doing some fun things with my elCheapo TCL/Roku TV
Cool - that is what I use for the TVs that are potentially exposed to some weather (mostly humidity) on the screened porch and in shop. Honestly I am decently happy with them, especially for the price.

If you guys don't mind, try this beta version which attempts to address the issue you are seeing:
https://github.com/RogueProeliator/Indi ... 2.4.9-beta
Direct Download

If all looks good I will release that to the plugin store.

Adam
User avatar
whmoorejr
Posts: 844
Joined: Tue Jan 15, 2013 11:23 am
Location: Houston, TX

Re: Error message upon installing 7.4.8

Post by whmoorejr »

I'm still getting the same error. I think I downloaded the updated beta one.... but the info.plist still shows 2.4.8.
Here is the error message I'm getting...

Code: Select all

   Roku Network Remote Error       Error executing effect for device id 398247524
Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/Roku Network Remote.indigoPlugin/Contents/Server Plugin/RPFramework/RPFrameworkDeviceResponse.py", line 179, in executeEffects
    eval(u'rpDevice.' + effect.updateParam + u'(responseObj, rpCommand)')
  File "<string>", line 1, in <module>
  File "/Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/Roku Network Remote.indigoPlugin/Contents/Server Plugin/rokuNetworkRemoteDevice.py", line 264, in updateDeviceStatusInfo
    channelNumber = deviceInfoDoc.find("channel").find("number").text
AttributeError: 'NoneType' object has no attribute 'text'
<-- I get that x4 TVs about every 3 seconds.
Bill
My Plugin: My People
User avatar
whmoorejr
Posts: 844
Joined: Tue Jan 15, 2013 11:23 am
Location: Houston, TX

Re: Error message upon installing 7.4.8

Post by whmoorejr »

justlen wrote:... GeoChron clock, but if there is a NWS alert it kicks over to weather information.
<-- How do you have that set up? The one in my office has a CCTV NVR on HDMI1, my Indigo Server on HDMI2 and a RPI running domopad on HDMI3. After resizing some control pages for the TCL screen, the domopad is my preferred standard backdrop.... But I really like the clock idea.
Bill
My Plugin: My People
User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: Error message upon installing 7.4.8

Post by RogueProeliator »

I'm still getting the same error. I think I downloaded the updated beta one.... but the info.plist still shows 2.4.8.
Here is the error message I'm getting...
I think that is what I get trying to do this from work computer... looks like I fudged up that ZIP download. I've since replaced it, and it is available from the releases page again or this direct URL:

https://github.com/RogueProeliator/Indi ... Plugin.zip

It most definitely should show .9 once updated. My apologies for that.
justlen
Posts: 58
Joined: Thu May 05, 2005 6:20 pm

Re: Error message upon installing 7.4.8

Post by justlen »

<-- How do you have that set up? The one in my office has a CCTV NVR on HDMI1, my Indigo Server on HDMI2 and a RPI running domopad on HDMI3. After resizing some control pages for the TCL screen, the domopad is my preferred standard backdrop.... But I really like the clock idea.
Similar setup. I have a Geochron Atlas on HDMI 1, An Action Group kicks it over to HDMI 2 connected to my Mini and AppleScripts throw up a full screen page with the alert. I would do it all in Indigo but they dropped AppleScript support, which for me killed a lot of the reasons why I use Indigo in the first place.

I know there are Pi based clocks that are similar to the Geochron.
justlen
Posts: 58
Joined: Thu May 05, 2005 6:20 pm

Re: Error message upon installing 7.4.8

Post by justlen »

I think that is what I get trying to do this from work computer... looks like I fudged up that ZIP download. I've since replaced it, and it is available from the releases page again or this direct URL:

https://github.com/RogueProeliator/Indi ... Plugin.zip

It most definitely should show .9 once updated. My apologies for that.
That fixed it for me, and my Action Groups to control the TV work just dandy. Thanks!
Screen Shot 2021-01-22 at 3.04.52 PM.png
Screen Shot 2021-01-22 at 3.04.52 PM.png (90.68 KiB) Viewed 5859 times
User avatar
whmoorejr
Posts: 844
Joined: Tue Jan 15, 2013 11:23 am
Location: Houston, TX

Re: Error message upon installing 7.4.8

Post by whmoorejr »

RogueProeliator wrote:I've since replaced it, and it is available from the releases page
:D I haven't tested everything the plugin can do, but all my stuff (on/off, input) are all working and no error messages.
justlen wrote:Switch TV to BBC
Sounds like there is still something screwy going on. :lol:
Bill
My Plugin: My People
joeaug
Posts: 42
Joined: Sat Apr 13, 2019 6:54 am

Re: Error message upon installing 7.4.8

Post by joeaug »

I'm still having this problem too and I am confused: was this fixed in the most recent release available on the Insteon Plugin Store or is there a different version to be downloaded from Git? ??
justlen
Posts: 58
Joined: Thu May 05, 2005 6:20 pm

Re: Error message upon installing 7.4.8

Post by justlen »

I'm still having this problem too and I am confused: was this fixed in the most recent release available on the Insteon Plugin Store or is there a different version to be downloaded from Git? ??
It's been awhile, but I believe I used the GitHub version.
joeaug
Posts: 42
Joined: Sat Apr 13, 2019 6:54 am

Re: Error message upon installing 7.4.8

Post by joeaug »

Yes, I've just verified that as well :D
Post Reply

Return to “Roku Network Remote”