Plugin Stops loading if sonos device missing

Posted on
Sun Jan 10, 2016 8:09 am
rapamatic offline
Posts: 276
Joined: Aug 03, 2015
Location: Glencoe, IL

Plugin Stops loading if sonos device missing

I'm on the latest version (0.8.33), and got the following in my event log after one of my sonos speakers became unplugged. Looks like it isn't handling a device not found gracefully. Obviously not a big deal, and I was able to fix things by plugging the speaker back in or disabling the device in indigo.

Here's the log:

Code: Select all
Starting plugin "Sonos 0.8.33" (pid 94729)
  Started plugin "Sonos 0.8.33"
  Sonos Error                     versionCheck: Unable to reach the version server.
  Sonos                           Saved Plugin Configuration
  Sonos                           Loaded Sonos Favorites... [4]
  Sonos                           Loaded Playlists... [2]
  Sonos                           Loaded RadioTime Favorite Stations... [2]
  Sonos                           Loaded IVONA Voices... [51]
  Sonos                           Loaded Sound Files... [1]
  Sonos                           Adding ZonePlayer: RINCON_000E5883F84401400
  Sonos                           Adding ZonePlayer: RINCON_B8E937F8200801400
  Sonos                           Adding ZonePlayer: RINCON_B8E9377DFAB401400
  Sonos                           Adding ZonePlayer: RINCON_B8E937296BB201400
  Sonos                           Adding ZonePlayer: RINCON_B8E937296BD801400
  Sonos Error                     Error getting ZonePlayer data: http://192.168.0.41:1400/status/zp
  Sonos Error                       Offending ZonePlayer: Sonos: Master Bath
  Sonos Error                       ZonePlayer may be physically turned off or in a bad state.
  Sonos Error                       Please disable communications or remove from Indigo.
  Sonos                           Adding ZonePlayer: RINCON_B8E9372A04B601400
  Sonos                           Adding ZonePlayer: RINCON_B8E937A45C3601400
  Sonos                           Subscribing on port: 9999
  Sonos                           SonosEvents INFO: Publishing on port: 9999
  Sonos                           Event Ignition...
  Sonos                           Serving HTTP Streamer on 192.168.0.43 [0.0.0.0], port 8888

Jan 10, 2016, 7:57:16 AM
  Sonos Error                     SOAPSend Error: HTTPConnectionPool(host='192.168.0.41', port=1400): Max retries exceeded with url: /ZoneGroupTopology/Control (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0xb5dae10>: Failed to establish a new connection: [Errno 60] Operation timed out',))
  Sonos Error                     Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 58, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 346, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 470, in updateZoneGroupStates
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 532, in SOAPSend
<type 'exceptions.UnboundLocalError'>: local variable 'response' referenced before assignment

  Sonos Error                     plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests