Page 2 of 2

Re: Sonos error : Error in plugin execution runConcurrentThr

PostPosted: Wed Nov 07, 2018 10:58 am
by OjisanSeiuchi
The problem originates at line 499 in Sonos.py. I'm not the developer and I haven't delved into the code but the problem is with an unhandled exception that gets propagated back up to the host. You can suppress catch the exception and just ignore it. I haven't seen any downside (yet.)

Code: Select all
def socoSubTest(self):
      for item in self.deviceList:
         dev = indigo.devices[item]
         subStatus = True
         try:
            if self.soco_sub[dev.id]['avTransport'].is_subscribed != True:
               self.plugin.errorLog("[%s] [%s]: avTransport subscription failed.  Resubscribing..." % (time.asctime(), dev.name))
               subStatus = False
            if self.soco_sub[dev.id]['renderingControl'].is_subscribed != True:
               self.plugin.errorLog("[%s] [%s]: renderingControl subscription failed.  Resubscribing..." % (time.asctime(), dev.name))
               subStatus = False
            if self.soco_sub[dev.id]['zoneGroupTopology'].is_subscribed != True:
               self.plugin.errorLog("[%s] [%s]: zoneGroupTopology subscription failed.  Resubscribing..." % (time.asctime(), dev.name))
               subStatus = False
            if self.soco_sub[dev.id]['queue'].is_subscribed != True:
               self.plugin.errorLog("[%s] [%s]: queue subscription failed.  Resubscribing..." % (time.asctime(), dev.name))
               subStatus = False
            if self.soco_sub[dev.id]['groupRenderingControl'].is_subscribed != True:
               self.plugin.errorLog("[%s] [%s]: groupRenderingControl subscription failed.  Resubscribing..." % (time.asctime(), dev.name))
               subStatus = False
            if self.soco_sub[dev.id]['contentDirectory'].is_subscribed != True:
               self.plugin.errorLog("[%s] [%s]: contentDirectory subscription failed.  Resubscribing..." % (time.asctime(), dev.name))
               subStatus = False
            if self.soco_sub[dev.id]['groupManagement'].is_subscribed != True:
               self.plugin.errorLog("[%s] [%s]: groupManagement subscription failed.  Resubscribing..." % (time.asctime(), dev.name))
               subStatus = False
            if int(dev.pluginProps["model"]) in [SONOS_CONNECT, SONOS_CONNECTAMP, SONOS_PLAY5]:
               if self.soco_sub[dev.id]['audioIn'].is_subscribed != True:
                  self.plugin.errorLog("[%s] [%s]: audioIn subscription failed.  Resubscribing..." % (time.asctime(), dev.name))
                  subStatus = False
         except:
            #self.plugin.errorLog("Error in socoSubTest");
            pass
         if subStatus == False:
            self.socoUnsubscribe (dev)
            self.socoSubscribe (dev)

Re: Sonos error : Error in plugin execution runConcurrentThr

PostPosted: Sat Dec 29, 2018 9:17 pm
by philipbasile
Nick,

Event check interval is the default... 15

I have the same error and non of my control pages are working.

Started plugin "Sonos 1.0.12"
Sonos Your plugin version, v1.0.12, is current.
Sonos Loaded Sonos Favorites... [14]
Sonos Loaded Playlists... [2]
Sonos Loaded RadioTime Favorite Stations... [0]
Sonos Serving HTTP Streamer on 192.168.2.11 [0.0.0.0], port 8888
Sonos Error [Sat Dec 29 22:15:20 2018] SiriusXM SessionID error, check credentials
Sonos Loaded Polly Voices... [57]
Sonos [Sat Dec 29 22:15:20 2018] Processed plugin preferences.
Sonos Loaded Apple Voices.. [67]
Sonos SSDP Listener Started...
Sonos Adding ZonePlayer: 192.168.2.36, RINCON_949F3E2363E401400, Sonos
Sonos Error exception in deviceStartComm(Sonos): need more than 0 values to unpack
Sonos SoCo Reactor Ignition...

Dec 29, 2018, 10:15:36 PM
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-2.indigoPlugin/Contents/Server Plugin/Sonos.py", line 375, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Sonos-2.indigoPlugin/Contents/Server Plugin/Sonos.py", line 499, in socoSubTest
KeyError: (1475651238,)

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

Re: Sonos error : Error in plugin execution runConcurrentThr

PostPosted: Tue Jan 29, 2019 10:05 pm
by dnomode
I also have the same problem :(

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 375, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 499, in socoSubTest
KeyError: (1847837881,)

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

Re: Sonos error : Error in plugin execution runConcurrentThr

PostPosted: Sun Apr 14, 2019 4:09 am
by Nine
Same here :cry:

Code: Select all
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)


Restart of plugin and Indigo (!) did not help.

Re: Sonos error : Error in plugin execution runConcurrentThr

PostPosted: Sun Apr 14, 2019 4:29 am
by Nine
v 1.0.15 fixes it :-) http://www.indigodomo.com/pluginstore/147/

unfortunately 1.0.12 does not show, that there is an update...

Re: Sonos error : Error in plugin execution runConcurrentThr

PostPosted: Sun Apr 14, 2019 12:59 pm
by dnomode
I just updated to 1.0.15 and I'm getting the bellow errors:

