v7.1.0 hangs on startup

Posted on
Wed Feb 01, 2017 12:30 pm
jay (support) offline
Site Admin
User avatar
Posts: 15690
Joined: Mar 19, 2008
Location: Austin, Texas

v7.1.0 hangs on startup

Tracked it down to HubClient.py line 47:

Code: Select all
self.auth_token = harmony_auth.get_auth_token(self.harmony_ip, self.harmony_port)


That call never comes back rendering the plugin hung (never times out either). Interestingly, this seems to have started sometime between 3:54pm CST on 1/26 and 12:27pm CST on 1/27. I wasn't sure if you wanted bug reports here or on your Github repo so I put it both places. Feel free to dump whichever you wish.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Feb 01, 2017 12:39 pm
jay (support) offline
Site Admin
User avatar
Posts: 15690
Joined: Mar 19, 2008
Location: Austin, Texas

Re: v7.1.0 hangs on startup

AH HA. The IP address of the hub changed. So the way you have to fix it is to 1) uncheck the comm enabled checkbox in the device list, then 2) reload the plugin (causing the server to kill it). The plugin won't try to start the device so you can edit the IP. Not sure what the fix is but that's pretty terrible behavior in the pyharmony library. I'd recommend maybe pinging the IP before trying to create the HubClient?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Feb 01, 2017 1:28 pm
FlyingDiver offline
Posts: 3463
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: v7.1.0 hangs on startup

I'll take a look at that. Need something like the Reachability API. :)

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Feb 12, 2017 4:39 pm
FlyingDiver offline
Posts: 3463
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: v7.1.0 hangs on startup

FYI, my development version now checks that the hub is reachable. It'll be in the next release, whenever that is.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest

cron