Bugzilla – Bug 9658
Scanner seriously broken on Debian Linux x86_64
Last modified: 2008-10-13 09:45:30 UTC
Hi, I've had a seriously broken squeezecenter for several weeks, and after trying to hack it a few times, seeing if it was something generically wrong with my music, reinstalling the server, the deb package, and a number of other things, I've pretty much concluded it has to be a bug. It doesn't come up when I search for it specifically, so I registered it as a new bug. The squeezecenter scanner just dies on startup once it starts descending the directory tree because it seems unable to determine a genre for a song to insert into the genres table, which is FK constrained. It seems to be passing all the checks up to this point for the genre, so I'm assuming the breakdown is elsewhere, and I've attached the error output of the server itself. you can actually log into this server at the URL above for any further information you might need to try and fix this problem. Thanks, Clayton Warning: Use of uninitialized value in sprintf at /usr/share/perl5/Slim/Schema.pm line 940. [08-10-04 11:16:47.6865] Slim::Schema::Storage::throw_exception (70) Error: Error executing 'INSERT INTO genre_track (genre, track) VALUES (?, ?)': DBD::mysql::st execute failed: Column 'genre' cannot be null at /usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 771. [08-10-04 11:16:47.6868] Slim::Schema::Storage::throw_exception (70) Backtrace: frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 70) frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 773) frame 2: DBIx::Class::Storage::DBI::_execute (/usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 788) frame 3: DBIx::Class::Storage::DBI::insert (/usr/share/squeezecenter/CPAN/DBIx/Class/Row.pm line 75) frame 4: DBIx::Class::Row::insert (/usr/share/squeezecenter/CPAN/DBIx/Class/ResultSet.pm line 1335) frame 5: DBIx::Class::ResultSet::create (/usr/share/squeezecenter/CPAN/DBIx/Class/ResultSet.pm line 1381) frame 6: DBIx::Class::ResultSet::find_or_create (/usr/share/perl5/Slim/Schema/Genre.pm line 83) frame 7: Slim::Schema::Genre::add (/usr/share/perl5/Slim/Schema.pm line 2111) frame 8: Slim::Schema::_postCheckAttributes (/usr/share/perl5/Slim/Schema.pm line 985) frame 9: Slim::Schema::newTrack (/usr/share/perl5/Slim/Utils/Scanner.pm line 340) frame 10: Slim::Utils::Scanner::scanDirectory (/usr/share/perl5/Slim/Utils/Scanner.pm line 99) frame 11: Slim::Utils::Scanner::scanPathOrURL (/usr/sbin/squeezecenter-scanner line 210) frame 12: (eval) (/usr/sbin/squeezecenter-scanner line 210) frame 13: main::main (/usr/sbin/squeezecenter-scanner line 362) [08-10-04 11:16:47.6883] main::main (228) Error: Failed when running main scan: [Carp::Clan::__ANON__(): Error executing 'INSERT INTO genre_track (genre, track) VALUES (?, ?)': DBD::mysql::st execute failed: Column 'genre' cannot be null at /usr/share/squeezecenter/CPAN/DBIx/Class/Storage/DBI.pm line 771. ] [08-10-04 11:16:47.6885] main::main (229) Error: Skipping post-process & Not updating lastRescanTime!
see bug 9434 and the references to class::c3.
*** This bug has been marked as a duplicate of bug 9434 ***