Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-04-02 Thread DJanGo

BeSt wrote: 
> I have tried your last packages Michael, they run correctly.
> But I had already solved my issue (btw, I don't why it solved the locale
> problem...)

Hi BeSt,

You installed / upgraded Perl already so that fix from Perl with the
locale problem was already on your System.
Michael "just" adds the files into the lms distribution.



Gruss
Jan

DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-04-02 Thread BeSt

I have tried your last packages Michael, they run correctly.
But I had already solved my issue (btw, I don't why it solved the locale
problem...)
BeSt wrote: 
> I have tried to reinstall packages or rename/delete things, but at the
> end, I only updated CPAN and it solved the issue> 
Code:

  >   > $ sudo cpan
  > cpan[1]> upgrade /(.*)/

> >



BeSt's Profile: http://forums.slimdevices.com/member.php?userid=49351
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-03-31 Thread BeSt

kag wrote: 
>  So if BeST and nic3 could kindly confirm what their locale is, that
> would be nice.
Excellent !!!
Mine is fr_FR.UTF-8



BeSt's Profile: http://forums.slimdevices.com/member.php?userid=49351
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-03-31 Thread Michael Herger

I'm not sure which specific issue we are talking about, here. Are you
saying that nothing changed on the version parsing code, and that now,
for some reason, with Perl 5.22, it breaks for some locales, with
symptoms nobody had ever reported using Perl up to 5.20?


Yes, that's what I am wondering about.

--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-03-31 Thread kag

mherger wrote: 
> > I'm not saying this is an appropriate solution, in particular to
> > properly display non-ASCII characters of your filenames, but at least
> > the problems are explained.
> 
> Wow... some excellent analysis! But why would this only be a problem on
> 
> these newer Debian Sid based systems?

I'm not sure which specific issue we are talking about, here. Are you
saying that nothing changed on the version parsing code, and that now,
for some reason, with Perl 5.22, it breaks for some locales, with
symptoms nobody had ever reported using Perl up to 5.20?

Or are you talking about the classical version mismatch problem between
LMS and Debian testing/sid, which originally started this thread (before
slowly deriving to the issue I was facing, like BeST, but on ARM)?

mherger wrote: 
> And I'm on en_US.UTF8.

Lucky you, your locale behaves as the C one.


Code:

$ LANG=en_US.UTF8 printf "%f\n" 1
  1.00
  $ LANG=fr_FR.UTF8 printf "%f\n" 1
  1,00
  $ LANG=C printf "%f\n" 1
  1.00
  




kag's Profile: http://forums.slimdevices.com/member.php?userid=65602
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-03-31 Thread Michael Herger

I'm not saying this is an appropriate solution, in particular to
properly display non-ASCII characters of your filenames, but at least
the problems are explained.


Wow... some excellent analysis! But why would this only be a problem on 
these newer Debian Sid based systems?


And I'm on en_US.UTF8.

--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-03-19 Thread DJanGo

mherger wrote: 
> Do you remember what you installed (besides OS 
> updates)?
> 
> -- 
> 
> Michael

The Output from
> cat /var/log/dpkg.logand> cat /var/log/apt/history.log
>  should help to answer this question.



Gruss
Jan

DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-03-19 Thread nic3

Here is the ouptut when I start LSM manually (could not paste it in my
previous answer due to message size limit)


Code:

% sudo /usr/sbin/squeezeboxserver --d_startup
  Found SELinux - setting security context to: texrel_shlib_t for *.so files.
  Got @INC containing:
  /usr/share/squeezeboxserver/CPAN
  /usr/share/squeezeboxserver
  /usr/sbin
  /etc/perl
  /usr/local/lib/x86_64-linux-gnu/perl/5.22.1
  /usr/local/share/perl/5.22.1
  /usr/lib/x86_64-linux-gnu/perl5/5.22
  /usr/share/perl5
  /usr/lib/x86_64-linux-gnu/perl/5.22
  /usr/share/perl/5.22
  /usr/local/lib/site_perl
  /usr/lib/x86_64-linux-gnu/perl-base
  .
  
  Extended @INC to contain:
  /usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-thread-multi
  /usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-thread-multi/auto
  /usr/share/squeezeboxserver/CPAN/arch/5.22.1/x86_64-linux-gnu-thread-multi
  
/usr/share/squeezeboxserver/CPAN/arch/5.22.1/x86_64-linux-gnu-thread-multi/auto
  /usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-gnu-thread-multi
  /usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-gnu-thread-multi/auto
  /usr/share/squeezeboxserver/CPAN/arch/x86_64-linux-gnu-thread-multi
  /usr/share/squeezeboxserver/CPAN/arch/5.22
  /usr/share/squeezeboxserver/lib
  /usr/share/squeezeboxserver/CPAN
  /usr/share/squeezeboxserver
  /usr/share/squeezeboxserver/CPAN
  /usr/share/squeezeboxserver
  /usr/sbin
  /etc/perl
  /usr/local/lib/x86_64-linux-gnu/perl/5.22.1
  /usr/local/share/perl/5.22.1
  /usr/lib/x86_64-linux-gnu/perl5/5.22
  /usr/share/perl5
  /usr/lib/x86_64-linux-gnu/perl/5.22
  /usr/share/perl/5.22
  /usr/local/lib/site_perl
  /usr/lib/x86_64-linux-gnu/perl-base
  .
  
  Loaded module: [version] ok!
  Loaded module: [Time::HiRes] ok!
  Loaded module: [DBI] ok!
  Loaded module: [EV] ok!
  Loaded module: [XML::Parser::Expat] ok!
  Loaded module: [HTML::Parser] ok!
  Loaded module: [JSON::XS] ok!
  Loaded module: [Digest::SHA1] ok!
  Loaded module: [YAML::XS] ok!
  Loaded module: [Sub::Name] ok!
  The following modules are loaded after the first attempt:
UNIVERSAL.pm => /usr/share/perl/5.22/UNIVERSAL.pm
Digest/base.pm => /usr/share/squeezeboxserver/CPAN/Digest/base.pm
Config.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/Config.pm
Time/HiRes.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/Time/HiRes.pm
Slim/Utils/OS/Debian.pm => /usr/share/perl5/Slim/Utils/OS/Debian.pm
Sub/Name.pm => /usr/share/squeezeboxserver/CPAN/Sub/Name.pm
Scalar/Util.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/Scalar/Util.pm
Exporter.pm => /usr/share/perl/5.22/Exporter.pm
B/Deparse.pm => /usr/share/perl/5.22/B/Deparse.pm
Config_git.pl => /usr/lib/x86_64-linux-gnu/perl/5.22/Config_git.pl
Carp.pm => /usr/share/perl/5.22/Carp.pm
Config_heavy.pl => /usr/lib/x86_64-linux-gnu/perl/5.22/Config_heavy.pl
B/Op_private.pm => /usr/share/perl/5.22/B/Op_private.pm
lib.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/lib.pm
File/Spec/Functions.pm => 
/usr/lib/x86_64-linux-gnu/perl/5.22/File/Spec/Functions.pm
overload.pm => /usr/share/perl/5.22/overload.pm
feature.pm => /usr/share/perl/5.22/feature.pm
YAML/XS.pm => /usr/share/squeezeboxserver/CPAN/YAML/XS.pm
Slim/Utils/OS/Unix.pm => /usr/share/perl5/Slim/Utils/OS/Unix.pm
XML/Parser/Expat.pm => 
/usr/share/squeezeboxserver/CPAN/XML/Parser/Expat.pm
HTML/Entities.pm => /usr/share/squeezeboxserver/CPAN/HTML/Entities.pm
DBI.pm => /usr/share/squeezeboxserver/CPAN/arch/5.22/DBI.pm
base.pm => /usr/share/perl/5.22/base.pm
YAML/XS/LibYAML.pm => 
/usr/share/squeezeboxserver/CPAN/YAML/XS/LibYAML.pm
attributes.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/attributes.pm
vars.pm => /usr/share/perl/5.22/vars.pm
DynaLoader.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/DynaLoader.pm
overloading.pm => /usr/share/perl/5.22/overloading.pm
List/Util.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/List/Util.pm
File/Path.pm => /usr/share/perl/5.22/File/Path.pm
constant.pm => /usr/share/perl/5.22/constant.pm
warnings/register.pm => /usr/share/perl/5.22/warnings/register.pm
File/Spec/Unix.pm => 
/usr/lib/x86_64-linux-gnu/perl/5.22/File/Spec/Unix.pm
re.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/re.pm
JSON/XS.pm => /usr/share/squeezeboxserver/CPAN/arch/5.22/JSON/XS.pm
Digest/SHA1.pm => /usr/share/squeezeboxserver/CPAN/Digest/SHA1.pm
POSIX.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/POSIX.pm
File/Spec.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/File/Spec.pm
Tie/Hash.pm => /usr/share/perl/5.22/Tie/Hash.pm
Slim/Utils/OSDetect.pm => /usr/share/perl5/Slim/Utils/OSDetect.pm
File/Basename.pm => /usr/share/perl/5.22/File/Basename.pm
common/sense.pm => /usr/share/squeezeboxserver/CPAN/common/sense.pm
locale.pm => 

Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-03-19 Thread lurchi

