Bugzilla – Bug 3453
Can't locate object method "forceCommit" via package "Slim::Schema" - crash
Last modified: 2008-09-15 14:39:24 UTC
Active Perl, Windows 2003 C:\Program Files\slimperl\trunk\server>perl slimserver.pl --d_info Can't locate object method "mergeVariousArtistsAlbums" via package "Slim::Schema" at C:/Program Files/slimperl/trunk/server/Slim/Music/Import.pm line 103. Can't locate object method "forceCommit" via package "Slim::Schema" at slimserve r.pl line 1006. END failed--call queue aborted.
Adding use Slim::Schema; in Import.pm gets me passed this error.
Greg/Steinar - is this still an issue with the latest svn/nightly? Thanks
I am now at r7723 on WinXP. Remove slimserver.pref (fresh install), and you will see this.
Dan I am now at 7723 but am getting two errors depending on how I start things After fresh install, with no slimserver.pref and no Cache folder Just running the scanner C:\Program Files\slimperl\trunk\server>perl scanner.pl --wipe --progress "D:\My Music" DBIx::Class::Storage::DBI::dbh(): DBI Connection failed: DBI connect('hostname=1 27.0.0.1;port=9092;database=slimserver','slimserver',...) failed: Can't connect to MySQL server on '127.0.0.1' (10061) at C:\Program Files\slimperl\trunk\server \CPAN/DBIx/Class/Storage/DBI.pm line 407 2006-06-03 07:19:48.0355 ERROR: forceCommit: Trying to commit transactions befor e DB is initialized! Running the Slimserver C:\Program Files\slimperl\trunk\server>perl slimserver.pl Can't locate object method "mergeVariousArtistsAlbums" via package "Slim::Schema " at C:/Program Files/slimperl/trunk/server/Slim/Music/Import.pm line 122.
Same error for me using rev 7783: Can't locate object method "mergeVariousArtistsAlbums" via package "Slim::Schema" at C:\SlimMySQL/Slim/Music/Import.pm line 122. Running on Windows XP MCE 2005 SP2, and retrieved latest build into a clean folder (just to be sure).
*** Bug 3490 has been marked as a duplicate of this bug. ***
Can you please run slimserver with the --d_server & --d_mysql options? The scanner won't run by itself unless you are using your own version of MySQL. Normally it's just launched from SlimServer itself which brings up the embedded version of MySQL we're shipping. Please make sure you're using the latest nightly. Thanks.
Using rev 7926, deleted the slimserver.pref file and started using "perl -w slimserver.pl --d_server --d_mysql", as requested. Log as follows: 2006-06-13 01:41:06.3778 SlimServer OSDetect init... 2006-06-13 01:41:06.3781 SlimServer OS Specific init... 2006-06-13 01:41:06.3782 SlimServer saving pid file. 2006-06-13 01:41:06.3783 SlimServer settings effective user and group if requested... 2006-06-13 01:41:06.3787 SlimServer settings init... Can't locate object method "mergeVariousArtistsAlbums" via package "Slim::Schema" at C:\SlimMySQL/Slim/Music/Import.pm line 121. 2006-06-13 01:41:06.4139 Got to the END. 2006-06-13 01:41:06.4141 Got sigint. 2006-06-13 01:41:06.4142 SlimServer cleaning up. Regards, -Alex
I don't understand why there aren't any mysql debugging messages showing up.. something is wrong there. MySQL isn't being started. Any chance I could get a Remote Desktop session or VNC to your machine?
I was seeing this with iTunes import enabled. turning off iTunes got me past this point and it was fine after.
No Itunes for my, but I do have Moodlogic & MusicIP. As far as I can tell they are not enabled in the slimserver.pref file.
(In reply to comment #9) > I don't understand why there aren't any mysql debugging messages showing up.. > something is wrong there. MySQL isn't being started. > Any chance I could get a Remote Desktop session or VNC to your machine? If you checkout bug 3490 there may be some extra information about this has how to recreate it (basically delete slimserver.pref and start again). Also, I believe there aren't any MySQL messages because this is happening before MySQL has been started - may be this is the problem. Neil
Fixed in change 7971
This works for me, thanks.
Works for me also
Great stuff - works now!