PDA

View Full Version : Problem with Download Link



Chris
2004-06-12, 06:25
Hi,

If I search for a song using the latest nightly and click the 'Download'
link for the song, the slimserver crashes with the following error in the log.

Is this something on my system, or an actual problem?

Cheers,
Chris.

--

[root@Kylie tmp]# more slimserver.log
2004-06-12 14:21:26.5441 Backtrace:

frame 0: Slim::Utils::Misc::assert (/usr/local/slimserver//Slim/Web/HTTP.pm
line 993)
frame 1: Slim::Web::HTTP::sendStreamingResponse (/usr/local/slimserver//Sli
m/Networking/Select.pm line 124)
frame 2: Slim::Networking::Select::select (/usr/local/slimserver/slimserver
..pl line 421)
frame 3: main::idle (/usr/local/slimserver/slimserver.pl line 364)
frame 4: main::main (/usr/local/slimserver/slimserver.pl line 821)

Here's the problem. /usr/local/slimserver//Slim/Web/HTTP.pm, line 993:

983 last;
984 }
985 }
986 }
987
988 sub sendStreamingResponse {
989 my $httpClient = shift;
990 my $sentbytes;
991
992 my $client = $peerclient{$httpClient};
993 assert($client);
994
995 my $segment = shift(@{$outbuf{$httpClient}});
996 my $streamingFile = $streamingFiles{$httpClient};
997 my $silence = 0;
998
999 $::d_http && msg("sendstreaming response begun...\n");
1000
1001 if (($client->model eq 'squeezebox') && defined($httpClient) &
&
1002 (!defined($client->streamingsocket()) || $httpClient !
= $client->streamingsocket())) {
1003

Can't call method "model" on an undefined value at /usr/local/slimserver//Slim
/Web/HTTP.pm line 1001, <SRC> line 1623.