Sonos 10.1 Update & Sonos Plugin v1.0.12

Posted on
Thu Apr 04, 2019 11:07 am
chobo offline
Posts: 109
Joined: Dec 08, 2013
Location: USA

Sonos 10.1 Update & Sonos Plugin v1.0.12

A fair warning to those who might be tempted (or just prompted repeatedly) to update to Sonos 10.1. I've completed the update and it looks like this is the end of the road for Nick's long-lived and very functional v1.0.12. :cry:

Receiving the first error on startup and the second every 10 seconds. Zone status no longer being reported and no amount of restarting the plugin (or computer) has resolved it. Anyone having a different experience??

Code: Select all
   Sonos                           Your plugin version, v1.0.12, 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.2/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 276, in startup
  File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2263, in closedPrefsConfigUi
  File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2661, in getSonosFavorites
  File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2551, in restoreString
AttributeError: 'NoneType' object has no attribute 'replace'

Code: Select all
 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.2/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 369, in runConcurrentThread
TypeError: int() argument must be a string or a number, not 'NoneType'

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

Posted on
Thu Apr 04, 2019 2:25 pm
neilk offline
Posts: 156
Joined: Jul 13, 2015
Location: Reading, UK

Re: Sonos 10.1 Update & Sonos Plugin v1.0.12

This new release has broken a number of HA integrations. I see the SoCo controller GitHub page shows a number of reports of this issue as well, but not a fix.

Posted on
Thu Apr 04, 2019 3:00 pm
mundmc offline
User avatar
Posts: 552
Joined: Sep 14, 2012

Re: Sonos 10.1 Update & Sonos Plugin v1.0.12

Noooooooooooo!

Posted on
Thu Apr 04, 2019 3:52 pm
DaveL17 offline
User avatar
Posts: 5000
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Sonos 10.1 Update & Sonos Plugin v1.0.12

Hopefully, Nick will be able to address. Although, it doesn't look like he's visited the forums for about 6 months or so. If I see the errors and have the spare time, I'll see if it's an easy fix. Sometimes though, with things like this, plugging two holes can cause four more to pop up.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu Apr 04, 2019 4:49 pm
nlagaros offline
Posts: 1614
Joined: Dec 20, 2010

Re: Sonos 10.1 Update & Sonos Plugin v1.0.12

Well since it broke me too I will fix it and post over the weekend. I know exactly the issue so should not be a big deal. Sorry I have not been around... life takes you in many directions....

Posted on
Thu Apr 04, 2019 4:54 pm
chobo offline
Posts: 109
Joined: Dec 08, 2013
Location: USA

Re: Sonos 10.1 Update & Sonos Plugin v1.0.12

Thanks, Nick (and Dave)! Let me know how I can be helpful. More than happy to test potential solutions.

Posted on
Thu Apr 04, 2019 6:37 pm
DaveL17 offline
User avatar
Posts: 5000
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: Sonos 10.1 Update & Sonos Plugin v1.0.12

nlagaros wrote:
Sorry I have not been around... life takes you in many directions....

Know what that's like. Glad that it won't be a heavy lift for you.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Thu Apr 04, 2019 7:01 pm
mundmc offline
User avatar
Posts: 552
Joined: Sep 14, 2012

Sonos 10.1 Update & Sonos Plugin v1.0.12

nlagaros wrote:
Well since it broke me too I will fix it and post over the weekend. I know exactly the issue so should not be a big deal. Sorry I have not been around... life takes you in many directions....


Yessssssssss!

Nick your plugin is central to my family not turning into a murder-suicide scene, many thanks.

Posted on
Fri Apr 05, 2019 11:54 am
neilk offline
Posts: 156
Joined: Jul 13, 2015
Location: Reading, UK

Re: Sonos 10.1 Update & Sonos Plugin v1.0.12

For the impatient applying the patch described here
https://github.com/SoCo/SoCo/issues/660 to the file in the plugin bundle seems to do the trick, although possibly not if you use a Boost. No warranty from me as I am out of my depth, and I would recommend waiting for Nick. It did get me going again though so my doorbell works !

Thanks Nick for a great plugin and for sorting this properly.

Neil

Posted on
Sat Apr 06, 2019 3:58 am
shapa offline
Posts: 342
Joined: Sep 08, 2014
Location: Swindon

Re: Sonos 10.1 Update & Sonos Plugin v1.0.12

The fix works for me

Posted on
Sat Apr 06, 2019 3:49 pm
roussell offline
User avatar
Posts: 1105
Joined: Aug 18, 2008
Location: Alabama

Re: Sonos 10.1 Update & Sonos Plugin v1.0.12

The line change didn't work here. I don't have a boost, but I do have the older version of the possibly same thing - the "bridge"; not sure if that poses the same problem. Interestingly Sonos still functions on my Home Assistant play install. Not sure what those guys did differently, but it never missed a beat there. I don't actually use Home Assistant though, so it really doesn't help me, just an interesting data-point.

Terry

Posted on
Sat Apr 06, 2019 7:05 pm
nlagaros offline
Posts: 1614
Joined: Dec 20, 2010

Re: Sonos 10.1 Update & Sonos Plugin v1.0.12

There are more functions they took away. I about half way done. This sucks.

Posted on
Sat Apr 06, 2019 11:43 pm
GlennNZ offline
Posts: 621
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: Sonos 10.1 Update & Sonos Plugin v1.0.12

nlagaros wrote:
There are more functions they took away. I about half way done. This sucks.


Go Nick Go!

Posted on
Sun Apr 07, 2019 9:26 am
nlagaros offline
Posts: 1614
Joined: Dec 20, 2010

Re: Sonos 10.1 Update & Sonos Plugin v1.0.12

v1.0.13 is in the Plugin Store. I do not believe it is backward compatible if you are running less than Sonos 10.1 firmware.

Posted on
Sun Apr 07, 2019 10:11 am
roussell offline
User avatar
Posts: 1105
Joined: Aug 18, 2008
Location: Alabama

Re: Sonos 10.1 Update & Sonos Plugin v1.0.12

Nick,

Just tried 1.0.13 and get the following errors:

Terry

Code: Select all
Apr 7, 2019, 11:08:15 AM
   Upgrading plugin Sonos to newer version 1.0.13 (previous version moved to trash)
   Loading plugin "Sonos 1.0.13"
   Starting plugin "Sonos 1.0.13" (pid 13554)
   Started plugin "Sonos 1.0.13"
   Sonos                           Your plugin version, v1.0.13, 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.2/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 278, in startup
  File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2283, in closedPrefsConfigUi
  File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2681, in getSonosFavorites
  File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 2571, in restoreString
AttributeError: 'NoneType' object has no attribute 'replace'

   Sonos                           Adding ZonePlayer: 10.0.1.69, RINCON_949F3E0DFAF201400, Sonos - Garage
   Sonos                           Adding ZonePlayer: 10.0.1.62, RINCON_000E587BD98601400, Sonos - Kitchen
   Sonos                           Adding ZonePlayer: 10.0.1.64, RINCON_000E5829E14401400, Sonos - Living Room
   Sonos                           Adding ZonePlayer: 10.0.1.67, RINCON_5CAAFD21E88E01400, Sonos - Madison's Bedroom
   Sonos                           Adding ZonePlayer: 10.0.1.63, RINCON_000E58C47FC401400, Sonos - Master Bathroom
   Sonos                           Adding ZonePlayer: 10.0.1.66, RINCON_5CAAFD21EA7601400, Sonos - Master Bedroom
   Sonos                           Adding ZonePlayer: 10.0.1.65, RINCON_000E58DEE0B001400, Sonos - Pool
   Sonos                           Adding ZonePlayer: 10.0.1.61, RINCON_000E58FE066601400, Sonos - Upstairs Den
   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.2/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 371, in runConcurrentThread
TypeError: int() argument must be a string or a number, not 'NoneType'

   Sonos Error                     plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   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.2/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 371, in runConcurrentThread
TypeError: int() argument must be a string or a number, not 'NoneType'

   Sonos Error                     plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Domotics Pad Mobile Client      Process command: updateMobileDeviceStates
   Domotics Pad Mobile Client ErrorReceived status update for unknown device with Pairing ID: ugX7WLArD9oZVDxl6l0y
   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.2/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 371, in runConcurrentThread
TypeError: int() argument must be a string or a number, not 'NoneType'

   Sonos Error                     plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   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.2/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 371, in runConcurrentThread
TypeError: int() argument must be a string or a number, not 'NoneType'

   Sonos Error                     plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   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.2/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 371, in runConcurrentThread
TypeError: int() argument must be a string or a number, not 'NoneType'

   Sonos Error                     plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   GreenSky MQTT Bridge            Boat_Temp set to 85.9
   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.2/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 371, in runConcurrentThread
TypeError: int() argument must be a string or a number, not 'NoneType'

   Sonos Error                     plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   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.2/Plugins/Sonos-3.indigoPlugin/Contents/Server Plugin/Sonos.py", line 371, in runConcurrentThread
TypeError: int() argument must be a string or a number, not 'NoneType'

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

Who is online

Users browsing this forum: No registered users and 1 guest