Bug 17475 - Some files cause Error: Unable to read at least 10 (or 16) bytes from file.
: Some files cause Error: Unable to read at least 10 (or 16) bytes from file.
Status: NEW
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.6.0
: PC Windows 7
: -- normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-20 00:46 UTC by mr-b
Modified: 2011-08-21 01:03 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mr-b 2011-08-20 00:46:18 UTC
In 7.6.1 r33073 the scanner.log shows multiple entries e.g.

[11-08-14 08:13:48.1134] Audio::Scan::scan (64) Warning: Error: Unable to read at least 10 bytes from file.
[11-08-14 08:14:15.5047] Audio::Scan::scan (64) Warning: Error: Unable to read at least 16 bytes from file.

The default logging levels show no indication of which files are problematic.
7.5.x logging levels did show each file name as it was scanned whihc made identification easier but that is gone in 7.6.x.

Although it is possible to increase the log level to do this, it would be good to name the file with this error to remove the need to do this.

Full story at:
http://forums.slimdevices.com/showthread.php?p=649773#post649773

The problematic files (which play Ok in VLC) have been uploaded to the FTP server and are:

14/05/2008  01:10       261,184,626 08 Corona Radiata.wav
14/05/2008  01:09       169,688,852 10 Demon Seed.wav
(from Nine Inch Nails - The Slip - free download 2496 album.)

02/10/1995  11:17         4,548,890 DEERTIME.MOV
08/09/1995  13:35         1,004,893 MONTANA.MOV
02/10/1995  11:18           630,325 TUBE_MAN.MOV
(from Pere Ubu bonus CD material - even though these are video files, they should surely be ignored and not cause an error)
Comment 1 mr-b 2011-08-20 02:04:09 UTC
To summarise there are two issues:

1) The default log level should report which file is causing the "unreadable" error.

2) Some files which are playable via VLC are apparently unreadable to the scanner.
Comment 2 Erland Isaksson 2011-08-20 14:05:43 UTC
This looks a bit similar to bug #17466
Comment 3 mr-b 2011-08-21 01:03:28 UTC
Ok I'll leave bug #17466 to deal with issue #1 i.e. the default log level should report which file is causing the "unreadable" error.

This bug will just be concerned with the particular files that cause the error.