Sonos - The Beginning

Posted on
Sun Dec 01, 2013 8:07 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

The old version used element tree, so surprised that you are not getting any similar error. I'm really not sure on this one. Let me sleep on it. I'm on OS X 10.9 - so a few versions ahead. It shouldn't really matter. Perhaps someone else can give this a shot.

Posted on
Mon Dec 02, 2013 10:37 am
roussell offline
User avatar
Posts: 1108
Joined: Aug 18, 2008
Location: Alabama

Re: Sonos - The Beginning

Just tried 6.1, getting the following error:

Code: Select all
Starting plugin "Sonos 0.6.1" (pid 13297)
  Sonos Error                     Error in plugin execution InitializeMain:

Traceback (most recent call last):
  File "plugin.py", line 9, in <module>
  File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 31, in <module>
  File "./lib/zmq/__init__.py", line 35, in <module>
<type 'exceptions.ImportError'>: dlopen(./lib/zmq/utils/initthreads.so, 2): Library not loaded: /Users/admin/Documents/zmq/lib/libzmq.1.dylib
  Referenced from: /Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos-1.indigoPlugin/Contents/Server Plugin/lib/zmq/utils/initthreads.so
  Reason: image not found

  Stopping plugin "Sonos 0.6.1" (pid 13297)
  Stopped plugin "Sonos 0.6.1"
  Error                           plugin "Sonos 0.6.1" (pid 13297) failed to start -- restarting in 20 seconds


Running Indigo 6.05 on OSX 10.6.8. All Sonos gear has fixed IP addresses.

Terry

Posted on
Thu Dec 05, 2013 2:27 pm
Brian Gaiser offline
Posts: 38
Joined: Jul 28, 2013

Re: Sonos - The Beginning

I'm getting similar failures....

Can I manually add the links? I'm pretty handy with the bash shell.....


--CLIP--
Starting plugin "Sonos 0.6.1" (pid 374)
Sonos Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "plugin.py", line 9, in <module>
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 31, in <module>
File "./lib/zmq/__init__.py", line 35, in <module>
<type 'exceptions.ImportError'>: dlopen(./lib/zmq/utils/initthreads.so, 2): Library not loaded: /Users/admin/Documents/zmq/lib/libzmq.1.dylib
Referenced from: /Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/lib/zmq/utils/initthreads.so
Reason: image not found


Stopping plugin "Sonos 0.6.1" (pid 374)
Stopped plugin "Sonos 0.6.1"
Error plugin "Sonos 0.6.1" (pid 374) failed to start -- restarting in 20 seconds

Posted on
Thu Dec 05, 2013 2:31 pm
Brian Gaiser offline
Posts: 38
Joined: Jul 28, 2013

Re: Sonos - The Beginning

I'm on OS X 10.9 as well and all my Sonos is Fixed IP. Indigo is 6.0.5.

Let me know if there is something I can try.

Posted on
Thu Dec 05, 2013 3:08 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Very helpful logs - thanks! I have to recompile zmq with static bindings. Will get another release out this weekend.

Posted on
Sun Dec 29, 2013 4:18 pm
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Sonos - The Beginning

I am using v0.6.12 and am having the same problem. Image not found.

John R Patrick
Author of
Home Attitude

Posted on
Sun Dec 29, 2013 4:19 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

John,

Did you run the Sonos-ZeroMQ script?

wideglidejrp wrote:
I am using v0.6.12 and am having the same problem. Image not found.

Posted on
Sun Dec 29, 2013 5:16 pm
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Sonos - The Beginning

No. I was not aware of such a script. I then got it from your site but not sure what to do next.

John R Patrick
Author of
Home Attitude

Posted on
Sun Dec 29, 2013 5:32 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Take a look at the top section of this installation page: https://vulture.lagaros.com/wiki/pages/z3K6d1S1q3/Installation.html.

wideglidejrp wrote:
No. I was not aware of such a script. I then got it from your site but not sure what to do next.

Posted on
Sun Dec 29, 2013 6:21 pm
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Sonos - The Beginning

I never saw the dialog you mentioned. Here is a screen shot....
Attachments
Screenshot 2013-12-29 19.19.50.png
Screenshot 2013-12-29 19.19.50.png (25.83 KiB) Viewed 3549 times

John R Patrick
Author of
Home Attitude

Posted on
Sun Dec 29, 2013 6:34 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Great - I don't have any output in this script. Try restarting the plugin and let's hope for better results.

wideglidejrp wrote:
I never saw the dialog you mentioned. Here is a screen shot....

Posted on
Mon Dec 30, 2013 7:02 am
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Sonos - The Beginning

I was able to complete setup after running the script. My test did not work, however. Here is error message....

Dec 30, 2013, 8:00:04 AM
Action Group Sonos - LR - Mute
Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 103, in actionMute
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 495, in actionDirect
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: ''

John R Patrick
Author of
Home Attitude

Posted on
Mon Dec 30, 2013 7:14 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

Please put the plugin in debug mode and run the test again. Let's make sure the new version really is working. Do you see states updating at all?

wideglidejrp wrote:
I was able to complete setup after running the script. My test did not work, however. Here is error message....

Dec 30, 2013, 8:00:04 AM
Action Group Sonos - LR - Mute
Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 103, in actionMute
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 495, in actionDirect
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: ''

Posted on
Mon Dec 30, 2013 7:27 am
wideglidejrp offline
User avatar
Posts: 555
Joined: Jan 15, 2012
Location: Danbury, CT

Re: Sonos - The Beginning

This is all I see. It is in debugging mode and I reloaded.

Action Group Sonos - LR - Mute
Sonos Debug Sonos Action: Mute
Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 103, in actionMute
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 495, in actionDirect
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: ''

John R Patrick
Author of
Home Attitude

Posted on
Mon Dec 30, 2013 8:13 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Sonos - The Beginning

There should be dozens of lines of output in debug mode from startup of the plugin to the event processor starting. This is where I think we are broken.

There should also be a file in the plugin directory called coherence.log. After the plugin starts, have a look at that file and please post the contents. It may be very revealing.

Thanks.

wideglidejrp wrote:
This is all I see. It is in debugging mode and I reloaded.

Action Group Sonos - LR - Mute
Sonos Debug Sonos Action: Mute
Sonos Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 103, in actionMute
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 495, in actionDirect
<type 'exceptions.ValueError'>: invalid literal for int() with base 10: ''

Page 22 of 37 1 ... 19, 20, 21, 22, 23, 24, 25 ... 37

Who is online

Users browsing this forum: No registered users and 9 guests