Quote:13/08/2006 15:33:16.656 ERROR [6] Caught unexpected exception: System.Data.OleDb.OleDbException: Could not use ''; file already in use.
at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.OleDb.OleDbConnection.Open()
at GBPVR.Backend.Common.xcbcfc48b9705b7a2.xa19cc1d2df8cbd74()
at GBPVR.Backend.Common.x396614b3dae3b1da.x005239145b965dc1()
at GBPVR.RecordingService.x93f60a55016d55c4.xcba1f05fb5a46d5f()
Given the error message, are you running any utilities which do stuff to the GB-PVR database? plugins etc?
It appears that the errors (mpg with 0 bytes and db) only happen if the PC has to come out of standby to do the recording.
I have three disks - GBPVR is on the system disk(1) and the recordings go to disk 3. I checked the event log but it doesn't list any errors.
Not sure if this is relevant but I noticed that it creates the directory for the mpg when recording starts but the empty mpg is only created when the recording ends.
I am guessing that some part of the system isn't ready after the wakeup event to start recording (probably the Nova card).
Would it be possible to add an error message why BDARecorder wasn't able to start?
It would be great if you could also add an option (config.xml?) to wake the system a few seconds ahead of the recording event. That way it should be ready when recording starts ...
chris-at Wrote:It would be great if you could also add an option (config.xml?) to wake the system a few seconds ahead of the recording event. That way it should be ready when recording starts ...
Quote:Would it be possible to add an error message why BDARecorder wasn't able to start?
It depends on how the error occurs. If some required component is missing, or returns an error code, or similiar, this will be reported in the logs. If the device returns that everything was successful, but just does nothing, then I have no way to tell.
stefan Wrote:This is usually done by adjusting the prepadding.
I think you misunderstood.
I am having a problem that the recording does not start after the machine wakes from the suspended state -- so if GBPVR could wake the machine a few seconds ahead of time (before it starts recording) it might give the Nova card enough time to get to a ready state.