Bug 12129 - Scanner fails with UTF-8 error
: Scanner fails with UTF-8 error
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.4.0
: Other Ubuntu Linux
: -- normal (vote)
: 7.4.0
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-21 11:39 UTC by Rob
Modified: 2009-05-21 14:16 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
MP3 File causing the failure (6.18 MB, audio/mpeg)
2009-05-21 12:11 UTC, Rob
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob 2009-05-21 11:39:51 UTC
Ubuntu 9.04
SqueezeCenter Version: 7.4 - 26702 @ Thu May 21 01:15:30 PDT 2009


I've cleaned and rescanned the library, but it always fails at this file. looking at the schema.pm code, it looks like it is trying to clean up comments. According to the mp3 tags, there are no comments for any of the songs in this album.

Scanner Log
===========

Slim::Utils::Scanner::scanDirectory (331) 
Scanning: /raid/shares/music/CD Rips/Brandi Carlile/The Story/01 - Late Morning Lullaby.mp3
[09-05-21 11:47:32.8946] Slim::Schema::_preCheckAttributes (2154) Warning: Malformed UTF-8 character (character 0xffff) in pattern match (m//) at /usr/share/perl5/Slim/Schema.pm line 2154.
[09-05-21 11:47:32.8951] Slim::Schema::_preCheckAttributes (2154) Warning: Malformed UTF-8 character (character 0xffff) in pattern match (m//) at /usr/share/perl5/Slim/Schema.pm line 2154.
[09-05-21 11:47:32.9058] main::main (281) Error: Failed when running main scan: [Malformed UTF-8 character (fatal) at /usr/share/perl5/Slim/Schema.pm line 2154.
]
[09-05-21 11:47:32.9063] main::main (282) Error: Skipping post-process & Not updating lastRescanTime!
Comment 1 Rob 2009-05-21 11:43:36 UTC
Removed that album from the filesystem and the rest (38,000+) went through just fine.

Completely cleaned the MP3 tags and re-applied just the basics. I'll try rescanning that album once the full scan finishes.
Comment 2 Andy Grundman 2009-05-21 11:52:02 UTC
And please attach the file that won't scan to this bug.
Comment 3 Rob 2009-05-21 11:54:14 UTC
Is it the last file named ("01 - Late Morning Lullaby.mp3") or the next one?
Comment 4 Andy Grundman 2009-05-21 11:57:50 UTC
It's that one, 01 - Late Morning Lullaby.mp3
Comment 5 Rob 2009-05-21 12:11:02 UTC
Created attachment 5251 [details]
MP3 File causing the failure

I have cleaned the tags since the error happened. I'll try it locally when the full scan finishes.
Comment 6 Rob 2009-05-21 12:16:14 UTC
Rescan after tag clean up succeeded - Sorry! Seems I cleared out the problem.
Comment 7 Andy Grundman 2009-05-21 12:17:59 UTC
Did you clean the tags before or after you uploaded that file?  It doesn't seem to contain any non-ASCII tags.
Comment 8 Rob 2009-05-21 12:22:32 UTC
Unfortunately before...I couldn't find any non-ascii in there before the clean though.
Comment 9 Andy Grundman 2009-05-21 12:23:20 UTC
Do you have a backup?  Would be good to know what tag was causing the problem.
Comment 10 Rob 2009-05-21 14:14:30 UTC
No. Sorry.