ChrisNY wrote:
> I noticed this issue when I upgraded my server a while back. Seems to
> be related to a change to a JSON library based on the log file output.
> Not sure how to resolve the issue but others may have recommendations.
>
> [17-05-22 21:40:02.3769] Slim::Networking::IO::Select::__ANON__ (131)
> Error: Select task failed calling Slim::Web::HTTP::processHTTP:
> JSON::XS::to_json has been renamed to encode_json, either downgrade to
> pre-2.0 versions of JSON::XS or rename the call at
> /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/LMSnewGUI/Plugin.pm
> line 668. ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x173af618)
>
Well spotted - for some reason, I don't get that error, although I have
been running this version for a couple of weeks (and I also don't get
the slowdown - in fact, the new version was supposed to improve
performance, so that's a bit disconcerting..)
Anyway, could you try the following:
- locate your plugin folder (check the regular WebUI > settings >
information for the exact location)
- edit the file LMSnewGUI/Plugin.pm
- delete line 44:
Code:
--------------------
use Digest::SHA1 qw(sha1 sha1_base64 sha1_hex);
use JSON::XS; #this is line 44
use Carp;
--------------------
so it looks like
Code:
--------------------
use Digest::SHA1 qw(sha1 sha1_base64 sha1_hex);
use Carp;
--------------------
- save and restart LMS
- check the log for the error
If this doesn't fix the the performance regression as well, increase
the logging level (in WebUI > settings > advanced > logging) for
(plugin.lmsnewgui) - extGUI4LMS to debug, restart, use extGUI4LMS and
check the log.
[ extGUI4LMS - an alternative web interface: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (https://www.nexus0.net/pub/sw/extgui4lms/) | 'music
visualizer'
(http://forums.slimdevices.com/showthread.php?103073-Announce-music-visualizer-for-squeezelite)
for squeezelite ] [ 'Howto'
(http://forums.slimdevices.com/showthread.php?99648-Howto-build-a-self-contained-LMS):
build a self-contained LMS | 'Howto'
(http://forums.slimdevices.com/showthread.php?107011-Howto-play-Ogg-Opus-files):
play Ogg Opus files ]
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=98186
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins