audio/squeezeboxserver still broken
Mark Atkinson
atkin901 at gmail.com
Wed Jul 7 14:54:35 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/06/10 19:57, Brooks Davis wrote:
> On Sat, Jul 03, 2010 at 12:45:49PM -0700, George Hartzell wrote:
>> Emanuel Haupt writes:
>> > George Hartzell <hartzell at alerce.com> 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 at freebsd.org mailing list
>> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> > > > To unsubscribe, send any mail to
>> > > > "freebsd-ports-unsubscribe at 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.
>
> 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
Just trying to bring all the info together here:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/148318
and
http://forums.slimdevices.com/showthread.php?t=80146
- -Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkw0lR8ACgkQrDN5kXnx8ybdewCeMPDXxdfgy+TDPP5eZMYBbquG
QlUAn1qSbQU1XjTkJEE638wRxqzLUHgK
=zSBa
-----END PGP SIGNATURE-----
More information about the freebsd-ports
mailing list