radish112 wrote: > Hi. > > After attempting to install the "Ratings Light" v.1.8.0 plugin, the > "Active Plugins" section of the Plugins tab on LMS shows Ratings Light > (v.1.8.0) in the "Name" Column, while the "Enable" column shows an > unchecked box, and the "Description" column shows "Plugin failed to > load." > > The LMS server log shows: > > > Code: -------------------- > > [21-03-12 14:23:51.3675] main::init (389) Starting Logitech Media Server (v8.1.2, 1614990085, Sat Mar 6 02:41:13 CET 2021) perl 5.032000 - arm-linux-gnueabihf-thread-multi-64int > [21-03-12 14:23:53.7442] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Plugins::RatingsLight::Plugin] failed to load: > Experimental keys on scalar is now forbidden at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/RatingsLight/Plugin.pm line 1703. > Type of arg 1 to keys must be hash or array (not private variable) at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/RatingsLight/Plugin.pm line 1703, near "$libraries) " > BEGIN not safe after errors--compilation aborted at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/RatingsLight/Plugin.pm line 3433. > Compilation failed in require at (eval 948) line 1. > BEGIN failed--compilation aborted at (eval 948) line 1. > > [21-03-12 14:23:53.7495] Slim::Utils::PluginManager::load (323) Error: Couldn't load Plugins::RatingsLight::Plugin > [21-03-12 14:28:03.1140] main::init (389) Starting Logitech Media Server (v8.1.2, 1614990085, Sat Mar 6 02:41:13 CET 2021) perl 5.032000 - arm-linux-gnueabihf-thread-multi-64int > [21-03-12 14:28:04.7922] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Plugins::RatingsLight::Plugin] failed to load: > Experimental keys on scalar is now forbidden at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/RatingsLight/Plugin.pm line 1703. > Type of arg 1 to keys must be hash or array (not private variable) at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/RatingsLight/Plugin.pm line 1703, near "$libraries) " > BEGIN not safe after errors--compilation aborted at /usr/local/slimserver/Cache/InstalledPlugins/Plugins/RatingsLight/Plugin.pm line 3433. > Compilation failed in require at (eval 944) line 1. > BEGIN failed--compilation aborted at (eval 944) line 1. -------------------- > > > > On my rpi4 I'm running Logitech Media Server (server only, not a > player) Version: 8.1.2 - 1614990085 @ Sat Mar 6 02:41:13 CET 2021 > > I tried checking the "Enable" box and rebooting LMS, but that didn't > work. > > Any help appreciated.
Log messages much appreciated. The reason why this didn't show up here is because you're running Perl 5.32 and all my systems run 5.18.4. When I find the time I'll have to test the plugin against 5.32. All I could do for today is release a quick patch (1.8.2). Please let me know if that fixed the issue. If not I'll try to look into it as soon as I can. As a temporary workaround you could download and install the -previous- version from '*github*' (https://github.com/AF-1/lms-ratingslight/releases). ------------------------------------------------------------------------ afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=113344 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