What helped for my arch linux installation was to delete CPAN/version.pm
and the folder CPAN/version in the LMS directory. These seem to be
'homegrown' logitech versions of basic perl modules, but they fail to
work for 5.22



lurchi's Profile: http://forums.slimdevices.com/member.php?userid=43423
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-03-19 Thread BeSt

Here is the full data. (Rename mydpkg.gz into mydpkg.tar.bz2)
20150
20151


+---+
|Filename: mydpkg.gz|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=20151|
+---+


BeSt's Profile: http://forums.slimdevices.com/member.php?userid=49351
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-03-19 Thread Michael Herger

   Socket version v49.44.51 required--this is only version v2.18.0 at 
/usr/lib/x86_64-linux-gnu/perl-base/IO/Socket.pm line 12.


That's the second or third time I'm seeing a Sid based installatio 
report invalid version numbers. FWIW: I tried both sid, as well as sid 
based Ubuntu 16.04 and LMS worked just fine. I never installed much but 
LMS, though. Therefore I'm wondering whether any of you who are seeing 
this issue did install other applications before LMS, which might got 
things a bit confused. Do you remember what you installed (besides OS 
updates)?


--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-03-18 Thread nic3

BeSt wrote: 
> I have tried to reinstall packages or rename/delete things, but at the
> end, I only updated CPAN and it solved the issue
> 

