Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-10-16 Thread Michael Herger

I've been running 5.28 on my intel NUC running Ubuntu for many months.


Well, I've been using it with my pCP based system for months, too! 
That's why I'm puzzled to only see it now (or yesterday) on my Mac. 
There's a lot more to do there if Apple really is to pull out scripting 
languages :-(.


--

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-10-15 Thread paul-


I've been running 5.28 on my intel NUC running Ubuntu for many months.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-10-15 Thread chill


I haven't encountered this error again since that post in August.  I've
re-enabled all the plugins that I had disabled, but LMS has been
perfectly behaved.  I have no idea what the cause was, or why it's gone
away.

I'm currently using piCorePlayer v6.0.0-b1, and 'perl -v' gives this:


Code:

This is perl 5, version 28, subversion 0 (v5.28.0) built for 
arm-linux-gnueabihf-thread-multi-64int
  




chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-09-16 Thread maxhowell1


The Perl compilation error you are facing it's very much similar with
error code 51330. I want you to suggest at first learn how to 'Fix Wii
Error Code 51330'
(https://www.routertechnicalsupportnumbers.com/blog/how-to-fix-wii-error-code-51330/)
then you will get the proper solution for this problem.



maxhowell1's Profile: http://forums.slimdevices.com/member.php?userid=69422
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-27 Thread chill


Yeah, I know this isn't a fair test - a 'pass' won't necessarily mean
the plugin is innocent, but a 'fail' might be more conclusive.

The BBC plugins didn't provoke the error after 10 reboots.  So I added
Shairtunes as well, and have rebooted 4 times without error.  I'm going
to remove those plugins again, then add Spotty and listen to some music
while I get on with other things.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-27 Thread bpa


chill wrote: 
> 10 reboots on the trot with no errors.
> 
> I reloaded the two BBC plugins, and have rebooted 5 times without
> error.
> 
> Not conclusive of course, because the error was only 'occasional', but I
> think 10 reboots would have caught at least one instance.

There could be a timing issue. With rapid rebooting, higher chance of
info being cached somewhere (e.g. by router, DNS server) - using cached
info would change timing.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-27 Thread chill


10 reboots on the trot with no errors.

I reloaded the two BBC plugins, and have rebooted 5 times without
error.

Not conclusive of course, because the error was only 'occasional', but I
think 10 reboots would have caught at least one instance.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-27 Thread chill


chill wrote: 
> On the other hand the error could occur on the next reboot, which would
> rule them out I guess.

That didn't happen :-)

A couple of reboots later and it hasn't happened again yet.  I'll keep
trying.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-27 Thread chill


I missed a couple:

Code:

Network Test (v1.0)
  ShairTunes2 (fork) (v0.107.4)



They're gone too now - only Logitech plugins left.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-27 Thread chill


OK, I'll disable those plugins (including yours Michael?) and live off
locally stored music for a while.  The error doesn't occur frequently,
so it could be a while before I can conclude that one of them is the
culprit.  On the other hand the error could occur on the next reboot,
which would rule them out I guess.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-27 Thread bpa


I think Michael is right - this error does not happen to other user' so
something is triggering it on your system

BBCiPlayer & Extras use AnyEvent network stuff directly - so I would
definitely disable those.

WaveInput doesn't do anything "special"   and hasn't changed in years.

AFAICT the error is valid as long as "use strict" has been enabled - but
"use strict"  is not enabled in that module.  However the error
traceback to DNS BEGIN relates to "common::sense" module which
effectively is "use strict" but also overloads "import" - though I'm not
clear as to the reason/side-effects



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-27 Thread Michael Herger

There are all the plugins that don't have Logitech or yourself as the
author:


Could you try to run LMS without any of these plugins? The prefs will 
survive even if you disabled them temporarily (if you don't know how to 
run with the --failsafe parameter).


--

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-27 Thread chill


There are all the plugins that don't have Logitech or yourself as the
author:

Code:

AirPlay bridge (v0.4.20.0)
  BBC iPlayer (v1.6.7)
  BBC iPlayers Extras (v3.2.0)
  Group Players (v0.9.1)
  Material Skin (v0.9.7)
  Song Scanner (v2.0)
  SuperDateTime Screensaver (v5.9.54)
  WaveInput (v1.04)
  



I'm also using the following plugins of yours:

Code:


  Client Cleanup (v1.0.0)
  Ignore files and folders (v0.1)
  Image Browser (v1.0)
  Lastmix (v2.0.0)
  Music and Artist Information (v1.6.4)
  Radio Paradise (v2.4.2)
  Spotty (v2.8.4)
  What Was That Tune? (v1.0.7)
  



Is there an extra level of logging that I can enable to see if one of
these is triggering the error?



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-27 Thread Michael Herger

It did it again, so this time I saved the whole pcp_boot.log


What 3rd party plugins are you using?


--

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-26 Thread chill


It did it again, so this time I saved the whole pcp_boot.log


Code:

Starting piCorePlayer setup...
  Loading pCP function files and pCP configuration file...Done.
  Checking for boot codes on mmcblk0p1...
  Trying to mount /dev/mmcblk0p1.
  Checking for ssh...found, ssh will start.
  Checking for netusb...  newpcp.cfg not found on mmcblk0p1.
  Checking for boot codes on sda1...
  Trying to mount /dev/sda1.
  Checking for ssh...found, ssh will start.
  Checking for netusb...  newpcp.cfg not found on sda1.
  Setting piCorePlayer repository...Done.
  Generating drop-down list...Done.
  Starting pCP AP Mode...pcp-apmode extension not loaded.
  Done.
  Starting wifi...
  Starting WiFi on wlan0...
  udhcpc: started, v1.30.1
  udhcpc: sending discover
  udhcpc: sending discover
  udhcpc: sending discover
  udhcpc: sending select for 192.168.1.4
  udhcpc: lease of 192.168.1.4 obtained, lease time 86400
  deleting routers
  route: SIOCDELRT: No such process
  adding dns 192.168.0.1
  Done.
  Loading configuration file...Done.
  Loading pcp-lms-functions...Done.
  Waiting for soundcard USB to populate. Done (1).
  Waiting for network. Done (1).
  Starting ALSA configuration...Done.
  Starting lirc...Done.
  Starting Openssh server...Done.
  Mounting USB Drives...
  Mounting USB Drive: 7dc913a4-6d77-483a-ae5b-3eb4af144077...
  mount: /dev/sda1 mounted on /mnt/Music.
  Disk Mounted at /mnt/Music.
  Done.
  Starting LMS, this can take some time..."my" variable $ipn masks earlier 
declaration in same scope at /usr/local/slimserver/CPAN/AnyEvent/Socket.pm line 
465.
  Compilation failed in require at /usr/local/slimserver/lib/AnyEvent/DNS.pm 
line 1400.
  BEGIN failed--compilation aborted at 
/usr/local/slimserver/lib/AnyEvent/DNS.pm line 1400.
  Compilation failed in require at 
/usr/local/slimserver/Slim/Networking/Async/DNS.pm line 15.
  BEGIN failed--compilation aborted at 
/usr/local/slimserver/Slim/Networking/Async/DNS.pm line 15.
  Compilation failed in require at 
/usr/local/slimserver/Slim/Networking/Async.pm line 21.
  BEGIN failed--compilation aborted at 
/usr/local/slimserver/Slim/Networking/Async.pm line 21.
  Compilation failed in require at /usr/local/lib/perl5/5.28.0/base.pm line 137.
...propagated at /usr/local/lib/perl5/5.28.0/base.pm line 159.
  BEGIN failed--compilation aborted at 
/usr/local/slimserver/Slim/Networking/Async/HTTP.pm line 35.
  Compilation failed in require at 
/usr/local/slimserver/Slim/Player/ProtocolHandlers.pm line 17.
  BEGIN failed--compilation aborted at 
/usr/local/slimserver/Slim/Player/ProtocolHandlers.pm line 17.
  Compilation failed in require at /usr/local/slimserver/Slim/Music/Info.pm 
line 32.
  BEGIN failed--compilation aborted at /usr/local/slimserver/Slim/Music/Info.pm 
line 32.
  Compilation failed in require at /usr/local/slimserver/Slim/Utils/Misc.pm 
line 49.
  Compilation failed in require at /usr/local/slimserver/slimserver.pl line 229.
  BEGIN failed--compilation aborted at /usr/local/slimserver/slimserver.pl line 
229.
  
  Slimserver is not Running
  Done.
  Waiting for LMS to initiate. LMS not running (22).
  Done (22).
  Starting Squeezelite and/or Shairport-sync...
  [ INFO ] Starting Squeezelite player: Squeezelite...
  Done.
  Starting Samba Server...
  Starting SAMBA...
  Done.
  Starting httpd web server...Done.
  Starting user commands...sudo /home/tc/sbpd-pigpio -M dc:a6:32:03:82:22 -f 
/home/tc/sbpd_commands.cfg e,21,20,VOLU,2,0 
b,3,POWR,2,0,SCRIPT:/home/tc/pcp_bs.sh,2000 b,23,PLAY,2,0,PREV,500 
b,22,MIX-,2,0,MUTE,500 b,24,PAUS,2,0,STOP,500 b,25,MIX+,2,0,VMAX,500 
b,12,NEXT,2,0,SHUF,500 b,16,PRE1,2,0,PRE4,500 b,19,PRE2,2,0,PRE5,500 
b,13,PRE3,2,0,PRE6,500 b,26,PAUS,2,0,STOP,500
  Done.
  Setting cpu scaling governor...ondemand Done.
  
  Finished piCorePlayer startup.
  
  To setup piCorePlayer, use the web interface via a browser:
  - http://192.168.1.4
  
  Press [Enter] to access console.
  
  In the background, ntpd is syncing time between piCorePlayer and the 
internet...
  A large offset between 1970 and now is normal.
  



It certainly looks as though it has an ipv4 address before that error.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-26 Thread bpa


mherger wrote: 
> > This stackoverflow question seems identical to the situation and
> answer
> > is clear. So perhaps AnyEvent Socket.pm which doesn't have "use
> strict"
> > got included somehow into a module which is using  "use strict" .
> > 
> >
> https://stackoverflow.com/questions/6430217/why-do-i-get-a-duplicate-declaration-in-same-scope-warning-in-an-if-elsif-tree
> 
> I learned something new today! Thanks for the research. Worst case we 
> can patch that statement.
Technically no problem since no "use strict" in the file - even latest
AnytEvent::Socket has same code which is 10 years later than LMS.
I wonder is it invoked via a plugin or something like AnyEvent::HTTP
which uses "common::sense"

I think - file it away until it shows again in a more predictable way.

IN the background I may check for exceptions to the "use strict" should
only be within the same file or local scope - perhaps use of
"common::sense" which was added to AnyEvent::HTTP in 2011.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-26 Thread Michael Herger

This stackoverflow question seems identical to the situation and answer
is clear. So perhaps AnyEvent Socket.pm which doesn't have "use strict"
got included somehow into a module which is using  "use strict" .

https://stackoverflow.com/questions/6430217/why-do-i-get-a-duplicate-declaration-in-same-scope-warning-in-an-if-elsif-tree


I learned something new today! Thanks for the research. Worst case we 
can patch that statement.


--

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-26 Thread bpa


This is now an itch that has to be scratched.

This stackoverflow question seems identical to the situation and answer
is clear. So perhaps AnyEvent Socket.pm which doesn't have "use strict"
got included somehow into a module which is using  "use strict" .

https://stackoverflow.com/questions/6430217/why-do-i-get-a-duplicate-declaration-in-same-scope-warning-in-an-if-elsif-tree



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-25 Thread mherger


bpa wrote: 
> Just to follow up
> > 
Code:

  >   > 
  > sub inet_aton {
  > my ($name, $cb) = @_;
  > 
  > if (my $ipn = _ipv4) {
  > $cb->($ipn);
  > } elsif (my $ipn = _ipv6) {
  > $cb->($ipn);
  > } elsif ($name eq "localhost") { # rfc2606 et al.
  > $cb->(v127.0.0.1, v0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1);
  > } else {
  > require AnyEvent::DNS;
  > .
  > .
  > 

> > 
> 
> The offending line in red hasn;t changed in latest version of
> AnyEvent::Socket.pm 
> 
> Why the "my $ipn" is executed twice is odd - perhaps an strange
> network error - could it be your network is network interface is not
> ready ?

I'd not even read this as being defined in the same scope... Both
definitions are local to their if/else statement, aren't they?

And why it sometimes would work, but not always I don't understand
either.



Michael

http://www.herger.net/slim-plugins - Spotty, MusicArtistInfo

mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-25 Thread chill


bpa wrote: 
> I'm guessing it is about network.

That seems logical.  I did try a few reboots to see if I could trigger
the error again, but of course when you want it to happen it won't. 
I'll save the logs if it happens again.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-25 Thread bpa


chill wrote: 
> Forgive me, I don't know the first thing about Perl, but given that a
> 'compiler' error is apparently being triggered at 'run time', I'm
> guessing that it's compiled on demand ('interpreted'?).  In that case,
> would that suggest that this $ipn error is going to be triggered any
> time that red line is reached (i.e. when operating in an ipv6
> environment), because it's a second declaration within the same scope?
Good point.

I think $ipn is in the same scope as they are with the same set of
braces. Round bracket don't limit scope. That said my grasp on Perl
scope is not 100%.

LMS is mostly compiled before execution but Perl can evaluate
expressions at compile time -  so things can be get blurred.

You said, it sometime takes 2-3 goes to get going - this "feels" like
something is not ready and since this code is network related - I'm
guessing it is about network.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-25 Thread chill


Forgive me, I don't know the first thing about Perl, but given that a
'compiler' error is apparently being triggered at 'run time', I'm
guessing that it's compiled on demand ('interpreted'?).  In that case,
would that suggest that this $ipn error is going to be triggered any
time that red line is reached (i.e. when operating in an ipv6
environment), because it's a second declaration within the same scope?



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-25 Thread chill


Thanks for looking into this bpa.  I don't believe anything else has
changed.  Yesterday I did add another command to the start-up user
commands 'tweaks' - a script that I wrote to control a fan via a GPIO
pin - but the compilation error didn't seem to be improved by removal of
that script.

The pCP is currently connected wirelessly, to a mesh system that I added
a few weeks back - apart from some initial teething troubles (as with
ANY new piece of network equipment in my experience!) it's worked
flawlessly.  Signal strength seems good.

If it happens again I'll save the entire boot log, to see if there's any
clue about the network interface.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-25 Thread bpa


Just to follow up

Code:


  sub inet_aton {
  my ($name, $cb) = @_;
  
  if (my $ipn = _ipv4) {
  $cb->($ipn);
  } elsif (my $ipn = _ipv6) {
  $cb->($ipn);
  } elsif ($name eq "localhost") { # rfc2606 et al.
  $cb->(v127.0.0.1, v0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1);
  } else {
  require AnyEvent::DNS;
  .
  .
  



The offending line in red hasn;t changed in latest version of
AnyEvent::Socket.pm 

Why the "my $ipn" is executed twice is odd - perhaps an strange network
error - could it be your network is network interface is not ready ?



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


Re: [SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-25 Thread bpa


Could this be another bug introduced by 5.28

https://github.com/Logitech/slimserver/tree/public/7.9/lib/AnyEvent

What changed between last successful botot andf the failed boot ?
Update LMS ?
Update PCP ?



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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


[SlimDevices: SqueezeCenter] Perl compilation error: $ipn

2019-08-25 Thread chill


Not sure where to post this, as I can't tell whether it's a general LMS
issue, or specific to pCP, or possibly even caused by Paul-'s latest
test version of sbpd-pigpio (which is the only change I've made
recently).

As of this morning, on rebooting pCP I've been getting quite a few
instances where LMS fails to start.  This is in the pcp_boot.log file:

Code:

Starting LMS, this can take some time..."my" variable $ipn masks earlier 
declaration in same scope at /usr/local/slimserver/CPAN/AnyEvent/Socket.pm line 
465.
  Compilation failed in require at /usr/local/slimserver/lib/AnyEvent/DNS.pm 
line 1400.
  BEGIN failed--compilation aborted at 
/usr/local/slimserver/lib/AnyEvent/DNS.pm line 1400.
  Compilation failed in require at 
/usr/local/slimserver/Slim/Networking/Async/DNS.pm line 15.
  BEGIN failed--compilation aborted at 
/usr/local/slimserver/Slim/Networking/Async/DNS.pm line 15.
  Compilation failed in require at 
/usr/local/slimserver/Slim/Networking/Async.pm line 21.
  BEGIN failed--compilation aborted at 
/usr/local/slimserver/Slim/Networking/Async.pm line 21.
  Compilation failed in require at /usr/local/lib/perl5/5.28.0/base.pm line 137.
...propagated at /usr/local/lib/perl5/5.28.0/base.pm line 159.
  BEGIN failed--compilation aborted at 
/usr/local/slimserver/Slim/Networking/Async/HTTP.pm line 35.
  Compilation failed in require at 
/usr/local/slimserver/Slim/Player/ProtocolHandlers.pm line 17.
  BEGIN failed--compilation aborted at 
/usr/local/slimserver/Slim/Player/ProtocolHandlers.pm line 17.
  Compilation failed in require at /usr/local/slimserver/Slim/Music/Info.pm 
line 32.
  BEGIN failed--compilation aborted at /usr/local/slimserver/Slim/Music/Info.pm 
line 32.
  Compilation failed in require at /usr/local/slimserver/Slim/Utils/Misc.pm 
line 49.
  Compilation failed in require at /usr/local/slimserver/slimserver.pl line 229.
  BEGIN failed--compilation aborted at /usr/local/slimserver/slimserver.pl line 
229.
  
  Slimserver is not Running

 

Rebooting once or twice usually gets LMS to start.  It doesn't seem to
make any difference whether I try to start sbpd-pigpio as a [tweak], but
that variable $ipn seems like it could be related to a pin number
variable, hence my suspicions, but I have no idea whether/how variables
used by sbpd-pigpio could interfere with perl compilation - seems
unlikely.

Have I corrupted something with a careless reboot perhaps?  Touch wood,
everything seems to be working fine now, so maybe not worth any further
investigation, but I'm still curious what could cause the compilation to
fail 'occasionally'.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110902

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