NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 767 768 769 770 771 … 1231 Next »
Database is Locked?

 
  • 0 Vote(s) - 0 Average
Database is Locked?
zed
Offline

Senior Member

Arizona, USA
Posts: 660
Threads: 82
Joined: Sep 2004
#1
2006-06-28, 12:54 AM (This post was last modified: 2006-06-28, 01:01 AM by zed.)
A recording I had scheduled for this morning at 7:00AM did not record. The Pending screen still shows it (it's now 5:30PM). I looked at the logs but only one of them has any entries for today...GBPVRRecordingService.exe.log...and its timestamp is 1:02AM today. I looked in it and found the following:

6/26/2006 7:11:33 PM.553 INFO [4] GB-PVR Recording Service starting
6/26/2006 7:11:33 PM.616 VERBOSE [4] installDirectory is C:\Program Files\devnz\gbpvr\
6/26/2006 7:11:33 PM.632 VERBOSE [4] configurationFile is C:\Program Files\devnz\gbpvr\config.xml
6/26/2006 7:11:33 PM.632 VERBOSE [4] getValue() loading new key/value into cache: /settings/DatabaseConnectionString
6/26/2006 7:11:33 PM.632 VERBOSE [4] getValue: /settings/DatabaseConnectionString : Data Source=".\gbpvr.db3";Version=3;New=True;
6/26/2006 7:11:33 PM.632 VERBOSE [4] getValue() loading new key/value into cache: /settings/DatabaseIdentityQuery
6/26/2006 7:11:33 PM.632 VERBOSE [4] getValue: /settings/DatabaseIdentityQuery : select last_insert_rowid()
6/26/2006 7:11:33 PM.632 VERBOSE [4] databaseConnectionString is Data Source="C:\Program Files\devnz\gbpvr\\gbpvr.db3";Version=3;New=True;
6/26/2006 7:11:33 PM.632 VERBOSE [4] getValue() loading new key/value into cache: /settings/DatabaseProviderFactory
6/26/2006 7:11:33 PM.632 VERBOSE [4] getValue: /settings/DatabaseProviderFactory : System.Data.SQLite.SQLiteFactory
6/26/2006 7:11:33 PM.632 VERBOSE [4] ...using System.Data.SQLite.SQLiteFactory DB Provider Factory
6/26/2006 7:11:33 PM.632 VERBOSE [4] getValue() loading new key/value into cache: /settings/LoggingLevel
6/26/2006 7:11:33 PM.632 VERBOSE [4] getValue: /settings/LoggingLevel : Error
6/27/2006 1:01:08 AM.660 ERROR [15] Unexpected error removing recording from conversion queue: System.Data.SQLite.SQLiteException: The database file is locked
database is locked
at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at GBPVR.RecordingService.x92f6085038c83bb7.x4fa2bfc067e20d05(Int32 x0f7b9658643bceb7)
6/27/2006 1:01:38 AM.738 ERROR [15] Unexpected error removing recording from conversion queue: System.Data.SQLite.SQLiteException: The database file is locked
database is locked
at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at GBPVR.RecordingService.x92f6085038c83bb7.x4fa2bfc067e20d05(Int32 x0f7b9658643bceb7)
6/27/2006 1:02:08 AM.770 ERROR [15] Unexpected error removing recording from conversion queue: System.Data.SQLite.SQLiteException: The database file is locked
database is locked
at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at GBPVR.RecordingService.x92f6085038c83bb7.x4fa2bfc067e20d05(Int32 x0f7b9658643bceb7)
6/27/2006 1:02:38 AM.832 ERROR [15] Unexpected error removing recording from conversion queue: System.Data.SQLite.SQLiteException: The database file is locked
database is locked
at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
at GBPVR.RecordingService.x92f6085038c83bb7.x4fa2bfc067e20d05(Int32 x0f7b9658643bceb7)

I have it set to start conversions at 1:00AM so I assume that's what triggered the errors. There were three files scheduled for conversion and none of them were converted.

I had restarted the recording service last night at 7:11 as indicated in the log and watched several recorded shows after that. The three recordings that were scheduled for conversion were all recorded between 9:00PM and 11:00PM.

My guess is that the database being locked is why the one scheduled for this morning was not recorded but there are no other entires in any of the log files for today.

Any idea why the database would be locked?


It just occurred to me that I have the epg update (zap2it) set to run at 7:00AM. Would that prevent the recording from being made?

Hmmm...doesn't look like the epg has been updated either...timestamp on the zap2it.xml file is 7:11AM on 6/25...???
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,814
Threads: 769
Joined: Nov 2003
#2
2006-06-28, 01:27 AM
Its probably the EPG update getting in the way. I'll have to think about that some more.
zed
Offline

Senior Member

Arizona, USA
Posts: 660
Threads: 82
Joined: Sep 2004
#3
2006-06-28, 02:42 AM
Just for grins, I scheduled a recording for shortly after I posted that question. It didn't start either. And nothing was written to any of the log files. Then I did a restart recording services and it all started up again. I'm curious about the database locked error and what would cause it (and what it would cause).

One more detail...I had recorded four programs but then deleted one of them before the conversion ran. It looks like it tried to do four conversions. Would my having deleted one of the files caused it any grief?

Also, I think the same thing happened yesterday...one of my recordings didn't record. I didn't think much of it at the time but I wonder if it was the same problem?

At any rate, certainly not life or death but if you think of anything, please let me know...

Thanks...
hkdl
Offline

Junior Member

Posts: 23
Threads: 2
Joined: Jun 2006
#4
2006-06-28, 01:48 PM
I had this happen to me too once, I set some things to record before I headed off to work. Once I got home and saw what happened I restarted the recording service and never really thought about it again. It hasn't happened anymore though.
zed
Offline

Senior Member

Arizona, USA
Posts: 660
Threads: 82
Joined: Sep 2004
#5
2006-06-29, 12:02 AM
It appears to have happened again. Log shows database locked, the conversions did not happen, and the epg update did not happen this morning (nothing scheduled to record at that time this morning). Recordings scheduled last night before 1:00AM were all successful. When I just now tried to schedule a new recording, I got the "No connection could be made because the target machine actively refused it" error. I'll attach the logs.

The last epg update appears to have been on 25June at about 7:00AM so this all started some time after that. I don't think I've changed anything in GBPVR or the computer.

Anyway, if you have time to take a look, I'd appreciate it.
zed
Offline

Senior Member

Arizona, USA
Posts: 660
Threads: 82
Joined: Sep 2004
#6
2006-06-29, 11:44 PM
Just a follow-up on this...I turned off the auto-conversion that kicks off at 01:00AM and everything seems to be working OK now. No database locks and the epg update ran just fine. I guess sub's warning about it being 'very experimental' is valid Smile .

No biggie, I guess, I can run it manually for the stuff I want converted...
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Huge database (+27GB) - is it a problem? pme 7 3,142 2011-01-24, 12:37 AM
Last Post: gEd
  "database disk image is malformed" during attemped EPG update! (GBPVR v.1.4.7) DaveA 4 3,465 2011-01-23, 06:35 PM
Last Post: DaveA
  GBPVR Database question - Recording Schedule David B 1 1,674 2010-11-08, 09:21 PM
Last Post: sub
  Lost recordings database keith_leitch 9 3,878 2010-09-22, 09:20 PM
Last Post: keith_leitch
  Postprocessing and the recordings database shsw 1 1,548 2010-08-29, 04:46 PM
Last Post: sub
  Lost recordings database dongna 25 8,179 2010-08-26, 10:00 AM
Last Post: martint123
  Strange database problem -- pvrx2 not seeing updates, EWA and Config.exe are. 86atc250r 5 2,527 2010-07-26, 10:09 AM
Last Post: martint123
  Cleaning up the database? Spark 3 1,888 2010-03-28, 07:20 PM
Last Post: sub
  database locked error speising 1 1,251 2010-03-17, 12:45 AM
Last Post: sub
  EPG incomplete update - DB locked pvruser 7 2,224 2010-02-27, 08:08 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode