Error after V1.08 update (was 1.06)

Posted on
Wed Nov 22, 2017 9:34 am
pgershon offline
Posts: 506
Joined: Jul 10, 2004

Error after V1.08 update (was 1.06)

Just updated my machine - now gets error as below on plugin startup:

Code: Select all
Started plugin "Sonos 1.0.8"
   Sonos                           Your plugin version, v1.0.8, is current.
   Sonos Error                     Error in plugin execution startup:

Traceback (most recent call last):
  File "plugin.py", line 36, in startup
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 269, in startup
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 150, in makedirs
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs
OSError: [Errno 13] Permission denied: '/Library/Application Support/Perceptive Automation/images'


Any ideas what is happening?

Posted on
Wed Nov 22, 2017 9:36 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Error after V1.08 update (was 1.06)

Yes - the user you have running Indigo does not have permission to write into that directory. I create & use it to store album art.

pgershon wrote:
Just updated my machine - now gets error as below on plugin startup:

Code: Select all
Started plugin "Sonos 1.0.8"
   Sonos                           Your plugin version, v1.0.8, is current.
   Sonos Error                     Error in plugin execution startup:

Traceback (most recent call last):
  File "plugin.py", line 36, in startup
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 269, in startup
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 150, in makedirs
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs
OSError: [Errno 13] Permission denied: '/Library/Application Support/Perceptive Automation/images'


Any ideas what is happening?

Posted on
Wed Nov 22, 2017 10:29 am
pgershon offline
Posts: 506
Joined: Jul 10, 2004

Re: Error after V1.08 update (was 1.06)

OK - fixed permissions and this is working. But now I have another error with Sirius/XM lineup:

Code: Select all
Sonos                           Your plugin version, v1.0.8, is current.
   Sonos                           Loaded Sonos Favorites... [2]
   Sonos                           Loaded Playlists... [0]
   Sonos                           Loaded RadioTime Favorite Stations... [0]
   Sonos                           Serving HTTP Streamer on 192.168.0.110 [0.0.0.0], port 8888
   Sonos Error                     [Wed Nov 22 11:27:53 2017] Error getting SiriusXM Channel Lineup
   Sonos                           [Wed Nov 22 11:27:53 2017] Processed plugin preferences.
   Sonos                           Loaded Apple Voices.. [47]
   Sonos                           SSDP Listener Started...
   Sonos                           Adding ZonePlayer: 192.168.0.122, RINCON_949F3E24D8CE01400, Sonos Connect
   Sonos                           SoCo Reactor Ignition...
   Sonos                           LineIn: RINCON_949F3E24D8CE01400, Audio Component:Office
   Sonos                           ZonePlayer: Sonos Connect, Nothing in Queue to Save

Posted on
Wed Nov 22, 2017 10:42 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Error after V1.08 update (was 1.06)

Are you current with your Sonos firmware? I've only been able to test in my environment which is at v8.2.

pgershon wrote:
OK - fixed permissions and this is working. But now I have another error with Sirius/XM lineup:

Code: Select all
Sonos                           Your plugin version, v1.0.8, is current.
   Sonos                           Loaded Sonos Favorites... [2]
   Sonos                           Loaded Playlists... [0]
   Sonos                           Loaded RadioTime Favorite Stations... [0]
   Sonos                           Serving HTTP Streamer on 192.168.0.110 [0.0.0.0], port 8888
   Sonos Error                     [Wed Nov 22 11:27:53 2017] Error getting SiriusXM Channel Lineup
   Sonos                           [Wed Nov 22 11:27:53 2017] Processed plugin preferences.
   Sonos                           Loaded Apple Voices.. [47]
   Sonos                           SSDP Listener Started...
   Sonos                           Adding ZonePlayer: 192.168.0.122, RINCON_949F3E24D8CE01400, Sonos Connect
   Sonos                           SoCo Reactor Ignition...
   Sonos                           LineIn: RINCON_949F3E24D8CE01400, Audio Component:Office
   Sonos                           ZonePlayer: Sonos Connect, Nothing in Queue to Save

Posted on
Wed Nov 22, 2017 10:56 am
pgershon offline
Posts: 506
Joined: Jul 10, 2004

Re: Error after V1.08 update (was 1.06)

Yes - current. 8.2

Posted on
Wed Nov 22, 2017 11:04 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Error after V1.08 update (was 1.06)

Can you turn on all debugging and restart the plugin. It will produce a ton of output, but we should be able to see what is going on. Thanks.


pgershon wrote:
Yes - current. 8.2

Posted on
Thu Nov 23, 2017 7:05 am
eme jota ce offline
Posts: 618
Joined: Jul 09, 2009
Location: SW Florida

Re: Error after V1.08 update (was 1.06)

As a side note to Nick that is not intended to sidetrack this thread but is related this topic's title in that it is a (new) error in log after v1.08, I saw the following, repeating error for a device that is a Sonos Connect AMP that provides surround sound to a Playbar 5.1 setup.

Code: Select all
 Sonos                           ZonePlayer: Sonos Family Room Surround Amp, Cannot Save Queue for Slave
   Sonos Error                     [Thu Nov 23 07:48:58 2017] [Sonos Family Room Surround Amp]: avTransport subscription failed.  Resubscribing...
   Sonos Error                     [Thu Nov 23 07:48:58 2017] [Sonos Family Room Surround Amp]: renderingControl subscription failed.  Resubscribing...
   Sonos Error                     [Thu Nov 23 07:48:58 2017] [Sonos Family Room Surround Amp]: contentDirectory subscription failed.  Resubscribing...
   Sonos Error                     [Thu Nov 23 07:48:58 2017] [Sonos Family Room Surround Amp]: audioIn subscription failed.  Resubscribing...


However, please don't worry about trouble shooting .. I just disabled communication with that Sonos unit in Indigo and the error is gone. That's really good enough because this plugin device does not have any Dependencies in Indigo. Hence, the post in this thread is not meant to divert from the main question, but to make you aware in case the issue would be important for your Plugin's code in some other respect.

As another side note ... Welcome back, Happy Thanksgiving, and thanks for your excellent plugins!

Posted on
Thu Nov 23, 2017 9:20 am
SQLGOD offline
Posts: 10
Joined: Jan 08, 2017

Re: Error after V1.08 update (was 1.06)

Using most recent Sonos app and Sonos plugin, I'm getting the following errors and no automation is working. Appreciate any direction you can provide to resolve.


Nov 23, 2017, 10:00:28 AM
Enabling plugin "Sonos 1.0.8"
Starting plugin "Sonos 1.0.8" (pid 3157)
Started plugin "Sonos 1.0.8"
Sonos Your plugin version, v1.0.8, is current.
Sonos Loaded Sonos Favorites... [20]
Sonos Loaded Playlists... [7]
Sonos Loaded RadioTime Favorite Stations... [0]
Sonos Error [Thu Nov 23 10:00:32 2017] Could not retrieve Event Listener IP address.
Sonos Serving HTTP Streamer on 192.168.1.99 [0.0.0.0], port 8888
Sonos Loaded Pandora Stations for Pandora... [26]
Sonos Loaded SiriusXM Stations.. [279]
Sonos [Thu Nov 23 10:00:38 2017] Processed plugin preferences.
Sonos Loaded Apple Voices.. [47]
Sonos SSDP Listener Started...
Sonos Adding ZonePlayer: 192.168.1.103, RINCON_000E58A0F60201400, Den Sonos
Sonos Error exception in deviceStartComm(Den Sonos): need more than 0 values to unpack
Sonos Adding ZonePlayer: 192.168.1.111, RINCON_B8E93780E50801400, Guest Bathroom Sonos
Sonos Error exception in deviceStartComm(Guest Bathroom Sonos): need more than 0 values to unpack
Sonos Adding ZonePlayer: 192.168.1.107, RINCON_000E5828B62601400, Gym Sonos
Sonos Error exception in deviceStartComm(Gym Sonos): need more than 0 values to unpack
Sonos Adding ZonePlayer: 192.168.1.102, RINCON_000E5836932001400, Master Bathroom Sonos
Sonos Error exception in deviceStartComm(Master Bathroom Sonos): need more than 0 values to unpack
Sonos Adding ZonePlayer: 192.168.1.101, RINCON_000E583C29AC01400, Master Bedroom Sonos
Sonos Error exception in deviceStartComm(Master Bedroom Sonos): need more than 0 values to unpack
Sonos Adding ZonePlayer: 192.168.1.108, RINCON_000E583B1CF801400, Pool Sonos
Sonos Error exception in deviceStartComm(Pool Sonos): need more than 0 values to unpack
Sonos SoCo Reactor Ignition...
Trigger trgLaundryRoom_Restart_LaundryRoomBackupTimer
Trigger trgLaundryRoom_Restart_LaundryRoomTimer
Trigger trgLaundryRoom_InactivateSceneBackup
Trigger trgLaundryRoom_InactivateScene
Sonos Manually checking for updates
Sonos Your plugin version, v1.0.8, is current.
Sonos Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 47, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 365, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 481, in socoSubTest
KeyError: (355874629,)

