Hi,

since the last two updates, Smartmix fails to start with a compilation
error:

------------------ log -----------------
[16-01-20 07:22:01.6799] Slim::bootstrap::tryModuleLoad (286) Warning:
Module [Plugins::SmartMix::Plugin] failed to load:
Undefined subroutine &main::NOMYSB called at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SmartMix/Plugin.pm
line 22.
BEGIN failed--compilation aborted at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SmartMix/Plugin.pm
line 22.
Compilation failed in require at (eval 948) line 2.
BEGIN failed--compilation aborted at (eval 948) line 2.

[16-01-20 07:22:01.6851] Slim::Utils::PluginManager::load (318) Error:
Couldn't load Plugins::SmartMix::Plugin
------------------- /log --------------

I can fix this by changing line 22 in Plugin.pm from

------------ code -------------------
use constant NOMYSB =>
Slim::Utils::Versions->compareVersions($::VERSION, '7.9') >= 0 &&
main::NOMYSB() ? 1 : 0;
------------- /code -----------------

into 

------------ code ----------------
use constant NOMYSB => 1;
------------- /code ---------------

but this is a ... nasty solution. Any ideas what's wrong here? I run
this configuration an a Raspberry Pi 2:

Smartmix 1.7.3
Logitech Media Server Version: 7.9.0 - 1421387918 @ Fri Jan 16 07:39:16
UTC 2015
Betriebssystem: Debian - DE - utf8
Plattformarchitektur: armv7l-linux
Perl-Version: 5.14.2 - arm-linux-gnueabihf-thread-multi-64int
Audio::Scan: 0.95
Datenbankversion: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)

New Perl version? 

Jens


------------------------------------------------------------------------
JensD's Profile: http://forums.slimdevices.com/member.php?userid=65310
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to