pike wrote: 
> Dont know either :-) It seems like you dont.
> 
> I killed the process and restarted it by hand. Now it debugs. 
> 
> > 
Code:
--------------------
  >   > 
  > pavlov> ps -w | grep ueeze
  > 17451 admin    96316 S    /volume1/@appstore/Perl/usr/bin/perl 
/volume1/@appstore/SqueezeCenter/slimserver.pl --daemon --user admin
  > 30462 admin     4048 S    grep ueeze
  > pavlov> kill 17451
  > pavlov> /volume1/@appstore/Perl/usr/bin/perl 
/volume1/@appstore/SqueezeCenter/slimserver.pl --daemon --user admin
  > Your locale was detected as C, you may have problems with non-Latin 
filenames.  Consider changing your LANG variable to the correct locale, i.e. 
en_US.utf8
  > [13-12-28 18:40:04.8841] main::init (354) Starting Logitech Media Server 
(v7.7.2, r33893, Wed Mar 14 06:37:22 MDT 2012) perl 5.008006
  > pavlov> tail -f /volume1/@appstore/SqueezeCenter/Logs/server.log 
  > [13-12-28 18:39:43.7508] Plugins::Spotify::ProtocolHandler::__ANON__ (236) 
error fetching track data: Connect timed out: Transport endpoint is not 
connected
  > [13-12-28 18:40:04.8923] main::init (354) Starting Logitech Media Server 
(v7.7.2, r33893, Wed Mar 14 06:37:22 MDT 2012) perl 5.008006
  > [13-12-28 18:40:10.1791] Plugins::Spotify::Spotifyd::__ANON__ (104) $VAR1 = 
bless( {
  > '_os_obj' => 30517,
  > '_start_time' => 1388248810,
  > '_die_upon_destroy' => 1,
  > '_pid' => 30517
  > }, 'Proc::Background' );
  > [13-12-28 18:40:10.4708] Slim::Utils::Misc::msg (1304) Warning: 
[18:40:10.4693] Can't locate auto/IO/Interface/autosplit.ix in @INC (@INC 
contains: 
/volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/Spotify/lib 
/volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins 
/volume1/@appstore/SqueezeCenter/CPAN/arch/5.8/MARVELL_ARMADA370 
/volume1/@appstore/SqueezeCenter/CPAN/arch/5.8/MARVELL_ARMADA370/auto 
/volume1/@appstore/SqueezeCenter/CPAN/arch/5.8.6/MARVELL_ARMADA370 
/volume1/@appstore/SqueezeCenter/CPAN/arch/5.8.6/MARVELL_ARMADA370/auto 
/volume1/@appstore/SqueezeCenter/CPAN/arch/5.8/MARVELL_ARMADA370 
/volume1/@appstore/SqueezeCenter/CPAN/arch/5.8/MARVELL_ARMADA370/auto 
/volume1/@appstore/SqueezeCenter/CPAN/arch/MARVELL_ARMADA370 
/volume1/@appstore/SqueezeCenter/lib /volume1/@appstore/SqueezeCenter/CPAN 
/volume1/@appstore/SqueezeCenter /volume1/@appstore/SqueezeCenter 
/usr/lib/perl5/5.8.6/MARVELL_ARMADA370 /usr/lib/perl5/5.8.6 
/usr/lib/perl5/site_perl/5.8.6/MARV
 ELL_ARMADA370 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl .) at 
/usr/lib/perl5/5.8.6/AutoLoader.pm line 170.
  > at /volume1/@appstore/SqueezeCenter/CPAN/IO/Interface.pm line 12
  > 
--------------------
> > 
> 
> Unfortunately, spotify now works fine, too. Which is good for me. But
> bad for debugging.
> Hm .. it was running as admin. But it was likely not started as admin
> the first time round.
> It might have been started as @wheel or whatever. I couldnt see.
> 
> Oh .. the spotifyd.log gets written to, too. Nothing wrong there.
> 
> *-pike

You have tried changing the helper app port to something other than the
default?

If so, you can try to create a log file of how spotifyd starts up,
change these two lines in Spotifyd.pm


Code:
--------------------
    
  $helperPath = $helperPath . "&> /tmp/spotify-debug";
  eval { $spotifyd = Proc::Background->new({ 'die_upon_destroy' => 1 }, 
$helperPath); };
  
  #eval { $spotifyd = Proc::Background->new({ 'die_upon_destroy' => 1 }, 
$helperPath, $logfile); };
  
--------------------


Add the first two lines and comment out the last one which is the
existing line (the new lines go just before it)

Then start up and look at the contents of /tmp/spotify-debug to see any
startup errors (hopefully!)


------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=79706

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to