Sonos Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Trigger trgGameRoom_Restart_GameRoomBackupTimer
Trigger trgKitchen_Restart_KitchenBackupTimer
Trigger trgKitchen_Restart_KitchenTimer
Trigger trgGameRoom_Restart_GameRoomTimer
Trigger trgGameRoom_Inactivate_SceneBackup
Trigger trgKitchen_InactivateSceneBackup
Trigger trgKitchen_InactivateScene
Trigger trgGameRoom_Inactivate_Scene
Sonos SoCo Reactor Ignition...
Trigger trgLivingRoom_Restart_LivingRoomTimer
Trigger trgLivingRoom_Restart_LivingRoomBackupTimer
Trigger trgLivingRoom_InactivateScene
Trigger trgLivingRoom_InactivateSceneBackup
Sonos Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 47, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 365, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 481, in socoSubTest
KeyError: (355874629,)

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

Posted on
Thu Nov 23, 2017 9:24 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Error after V1.08 update (was 1.06)

Please enter the Indigo server IP address in the plugin configuration dialog. Thanks.

SQLGOD wrote:
Using most recent Sonos app and Sonos plugin, I'm getting the following errors and no automation is working. Appreciate any direction you can provide to resolve.


Nov 23, 2017, 10:00:28 AM
Enabling plugin "Sonos 1.0.8"
Starting plugin "Sonos 1.0.8" (pid 3157)
Started plugin "Sonos 1.0.8"
Sonos Your plugin version, v1.0.8, is current.
Sonos Loaded Sonos Favorites... [20]
Sonos Loaded Playlists... [7]
Sonos Loaded RadioTime Favorite Stations... [0]
Sonos Error [Thu Nov 23 10:00:32 2017] Could not retrieve Event Listener IP address.
Sonos Serving HTTP Streamer on 192.168.1.99 [0.0.0.0], port 8888
Sonos Loaded Pandora Stations for Pandora... [26]
Sonos Loaded SiriusXM Stations.. [279]
Sonos [Thu Nov 23 10:00:38 2017] Processed plugin preferences.
Sonos Loaded Apple Voices.. [47]
Sonos SSDP Listener Started...
Sonos Adding ZonePlayer: 192.168.1.103, RINCON_000E58A0F60201400, Den Sonos
Sonos Error exception in deviceStartComm(Den Sonos): need more than 0 values to unpack
Sonos Adding ZonePlayer: 192.168.1.111, RINCON_B8E93780E50801400, Guest Bathroom Sonos
Sonos Error exception in deviceStartComm(Guest Bathroom Sonos): need more than 0 values to unpack
Sonos Adding ZonePlayer: 192.168.1.107, RINCON_000E5828B62601400, Gym Sonos
Sonos Error exception in deviceStartComm(Gym Sonos): need more than 0 values to unpack
Sonos Adding ZonePlayer: 192.168.1.102, RINCON_000E5836932001400, Master Bathroom Sonos
Sonos Error exception in deviceStartComm(Master Bathroom Sonos): need more than 0 values to unpack
Sonos Adding ZonePlayer: 192.168.1.101, RINCON_000E583C29AC01400, Master Bedroom Sonos
Sonos Error exception in deviceStartComm(Master Bedroom Sonos): need more than 0 values to unpack
Sonos Adding ZonePlayer: 192.168.1.108, RINCON_000E583B1CF801400, Pool Sonos
Sonos Error exception in deviceStartComm(Pool Sonos): need more than 0 values to unpack
Sonos SoCo Reactor Ignition...
Trigger trgLaundryRoom_Restart_LaundryRoomBackupTimer
Trigger trgLaundryRoom_Restart_LaundryRoomTimer
Trigger trgLaundryRoom_InactivateSceneBackup
Trigger trgLaundryRoom_InactivateScene
Sonos Manually checking for updates
Sonos Your plugin version, v1.0.8, is current.
Sonos Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 47, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 365, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 481, in socoSubTest
KeyError: (355874629,)

