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

Who is online

Users browsing this forum: No registered users and 1 guest