PDA

View Full Version : Fail in scanning library, fresh install



danm
2007-07-30, 09:11
Hi,
I just downloaded the freshest server and while it was scanning my iTunes library it consistently barfs

Win XP/SP2
Desktop machine 2GHz, 2G ram
Stored on an internal hard drive
iTunes v7
5938 'songs', it gets about 3000 of them before it dies
Log dump

commit ineffective with AutoCommit enabled at E:\Program Files\SlimServer\server\CPAN/DBIx/Class/Storage/DBI.pm line 706.
Commmit ineffective while AutoCommit is on at E:\Program Files\SlimServer\server\CPAN/DBIx/Class/Storage/DBI.pm line 706.
ERROR: DBD::mysql::db commit failed: Commmit ineffective while AutoCommit is on at E:\Program Files\SlimServer\server\CPAN/DBIx/Class/Storage/DBI.pm line 706.

ERROR: Backtrace follows:

Backtrace:

frame 0: Slim::Schema::throw_exception (/<E:\Program Files\SlimServer\server\slim.exe>DBIx/Class/Schema.pm line 606)
frame 1: DBIx::Class::Schema::txn_do (/<E:\Program Files\SlimServer\server\slim.exe>Slim/Music/Import.pm line 241)
frame 2: (eval) (/<E:\Program Files\SlimServer\server\slim.exe>Slim/Music/Import.pm line 233)
frame 3: Slim::Music::Import::setIsScanning (/<E:\Program Files\SlimServer\server\slim.exe>Slim/Music/Import.pm line 152)
frame 4: Slim::Music::Import::launchScan (/<E:\Program Files\SlimServer\server\slim.exe>Slim/Control/Commands.pm line 1725)
frame 5: Slim::Control::Commands::rescanCommand (/<E:\Program Files\SlimServer\server\slim.exe>Slim/Control/Request.pm line 1483)
frame 6: (eval) (/<E:\Program Files\SlimServer\server\slim.exe>Slim/Control/Request.pm line 1483)
frame 7: Slim::Control::Request::execute (/<E:\Program Files\SlimServer\server\slim.exe>Slim/Control/Request.pm line 772)
frame 8: Slim::Control::Request::executeRequest (E:\Program Files\SlimServer\server/Plugins/iTunes/Plugin.pm line 76)
frame 9: Plugins::iTunes::Plugin::checker (/<E:\Program Files\SlimServer\server\slim.exe>Slim/Utils/Timers.pm line 182)
frame 10: (eval) (/<E:\Program Files\SlimServer\server\slim.exe>Slim/Utils/Timers.pm line 182)
frame 11: Slim::Utils::Timers::checkTimers (slimserver.pl line 495)
frame 12: main::idle (slimserver.pl line 35)
frame 13: PerlSvc::Startup (perlsvc line 850)
frame 14: PerlSvc::_startup (slimserver.pl line 0)
frame 15: (eval) (slimserver.pl line 0)



From the windows dump

<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="scanner.exe" FILTER="GRABMI_FILTER_PRIVACY">
<MATCHING_FILE NAME="scanner.exe" SIZE="4690004" CHECKSUM="0x3982F5CA" BIN_FILE_VERSION="0.0.0.0" BIN_PRODUCT_VERSION="0.0.0.0" PRODUCT_VERSION="0.0.0.0" FILE_DESCRIPTION="" COMPANY_NAME="" PRODUCT_NAME="" FILE_VERSION="0.0.0.0" ORIGINAL_FILENAME="scanner.exe" INTERNAL_NAME="scanner.exe" LEGAL_COPYRIGHT="" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x47A942" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="0.0.0.0" UPTO_BIN_PRODUCT_VERSION="0.0.0.0" LINK_DATE="03/19/2007 07:18:10" UPTO_LINK_DATE="03/19/2007 07:18:10" VER_LANGUAGE="Language Neutral [0x0]" />
<MATCHING_FILE NAME="slim.exe" SIZE="5046357" CHECKSUM="0x6385D117" BIN_FILE_VERSION="0.0.0.0" BIN_PRODUCT_VERSION="0.0.0.0" PRODUCT_VERSION="0.0.0.0" FILE_DESCRIPTION="" COMPANY_NAME="" PRODUCT_NAME="" FILE_VERSION="0.0.0.0" ORIGINAL_FILENAME="slimserver.exe" INTERNAL_NAME="slimserver.exe" LEGAL_COPYRIGHT="" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x0" VERFILETYPE="0x0" MODULE_TYPE="WIN32" PE_CHECKSUM="0x4D5266" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="0.0.0.0" UPTO_BIN_PRODUCT_VERSION="0.0.0.0" LINK_DATE="03/19/2007 07:21:39" UPTO_LINK_DATE="03/19/2007 07:21:39" VER_LANGUAGE="Language Neutral [0x0]" />
<MATCHING_FILE NAME="Bin\MSWin32-x86-multi-thread\alac.exe" SIZE="53248" CHECKSUM="0x1A985681" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="01/18/2007 20:36:55" UPTO_LINK_DATE="01/18/2007 20:36:55" />
<MATCHING_FILE NAME="Bin\MSWin32-x86-multi-thread\flac.exe" SIZE="217088" CHECKSUM="0xEB9F6A0F" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="09/29/2004 04:26:49" UPTO_LINK_DATE="09/29/2004 04:26:49" />
<MATCHING_FILE NAME="Bin\MSWin32-x86-multi-thread\mac.exe" SIZE="71680" CHECKSUM="0xD3542C4" BIN_FILE_VERSION="3.9.9.0" BIN_PRODUCT_VERSION="3.9.9.0" PRODUCT_VERSION="3.99" FILE_DESCRIPTION="Monkey's Audio Console Front-End" COMPANY_NAME="Matthew T. Ashland" PRODUCT_NAME="Monkey's Audio" FILE_VERSION="3.99" ORIGINAL_FILENAME="MAC.exe" INTERNAL_NAME="MAC" LEGAL_COPYRIGHT="Copyright © 2000-2004" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="3.9.9.0" UPTO_BIN_PRODUCT_VERSION="3.9.9.0" LINK_DATE="07/09/2004 16:58:21" UPTO_LINK_DATE="07/09/2004 16:58:21" VER_LANGUAGE="English (United States) [0x409]" />
<MATCHING_FILE NAME="Bin\MSWin32-x86-multi-thread\mov123.exe" SIZE="45056" CHECKSUM="0x16D515F0" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="06/16/2004 05:20:59" UPTO_LINK_DATE="06/16/2004 05:20:59" />
<MATCHING_FILE NAME="Bin\MSWin32-x86-multi-thread\mppdec.exe" SIZE="78848" CHECKSUM="0x41DBC625" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="03/10/2004 19:12:49" UPTO_LINK_DATE="03/10/2004 19:12:49" />
<MATCHING_FILE NAME="Bin\MSWin32-x86-multi-thread\mysqld.exe" SIZE="4149248" CHECKSUM="0x4CAE2A92" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="05/26/2006 02:25:49" UPTO_LINK_DATE="05/26/2006 02:25:49" />
<MATCHING_FILE NAME="Bin\MSWin32-x86-multi-thread\socketwrapper.exe" SIZE="61440" CHECKSUM="0x65657DF0" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="05/17/2007 23:03:59" UPTO_LINK_DATE="05/17/2007 23:03:59" />
<MATCHING_FILE NAME="Bin\MSWin32-x86-multi-thread\sox.exe" SIZE="1446912" CHECKSUM="0x8ADECACC" MODULE_TYPE="WIN32" PE_CHECKSUM="0x16FD51" LINKER_VERSION="0x10000" LINK_DATE="04/11/2006 04:49:44" UPTO_LINK_DATE="04/11/2006 04:49:44" />
<MATCHING_FILE NAME="Bin\MSWin32-x86-multi-thread\wmadec.exe" SIZE="98304" CHECKSUM="0xECCD11CD" MODULE_TYPE="WIN32" PE_CHECKSUM="0x18C70" LINKER_VERSION="0x0" LINK_DATE="09/27/2006 01:12:11" UPTO_LINK_DATE="09/27/2006 01:12:11" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="983552" CHECKSUM="0x4CE79457" BIN_FILE_VERSION="5.1.2600.2180" BIN_PRODUCT_VERSION="5.1.2600.2180" PRODUCT_VERSION="5.1.2600.2180" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xFF848" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.2180" UPTO_BIN_PRODUCT_VERSION="5.1.2600.2180" LINK_DATE="08/04/2004 07:56:36" UPTO_LINK_DATE="08/04/2004 07:56:36" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
</DATABASE>


Please help! I just bought a squeezebox and haven't received it yet, but can't import my library. Everything is stock, there are no tweaks to the library or anything.

danm
2007-07-30, 09:32
Additional information. I only have Apple lossless stored in my library, and slimserver is installed to a different internal disk than the library which is on a dedicated internal disk. I disabled a bunch of plugins and turned on scanning debugging. There is no additional output to the log with the debug flag, and it still errors the same way.

Also, the iTunes library is created and accessed from an apple computer over the network, using the windows machine for storage. I don't have any artwork, and only a few playlists. I'm just loading all my CD's right now.

I found the file by running the scanner from the command line

2007-07-30 11:24:46.9838 ScanDirectory: Adding file:///C:/music/iTunes/iTunMusic/Edith%20Mathis,%20Siegfried%20Lorenz,%20Peter%20Sc hreier%3B%20Berlin%mber%20Orchestra/Bach%20Edition,%20Vol.%207%20-%20Secular%20Cantatas%20[Dis]/3-16%20Bach%20(JS)_%20Wedding%20Cantata,%20BWV%20210 ,%20_O%20Holder%20Tagrw%FCnschte%20Zeit_%20-%207.%20Was%20Luft_%20Was%20Grab_.m4a to database.

Found it, here's the file name
"3-16 Bach (JS)_ Wedding Cantata, BWV 210, _O Holder Tag, Erwünschte Zeit_ - 7. Was Luft_ Was Grab_"
Nothing weird in the tags ...


Looking at this set of tracks (I'm not sure exactly which one is the problem) I don't see anything amiss. Simple classical album, no artwork or anything weird.

danm
2007-07-30, 12:18
Here's the iTunes library xml entry

<key>Location</key><string>file://localhost/Users/dan/Music/iTunes/iTunes%20Music/Edith%20Mathis,%20Siegfried%20Lorenz,%20Peter%20Sc hreier%3B%20Berlin%20Chamber%20Orchestra/Bach%20Edition,%20Vol.%207%20-%20Secular%20Cantatas%20%5BDisc%203%5D/3-15%20Bach%20(JS)_%20Wedding%20Cantata,%20BWV%20210 ,%20_O%20Holder%20Tag,%20Erwu%CC%88nschte%20Zeit_% 20-%206.%20Schweigt,%20Ihr%20Flo%CC%88ten.m4a</string>
<key>File Folder Count</key><integer>4</integer>
<key>Library Folder Count</key><integer>1</integer>
</dict>
<key>2752</key>
<dict>
<key>Track ID</key><integer>2752</integer>
<key>Name</key><string>Bach (JS): Wedding Cantata, BWV 210, "O Holder Tag, Erwünschte Zeit" - 7. Was Luft? Was Grab?</string>
<key>Artist</key><string>Edith Mathis, Siegfried Lorenz, Peter Schreier; Berlin Chamber Orchestra</string>
<key>Composer</key><string>Bach, Johann Sebastian</string>
<key>Album</key><string>Bach Edition, Vol. 7 - Secular Cantatas [Disc 3]</string>
<key>Genre</key><string>Classical</string>
<key>Kind</key><string>Apple Lossless audio file</string>
<key>Size</key><integer>8631880</integer>
<key>Total Time</key><integer>99373</integer>
<key>Disc Number</key><integer>3</integer>
<key>Disc Count</key><integer>8</integer>
<key>Track Number</key><integer>16</integer>
<key>Track Count</key><integer>19</integer>
<key>Year</key><integer>2000</integer>
<key>Date Modified</key><date>2007-07-28T19:58:41Z</date>
<key>Date Added</key><date>2007-07-28T13:50:42Z</date>
<key>Bit Rate</key><integer>694</integer>
<key>Sample Rate</key><integer>44100</integer>
<key>Persistent ID</key><string>04954FCCBF4A6E59</string>
<key>Track Type</key><string>File</string>
<key>File Type</key><integer>1295270176</integer>
<key>File Creator</key><integer>1752133483</integer>

danm
2007-07-30, 15:59
OK I installed a nightly build and it now works. Must have been a bug that's been fixed.