pip3.10 install boto3
pip3.10 install gTTS
pip3.10 install pyvona
pip3.10 install Twisted
Jun 1, 2023 at 2:25:42 PM
Reloading plugin "Sonos 2023.0.5" using API v3.1
Starting plugin "Sonos 2023.0.5" (pid 62928)
Sonos Error Error in plugin execution InitializeMain:
File "plugin.py", line 23, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/internet/reactor.py", line 38, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/internet/default.py", line 55, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/internet/default.py", line 49, in _getInstallFunction
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/internet/selectreactor.py", line 18, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/internet/posixbase.py", line 16, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/internet/tcp.py", line 38, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/internet/_newtls.py", line 18, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/twisted/protocols/tls.py", line 42, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/OpenSSL/__init__.py", line 8, in <module>
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/OpenSSL/crypto.py", line 3268, in <module>
type: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
Stopping plugin "Sonos 2023.0.5" (pid 62928)
Stopped plugin "Sonos 2023.0.5"
neilk wrote:I have all of the modules sorted, and the pause/ play actions work but I am not getting any updates of the device states (playing, paused etc is blank).
neilk wrote:Sorry - spot on, I had set it but realised my development machine also had wifi active and I had the wrong IP added! I will dig some more. Sorry for the terse earlier message, I think that was premature submission !
Neil
neilk wrote:@Ryanbuckner https://levelup.gitconnected.com/fix-attributeerror-module-lib-has-no-attribute-openssl-521a35d83769 looks like it may be (one) of the issues you are seeing and a resolution.
sudo xattr -rd com.apple.quarantine /Library/Application\ Support/Perceptive\ Automation/Indigo\ 2022.2/Plugins
Sonos Error 'write() argument must be str, not bytes' in module 'Sonos.py', method 'actionAnnouncement'
Failing statement [line 2519]: 'f.write(data)'
autolog wrote:Hi @ryanbuckner,neilk wrote:@Ryanbuckner https://levelup.gitconnected.com/fix-attributeerror-module-lib-has-no-attribute-openssl-521a35d83769 looks like it may be (one) of the issues you are seeing and a resolution.
Thanks for the error report.
If Neil's suggestion doesn't resolve the issue, I will follow it up tomorrow morning (UK time)
python3 -m pip install cryptography==38.0.4
Jun 1, 2023 at 6:24:28 PM
Reloading plugin "Sonos 2023.0.5" using API v3.1
Starting plugin "Sonos 2023.0.5" (pid 64710)
Sonos Error Error in plugin execution InitializeMain:
File "plugin.py", line 34, in <module>
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 80, in <module>
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/soco/__init__.py", line 11, in <module>
File "/Library/Application Support/Perceptive Automation/Indigo 2022.2/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/soco/core.py", line 14, in <module>
type: No module named 'xmltodict'
========> Run 'pip3.10 install pandora' in Terminal window, then reload plugin. <========
Jun 1, 2023 at 6:33:25 PM
Reloading plugin "Sonos 2023.0.5" using API v3.1
Starting plugin "Sonos 2023.0.5" (pid 64781)
Started plugin "Sonos 2023.0.5"
Sonos Loaded Sonos Favorites... [9]
Sonos Loaded Playlists... [5]
Sonos Loaded RadioTime Favorite Stations... [0]
Sonos Error 'User not yet authenticated' in module 'pandora.py', method 'check_authentication'
Failing statement [line 12]: 'raise ValueError("User not yet authenticated")'
Sonos Serving HTTP Streamer on 192.168.1.6 [0.0.0.0], port 8888
Sonos Error [Thu Jun 1 18:33:29 2023] SiriusXM SessionID communications error
Sonos [Thu Jun 1 18:33:29 2023] Processed plugin preferences.
Sonos Loaded Apple Voices.. [48]
Sonos SSDP Listener Started...
Sonos Adding ZonePlayer: 192.168.1.177, RINCON_347E5C12EA7201400, SONOS - Basement (left)
Sonos Adding ZonePlayer: 192.168.1.175, RINCON_347E5C13253401400, SONOS - Basement (right)
Sonos Adding ZonePlayer: 192.168.1.239, RINCON_542A1B8620EE01400, SONOS - Basement Beam
Sonos Adding ZonePlayer: 192.168.1.243, RINCON_7828CA1451B601400, SONOS - Dining Room Speaker
Sonos Adding ZonePlayer: 192.168.1.191, RINCON_5CAAFD5A966601400, SONOS - Family Room Speaker
Sonos Adding ZonePlayer: 192.168.1.188, RINCON_7828CAABC54401400, SONOS - Kitchen Speaker
Sonos Adding ZonePlayer: 192.168.1.193, RINCON_5CAAFDE8718C01400, SONOS - Patio Speakers
Sonos SoCo Reactor Ignition...
Sonos Error UPNP Error: 500
Sonos Error Offending Command -> zoneIP: 192.168.1.177, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
Sonos Error 'invalid literal for int() with base 10: ''' in module 'Sonos.py', method 'actionDirect'
Failing statement [line 1921]: 'if int(ZP) > 0:'
Sonos Error ''str' object has no attribute 'decode'' in module 'Sonos.py', method 'soco_event_audio_in'
Failing statement [line 1304]: 'self.updateStateOnServer(dev, "ZP_AIName", val.decode('utf-8'))'
Sonos Error UPNP Error: 500
Sonos Error Offending Command -> zoneIP: 192.168.1.175, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
Sonos Error 'invalid literal for int() with base 10: ''' in module 'Sonos.py', method 'actionDirect'
Failing statement [line 1921]: 'if int(ZP) > 0:'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
Sonos Loaded Playlists... [5]
Sonos Error UPNP Error: 500
Sonos Error Offending Command -> zoneIP: 192.168.1.177, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
Sonos Error 'invalid literal for int() with base 10: ''' in module 'Sonos.py', method 'actionDirect'
Failing statement [line 1921]: 'if int(ZP) > 0:'
Sonos Error UPNP Error: 500
Sonos Error Offending Command -> zoneIP: 192.168.1.175, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
Sonos Error 'invalid literal for int() with base 10: ''' in module 'Sonos.py', method 'actionDirect'
Failing statement [line 1921]: 'if int(ZP) > 0:'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
Sonos Error UPNP Error: 500
Sonos Error Offending Command -> zoneIP: 192.168.1.177, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
Sonos Error 'invalid literal for int() with base 10: ''' in module 'Sonos.py', method 'actionDirect'
Failing statement [line 1921]: 'if int(ZP) > 0:'
Sonos Error UPNP Error: 500
Sonos Error Offending Command -> zoneIP: 192.168.1.175, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
Sonos Error 'invalid literal for int() with base 10: ''' in module 'Sonos.py', method 'actionDirect'
Failing statement [line 1921]: 'if int(ZP) > 0:'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
Sonos Error SOAPSend Error: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
Sonos Error 'local variable 'response' referenced before assignment' in module 'Sonos.py', method 'SOAPSend'
Failing statement [line 926]: 'res_bytes = response.text.encode("utf-8")'
Sonos Error 'invalid literal for int() with base 10: ''' in module 'Sonos.py', method 'actionDirect'
Failing statement [line 1921]: 'if int(ZP) > 0:'
Sonos Error UPNP Error: 500
Sonos Error Offending Command -> zoneIP: 192.168.1.175, soapRoot: /MediaServer, soapBranch: /ContentDirectory, soapAction: Browse
Sonos Error 'invalid literal for int() with base 10: ''' in module 'Sonos.py', method 'actionDirect'
Failing statement [line 1921]: 'if int(ZP) > 0:'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
Sonos Error 'not enough values to unpack (expected 2, got 1)' in module 'Sonos.py', method 'copyStateFromMaster'
Failing statement [line 3346]: '(MasterUID,x) = dev.states['GROUP_Name'].split(":")'
neilk wrote:... I also tried my polly key and get the following when trying an announcement
- Code: Select all
Sonos Error 'write() argument must be str, not bytes' in module 'Sonos.py', method 'actionAnnouncement'
Failing statement [line 2519]: 'f.write(data)'
Users browsing this forum: No registered users and 0 guests