From owner-freebsd-ports@FreeBSD.ORG Sat Jul 3 19:45:51 2010 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37BAD1065673; Sat, 3 Jul 2010 19:45:51 +0000 (UTC) (envelope-from hartzell@almost.alerce.com) Received: from merlin.alerce.com (merlin.alerce.com [64.62.142.94]) by mx1.freebsd.org (Postfix) with ESMTP id 182E08FC16; Sat, 3 Jul 2010 19:45:50 +0000 (UTC) Received: from almost.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by merlin.alerce.com (Postfix) with ESMTP id ED9C833C62; Sat, 3 Jul 2010 12:45:51 -0700 (PDT) Received: by almost.alerce.com (Postfix, from userid 503) id 405D994A7BD; Sat, 3 Jul 2010 12:45:49 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19503.37741.97266.846223@gargle.gargle.HOWL> Date: Sat, 3 Jul 2010 12:45:49 -0700 To: Emanuel Haupt In-Reply-To: <20100703205330.1f14fd6a.ehaupt@FreeBSD.org> References: <20100703144207.29a981e3.ehaupt@critical.ch> <19503.27383.863804.341881@gargle.gargle.HOWL> <20100703205330.1f14fd6a.ehaupt@FreeBSD.org> X-Mailer: VM 8.0.12 under 22.3.1 (i386-apple-darwin9.6.0) Cc: ports@FreeBSD.org, Emanuel Haupt , brooks@FreeBSD.org, hartzell@alerce.com Subject: Re: audio/squeezeboxserver still broken X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jul 2010 19:45:51 -0000 Emanuel Haupt writes: > George Hartzell wrote: > > Emanuel Haupt writes: > > > Hi > > > > > > The current audio/squeezeboxserver port is still broken for me. I > > > just built a package set with an up to date ports tree and > > > installed them in a vanilla jail to make sure that there is no > > > previous cruft which could possibly be a problem. > > > > > > After installing the package set I started the server and > > > configured it over the webinterface - just basic stuff, file > > > location, playlist location, that's it. Then I run > > > > > > $ /usr/local/squeezeboxserver/scanner.pl --wipe --rescan > > > > > > And I get: > > > > > > # /usr/local/squeezeboxserver/scanner.pl --rescan --wipe > > > Your locale was detected as C, you may have problems with > > > non-Latin filenames. Consider changing your LANG variable to the > > > correct locale, i.e. en_US.utf8 [10-07-03 14:38:04.1610] > > > main::main (180) Starting Squeezebox Server scanner (v7.5.1, > > > r30836, Tue Jun 1 07:00:00 MDT 2010) perl 5.010001 [10-07-03 > > > 14:38:04.2226] Carp::Clan::__ANON__ (227) Warning: > > > Class::C3::Componentised::load_components(): Use of > > > DBIx::Class::UTF8Columns is strongly discouraged. See > > > documentation of DBIx::Class::UTF8Columns for more info [10-07-03 > > > 14:38:04.3794] main::main (271) Removing artwork cache... > > > [10-07-03 14:38:04.3823] Slim::Music::Import::runImporter (566) > > > Starting Slim::Music::MusicFolderScan scan [10-07-03 > > > 14:38:04.3945] Slim::Utils::Scanner::scanDirectory (320) Found 49 > > > files in /mp3 [10-07-03 14:38:04.3956] > > > Slim::Utils::Scanner::scanDirectory (333) Scanning: /mp3/foo.mp3 > > > [10-07-03 14:38:04.4332] Slim::Schema::Storage::throw_exception > > > (82) Error: DBI Exception: DBD::mysql::db begin_work failed: > > > Already in a transaction [10-07-03 14:38:04.4336] > > > Slim::Schema::Storage::throw_exception (82) Backtrace: > > > > > > frame 0: Slim::Utils::Log::logBacktrace > > > (/usr/local/squeezeboxserver/Slim/Schema/Storage.pm line 82) frame > > > 1: Slim::Schema::Storage::throw_exception > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage/DBI.pm > > > line 1187) frame 2: DBIx::Class::Storage::DBI::__ANON__ > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage/DBI.pm > > > line 1329) frame 3: DBIx::Class::Storage::DBI::__ANON__ > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage/DBI.pm > > > line 738) frame 4: DBIx::Class::Storage::DBI::__ANON__ > > > (/usr/local/lib/perl5/site_perl/5.10.1/Try/Tiny.pm line 76) frame > > > 5: (eval) (/usr/local/lib/perl5/site_perl/5.10.1/Try/Tiny.pm line > > > 67) frame 6: Try::Tiny::try > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage/DBI.pm > > > line 749) frame 7: DBIx::Class::Storage::DBI::dbh_do > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage/DBI.pm > > > line 1329) frame 8: DBIx::Class::Storage::DBI::_dbh_begin_work > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage/DBI.pm > > > line 1310) frame 9: DBIx::Class::Storage::DBI::txn_begin > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage/TxnScopeGuard.pm > > > line 12) frame 10: DBIx::Class::Storage::TxnScopeGuard::new > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage.pm line > > > 333) frame 11: DBIx::Class::Storage::txn_scope_guard > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Schema.pm line > > > 672) frame 12: DBIx::Class::Schema::txn_scope_guard > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Relationship/CascadeActions.pm > > > line 49) frame 13: > > > DBIx::Class::Relationship::CascadeActions::update > > > (/usr/local/squeezeboxserver/Slim/Schema/DBI.pm line 39) frame 14: > > > Slim::Schema::DBI::update > > > (/usr/local/squeezeboxserver/Slim/Schema.pm line 2766) frame 15: > > > Slim::Schema::_postCheckAttributes > > > (/usr/local/squeezeboxserver/Slim/Schema.pm line 1079) frame 16: > > > Slim::Schema::newTrack > > > (/usr/local/squeezeboxserver/Slim/Utils/Scanner.pm line 347) frame > > > 17: Slim::Utils::Scanner::scanDirectory > > > (/usr/local/squeezeboxserver/Slim/Music/MusicFolderScan.pm line > > > 79) frame 18: Slim::Music::MusicFolderScan::startScan > > > (/usr/local/squeezeboxserver/Slim/Music/Import.pm line 568) frame > > > 19: Slim::Music::Import::runImporter > > > (/usr/local/squeezeboxserver/Slim/Music/Import.pm line 373) frame > > > 20: Slim::Music::Import::runScan > > > (/usr/local/squeezeboxserver/scanner.pl line 305) frame 21: (eval) > > > (/usr/local/squeezeboxserver/scanner.pl line 299) frame 22: > > > main::main (/usr/local/squeezeboxserver/scanner.pl line 454) > > > > > > [10-07-03 14:38:04.4341] Slim::Schema::Storage::throw_exception > > > (82) Error: Carp::Clan::__ANON__(): DBI Exception: DBD::mysql::db > > > begin_work failed: Already in a transaction > > > at /usr/local/squeezeboxserver/Slim/Schema/Storage.pm line 86 > > > [10-07-03 14:38:04.4344] Slim::Schema::Storage::throw_exception > > > (82) Backtrace: > > > > > > frame 0: Slim::Utils::Log::logBacktrace > > > (/usr/local/squeezeboxserver/Slim/Schema/Storage.pm line 82) frame > > > 1: Slim::Schema::Storage::throw_exception > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage/DBI.pm > > > line 740) frame 2: DBIx::Class::Storage::DBI::__ANON__ > > > (/usr/local/lib/perl5/site_perl/5.10.1/Try/Tiny.pm line 98) frame > > > 3: Try::Tiny::try > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage/DBI.pm > > > line 749) frame 4: DBIx::Class::Storage::DBI::dbh_do > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage/DBI.pm > > > line 1329) frame 5: DBIx::Class::Storage::DBI::_dbh_begin_work > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage/DBI.pm > > > line 1310) frame 6: DBIx::Class::Storage::DBI::txn_begin > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage/TxnScopeGuard.pm > > > line 12) frame 7: DBIx::Class::Storage::TxnScopeGuard::new > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage.pm line > > > 333) frame 8: DBIx::Class::Storage::txn_scope_guard > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Schema.pm line > > > 672) frame 9: DBIx::Class::Schema::txn_scope_guard > > > (/usr/local/lib/perl5/site_perl/5.10.1/DBIx/Class/Relationship/CascadeActions.pm > > > line 49) frame 10: > > > DBIx::Class::Relationship::CascadeActions::update > > > (/usr/local/squeezeboxserver/Slim/Schema/DBI.pm line 39) frame 11: > > > Slim::Schema::DBI::update > > > (/usr/local/squeezeboxserver/Slim/Schema.pm line 2766) frame 12: > > > Slim::Schema::_postCheckAttributes > > > (/usr/local/squeezeboxserver/Slim/Schema.pm line 1079) frame 13: > > > Slim::Schema::newTrack > > > (/usr/local/squeezeboxserver/Slim/Utils/Scanner.pm line 347) frame > > > 14: Slim::Utils::Scanner::scanDirectory > > > (/usr/local/squeezeboxserver/Slim/Music/MusicFolderScan.pm line > > > 79) frame 15: Slim::Music::MusicFolderScan::startScan > > > (/usr/local/squeezeboxserver/Slim/Music/Import.pm line 568) frame > > > 16: Slim::Music::Import::runImporter > > > (/usr/local/squeezeboxserver/Slim/Music/Import.pm line 373) frame > > > 17: Slim::Music::Import::runScan > > > (/usr/local/squeezeboxserver/scanner.pl line 305) frame 18: (eval) > > > (/usr/local/squeezeboxserver/scanner.pl line 299) frame 19: > > > main::main (/usr/local/squeezeboxserver/scanner.pl line 454) > > > > > > [10-07-03 14:38:04.4348] main::main (311) Error: Failed when > > > running main scan: [Carp::Clan::__ANON__(): DBI Exception: > > > DBD::mysql::db begin_work failed: Already in a transaction > > > at /usr/local/squeezeboxserver/Slim/Schema/Storage.pm line 86 ] > > > [10-07-03 14:38:04.4350] main::main (312) Error: Skipping > > > > > > Emanuel > > > _______________________________________________ > > > freebsd-ports@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > > > To unsubscribe, send any mail to > > > "freebsd-ports-unsubscribe@freebsd.org" > > > > > > > > > > > > > Does it work if you roll back to the previous version of DBIx::Class? > > That did work. I'm thinking about creating a databases/p5-DBIx-Class > 0.08120 legacy port and submit a patch to adjust the module path in the > current audio/squeezeboxserver. > > Anyone opposed to that idea? Thoughts? > [...] Well, it'd be nice to have it work.... Any info in the squeezebox world about moving forward to the current DBIx::Class? I don't know what the precedent is for maintaining a retro port. Also, someone will have to watch and unwind it when squeeze catches up. g.