PDA

View Full Version : Trying to commit transactions before DB isinitialized



Philip Meyer
2006-09-03, 03:23
I just noticed the following error in my log:

2006-09-02 19:35:37.8943 ERROR: forceCommit: Trying to commit transactions before DB is initialized!

That was yesterday - I can't remember what I was doing around that time. The last entry before it was four hours prior to that error, so nothing else to go on. Is this something to worry about?

Phil

Dan Sully
2006-09-03, 12:38
* Phil Meyer shaped the electrons to say...

> 2006-09-02 19:35:37.8943 ERROR: forceCommit: Trying to commit transactions
> before DB is initialized!
>
> That was yesterday - I can't remember what I was doing around that time.
> The last entry before it was four hours prior to that error, so nothing
> else to go on. Is this something to worry about?

Probably not, if you didn't notice anything.. I would be curious as to the
caller though. A bt() in Slim::Schema::forceCommit() should do that.


-D
--
"A good messenger expects to get shot." --Larry Wall

Philip Meyer
2006-10-10, 01:49
>Probably not, if you didn't notice anything.. I would be curious as to the
>caller though. A bt() in Slim::Schema::forceCommit() should do that.
>
I inserted a bt() as suggested a while back, and checking my log this morning, I notice that it caught something:

2006-10-10 00:22:22.6380 Backtrace:

frame 0: Slim::Schema::forceCommit (P:\Music\SlimServer\trunk\server\slimserver.pl line 1035)
frame 1: main::cleanup (P:/Music/SlimServer/trunk/server/Slim/bootstrap.pm line 303)
frame 2: Slim::bootstrap::sigint (P:/Music/SlimServer/trunk/server/Slim/bootstrap.pm line 334)
frame 3: Slim::bootstrap::END (P:\Music\SlimServer\trunk\server\slimserver.pl line 0)
frame 4: (eval) (P:\Music\SlimServer\trunk\server\slimserver.pl line 0)

2006-10-10 00:22:22.6381 ERROR: forceCommit: Trying to commit transactions before DB is initialized!

Phil