Code: Select all
  Sonos Error                     [Sun Apr 14 14:50:49 2019] [SONOS Family Room]: renderingControl subscription failed.  Resubscribing...
   Sonos Error                     [Sun Apr 14 14:50:49 2019] [SONOS Family Room]: zoneGroupTopology subscription failed.  Resubscribing...
   Sonos Error                     [Sun Apr 14 14:50:49 2019] [SONOS Family Room]: queue subscription failed.  Resubscribing...
   Sonos Error                     [Sun Apr 14 14:50:49 2019] [SONOS Family Room]: groupRenderingControl subscription failed.  Resubscribing...
   Sonos Error                     [Sun Apr 14 14:50:49 2019] [SONOS Family Room]: contentDirectory subscription failed.  Resubscribing...
   Sonos Error                     [Sun Apr 14 14:50:49 2019] [SONOS Family Room]: groupManagement subscription failed.  Resubscribing...
   Sonos Error                     [Sun Apr 14 14:50:49 2019] [SONOS Office]: avTransport subscription failed.  Resubscribing...
   Sonos Error                     [Sun Apr 14 14:50:49 2019] [SONOS Office]: renderingControl subscription failed.  Resubscribing...
   Sonos Error                     [Sun Apr 14 14:50:49 2019] [SONOS Office]: zoneGroupTopology subscription failed.  Resubscribing...
   Sonos Error                     [Sun Apr 14 14:50:49 2019] [SONOS Office]: queue subscription failed.  Resubscribing...
   Sonos Error                     [Sun Apr 14 14:50:49 2019] [SONOS Office]: groupRenderingControl subscription failed.  Resubscribing...
   Sonos Error                     [Sun Apr 14 14:50:49 2019] [SONOS Office]: contentDirectory subscription failed.  Resubscribing...
   Sonos Error                     [Sun Apr 14 14:50:49 2019] [SONOS Office]: groupManagement subscription failed.  Resubscribing...
   Sonos Error                     [Sun Apr 14 14:50:49 2019] [SONOS Office]: audioIn subscription failed.  Resubscribing...


Any ideas?

Thanks for the update.

Edmond

Re: Sonos error : Error in plugin execution runConcurrentThr

PostPosted: Mon May 06, 2019 8:39 pm
by farberm
I am getting similar errors also ..Resubscribing..

Mon May 6 22:33:03 2019] [Sonos - Living Room Playbar]: avTransport subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos - Living Room Playbar]: renderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos - Living Room Playbar]: zoneGroupTopology subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos - Living Room Playbar]: queue subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos - Living Room Playbar]: groupRenderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos - Living Room Playbar]: contentDirectory subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos - Living Room Playbar]: groupManagement subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Attic Bedroom]: avTransport subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Attic Bedroom]: renderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Attic Bedroom]: zoneGroupTopology subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Attic Bedroom]: queue subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Attic Bedroom]: groupRenderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Attic Bedroom]: contentDirectory subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Attic Bedroom]: groupManagement subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Attic Bedroom]: audioIn subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Kitchen]: avTransport subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Kitchen]: renderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Kitchen]: zoneGroupTopology subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Kitchen]: queue subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Kitchen]: groupRenderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Kitchen]: contentDirectory subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Kitchen]: groupManagement subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Kitchen]: audioIn subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Master Bedroom]: avTransport subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Master Bedroom]: renderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Master Bedroom]: zoneGroupTopology subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Master Bedroom]: queue subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Master Bedroom]: groupRenderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Master Bedroom]: contentDirectory subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Master Bedroom]: groupManagement subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Master Bedroom]: audioIn subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Office]: avTransport subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Office]: renderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Office]: zoneGroupTopology subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Office]: queue subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Office]: groupRenderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Office]: contentDirectory subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Office]: groupManagement subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Office]: audioIn subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Pool]: avTransport subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Pool]: renderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Pool]: zoneGroupTopology subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Pool]: queue subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Pool]: groupRenderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Pool]: contentDirectory subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Pool]: groupManagement subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Pool]: audioIn subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Theater Room]: avTransport subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Theater Room]: renderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Theater Room]: zoneGroupTopology subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Theater Room]: queue subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Theater Room]: groupRenderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Theater Room]: contentDirectory subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Theater Room]: groupManagement subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Theater Room]: audioIn subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Workout Room]: avTransport subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Workout Room]: renderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Workout Room]: zoneGroupTopology subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Workout Room]: queue subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Workout Room]: groupRenderingControl subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Workout Room]: contentDirectory subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Workout Room]: groupManagement subscription failed. Resubscribing...
Sonos Error [Mon May 6 22:33:03 2019] [Sonos Workout Room]: audioIn subscription failed. Resubscribing...

Re: Sonos error : Error in plugin execution runConcurrentThr

PostPosted: Tue May 14, 2019 6:22 am
by MartinG
Similar for me unfortunately.

Problems started when I changed the IP address of my reference player. The plugin didn't seem to recognise the change, and continued looking at the old IP addresses. Deleting the plugin and the Sonos devices, then reinstalling 1.0.15, doesn't seem to have solved anything unfortunately.

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

Re: Sonos error : Error in plugin execution runConcurrentThr

PostPosted: Mon Jul 22, 2019 9:35 am
by wideglidejrp
I am getting a lot of Sonos errors and cannot figure out the root cause. I have reloaded plugin (1.0.15) and rebooted iMac, Any ideas appreciated.

Jul 22, 2019 at 6:18:45 AM
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.3/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 377, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7.3/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 501, in socoSubTest
KeyError: (1229441052,)

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

Sonos SoCo Reactor Ignition...