philippe44 / LMS-ShairTunes2W

Airtunes with LMS (fork of https://github.com/disaster123/shairport2_plugin)
63 stars 3 forks source link

Plugin failed to load on 7.9.1 #19

Closed lucaberta closed 6 years ago

lucaberta commented 6 years ago

Bonjour Philippe,

I am having issues with the latest builds of your great plugin in the setup which is based on Vortexbox, and currently runs LMS 7.9.1 - 0.152.20170613git1496913376 @ Tue Jun 13 20:15:45 EDT 2017

I get the "Plugin failed to load" message when I try to start the plugin. Here is some logging:

[18-06-13 10:23:28.1945] Slim::Utils::PluginDownloader::install (159) install - downloading ShairTunes2W from http://downloads.sourceforge.net/project/lms-plugins-philippe44/ShairTunes2W-0.91.1.zip
[18-06-13 10:23:30.1895] Slim::Utils::PluginDownloader::_downloadDone (176) downloaded ShairTunes2W to /var/lib/squeezeboxserver/cache/DownloadedPlugins/ShairTunes2W.zip
[18-06-13 10:23:30.2478] Slim::Utils::PluginDownloader::_downloadDone (200) digest matches - scheduling ShairTunes2W for install on restart
[18-06-13 10:23:35.9454] Slim::Utils::PluginDownloader::install (159) install - downloading ShairTunes2W from http://downloads.sourceforge.net/project/lms-plugins-philippe44/ShairTunes2W-0.91.1.zip
[18-06-13 10:23:39.8474] Slim::Utils::PluginDownloader::_downloadDone (176) downloaded ShairTunes2W to /var/lib/squeezeboxserver/cache/DownloadedPlugins/ShairTunes2W.zip
[18-06-13 10:23:39.9077] Slim::Utils::PluginDownloader::_downloadDone (200) digest matches - scheduling ShairTunes2W for install on restart

and this shows the correct loading of 0.91.1, which is NOT the latest version though, and I am not sure why this is the case.

Then, when it's time to load the plugin, here is what happens:

[18-06-13 10:23:41.7490] Slim::Utils::PluginDownloader::extract (124) extracted ShairTunes2W to /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W
[18-06-13 10:23:41.7845] Slim::Utils::PluginManager::init (169) Reparsing plugin manifests - processed pending operations
[18-06-13 10:23:41.7867] Slim::Utils::PluginManager::_parseInstallManifest (780) ShairTunes2W [Plugins::ShairTunes2W::Plugin] INSTALLERROR_SUCCESS

but finally:

[18-06-13 10:23:42.5286] Slim::Utils::PluginManager::load (241) Loading plugin: ShairTunes2W
[18-06-13 10:23:42.5486] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Plugins::ShairTunes2W::Plugin] failed to load:
Crypt::OpenSSL::RSA object version 0.28 does not match bootstrap parameter 0.30 at /usr/lib64/perl5/DynaLoader.pm line 216.
Compilation failed in require at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Plugin.pm line 33.
BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Plugin.pm line 33.
Compilation failed in require at (eval 926) line 1.
BEGIN failed--compilation aborted at (eval 926) line 1.

[18-06-13 10:23:42.5514] Slim::Utils::PluginManager::load (323) Error: Couldn't load Plugins::ShairTunes2W::Plugin
[18-06-13 10:23:42.5517] Slim::Utils::PluginManager::load (340) Adding Bin directory: [/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/Bin]
[18-06-13 10:23:42.5519] Slim::Utils::PluginManager::load (366) Adding HTML directory: [/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ShairTunes2W/HTML]

Is this the issue with the crypt lib you fixed between 91.1 and 91.2?

If so, why doesn't my LMS find the new 91.2 plugin and updates it automatically?

I have tried to remove it and install it, and it still picked up 91.1.

Thanks for any clarification provided!

Meilleures salutations, Luca

philippe44 commented 6 years ago

To use 0.91.2, you must add the "dev" repository as I've not published it yet in the "stable" branch. See here https://forums.slimdevices.com/showthread.php?106289-announce-ShairTunes2W-Airtunes-on-LMS-(forked-version-with-Windows-support)

lucaberta commented 6 years ago

Merci @philippe44, I have been using this repo XML URL but I will change it accordingly:

https://raw.githubusercontent.com/philippe44/ShairTunes2/master/plugin/install.xml

Is there any benefit in using the direct URL to the raw GitHub data instead of the SourceForge repo?

I did not even know that you were still using SourceForge!

Luca

lucaberta commented 6 years ago

As I suspected, 0.91.2 fixed the issue and the situation is back to normal, many thanks!

philippe44 commented 6 years ago

Yes, the sourceforge are the only valid repos. The GitHub tree is not organized for that

lucaberta commented 6 years ago

Great, good to know @philippe44 !

Merci pour ton travail sur cette magnifique outil!

Salutations du Lac Léman, Luca