NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 56 57 58 59 60 … 93 Next »
SQ Lite DB Lock Errors

 
  • 0 Vote(s) - 0 Average
SQ Lite DB Lock Errors
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#1
2006-05-15, 11:27 PM
I am calling ScheduleHelper.CancelScheduledRecording() and finding that sometimes it works and sometime I get database locked errors. Here is a sample from my application's log file.

Code:
05/15/06 04:19:15:092 PM[18]          Looking at Go, Diego, Go! (Pepito's Penguin School) with unique id of EP7654580009

05/15/06 04:19:15:092 PM[18]             Cancelling pending recording for previously recorded show Go, Diego, Go!

05/15/06 04:19:16:284 PM[18]          Looking at Go, Diego, Go! (Chinta the Baby Chinchilla) with unique id of EP7654580003

05/15/06 04:19:16:284 PM[18]             Cancelling pending recording for previously recorded show Go, Diego, Go!

05/15/06 04:19:47:569 PM[18]             Error cancelling pending recording for previously recorded show Go, Diego, Go!.  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.Backend.Common.x396614b3dae3b1da.x5e29b479fd4eab70(ScheduledRecording xe41d2b9d98dc1269, Boolean x29a0b54a36a7fcdf)
   at GBPVR.Backend.Common.x396614b3dae3b1da.x5e29b479fd4eab70(ScheduledRecording xe41d2b9d98dc1269)
   at GBPVR.Backend.Common.ScheduleHelper.CancelScheduledRecording(ScheduledRecording scheduledRecording)
   at ArchiveVideosPlugin.UpcomingRecordings.FillList(Int32 unusedparameter) in C:\Documents and Settings\My Documents\Visual Studio 2005\Projects\Video Archiver Source\PendingList.cs:line 454

05/15/06 04:19:47:569 PM[18]          Looking at Go, Diego, Go! (Chito and Rita the Spectacled Bears) with unique id of EP7654580012

05/15/06 04:19:47:579 PM[18]             Cancelling pending recording for previously recorded show Go, Diego, Go!

05/15/06 04:20:06:075 PM[18]          Looking at Go, Diego, Go! (Rescue of Red-Eyed Tree Frogs!) with unique id of EP7654580002

05/15/06 04:20:06:075 PM[18]             Cancelling pending recording for previously recorded show Go, Diego, Go!

05/15/06 04:20:07:177 PM[18]          Looking at Go, Diego, Go! (A Booboo on the Pygmy Marmoset) with unique id of EP7654580015

05/15/06 04:20:07:177 PM[18]             Cancelling pending recording for previously recorded show Go, Diego, Go!

05/15/06 04:20:37:420 PM[18]             Error cancelling pending recording for previously recorded show Go, Diego, Go!.  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.Backend.Common.x396614b3dae3b1da.x5e29b479fd4eab70(ScheduledRecording xe41d2b9d98dc1269, Boolean x29a0b54a36a7fcdf)
   at GBPVR.Backend.Common.x396614b3dae3b1da.x5e29b479fd4eab70(ScheduledRecording xe41d2b9d98dc1269)
   at GBPVR.Backend.Common.ScheduleHelper.CancelScheduledRecording(ScheduledRecording scheduledRecording)
   at ArchiveVideosPlugin.UpcomingRecordings.FillList(Int32 unusedparameter) in C:\Documents and Settings\My Documents\Visual Studio 2005\Projects\Video Archiver Source\PendingList.cs:line 454

05/15/06 04:20:37:420 PM[18]          Looking at Go, Diego, Go! (Diego Saves the Mommy and Baby Sloth) with unique id of EP7654580001

05/15/06 04:20:37:420 PM[18]             Cancelling pending recording for previously recorded show Go, Diego, Go!


In this particular run I cancelled 30 pending recordings, 4 of which generated this error and 26 of which worked just fine.

Jeff
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Does this code lock the database? pastro 19 5,586 2008-05-22, 10:06 AM
Last Post: Ommina
  ffmpeg - VOB to MPG, timing errors... zehd 7 3,108 2006-08-05, 11:31 AM
Last Post: HtV
  VB6 and SQL-lite? zehd 5 2,935 2006-07-10, 02:38 AM
Last Post: UncleJohnsBand
  Problems with Querries in SQL Lite Jeff 10 3,944 2006-06-16, 05:32 AM
Last Post: alibert

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

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

Linear Mode
Threaded Mode