Hello,
I am struggling with trying to get LMS to work on Raspberry PI 3 after system update of OSMC to Kodi 17.6 and Debian Stretch. (i installed LMS on it some time ago basing on http://forums.slimdevices.com/showth...nt-NAS-in-OSMC )
Everything is basically broken. There are a lot of errors, Squeezeboxes cannot reach the server, nothing can be played, I can't connect to LMS with Orange Squeeze app, but web interface works (almost - but it does not see players).
I updated LMS to the latest version but it did not help.
Here is the changelog of the recent OSMC update: https://osmc.tv/2018/01/osmcs-decemb...and-kodi-17-6/
The system was upgraded to Debian Stretch, also all installed packages as well. Which means Perl is probably also updated, which maybe have some influence?
Server.log excerpt: server.logCode:osmc@pi:~$ perl -v This is perl 5, version 24, subversion 1 (v5.24.1) built for arm-linux-gnueabihf-thread-multi-64int (with 75 registered patches, see perl -V for more detail)
Some lines from the log below:
Code:[18-01-12 08:31:32.9217] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Slim::Display::Squeezebox2] failed to load: Can't find Unicode property definition "BidiR" in regex; marked by <-- HERE in m/\p{BidiR} <-- HERE / at /usr/share/perl5/Slim/Display/Lib/Fonts.pm line 102. Compilation failed in require at /usr/share/perl5/Slim/Display/Graphics.pm line 25. BEGIN failed--compilation aborted at /usr/share/perl5/Slim/Display/Graphics.pm line 25. Compilation failed in require at /usr/share/perl/5.24/base.pm line 136. ...propagated at /usr/share/perl/5.24/base.pm line 158. BEGIN failed--compilation aborted at /usr/share/perl5/Slim/Display/Squeezebox2.pm line 25. Compilation failed in require at (eval 1228) line 1. BEGIN failed--compilation aborted at (eval 1228) line 1. [18-01-12 08:31:32.9295] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Networking::Slimproto::client_readable: Can't locate object method "new" via package "Slim::Display::Squeezebox2" (perhaps you forgot to load "Slim::Display::Squeezebox2"?) at /usr/share/perl5/Slim/Networking/Slimproto.pm line 1149. ; fh=IO::Socket::INET=GLOB(0x59297418) [18-01-12 08:31:33.1895] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Commands::playlistSaveCommand]: [Can't call method "string" on an undefined value at /usr/share/perl5/Slim/Player/Player.pm line 193. ] [18-01-12 08:31:33.3364] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: Can't call method "string" on an undefined value at /usr/share/perl5/Slim/Player/Player.pm line 193. ; fh=Slim::Networking::Async::Socket::HTTPS=GLOB(0x5b01b3c0) [18-01-12 08:31:33.3710] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Networking::Async::HTTP::_http_read_body: Can't call method "string" on an undefined value at /usr/share/perl5/Slim/Player/Player.pm line 193. ; fh=Slim::Networking::Async::Socket::HTTP=GLOB(0x5b014628) [18-01-12 08:31:33.4365] Slim::Control::Request::notify (2060) Error: Failed notify: Can't call method "string" on an undefined value at /usr/share/perl5/Slim/Player/Player.pm line 193. [18-01-12 08:31:33.6609] Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Queries::serverstatusQuery]: [Can't call method "vfdmodel" on an undefined value at /usr/share/perl5/Slim/Player/Player.pm line 184. ]
Results 1 to 5 of 5
-
2018-01-12, 00:52 #1
- Join Date
- Oct 2011
- Posts
- 40
LMS on rpi3 - on OSMC system after upgrade to Kodi 17.6 fails
Last edited by mh_; 2018-01-12 at 02:24.
-
2018-01-12, 02:51 #2
LMS on rpi3 - on OSMC system afterupgrade to Kodi 17.6 fails
Make sure you run the latest LMS 7.9.1 nightly build.
--
Michael
-
2018-01-12, 08:55 #3
- Join Date
- Oct 2011
- Posts
- 40
I have this version: 7.9.1 - 1515659378 @ Thu Jan 11 09:37:08 UTC 2018 (installed today) - the log above is from this version.
Maybe it does not include last commit from yesterday, but i am not sure if it is relevant.
-
2018-01-12, 12:56 #4
LMS on rpi3 - on OSMC system afterupgrade to Kodi 17.6 fails
> I have this version: 7.9.1 - 1515659378 @ Thu Jan 11 09:37:08 UTC 2018
> (installed today) - the log above is from this version.
> Maybe it does not include last commit from yesterday, but i am not sure
> if it is relevant.
Something's wrong with your installation. While that version string says
you were running the latest, the error message you're getting:
Can't find Unicode property definition "BidiR" in regex; marked by <--
HERE in m/\p{BidiR} <-- HERE / at
/usr/share/perl5/Slim/Display/Lib/Fonts.pm line 102.
stems from an issue I fixed about 15 months ago
(https://github.com/Logitech/slimserv...e0b94fe11f15be).
Check out that line 102, and you'd see that the regex mentioned in the
installation no longer exists
(https://github.com/Logitech/slimserv.../Fonts.pm#L102).
Maybe you should run a "find /usr -name Fonts.pm" to see whether you
have some old version lying around somewhere.
--
Michael
-
2018-01-12, 23:58 #5
- Join Date
- Oct 2011
- Posts
- 40
Great catch Michael, thank you. I indeed had messed the Fonts.pm file up. I made one change directly in the source file some time ago for the fonts to render polish accented letters better on VFD:
Code:my %font2TTF = ( # The standard size - .1 is top line, .2 is bottom. 'standard.1' => { # 'FTFontSize' => 9, # Code2000: max ascender 14, max descender 4 'FTFontSize' => 7, # Code2000: max ascender 14, max descender 4 'FTBaseline' => 8, }, 'standard.2' => { # 'FTFontSize' => 14, # Code2000: max ascender 19, max descender 6 'FTFontSize' => 16, # Code2000: max ascender 19, max descender 6 'FTBaseline' => 28, },
I'm sorry that I bothered you with this. I guess I should remove the topic afterwards because it might not be relevant to anyone else.
However.... a series of the following messages has logged now (removed duplicates):
Code:[18-01-13 07:26:28.6875] Slim::Utils::Misc::msg (1250) Warning: [07:26:28.6868] Wide character (U+15A) in uc at /usr/share/squeezeboxserver/CPAN/Template/Filters.pm line 53. [18-01-13 07:26:28.6882] Slim::Utils::Misc::msg (1250) Warning: [07:26:28.6878] Wide character (U+119) in uc at /usr/share/squeezeboxserver/CPAN/Template/Filters.pm line 53. [18-01-13 07:26:28.6921] Slim::Utils::Misc::msg (1250) Warning: [07:26:28.6915] Wide character (U+105) in uc at /usr/share/squeezeboxserver/CPAN/Template/Filters.pm line 53.
also:
Code:[18-01-13 07:52:24.9025] Slim::Display::Lib::Fonts::__ANON__ (85) Warning: Unable to load TrueType font support: Can't locate Font/FreeType.pm in @INC (you may need to install the Font::FreeType module) (@INC contains: /usr/share/squeezeboxserver/Plugins/SrvrPowerCtrl/lib /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SqueezeCloud/lib /var/lib/squeezeboxserver/cache/InstalledPlugins /usr/share/squeezeboxserver/CPAN/arch/5.24/arm-linux-gnueabihf-thread-multi-64int /usr/share/squeezeboxserver/CPAN/arch/5.24/arm-linux-gnueabihf-thread-multi-64int/auto /usr/share/squeezeboxserver/CPAN/arch/5.24.1/arm-linux-gnueabihf-thread-multi-64int /usr/share/squeezeboxserver/CPAN/arch/5.24.1/arm-linux-gnueabihf-thread-multi-64int/auto /usr/share/squeezeboxserver/CPAN/arch/arm-linux-gnueabihf-thread-multi-64int /usr/share/squeezeboxserver/CPAN/arch/5.24 /usr/share/squeezeboxserver/lib /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/sbin /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/arm-linux-gnueabihf/perl5/5.24 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base) at /usr/share/perl5/Slim/Display/Lib/Fonts.pm line 84.
So probably this Font::FreeType is missing from the updated perl version and I need to add it manually
... and here I also must mention, that I am using a different CODE2000.TTF file where the accented letters are more alike the standard fontI don't remember exactly but it was probably some arial font (arialuni.ttf ?) i renamed. The file is 23,275,812 bytes large.
Last edited by mh_; 2018-01-13 at 00:05.