Sonos error : Error in plugin execution runConcurrentThread:

Posted on
Wed Nov 07, 2018 10:58 am
OjisanSeiuchi offline
User avatar
Posts: 20
Joined: May 06, 2016
Location: London, ON, CANADA

Re: Sonos error : Error in plugin execution runConcurrentThr

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)

Posted on
Sat Dec 29, 2018 9:17 pm
philipbasile offline
Posts: 95
Joined: Jan 08, 2015
Location: NJ

Re: Sonos error : Error in plugin execution runConcurrentThr

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)

Posted on
Tue Jan 29, 2019 10:05 pm
dnomode offline
Posts: 354
Joined: Apr 12, 2008
Location: North Georgia

Re: Sonos error : Error in plugin execution runConcurrentThr

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)

Posted on
Sun Apr 14, 2019 4:09 am
Nine offline
Posts: 75
Joined: Feb 15, 2015
Location: Zurich, Switzerland

Re: Sonos error : Error in plugin execution runConcurrentThr

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.

Posted on
Sun Apr 14, 2019 4:29 am
Nine offline
Posts: 75
Joined: Feb 15, 2015
Location: Zurich, Switzerland

Re: Sonos error : Error in plugin execution runConcurrentThr

v 1.0.15 fixes it :-) http://www.indigodomo.com/pluginstore/147/

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

Posted on
Sun Apr 14, 2019 12:59 pm
dnomode offline
Posts: 354
Joined: Apr 12, 2008
Location: North Georgia

Re: Sonos error : Error in plugin execution runConcurrentThr

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

Posted on
Mon May 06, 2019 8:39 pm
farberm offline
Posts: 194
Joined: Feb 24, 2008

Re: Sonos error : Error in plugin execution runConcurrentThr

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...

Posted on
Tue May 14, 2019 6:22 am
MartinG offline
Posts: 46
Joined: Aug 19, 2016

Re: Sonos error : Error in plugin execution runConcurrentThr

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'

Who is online

Users browsing this forum: No registered users and 1 guest