Page 1 of 1

v0.9.15 runConcurrentThread error

PostPosted: Sat Nov 19, 2016 8:50 am
by norcoscia
Hi, I see this error in my log a few dozen times a day - I did not notice it before upgrading to (both) SONOS v0.9.15 and Indigo 7.

Can you help me figure out the cause, thanks in advance for any help you can provide....

Code: Select all
   Sonos Error                     [Sat Nov 19 06:28:35 2016] ZonePlayer: Sonos Play 1 in Bath Room has fallen off the network.
   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 344, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 367, in checkEvents
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 453, in socoTimeout
TypeError: not enough arguments for format string

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

Re: v0.9.15 runConcurrentThread error

PostPosted: Sat Nov 19, 2016 10:46 am
by nlagaros
Oops for me - typo on an event log entry. I'll get a release out soon... however, if you are seeing this many times a day, then something is going on with that ZonePlayer and the network.

norcoscia wrote:
Hi, I see this error in my log a few dozen times a day - I did not notice it before upgrading to (both) SONOS v0.9.15 and Indigo 7.

Can you help me figure out the cause, thanks in advance for any help you can provide....

Code: Select all
   Sonos Error                     [Sat Nov 19 06:28:35 2016] ZonePlayer: Sonos Play 1 in Bath Room has fallen off the network.
   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 344, in runConcurrentThread
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 367, in checkEvents
  File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 453, in socoTimeout
TypeError: not enough arguments for format string

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

Re: v0.9.15 runConcurrentThread error

PostPosted: Wed Nov 23, 2016 8:27 am
by nlagaros

Re: v0.9.15 runConcurrentThread error

PostPosted: Wed Dec 14, 2016 11:32 am
by Colly
Hi nlagaros,

I've just updated to the latest version, .16, and get these errors everyone minute! Communication with both Play 1's is fine however.

Sonos Error [Wed Dec 14 17:28:48 2016] ZonePlayer: Sonos Living Room has fallen off the network.
Sonos Error [Wed Dec 14 17:28:48 2016] Resubscription due to timeout for ZonePlayer: Sonos Living Room
Sonos Error [Wed Dec 14 17:28:48 2016] ZonePlayer: Sonos Master Bed has fallen off the network.
Sonos Error [Wed Dec 14 17:28:48 2016] Resubscription due to timeout for ZonePlayer: Sonos Master Bed

Any help for a newbie??

Re: v0.9.15 runConcurrentThread error

PostPosted: Wed Dec 14, 2016 12:20 pm
by nlagaros
I suspect there to be something going on with your network. It is possible other devices are causing the ZonePlayers to "reset" their connections. It could be another UPNP device broadcasting. If this is happening consistently every minute, then I would try shutting down other devices one by one to see if the behavior stops.

Colly wrote:
Hi nlagaros,

I've just updated to the latest version, .16, and get these errors everyone minute! Communication with both Play 1's is fine however.

Sonos Error [Wed Dec 14 17:28:48 2016] ZonePlayer: Sonos Living Room has fallen off the network.
Sonos Error [Wed Dec 14 17:28:48 2016] Resubscription due to timeout for ZonePlayer: Sonos Living Room
Sonos Error [Wed Dec 14 17:28:48 2016] ZonePlayer: Sonos Master Bed has fallen off the network.
Sonos Error [Wed Dec 14 17:28:48 2016] Resubscription due to timeout for ZonePlayer: Sonos Master Bed

Any help for a newbie??

Re: v0.9.15 runConcurrentThread error

PostPosted: Thu Dec 15, 2016 3:50 pm
by colinpartridge
Colly wrote:
Hi nlagaros,

I've just updated to the latest version, .16, and get these errors everyone minute! Communication with both Play 1's is fine however.

Sonos Error [Wed Dec 14 17:28:48 2016] ZonePlayer: Sonos Living Room has fallen off the network.
Sonos Error [Wed Dec 14 17:28:48 2016] Resubscription due to timeout for ZonePlayer: Sonos Living Room
Sonos Error [Wed Dec 14 17:28:48 2016] ZonePlayer: Sonos Master Bed has fallen off the network.
Sonos Error [Wed Dec 14 17:28:48 2016] Resubscription due to timeout for ZonePlayer: Sonos Master Bed

Any help for a newbie??

I'm getting identical issues with the latest plugin version, will let you know if I find out what's causing it.

Re: v0.9.15 runConcurrentThread error

PostPosted: Sat Dec 17, 2016 3:39 pm
by colinpartridge
Found the cause of my resubscription issue. It appeared to be a conflict with another plugin, the YamahaRX plugin. Since I don't rely on this plugin it wasn't an issue to delete it.

Colin

Re: v0.9.15 runConcurrentThread error

PostPosted: Sat Dec 17, 2016 3:51 pm
by colinpartridge
Ignore that last post.. still have issues.. :(

Re: v0.9.15 runConcurrentThread error

PostPosted: Sat Dec 17, 2016 4:12 pm
by nlagaros
I'll look at the code. This may be some edge case. Just to confirm, this is happening every minute from plugin startup?

colinpartridge wrote:
Ignore that last post.. still have issues.. :(

Re: v0.9.15 runConcurrentThread error

PostPosted: Sat Dec 17, 2016 4:17 pm
by colinpartridge
Yep , exactly 60 sec intervals from plugin startup.

Colin

Re: v0.9.15 runConcurrentThread error

PostPosted: Sun Dec 18, 2016 9:41 am
by nlagaros
Would you restart the plugin and observe the state called alive for each ZonePlayer that is exhibiting this behavior. When the plugin initializes each ZonePlayer, it should populate with the current time. I want to see what it looks like for you. Thanks.

colinpartridge wrote:
Yep , exactly 60 sec intervals from plugin startup.

Colin

Re: v0.9.15 runConcurrentThread error

PostPosted: Sun Dec 18, 2016 1:15 pm
by colinpartridge
Clearly you have remote healing hands..Was looking at the 'alive' state and the date stamps were matching up with the correct time. I'd decided to reload all the plugins leaving the sonos plugin alone.Having turned them all off I was still seeing the errors so I assumed that co-plugin interference was not to blame. However once I had restarted all the plugins and reloaded the Sonos plug-in the errors have gone away. Weird.
All good now for a while, just wish I knew what the issue really was.

Colin