Page 1 of 1

v7.1.0 hangs on startup

PostPosted: Wed Feb 01, 2017 12:30 pm
by jay (support)
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.

Re: v7.1.0 hangs on startup

PostPosted: Wed Feb 01, 2017 12:39 pm
by jay (support)
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?

Re: v7.1.0 hangs on startup

PostPosted: Wed Feb 01, 2017 1:28 pm
by FlyingDiver
I'll take a look at that. Need something like the Reachability API. :)

Re: v7.1.0 hangs on startup

PostPosted: Sun Feb 12, 2017 4:39 pm
by FlyingDiver
FYI, my development version now checks that the hub is reachable. It'll be in the next release, whenever that is.