Sonos Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Trigger trgGameRoom_Restart_GameRoomBackupTimer
Trigger trgKitchen_Restart_KitchenBackupTimer
Trigger trgKitchen_Restart_KitchenTimer
Trigger trgGameRoom_Restart_GameRoomTimer
Trigger trgGameRoom_Inactivate_SceneBackup
Trigger trgKitchen_InactivateSceneBackup
Trigger trgKitchen_InactivateScene
Trigger trgGameRoom_Inactivate_Scene
Sonos SoCo Reactor Ignition...
Trigger trgLivingRoom_Restart_LivingRoomTimer
Trigger trgLivingRoom_Restart_LivingRoomBackupTimer
Trigger trgLivingRoom_InactivateScene
Trigger trgLivingRoom_InactivateSceneBackup
Sonos Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 47, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 365, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 481, in socoSubTest
KeyError: (355874629,)

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

Posted on
Fri Nov 24, 2017 7:35 am
pgershon offline
Posts: 506
Joined: Jul 10, 2004

Re: Error after V1.08 update (was 1.06)

I tried but still get error. First attempted adding IP address of Indigo server as you suggested. I left PORT at 8888. Second try was putting in the Port I use for Indigo Touch, but it said Port in use.

Code: Select all
 Received INSTEON                "Thermostat-Living Room" temperature changed to 66.0
   Reloading plugin "Sonos 1.0.8"
   Stopping plugin "Sonos 1.0.8" (pid 69486)
   Sonos Debug                     Method: stopConcurrentThread
   Sonos Debug                     Stopping Concurrent Thread
   Sonos Debug                     Method: stopConcurrentThread
   Sonos Debug                     Stopping Concurrent Thread
   Sonos Debug                     Method: shutdown
   Sonos                           SoCo Reactor Landing...
   Stopped plugin "Sonos 1.0.8"
   Starting plugin "Sonos 1.0.8" (pid 70003)
   Started plugin "Sonos 1.0.8"
   Sonos                           Your plugin version, v1.0.8, is current.
   Sonos                           Using Reference ZonePlayer IP: 192.168.1.162
   Sonos Debug                     zoneIP: 192.168.1.162, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos                           Loaded Sonos Favorites... [0]
   Sonos Debug                     zoneIP: 192.168.1.162, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos                           Loaded Playlists... [0]
   Sonos Debug                     zoneIP: 192.168.1.162, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos                           Loaded RadioTime Favorite Stations... [0]
   Sonos                           Serving HTTP Streamer on 192.168.1.100 [0.0.0.0], port 8888
   Sonos Error                     [Fri Nov 24 08:27:53 2017] Error getting SiriusXM Channel Lineup
   Sonos                           [Fri Nov 24 08:27:53 2017] Processed plugin preferences.
   Sonos                           Loaded Apple Voices.. [47]
   Sonos                           SSDP Listener Started...
   Sonos Debug                     Method: runConcurrentThread
   Sonos Debug                     Running Concurrent Thread
   Sonos                           SoCo Reactor Ignition...

Nov 24, 2017 at 8:28:27 AM
   Received INSTEON                "Thermostat-Boys Room" temperature changed to 71.0

Nov 24, 2017 at 8:29:34 AM
   Sonos Debug                     Vaidating Plugin Configuration
   Sonos Debug                         Validation Succesful
   Sonos Debug                     [Fri Nov 24 08:29:34 2017] Getting plugin preferences.
   Sonos Error                     Error in plugin execution UiClosed1:

Traceback (most recent call last):
  File "plugin.py", line 65, in closedPrefsConfigUi
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2223, in closedPrefsConfigUi
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2192, in getReferencePlayerIP
KeyError: pop from an empty set

   Reloading plugin "Sonos 1.0.8"
   Stopping plugin "Sonos 1.0.8" (pid 70003)
   Sonos Debug                     Method: stopConcurrentThread
   Sonos Debug                     Stopping Concurrent Thread
   Sonos Debug                     Method: stopConcurrentThread
   Sonos Debug                     Stopping Concurrent Thread
   Sonos Debug                     Method: shutdown
   Sonos                           SoCo Reactor Landing...
   Stopped plugin "Sonos 1.0.8"
   Starting plugin "Sonos 1.0.8" (pid 70538)
   Started plugin "Sonos 1.0.8"
   Sonos                           Your plugin version, v1.0.8, is current.
   Sonos                           Using Reference ZonePlayer IP: 192.168.1.162
   Sonos Debug                     zoneIP: 192.168.1.162, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos                           Loaded Sonos Favorites... [0]
   Sonos Debug                     zoneIP: 192.168.1.162, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos                           Loaded Playlists... [0]
   Sonos Debug                     zoneIP: 192.168.1.162, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos                           Loaded RadioTime Favorite Stations... [0]
   Sonos Error                     Cannot start HTTP Streamer on 192.168.1.100: [Errno 48] Address already in use
   Sonos Error                     [Fri Nov 24 08:29:45 2017] Error getting SiriusXM Channel Lineup
   Sonos                           [Fri Nov 24 08:29:45 2017] Processed plugin preferences.
   Sonos                           Loaded Apple Voices.. [47]
   Sonos                           SSDP Listener Started...
   Sonos Debug                     Method: runConcurrentThread
   Sonos Debug                     Running Concurrent Thread
   Sonos                           SoCo Reactor Ignition...
Attachments
Screen Shot 2017-11-24 at 8.33.55 AM.png
Screen Shot 2017-11-24 at 8.33.55 AM.png (439.27 KiB) Viewed 2832 times

Posted on
Sun Nov 26, 2017 4:50 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Error after V1.08 update (was 1.06)

You made the right move. Any ZonePlayer that is part of an internal group will not function with the plugin -- and don't think there is anything useful to do with it so best to exclude.

eme jota ce wrote:
As a side note to Nick that is not intended to sidetrack this thread but is related this topic's title in that it is a (new) error in log after v1.08, I saw the following, repeating error for a device that is a Sonos Connect AMP that provides surround sound to a Playbar 5.1 setup.

Code: Select all
 Sonos                           ZonePlayer: Sonos Family Room Surround Amp, Cannot Save Queue for Slave
   Sonos Error                     [Thu Nov 23 07:48:58 2017] [Sonos Family Room Surround Amp]: avTransport subscription failed.  Resubscribing...
   Sonos Error                     [Thu Nov 23 07:48:58 2017] [Sonos Family Room Surround Amp]: renderingControl subscription failed.  Resubscribing...
   Sonos Error                     [Thu Nov 23 07:48:58 2017] [Sonos Family Room Surround Amp]: contentDirectory subscription failed.  Resubscribing...
   Sonos Error                     [Thu Nov 23 07:48:58 2017] [Sonos Family Room Surround Amp]: audioIn subscription failed.  Resubscribing...


However, please don't worry about trouble shooting .. I just disabled communication with that Sonos unit in Indigo and the error is gone. That's really good enough because this plugin device does not have any Dependencies in Indigo. Hence, the post in this thread is not meant to divert from the main question, but to make you aware in case the issue would be important for your Plugin's code in some other respect.

As another side note ... Welcome back, Happy Thanksgiving, and thanks for your excellent plugins!

Posted on
Sun Nov 26, 2017 4:52 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Error after V1.08 update (was 1.06)

The streaming port should be unique and is used for announcements. You an probably leave that at 8888. Make sure the reference ZonePlayer address that it discovered is accurate. If not, instead of auto type it in. The Event IP address should be the IP address of the Indigo server.

pgershon wrote:
I tried but still get error. First attempted adding IP address of Indigo server as you suggested. I left PORT at 8888. Second try was putting in the Port I use for Indigo Touch, but it said Port in use.

