Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26
  1. #11
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,863
    Quote Originally Posted by mherger View Post
    > 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/...-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.

  2. #12
    Senior Member chill's Avatar
    Join Date
    Mar 2007
    Posts
    1,335
    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. The next reboot it started normally.

  3. #13
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,316

    Perl compilation error: $ipn

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

    What 3rd party plugins are you using?


    --

    Michael

  4. #14
    Senior Member chill's Avatar
    Join Date
    Mar 2007
    Posts
    1,335
    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?

  5. #15
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,316

    Perl compilation error: $ipn

    > 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

  6. #16
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,863
    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

  7. #17
    Senior Member chill's Avatar
    Join Date
    Mar 2007
    Posts
    1,335
    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.

  8. #18
    Senior Member chill's Avatar
    Join Date
    Mar 2007
    Posts
    1,335
    I missed a couple:
    Code:
    Network Test (v1.0)
    ShairTunes2 (fork) (v0.107.4)
    They're gone too now - only Logitech plugins left.

  9. #19
    Senior Member chill's Avatar
    Join Date
    Mar 2007
    Posts
    1,335
    Quote Originally Posted by chill View Post
    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.

  10. #20
    Senior Member chill's Avatar
    Join Date
    Mar 2007
    Posts
    1,335
    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.

Posting Permissions

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