Date: Tue, 6 Jul 2010 21:57:28 -0500 From: Brooks Davis <brooks@FreeBSD.org> To: George Hartzell <hartzell@alerce.com> Cc: ports@FreeBSD.org, Emanuel Haupt <ehaupt@critical.ch>, brooks@FreeBSD.org, Emanuel Haupt <ehaupt@FreeBSD.org> Subject: Re: audio/squeezeboxserver still broken Message-ID: <20100707025728.GE66073@lor.one-eyed-alien.net> In-Reply-To: <19503.37741.97266.846223@gargle.gargle.HOWL> References: <20100703144207.29a981e3.ehaupt@critical.ch> <19503.27383.863804.341881@gargle.gargle.HOWL> <20100703205330.1f14fd6a.ehaupt@FreeBSD.org> <19503.37741.97266.846223@gargle.gargle.HOWL>
next in thread | previous in thread | raw e-mail | index | archive | help
--0/kgSOzhNoDC5T3a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 03, 2010 at 12:45:49PM -0700, George Hartzell wrote: > Emanuel Haupt writes: > > George Hartzell <hartzell@alerce.com> wrote: > > > Emanuel Haupt writes: > > > > Hi > > > >=20 > > > > 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. > > > >=20 > > > > 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=20 > > > >=20 > > > > $ /usr/local/squeezeboxserver/scanner.pl --wipe --rescan > > > >=20 > > > > And I get: > > > >=20 > > > > # /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: > > > >=20 > > > > 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/TxnScop= eGuard.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/Ca= scadeActions.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) > > > >=20 > > > > [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: > > > >=20 > > > > 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/TxnScop= eGuard.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/Ca= scadeActions.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) > > > >=20 > > > > [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 > > > >=20 > > > > 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" > > > >=20 > > > >=20 > > > >=20 > > >=20 > > > Does it work if you roll back to the previous version of DBIx::Class? > >=20 > > 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. > >=20 > > Anyone opposed to that idea? Thoughts? > > [...] >=20 > 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. While I hate the idea of a retro port the only other easy option is to revert to using the version from ports and making the databases/p5-DBIx-Class a conflict. Realistically I'm not going to provide a fix myself that isn't trivial. I'd happily give up maintainership to someone who could. -- Brooks --0/kgSOzhNoDC5T3a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFMM+0XXY6L6fI4GtQRApuMAKDdhvfU6YGP9Y1yNWrBrB9Yu4zh4wCg2acy TXl3pmdJX6CC4CxjS5lbSu0= =AMOh -----END PGP SIGNATURE----- --0/kgSOzhNoDC5T3a--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100707025728.GE66073>