I have the same problem as BeSt but I do not want to go through CPAN to
upgrade Perl (that's why I am using a distribution in the first place).

So I tried to dig a bit further. 
First, the required version for File::Temp is set in
/etc/squeezeboxserver/modules.conf. Commenting it out remove the error.
BUT then there is another error (see below the last quote for the full
copy/paste)
> Socket version v49.44.51 required--this is only version v2.18.0 at
> /usr/lib/x86_64-linux-gnu/perl-base/IO/Socket.pm line 12.
So I tried to 
* comment out all entries in modules.conf  -> NOK (same error)
* mv /usr/lib/x86_64-linux-gnu/perl-base/IO/Socket.pm
/usr/lib/x86_64-linux-gnu/perl-base/IO/Socket.pm-TMP -> NOK (same
error).
I do not understand how he can get an error from a file it cannot find.

Any other ideas to test?

Some more information

> dpkg -I logitechmediaserver_7.9.0\~1458146048_all.deb
> new debian package, version 2.0.
> size 137702236 bytes: control archive=79682 bytes.
> 205 bytes, 6 lines  conffiles
> 555 bytes,13 lines  control  
> 301746 bytes,  2970 lines  md5sums  
> 1926 bytes,67 lines   *  postinst #!/bin/sh
> 458 bytes,25 lines   *  postrm   #!/bin/sh
> 919 bytes,41 lines   *  preinst  #!/bin/sh
> 193 bytes, 7 lines   *  prerm#!/bin/sh
> Package: logitechmediaserver
> Version: 7.9.0~1458146048
> Architecture: all
> Maintainer: Logitech/Slim Devices 
> Installed-Size: 341488
> Depends: perl (>= 5.8.8), adduser, libc6
> Conflicts: slimp3, slimserver, squeezeboxserver, squeezecenter
> Replaces: slimp3, slimserver, squeezeboxserver, squeezecenter
> Section: sound
> Priority: optional
> Description: Streaming Audio Server
> Logitech Media Server is a cross-platform streaming media server that
> supports a wide range
> of formats, including AAC, AIFF, FLAC, Ogg Vorbis, MP3, WAV, and WMA.

> perl -v
> 
> This is perl 5, version 22, subversion 1 (v5.22.1) built for
> x86_64-linux-gnu-thread-multi
> (with 58 registered patches, see perl -V for more detail)
> 
> Copyright 1987-2015, Larry Wall
> 
> Perl may be copied only under the terms of either the Artistic License
> or the
> GNU General Public License, which may be found in the Perl 5 source
> kit.
> 
> Complete documentation for Perl, including FAQ lists, should be found
> on
> this system using "man perl" or "perldoc perl".  If you have access to
> the
> Internet, point your browser at http://www.perl.org/, the Perl Home
> Page. 

/usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-thread-multi
/usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-thread-multi/auto
->exist

/usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-gnu-thread-multi
/usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-gnu-thread-multi/auto
-> do NOT exist

fcad00eeb25fd19e98013ddc02c3826c 
/usr/share/squeezeboxserver/CPAN/File/Temp.pm
695514dd52d76abf7106090e93c02480dea87d02 
/usr/share/squeezeboxserver/CPAN/File/Temp.pm
VERSION inside /usr/share/squeezeboxserver/CPAN/File/Temp.pm  is 0.17

> sudo find /usr/ -xdev -iname "*Temp.pm*"
> /usr/share/perl/5.22.1/File/Temp.pm
> /usr/share/squeezeboxserver/CPAN/File/Temp.pm
> /usr/lib/x86_64-linux-gnu/perl-base/File/Temp.pm



nic3's Profile: http://forums.slimdevices.com/member.php?userid=65560
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-02-19 Thread BeSt

I have tried to reinstall packages or rename/delete things, but at the
end, I only updated CPAN and it solved the issue

Code:

$ sudo cpan
  cpan[1]> upgrade /(.*)/



Thank you Michael for your help



BeSt's Profile: http://forums.slimdevices.com/member.php?userid=49351
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-02-19 Thread BeSt

I have not compiled my own perl. Or maybe another package did this, but
I didn't it for purpose. My machine is an amd64 machine with debian Sid
up to date. I am not used to compile things myself. I have installed
squeezeboxserver some years ago from repository and I have updated it
regularly (now LMS).
You ask these questions because /usr/lib/x86_64-linux-gnu/perl/5.22.1
and /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 should not exist ? Is
there a way to have a clean perl install and delete all unuseful perl ?

If I rename this particular file, it fails. It now uses :

Code:

File/Spec/Unix.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/File/Spec/Unix.pm



If I rename the perl folder in /usr/local/lib, it fails because cannot
find File/Spec/Functions.pm. The same if additionnally rename the perl
folder in /usr/lib/



BeSt's Profile: http://forums.slimdevices.com/member.php?userid=49351
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-02-19 Thread Michael Herger

 File::Spec version v48.44.56 required--this is only version v3.620.0 at 
/usr/share/squeezeboxserver/CPAN/File/Temp.pm line 140.
   BEGIN failed--compilation aborted at 
/usr/share/squeezeboxserver/CPAN/File/Temp.pm line 140.


Going back to your very first posting I see that it's picking up 
File::Spec from a rather unexpected plac:


File/Spec/Unix.pm => 
/usr/local/lib/x86_64-linux-gnu/perl/5.22.1/File/Spec/Unix.pm


Did you compile your own perl, like some suggested in the beginning of 
this thread? Can you give us a little more information how you set up 
this machine, installed LMS etc.? And would LMS start if you renamed 
that file?


--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-02-19 Thread BeSt

It is indeed the one that is read, but the import of this file fails.

Here is the debug msg in pasted in 'my first message'
(http://forums.slimdevices.com/showthread.php?105023-Perl-problems-with-LMS-7-9-on-Debian-sid=846342=1#post846342):

Code:

File::Spec version v48.44.56 required--this is only version v3.620.0 at 
/usr/share/squeezeboxserver/CPAN/File/Temp.pm line 140.
  BEGIN failed--compilation aborted at 
/usr/share/squeezeboxserver/CPAN/File/Temp.pm line 140.
  Compilation failed in require at (eval 85) line 1.
  BEGIN failed--compilation aborted at (eval 85) line 1.



I've added the --d_startup flag in /etc/default/logitechmediaserver, and
I have checked the daemon is started using this option but I cannot find
any log containg d_startup outputs...



BeSt's Profile: http://forums.slimdevices.com/member.php?userid=49351
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-02-18 Thread BeSt

Sorry, I've answered partially.

These 2 folders exists. The latest contains folders that contains some
so and pm files.
/usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-thread-multi
/usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-thread-multi/auto

But these 2 do not:
/usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-gnu-thread-multi
/usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-gnu-thread-multi/auto



BeSt's Profile: http://forums.slimdevices.com/member.php?userid=49351
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-02-17 Thread Michael Herger

   /usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-thread-multi
   /usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-thread-multi/auto
   /usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-gnu-thread-multi
   /usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-gnu-thread-multi/auto


Would any of these folders exist?


   The following CPAN modules were found but cannot work with Logitech Media 
Server:
   File::Temp (loaded , need 0.17)


/usr/share/squeezeboxserver/CPAN/File/Temp.pm exist?

--
--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-02-17 Thread BeSt

I've just tried. Same problems: with init.d..., I have still my server
dying each 5 seconds. And executing the server in foreground with "-d"
option leads to the same error with File::Temp.

Don't know if it is useful to yo, but here is the log when I execute it
with --d_startup (incomplete copy paste because of post length
limitation):

Code:

Found SELinux - setting security context to: texrel_shlib_t for *.so files.
  Got @INC containing:
  /usr/share/squeezeboxserver/CPAN
  /usr/share/squeezeboxserver
  /usr/sbin
  /etc/perl
  /usr/local/lib/x86_64-linux-gnu/perl/5.22.1
  /usr/local/share/perl/5.22.1
  /usr/lib/x86_64-linux-gnu/perl5/5.22
  /usr/share/perl5
  /usr/lib/x86_64-linux-gnu/perl/5.22
  /usr/share/perl/5.22
  /usr/local/lib/site_perl
  /usr/lib/x86_64-linux-gnu/perl-base
  .
  
  Extended @INC to contain:
  /usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-thread-multi
  /usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-thread-multi/auto
  /usr/share/squeezeboxserver/CPAN/arch/5.22.1/x86_64-linux-gnu-thread-multi
  
/usr/share/squeezeboxserver/CPAN/arch/5.22.1/x86_64-linux-gnu-thread-multi/auto
  /usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-gnu-thread-multi
  /usr/share/squeezeboxserver/CPAN/arch/5.22/x86_64-linux-gnu-thread-multi/auto
  /usr/share/squeezeboxserver/CPAN/arch/x86_64-linux-gnu-thread-multi
  /usr/share/squeezeboxserver/CPAN/arch/5.22
  /usr/share/squeezeboxserver/lib
  /usr/share/squeezeboxserver/CPAN
  /usr/share/squeezeboxserver
  /usr/share/squeezeboxserver/CPAN
  /usr/share/squeezeboxserver
  /usr/sbin
  /etc/perl
  /usr/local/lib/x86_64-linux-gnu/perl/5.22.1
  /usr/local/share/perl/5.22.1
  /usr/lib/x86_64-linux-gnu/perl5/5.22
  /usr/share/perl5
  /usr/lib/x86_64-linux-gnu/perl/5.22
  /usr/share/perl/5.22
  /usr/local/lib/site_perl
  /usr/lib/x86_64-linux-gnu/perl-base
  .
  
  Loaded module: [version] ok!
  Loaded module: [Time::HiRes] ok!
  Loaded module: [DBI] ok!
  Loaded module: [EV] ok!
  Loaded module: [XML::Parser::Expat] ok!
  Loaded module: [HTML::Parser] ok!
  Loaded module: [JSON::XS] ok!
  Loaded module: [Digest::SHA1] ok!
  Loaded module: [YAML::XS] ok!
  Loaded module: [Sub::Name] ok!
  The following modules are loaded after the first attempt:
  List/Util.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/List/Util.pm
  B/Op_private.pm => /usr/share/perl/5.22/B/Op_private.pm
  attributes.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/attributes.pm
  Exporter.pm => /usr/share/perl/5.22/Exporter.pm
  HTML/Parser.pm => /usr/share/squeezeboxserver/CPAN/HTML/Parser.pm
  Tie/Hash.pm => /usr/share/perl/5.22/Tie/Hash.pm
  Slim/Utils/OS.pm => /usr/share/perl5/Slim/Utils/OS.pm
  overload.pm => /usr/share/perl/5.22/overload.pm
  Slim/Utils/OS/Unix.pm => /usr/share/perl5/Slim/Utils/OS/Unix.pm
  Slim/bootstrap.pm => /usr/share/perl5/Slim/bootstrap.pm
  Scalar/Util.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/Scalar/Util.pm
  FindBin.pm => /usr/share/perl/5.22/FindBin.pm
  Time/HiRes.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/Time/HiRes.pm
  Getopt/Long.pm => /usr/share/perl/5.22/Getopt/Long.pm
  XML/Parser/Expat.pm => /usr/share/squeezeboxserver/CPAN/XML/Parser/Expat.pm
  warnings/register.pm => /usr/share/perl/5.22/warnings/register.pm
  YAML/XS/LibYAML.pm => /usr/share/squeezeboxserver/CPAN/YAML/XS/LibYAML.pm
  File/Spec/Unix.pm => 
/usr/local/lib/x86_64-linux-gnu/perl/5.22.1/File/Spec/Unix.pm
  Config.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/Config.pm
  POSIX.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/POSIX.pm
  base.pm => /usr/share/perl/5.22/base.pm
  Slim/Utils/OSDetect.pm => /usr/share/perl5/Slim/Utils/OSDetect.pm
  File/Path.pm => /usr/share/perl/5.22/File/Path.pm
  Sub/Name.pm => /usr/share/squeezeboxserver/CPAN/Sub/Name.pm
  warnings.pm => /usr/share/perl/5.22/warnings.pm
  DynaLoader.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/DynaLoader.pm
  Slim/Utils/OS/Linux.pm => /usr/share/perl5/Slim/Utils/OS/Linux.pm
  Cwd.pm => /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Cwd.pm
  overloading.pm => /usr/share/perl/5.22/overloading.pm
  Config_git.pl => /usr/lib/x86_64-linux-gnu/perl/5.22/Config_git.pl
  lib.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/lib.pm
  YAML/XS.pm => /usr/share/squeezeboxserver/CPAN/YAML/XS.pm
  B/Deparse.pm => /usr/share/perl/5.22/B/Deparse.pm
  File/Spec/Functions.pm => 
/usr/local/lib/x86_64-linux-gnu/perl/5.22.1/File/Spec/Functions.pm
  constant.pm => /usr/share/perl/5.22/constant.pm
  Symbol.pm => /usr/share/perl/5.22/Symbol.pm
  JSON/XS.pm => /usr/share/squeezeboxserver/CPAN/arch/5.22/JSON/XS.pm
  re.pm => /usr/lib/x86_64-linux-gnu/perl/5.22/re.pm
  File/Basename.pm => /usr/share/perl/5.22/File/Basename.pm
  EV.pm => /usr/share/squeezeboxserver/CPAN/EV.pm
  version/vpp.pm => /usr/share/squeezeboxserver/CPAN/version/vpp.pm
  UNIVERSAL.pm => /usr/share/perl/5.22/UNIVERSAL.pm
  Slim/Utils/OS/Debian.pm => /usr/share/perl5/Slim/Utils/OS/Debian.pm
  HTML/Entities.pm => /usr/share/squeezeboxserver/CPAN/HTML/Entities.pm
  

Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-02-17 Thread Michael Herger

So to have more details about the issue, I ran the binary in foreground
mode. But maybe I should some other commands to help debugging ?


Hmm... would it work if you installed the full package (-all instead of 
-amd64)?


--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-02-17 Thread BeSt

I know, but I did that because when executing the command you gave I
have in my logs: 
Code:

2016-02-17 11:30:20 squeezeboxserver_safe started.
  2016-02-17 11:30:25 Logitech Media Server died. Restarting.
  2016-02-17 11:30:30 Logitech Media Server died. Restarting.
  2016-02-17 11:30:35 Logitech Media Server died. Restarting.
  2016-02-17 11:30:40 Logitech Media Server died. Restarting.
  2016-02-17 11:30:45 Logitech Media Server died. Restarting.



So to have more details about the issue, I ran the binary in foreground
mode. But maybe I should some other commands to help debugging ?



BeSt's Profile: http://forums.slimdevices.com/member.php?userid=49351
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-02-17 Thread Michael Herger

 > sudo /usr/sbin/squeezeboxserver -d


Oh, don't start it this way. You'll have to do something like

/etc/init.d/logitechmediaserver start

--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-02-16 Thread Michael Herger

I am also using Debian Sid, which is up-to-date. But I still have an


What CPU? What would "perl -v" tell you?

--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-02-16 Thread BeSt

mherger wrote: 
> I added binaries for Perl 5.22 x86_64 Linux last night. Please give it a
> 
> try. Thanks!
Hello,

I am also using Debian Sid, which is up-to-date. But I still have an
error (using 7.9.0~1455631301 version):

Code:

> sudo /usr/sbin/squeezeboxserver -d
  The following CPAN modules were found but cannot work with Logitech Media 
Server:
  File::Temp (loaded , need 0.17)
  
  To fix this problem you have several options:
  1. Install the latest version of the module(s) using CPAN: sudo cpan 
Some::Module
  2. Update the module's package using apt-get, yum, etc.
  3. Run the .tar.gz version of Logitech Media Server which includes all 
required CPAN modules.



So I don't know Perl, but I have added a printf line of code, and the
error message is the following:

Code:

File::Spec version v48.44.56 required--this is only version v3.620.0 at 
/usr/share/squeezeboxserver/CPAN/File/Temp.pm line 140.
  BEGIN failed--compilation aborted at 
/usr/share/squeezeboxserver/CPAN/File/Temp.pm line 140.
  Compilation failed in require at (eval 85) line 1.
  BEGIN failed--compilation aborted at (eval 85) line 1.




Anyone sees the problem here ?



BeSt's Profile: http://forums.slimdevices.com/member.php?userid=49351
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-01-22 Thread cdmackay

DJanGo wrote: 
> 
> well - could you explain that to me?
> 

sorry; the versions of utils etc in -stable- pkgs lag too far behind
upstream, for me. Of course, that's the whole point...


mherger wrote: 
> > I wasn't aware that the 5.22 issue, which has just broken LMS for me
> > too, had a quick solution, other than entirely building your own,
> which
> > I was going to try next.
> 
> I added binaries for Perl 5.22 x86_64 Linux last night. Please give it a
> 
> try. Thanks!
> 

That's marvellous! thanks very much indeed Michael.

Although I -will- read up on how to deal with it myself, next time.
That's twice now my tardiness has been overtaken by your fix :)



cdmackay's Profile: http://forums.slimdevices.com/member.php?userid=24816
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-01-21 Thread drwtsn32

I don't know what Yapp is.

I have been running Debian testing for years, not going to switch back
to stable for LMS.

Is it possible to use a separate install of Perl (older version, not
from the debian repository) just for LMS?  That might be a good
workaround.



drwtsn32's Profile: http://forums.slimdevices.com/member.php?userid=65316
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-01-21 Thread drwtsn32

DJanGo wrote: 
> but you know what "search" is?
Of course. No need to be rude.  I have searched and read dozens of
threads the past couple days before I decided to finally reply to this
one.  I saw your "3 posts away" comment but wasn't able to find the one
you're referring to that addresses my issue, but I may not have read
deep enough into the thread.

Thanks for your "help"



drwtsn32's Profile: http://forums.slimdevices.com/member.php?userid=65316
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-01-21 Thread DJanGo

Hi,

sorry mate but 1st post and you get my attention...
drwtsn32 wrote: 
> Any workarounds I can use until then?  (And no, going to Debian stable
> is not an acceptable workaround.)

Yapp isnt a Workaround its called Best Practice.



Gruss
Jan

DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-01-21 Thread cdmackay

Yup, agreed that "stable" is not a solution. I've run "unstable" for
over 15 years now, on my main desktop, and internet-facing server, and
very rarely had a problem that wasn't quickly sorted. and I get far less
issues than friends running the latest stable Ubuntu, etc. Debian stable
is just way too out of date for me.

I wasn't aware that the 5.22 issue, which has just broken LMS for me
too, had a quick solution, other than entirely building your own, which
I was going to try next.

But equally, yes, searching is quite important too :)



cdmackay's Profile: http://forums.slimdevices.com/member.php?userid=24816
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-01-21 Thread Michael Herger

I wasn't aware that the 5.22 issue, which has just broken LMS for me
too, had a quick solution, other than entirely building your own, which
I was going to try next.


I added binaries for Perl 5.22 x86_64 Linux last night. Please give it a 
try. Thanks!


--

Michael
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Perl problems with LMS 7.9 on Debian sid

2016-01-15 Thread Learnincurve

Fair enough!  I'll wait ;)



Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807
View this thread: http://forums.slimdevices.com/showthread.php?t=105023

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter