PDA

View Full Version : Error messages in log file



Paul
2003-12-23, 14:15
Can anyone explain whats the problem here:

I'm just installed the squeezebox. It works kinda

The server is 5.0.1 running on Linus RedHat 9.0 (fully patched.)




Use of uninitialized value in hash element at Slim/Hardware/IR.pm line
251, <SRC> line 269280.
Use of uninitialized value in hash element at Slim/Hardware/IR.pm line
251, <SRC> line 269280.
2003-12-23 15:49:50 OOPS! An error has occurred in the SlimServer which
may cause
2003-12-23 15:49:50 incorrect behvior or an eventual crash. The
information below
2003-12-23 15:49:50 indicates where the error occurred. For help, please
contact
2003-12-23 15:49:50 support (AT) slimdevices (DOT) com, and include the following
error message:
2003-12-23 15:49:50 Backtrace:

frame 0: Slim::Utils::Misc::assert (Slim/Hardware/IR.pm line 247)
frame 1: Slim::Hardware::IR::lookupFunction (Slim/Hardware/IR.pm line
507)
frame 2: Slim::Hardware::IR::executeButton (Slim/Control/Command.pm
line 179)
frame 3: Slim::Control::Command::execute (Slim/Hardware/IR.pm line 557)
frame 4: Slim::Hardware::IR::processCode (Slim/Hardware/IR.pm line 448)
frame 5: Slim::Hardware::IR::repeatCode (Slim/Hardware/IR.pm line 362)
frame 6: Slim::Hardware::IR::processIR (Slim/Control/Command.pm line 179)
frame 7: Slim::Control::Command::execute (Slim/Hardware/IR.pm line 40)
frame 8: Slim::Hardware::IR::idle (/usr/local/slimserver/slimserver.pl
line 377)
frame 9: main::idle (/usr/local/slimserver/slimserver.pl line 342)
frame 10: main::main (/usr/local/slimserver/slimserver.pl line 748)

Here's the problem. Slim/Hardware/IR.pm, line 247:

237 238 239 sub lookupFunction {
240 my $client = shift;
241 my $code = shift;
242 my $mode = shift;
243 244 $mode = Slim::Buttons::Common::mode($client) unless
defined($mode);
245 my $map = Slim::Utils::Prefs::clientGet($client,'irmap');
246 assert($client);
247 assert($map);
248 assert($mode);
249 # assert($code); # FIXME: somhow we keep getting here with no
$code.
250 251 if (defined $irMap{$map}{$mode}{$code}) {
252 $::d_ir && msg("found function " .
$irMap{$map}{$mode}{$code} . " for button $code in mode $mode from map
$map\n");
253 return $irMap{$map}{$mode}{$code};
254 } elsif (defined $irMap{$defaultMapFile}{$mode}{$code}) {
255 $::d_ir && msg("found function " .
$irMap{$defaultMapFile}{$mode}{$code} . " for button $code in mode $mode
from map " . defaultMap() . "\n");
256 return $irMap{$defaultMapFile}{$mode}{$code};
257 } elsif (defined $irMap{$map}{'common'}{$code}) {

Use of uninitialized value in hash element at Slim/Hardware/IR.pm line
251, <SRC> line 269841.
Use of uninitialized value in hash element at Slim/Hardware/IR.pm line
251, <SRC> line 269841.

kdf
2003-12-23, 14:32
Quoting Paul <paul.lapointe (AT) magma (DOT) ca>:

> Can anyone explain whats the problem here:
>
> I'm just installed the squeezebox. It works kinda
>
> The server is 5.0.1 running on Linus RedHat 9.0 (fully patched.)

I'll assume you installed the RPM version. Do you have a file called
Default.map located in /usr/local/slimserver/IR ?

it seems to be complaining about a lack of the file, or a problem item within it.

-kdf

Paul
2003-12-23, 15:09
Yes I did install from the RPM

Here is a list of the files in the IR dir. As you can see the file is
there as well as 2 others.

drwxr-xr-x 2 root root 4096 Dec 12 23:01 ./
drwxr-xr-x 12 root root 4096 Dec 20 16:18 ../
-rw-r--r-- 1 root root 5651 Nov 28 19:41 Default.map
-rw-r--r-- 1 root root 2604 Nov 28 19:41 jvc_dvd.ir
-rw-r--r-- 1 root root 937 Nov 28 19:41
Slim_Devices_Remote.ir

Paul


kdf wrote:

>Quoting Paul <paul.lapointe (AT) magma (DOT) ca>:
>
>
>
>>Can anyone explain whats the problem here:
>>
>>I'm just installed the squeezebox. It works kinda
>>
>>The server is 5.0.1 running on Linus RedHat 9.0 (fully patched.)
>>
>>
>
>I'll assume you installed the RPM version. Do you have a file called
>Default.map located in /usr/local/slimserver/IR ?
>
>it seems to be complaining about a lack of the file, or a problem item within it.
>
>-kdf
>

kdf
2003-12-23, 15:22
That looks right. try running "/usr/local/slimserver/slimserver.pl --d_ir" from
a command line and see what extra info you get back in the debug output.
Otherwise, you can try the nightly build and see if that fixes the problem:

http://www.slimdevices.com/downloads/nightly

-kdf

Quoting Paul <paul.lapointe (AT) magma (DOT) ca>:

> Yes I did install from the RPM
>
> Here is a list of the files in the IR dir. As you can see the file is
> there as well as 2 others.
>
> drwxr-xr-x 2 root root 4096 Dec 12 23:01 ./
> drwxr-xr-x 12 root root 4096 Dec 20 16:18 ../
> -rw-r--r-- 1 root root 5651 Nov 28 19:41 Default.map
> -rw-r--r-- 1 root root 2604 Nov 28 19:41 jvc_dvd.ir
> -rw-r--r-- 1 root root 937 Nov 28 19:41
> Slim_Devices_Remote.ir
>
> Paul