Code: Select all
 Received INSTEON                "Thermostat-Living Room" temperature changed to 66.0
   Reloading plugin "Sonos 1.0.8"
   Stopping plugin "Sonos 1.0.8" (pid 69486)
   Sonos Debug                     Method: stopConcurrentThread
   Sonos Debug                     Stopping Concurrent Thread
   Sonos Debug                     Method: stopConcurrentThread
   Sonos Debug                     Stopping Concurrent Thread
   Sonos Debug                     Method: shutdown
   Sonos                           SoCo Reactor Landing...
   Stopped plugin "Sonos 1.0.8"
   Starting plugin "Sonos 1.0.8" (pid 70003)
   Started plugin "Sonos 1.0.8"
   Sonos                           Your plugin version, v1.0.8, is current.
   Sonos                           Using Reference ZonePlayer IP: 192.168.1.162
   Sonos Debug                     zoneIP: 192.168.1.162, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos                           Loaded Sonos Favorites... [0]
   Sonos Debug                     zoneIP: 192.168.1.162, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos                           Loaded Playlists... [0]
   Sonos Debug                     zoneIP: 192.168.1.162, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos                           Loaded RadioTime Favorite Stations... [0]
   Sonos                           Serving HTTP Streamer on 192.168.1.100 [0.0.0.0], port 8888
   Sonos Error                     [Fri Nov 24 08:27:53 2017] Error getting SiriusXM Channel Lineup
   Sonos                           [Fri Nov 24 08:27:53 2017] Processed plugin preferences.
   Sonos                           Loaded Apple Voices.. [47]
   Sonos                           SSDP Listener Started...
   Sonos Debug                     Method: runConcurrentThread
   Sonos Debug                     Running Concurrent Thread
   Sonos                           SoCo Reactor Ignition...

Nov 24, 2017 at 8:28:27 AM
   Received INSTEON                "Thermostat-Boys Room" temperature changed to 71.0

Nov 24, 2017 at 8:29:34 AM
   Sonos Debug                     Vaidating Plugin Configuration
   Sonos Debug                         Validation Succesful
   Sonos Debug                     [Fri Nov 24 08:29:34 2017] Getting plugin preferences.
   Sonos Error                     Error in plugin execution UiClosed1:

Traceback (most recent call last):
  File "plugin.py", line 65, in closedPrefsConfigUi
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2223, in closedPrefsConfigUi
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2192, in getReferencePlayerIP
KeyError: pop from an empty set

   Reloading plugin "Sonos 1.0.8"
   Stopping plugin "Sonos 1.0.8" (pid 70003)
   Sonos Debug                     Method: stopConcurrentThread
   Sonos Debug                     Stopping Concurrent Thread
   Sonos Debug                     Method: stopConcurrentThread
   Sonos Debug                     Stopping Concurrent Thread
   Sonos Debug                     Method: shutdown
   Sonos                           SoCo Reactor Landing...
   Stopped plugin "Sonos 1.0.8"
   Starting plugin "Sonos 1.0.8" (pid 70538)
   Started plugin "Sonos 1.0.8"
   Sonos                           Your plugin version, v1.0.8, is current.
   Sonos                           Using Reference ZonePlayer IP: 192.168.1.162
   Sonos Debug                     zoneIP: 192.168.1.162, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos                           Loaded Sonos Favorites... [0]
   Sonos Debug                     zoneIP: 192.168.1.162, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos                           Loaded Playlists... [0]
   Sonos Debug                     zoneIP: 192.168.1.162, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
   Sonos                           Loaded RadioTime Favorite Stations... [0]
   Sonos Error                     Cannot start HTTP Streamer on 192.168.1.100: [Errno 48] Address already in use
   Sonos Error                     [Fri Nov 24 08:29:45 2017] Error getting SiriusXM Channel Lineup
   Sonos                           [Fri Nov 24 08:29:45 2017] Processed plugin preferences.
   Sonos                           Loaded Apple Voices.. [47]
   Sonos                           SSDP Listener Started...
   Sonos Debug                     Method: runConcurrentThread
   Sonos Debug                     Running Concurrent Thread
   Sonos                           SoCo Reactor Ignition...

Posted on
Sun Nov 26, 2017 10:57 pm
pgershon offline
Posts: 506
Joined: Jul 10, 2004

Re: Error after V1.08 update (was 1.06)

The setting are correct, both of the zone player and the indigo server. The message I keep getting is:

Sonos Serving HTTP Streamer on 192.168.1.100 [0.0.0.0], port 8888
Sonos Error [Fri Nov 24 08:27:53 2017] Error getting SiriusXM Channel Lineup

Not sure about why the Sonos error come up on the SiriusXM Channel Lineup. Also, I don't understand 0.0.0.0 on the prior line.

Posted on
Tue Nov 28, 2017 4:16 pm
SQLGOD offline
Posts: 10
Joined: Jan 08, 2017

Re: Error after V1.08 update (was 1.06)

Sirius stations are playing, but Sonos stations won't play now. I verified the username and password, and initial load of plugin shows it is loading the stations, but I get the following error when I try to play the station. This code worked prior to upgrade to v1.08. Not sure how to resolve.

Action Group Guest Bathroom Sonos Day Scene
Sonos Error UPNP Error: No Such Object
Sonos Error Offending Command -> zoneIP: 192.168.1.111, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: Play
Sonos ZonePlayer: Guest Bathroom Sonos, Play Pandora: Pandora: QuickMix
Sonos ZonePlayer: Guest Bathroom Sonos, Mute Off
Schedule _delayed_action_594
Sonos Error UPNP Error: No Such Object
Sonos Error Offending Command -> zoneIP: 192.168.1.111, soapRoot: /MediaRenderer, soapBranch: /AVTransport, soapAction: Play
Sonos ZonePlayer: Guest Bathroom Sonos, Play



Below are log entries showing the stations loaded at plugin startup:

Reloading plugin "Sonos 1.0.9"
Stopping plugin "Sonos 1.0.9" (pid 7653)
Trigger trgGameRoom_Restart_GameRoomBackupTimer
Trigger trgKitchen_Restart_KitchenBackupTimer
Trigger trgGameRoom_Inactivate_SceneBackup
Sonos SoCo Reactor Landing...
Trigger trgKitchen_InactivateSceneBackup
Stopped plugin "Sonos 1.0.9"
Starting plugin "Sonos 1.0.9" (pid 7665)
Started plugin "Sonos 1.0.9"
Sonos Your plugin version, v1.0.9, is current.
Sonos Using Reference ZonePlayer IP: 192.168.1.109
Sonos Loaded Sonos Favorites... [20]
Sonos Loaded Playlists... [6]
Sonos Loaded RadioTime Favorite Stations... [0]
Sonos Serving HTTP Streamer on 192.168.1.99 [0.0.0.0], port 8888
Sonos Loaded Pandora Stations for Pandora... [26]
Sonos Loaded SiriusXM Stations.. [279]
Sonos [Tue Nov 28 17:15:16 2017] Processed plugin preferences.
Sonos Loaded Apple Voices.. [47]
Sonos SSDP Listener Started...
Sonos Adding ZonePlayer: 192.168.1.103, RINCON_000E58A0F60201400, Den Sonos
Sonos Adding ZonePlayer: 192.168.1.111, RINCON_B8E93780E50801400, Guest Bathroom Sonos
Sonos Adding ZonePlayer: 192.168.1.107, RINCON_000E5828B62601400, Gym Sonos
Sonos Adding ZonePlayer: 192.168.1.102, RINCON_000E5836932001400, Master Bathroom Sonos
Sonos Adding ZonePlayer: 192.168.1.101, RINCON_000E583C29AC01400, Master Bedroom Sonos
Sonos Adding ZonePlayer: 192.168.1.108, RINCON_000E583B1CF801400, Pool Sonos
Sonos SoCo Reactor Ignition...
Sonos ZonePlayer: Master Bathroom Sonos, Nothing in Queue to Save
Sonos ZonePlayer: Master Bedroom Sonos, Nothing in Queue to Save
Sonos ZonePlayer: Pool Sonos, Nothing in Queue to Save
Sonos LineIn: RINCON_000E5836932001400, Line-In:Master Bathroom
Sonos ZonePlayer: Guest Bathroom Sonos, Nothing in Queue to Save
Sonos LineIn: RINCON_000E583C29AC01400, Audio Component:Master Bedroom
Sonos ZonePlayer: Den Sonos, Nothing in Queue to Save
Sonos LineIn: RINCON_000E583B1CF801400, Audio Component:Pool
Sonos ZonePlayer: Gym Sonos, Nothing in Queue to Save
Sonos LineIn: RINCON_000E58A0F60201400, Audio Component:Den
Sonos LineIn: RINCON_000E5828B62601400, Gym AV:Gym

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests