PDA

View Full Version : Scan terminated Unexpectedly



pjs
2009-11-15, 16:32
I started a fresh scan (clear library and rescan everything) and towards the end, the SC reports:




Directory Scan (17334 of 17334) Complete 00:33:56

Playlist Scan ( of ) Complete 00:00:00

iTunes Import (1010 of 1010) Complete 00:00:27

iTunes Playlist Import (27 of 27) Complete 00:00:02

Merge Various Artists (2812 of 2812) Complete 00:00:35

Artwork Scan (2853 of 2853) Complete 00:11:01

iTunes Downloaded Artwork Import (743 of 1048) Complete 00:00:42

Music scan terminated unexpectedly (iTunes Downloaded Artwork Import)
Total Time: 00:46:43 (Sunday, November 15, 2009 / 3:23 PM)



And here are the gory details, where things look like they begin to go wrong:




Slim::Music::Import::endImporter (701) Completed Slim::Music::MusicFolderScan Scan in 2035 seconds.
Slim::Music::Import::runImporter (567) Starting Slim::Music::PlaylistFolderScan scan
Slim::Music::Import::runImporter (567) Starting Slim::Plugin::iTunes::Importer scan
Carp::Clan::__ANON__ (216) Warning: DBIx::Class::ResultSet::single(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /<D:\bin\SQUEEZ~1\SQUEEZ~1\server\scanner.exe>Slim/Schema.pm line 2523
Carp::Clan::__ANON__ (216) Warning: DBIx::Class::ResultSet::single(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /<D:\bin\SQUEEZ~1\SQUEEZ~1\server\scanner.exe>Slim/Schema.pm line 2523
Slim::Music::Import::endImporter (701) Completed Slim::Plugin::iTunes::Importer Scan in 28 seconds.
Slim::Music::Import::runScanPostProcessing (430) Starting merge of various artists albums
Slim::Music::Import::endImporter (701) Completed mergeVariousAlbums Scan in 34 seconds.
Slim::Music::Import::runScanPostProcessing (438) Starting artwork scan
Slim::Web::Graphics:: processCoverArtRequest (262) Error: Unable to resize music/21236/cover_100x100_o: Can't resize unknown type, magic: "\20JFIF\0\1\2"
Slim::Web::Graphics:: processCoverArtRequest (262) Error: Unable to resize music/21236/cover_50x50_o: Can't resize unknown type, magic: "\20JFIF\0\1\2"
Slim::Web::Graphics:: processCoverArtRequest (262) Error: Unable to resize music/21236/cover_40x40_m: Can't resize unknown type, magic: "\20JFIF\0\1\2"
Slim::Web::Graphics:: processCoverArtRequest (262) Error: Unable to resize music/21236/cover_41x41_m: Can't resize unknown type, magic: "\20JFIF\0\1\2"



I'm not afraid of code (especially Perl) or SQL, however, I don't know where to go from here. How can I further diagnose this?

I think I have a few folder images of type png. Could that be the problem?

A little while ago, I noticed that my SC "music folder" is empty. Everything else seems populated: albums, artists, new music, playlists, etc. But I can no longer click on "music folder" to manually navigate the filesystem holding my music files. Could these errors be the cause of that?

My SC is on WinXP, unfortunately. I plan on moving it to my Linux machine after the semester is over.

Thanks!
Pete

jrichardson
2009-11-17, 10:28
What version of SBS are you running?

Try the latest beta 7.4.2 if your not on that one. Looks like it's trying to import iTunes album art.

You could disable that feature to get it to finish the scan.

pjs
2009-11-17, 22:13
Thank you *so* much!

I'm running 7.4.1. I didn't even know of the existence of nightly beta builds... thank you!!! I looked at the changelog for 7.4.2, and I don't see anything related to fixing itunes artwork import, but I'll install it nevertheless. Bug fixes are good... :)

I'll disable that part of the scan and see if the music folder navigation starts to work again.

Do you know approximately where in "D:\bin\SqueezeCenter" the perl code is that's responsible for the scanning/import? I took a look in there for the first time; I was expecting to see mountains of perl code, but what I'm actually seeing is a bunch of exe files. I was always under the impression that perl powered the SC.

Thanks so much!
Pete