Open FlyingDiver opened 1 year ago
2023.0.17 is the latest version
Doesn't look like those changes are relevant to my results.
You are probably right and I will look at your feedback tomorrow. Thanks :)
Haven't been able to reproduce the initial launch errors you encountered. I have uploaded release .18 - please give that a try.
That worked, but still got some errors.
Jul 14, 2023 at 10:07:37 AM
Installing and enabling plugin Sonos v2023.0.18
Loading plugin "Sonos 2023.0.18" using API v3.1
Starting plugin "Sonos 2023.0.18" (pid 69224)
Reloading plugin "Web Server 2022.2.0" using API v3.0
Stopping plugin "Web Server 2022.2.0" (pid 69145)
Reflector shutdown reflector connection
Stopped plugin "Web Server 2022.2.0"
Starting plugin "Web Server 2022.2.0" (pid 69228)
Started plugin "Sonos 2023.0.18"
Error (client) getConfigUiValuesFromPlugin1() caught exception: HandlerError -- all request handlers are disabled
Error (client) timeout waiting for plugin response from com.ssi.indigoplugin.Sonos for request CallPluginFunc
Error (client) runConfigDialog() caught exception: NSInvalidArgumentException -- *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
Sonos Error PLUGIN STOPPED AS PYTHON PACKAGE(S) REQUIRE INSTALLING | UPDATING:
The 'lxml' package needs to be installed or updated.
Copy and paste the following pip command into a terminal window and press return:
pip3.10 install lxml==4.9.2 --target "/Library/Application Support/Perceptive Automation/Indigo 2022.2/Preferences/Plugins/com.ssi.indigoplugin.Sonos.python_packages"
Once installed | updated, reload the Plugin.
Stopping plugin "Sonos 2023.0.18" (pid 69224)
Started plugin "Web Server 2022.2.0"
Web Server starting internal Web server on http://localhost:8176
Bonjour registered "Indigo - Development"
Reflector starting reflector connection to https://fd-dev.indigodomo.net
Stopped plugin "Sonos 2023.0.18"
Jul 14, 2023 at 10:09:23 AM
Reloading plugin "Sonos 2023.0.18" using API v3.1
Starting plugin "Sonos 2023.0.18" (pid 69522)
Sonos Using Reference ZonePlayer IP: 192.168.111.242
Sonos Loaded Sonos Favorites... [5]
Sonos Loaded Playlists... [0]
Sonos Loaded RadioTime Favorite Stations... [0]
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve Event Listener IP address.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve Event Check Interval; setting to 60 seconds.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve Subscription Check Interval; setting to 15 seconds.
Sonos Error [Fri Jul 14 10:09:25 2023] HTTPStreamer not functioning.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve SoundFilePath.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve Pandora credentials.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve secondary Pandora credentials.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve SiriusXM parameters.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve IVONA parameters.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve Polly parameters.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve MSTranslate parameters.
Sonos [Fri Jul 14 10:09:25 2023] Processed plugin preferences.
Started plugin "Sonos 2023.0.18"
Sonos Warning
Optional 'pandora' Package missing.
If you need it, copy and paste the following pip command into a terminal window and press return:
pip3.10 install pandora==1.5.0
Once any of the optional package(s) listed above have been installed, reload the Plugin.
Sonos Using Reference ZonePlayer IP: 192.168.111.242
Sonos Loaded Sonos Favorites... [5]
Sonos Loaded Playlists... [0]
Sonos Loaded RadioTime Favorite Stations... [0]
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve Event Listener IP address.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve Event Check Interval; setting to 60 seconds.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve Subscription Check Interval; setting to 15 seconds.
Sonos Error [Fri Jul 14 10:09:25 2023] HTTPStreamer not functioning.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve SoundFilePath.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve Pandora credentials.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve secondary Pandora credentials.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve SiriusXM parameters.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve IVONA parameters.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve Polly parameters.
Sonos Error [Fri Jul 14 10:09:25 2023] Could not retrieve MSTranslate parameters.
Sonos [Fri Jul 14 10:09:25 2023] Processed plugin preferences.
Sonos Loaded Apple Voices.. [143]
Sonos SSDP Listener Started...
Sonos SoCo Reactor Ignition...
Jul 14, 2023 at 10:11:38 AM
Sonos Using Reference ZonePlayer IP: 192.168.111.242
Sonos Loaded Sonos Favorites... [5]
Sonos Loaded Playlists... [0]
Sonos Loaded RadioTime Favorite Stations... [0]
Sonos [Fri Jul 14 10:11:38 2023] Processed plugin preferences.
Sonos Serving HTTP Streamer on 192.168.111.111 [0.0.0.0], port 8888
Jul 14, 2023 at 10:12:24 AM
Sonos Using Reference ZonePlayer IP: 192.168.111.242
Sonos Loaded Sonos Favorites... [5]
Sonos Loaded Playlists... [0]
Sonos Loaded RadioTime Favorite Stations... [0]
Sonos [Fri Jul 14 10:12:24 2023] Processed plugin preferences.
Reloading plugin "Sonos 2023.0.18" using API v3.1
Stopping plugin "Sonos 2023.0.18" (pid 69522)
Sonos SoCo Reactor Landing...
Stopped plugin "Sonos 2023.0.18"
Starting plugin "Sonos 2023.0.18" (pid 69815)
Sonos Using Reference ZonePlayer IP: 192.168.111.242
Sonos Loaded Sonos Favorites... [5]
Sonos Loaded Playlists... [0]
Sonos Loaded RadioTime Favorite Stations... [0]
Sonos [Fri Jul 14 10:12:37 2023] Processed plugin preferences.
Started plugin "Sonos 2023.0.18"
Sonos Serving HTTP Streamer on 192.168.111.111 [0.0.0.0], port 8888
Sonos Warning
Optional 'pandora' Package missing.
If you need it, copy and paste the following pip command into a terminal window and press return:
pip3.10 install pandora==1.5.0
Once any of the optional package(s) listed above have been installed, reload the Plugin.
Sonos Using Reference ZonePlayer IP: 192.168.111.242
Sonos Loaded Sonos Favorites... [5]
Sonos Loaded Playlists... [0]
Sonos Loaded RadioTime Favorite Stations... [0]
Sonos [Fri Jul 14 10:12:37 2023] Processed plugin preferences.
Sonos Loaded Apple Voices.. [143]
Sonos SSDP Listener Started...
Sonos SoCo Reactor Ignition...
I do wonder why the config dialog is asking for the IP address of the Indigo server, since that's the machine the plugin is running on and it can certainly get that info.
That is the original way the code works and I haven't changed it.
Is the Indigo webserver stopping and restarting something you have done or related to the Sonos plugin restarting. If so, I wonder why that is as I am not seeing that on my systems?
With the initial error, had you deleted the Sonos prefernces file?
The big question is, has this update resolved the issue with lxml and the Lutron plugin?
The big question is, has this update resolved the issue with lxml and the Lutron plugin?
Yes
With the initial error, had you deleted the Sonos prefernces file?
Yes
I think the webserver restarting is expected.
Belatedly, I think this has been fixed via the new Indigo 2032.2 install process?
This is from the commit tagged 2023.0.16, I think.
Got these errors on initial launch:
Then I got the wall of text for the various packages that are missing. I HIGHLY recommend you refactor your code to build a list of packages to be installed, and generate one PIP command to do them all. And get rid of the arrows so the user can double click the line instead of having to pick out the specific command.
Also, since you're having to put one of the packages in the plugin wrapper, you do all of them that way. And specify the specific versions you tested with so that you KNOW the right ones are getting installed.
No errors on that actual package installs. I then restarted the plugin, and got the quarantine error message:
So you probably need to add an instruction to fix that in the plugin output.