Bug 7678 - File names in scanner errors in log needed
: File names in scanner errors in log needed
Status: RESOLVED DUPLICATE of bug 6369
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.0
: PC Debian Linux
: -- enhancement (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-31 05:35 UTC by Marc Auslander
Modified: 2008-03-31 12:04 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Auslander 2008-03-31 05:35:39 UTC
When the scanner log shows errors 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.

its impossible to track them down.  It's would be good if the file name that triggered the error was displayed.

Alternately, if there was a debug flag which caused the scanner to print each file name as it was reached, one could figure out the problem.
Comment 1 James Richardson 2008-03-31 10:33:16 UTC

*** This bug has been marked as a duplicate of 6369 ***
Comment 2 Andy Grundman 2008-03-31 10:33:40 UTC
Also you should be able to enable scan.scanner and scan.import debug to see more of what it's doing.
Comment 3 Jim McAtee 2008-03-31 11:21:43 UTC
Can access to bug 6369 be made available to the public?
Comment 4 Andy Grundman 2008-03-31 11:27:45 UTC
Sorry, fixed.
Comment 5 Marc Auslander 2008-03-31 11:57:46 UTC
scan.scanner and scan.import set to debug to not show file names of offending files for errors:

[08-03-31 14:43:58.3910] MPEG::Audio::Frame::broken (620) Warning: Use of uninitialized value in right bitshift (>>) at /usr/share/squeezecenter/lib/MPEG/Audio/Frame.pm line 620, <$mpeg> chunk 263616.

or

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

with the debug options set I see all the file names written to the log before processing of them begins.  but not at the point of the errors.



Comment 6 Andy Grundman 2008-03-31 12:04:29 UTC
Note that those items you listed are not actually errors.