Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jul 2010 09:06:24 +0200
From:      Emanuel Haupt <ehaupt@critical.ch>
To:        hartzell@alerce.com
Cc:        ports@freebsd.org, Brooks Davis <brooks@freebsd.org>, Emanuel Haupt <ehaupt@freebsd.org>
Subject:   pkg-descr: WWW (was: Re: audio/squeezeboxserver still broken)
Message-ID:  <20100708090624.ed82c108.ehaupt@critical.ch>
In-Reply-To: <19508.63118.772132.577016@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> <20100707025728.GE66073@lor.one-eyed-alien.net> <19508.62955.793205.277093@gargle.gargle.HOWL> <19508.63118.772132.577016@gargle.gargle.HOWL>

next in thread | previous in thread | raw e-mail | index | archive | help
George Hartzell <hartzell@alerce.com> wrote:
> George Hartzell writes:
>  > Brooks Davis writes:
>  >  > 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
>  >  > >  > >  > 
>  >  > >  > >  > 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.
>  >  > 
>  >  > 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
>  >  > 
>  >  > [GNUPG:] ERRSIG 5D8E8BE9F2381AD4 17 2 01 1278471447 9
>  >  > [GNUPG:] NO_PUBKEY 5D8E8BE9F2381AD4
>  > 
>  > Could someone see if the patch here:
>  > 
>  >   http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/148318
>  > 
>  > makes things work?
>  > 
>  > Brooks, is that trivial? :)
>  > 
>  > g.
>  > 
> 
> ps.  I can take maintainership if you don't want to hold onto it, but
> I'm not itching to take it....  I do use this every day, so....
> 
> g.

Brooks, WWW in pkg-descr should also be changed the current URL returns
a 404.

Emanuel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100708090624.ed82c108.ehaupt>