Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5
  1. #1

    LMS on rpi3 - on OSMC system after upgrade to Kodi 17.6 fails

    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?
    Code:
    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)
    Server.log excerpt: server.log

    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.
    ]
    Last edited by mh_; 2018-01-12 at 02:24.

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,833

    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

  3. #3
    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.

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,833

    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

  5. #5
    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,
    	},
    my fault was that i just overwrote Fonts.pm file after upgrade and did not check if it's changed...
    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.
    they are pointing to polish letters: Ś ę ą respectively (actually some of the characters problematic for VFD display to be fully rendered)

    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.
    and basically all accented letters (except ˇ and Ë) on VFD displays are replaced by their non-accented latin counterparts.
    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 font I 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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •