PDA

View Full Version : File names in logs



Millwood
2008-03-30, 07:53
Before I request an enhancement, please tell me if I'm missing something.

I see messages in scanner log like:

[08-03-30 10:49:32.5427] MPEG::Audio::Frame::broken (621) Warning: Use of uninitialized value in right bitshift (>>) at /usr/share/squeezecenter/lib/MPEG/Audio/Frame.pm line 621, <$mpeg> chunk 222023.

or:

[08-03-30 04:20:34.1772] Encode::decode (166) Warning: Unicode character 0xfffe is illegal at /usr/lib/perl/5.8/Encode.pm line 166, <$fh> line 1.

I'd like to know what file caused the error. I've tried turning on various debug flags but no joy.

Am I missing the right debug setting or should I open an enhancement request for file names on scanner errors or is there already an open request?

mherger
2008-03-30, 23:35
> [08-03-30 04:20:34.1772] Encode::decode (166) Warning: Unicode
> character 0xfffe is illegal at /usr/lib/perl/5.8/Encode.pm line 166,
> <$fh> line 1.
>
> I'd like to know what file caused the error. I've tried turning on
> various debug flags but no joy.

As this comes from code deep inside some routine, it often doesn't know about the origin of the string. You might know better: is there some pattern? Does it happen during scan? While browsing lists etc.?

--

Michael