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) v
« Previous 1 … 6 7 8 9 10 … 20 Next »
ImageGrabLite, database locked error

 
  • 0 Vote(s) - 0 Average
ImageGrabLite, database locked error
sfatula
Offline

Junior Member

Posts: 45
Threads: 15
Joined: Nov 2014
#1
2015-07-26, 05:54 AM
I notice some database locked errors in the nrecord.log. Sample:

Code:
2015-07-25 21:02:00.753    [DEBUG][11]    Starting: C:\Users\Public\NPVR\Scripts\PostProcessing.bat "D:\TV Shows\Recordings\Prime Time FOX\UFC Fight Night_20150725_19002100.ts" 12.3 17031 38 "UFC Fight Night *"
2015-07-25 21:02:00.756    [DEBUG][11]    Stopping recording (17019 on 36). Past end time of recording. 162
2015-07-25 21:02:00.772    [DEBUG][11]    StopStream(A2)
2015-07-25 21:02:01.311    [DEBUG][11]    Starting: C:\Users\Public\NPVR\Scripts\PostProcessing.bat "D:\TV Shows\Recordings\Prime Time ABC\Boston EMS_20150725_20002100.ts" 10.3 17019 36 "Boston EMS *"
2015-07-25 21:02:01.313    [DEBUG][11]    Stopping recording (17023 on 38). Past end time of recording. 151
2015-07-25 21:02:31.396    [ERROR][11]    Unexpected error saving scheduled recording: System.Data.SQLite.SQLiteException (0x80004005): database is locked
database is locked
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
   at NUtility.ScheduledRecording.Save()

At first, I thought it was nextpvr. But, now I see it's likely ImageGrabLite. The reason I think this is the file gets renamed physically, however, the filename is not changed in nextpvr.

Could it be, the issue is I do 6 recordings at a time? Perhaps, when they all end about the same time, ImageGrabLite fights with itself?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,771
Threads: 954
Joined: May 2006
#2
2015-07-26, 02:54 PM
I'd need to see the logs, but iGL won't fight with itself. I can think of a scenario if thetvdb is slow. It doesn't explain the scenario you describe, because iGL renames after updating the database and if the db updates fails it aborts.

Martin
sfatula
Offline

Junior Member

Posts: 45
Threads: 15
Joined: Nov 2014
#3
2015-07-26, 04:00 PM
Which logs? ImageGrabLite only saves the last 4 logs, so, I won't have those since I have a few dozen recordings each night.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,771
Threads: 954
Joined: May 2006
#4
2015-07-26, 07:22 PM
sfatula Wrote:Which logs? ImageGrabLite only saves the last 4 logs, so, I won't have those since I have a few dozen recordings each night.

The --extra option should many more logs but you have to remember to clean them out yourself.

Martin
sfatula
Offline

Junior Member

Posts: 45
Threads: 15
Joined: Nov 2014
#5
2015-07-27, 05:34 PM
Ok, added the extra option. Note I found that the recording service had died near this time, well, hung not died, so could be the real cause. However, the file was renamed as obviously npvr names are much different than names with subtitles in them. So, there is some flaw in the way files are renamed without updating the database. But, won't have any log until it happens again. Restarted the recording service.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,771
Threads: 954
Joined: May 2006
#6
2015-07-27, 07:24 PM
sfatula Wrote:npvr names are much different than names with subtitles in them.

Not anymore with Schedules Direct and 3.4.8. For your use case iGL is probably over kill.

Martin
sfatula
Offline

Junior Member

Posts: 45
Threads: 15
Joined: Nov 2014
#7
2015-07-27, 07:32 PM
It's not overkill to me. I do not have Schedules Direct nor do I plan on getting it at this time. The naming is part of all overall process flow that I need. The point of that comment was to show that it was in fact being renamed.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NextTool Error greg in kansas 4 207 2025-04-04, 03:35 PM
Last Post: greg in kansas
  Update NPVR Database with UniqueID element using NextTool ChrisHammond56 7 1,952 2022-08-18, 03:29 AM
Last Post: sub
  imageGrabLite update mvallevand 20 13,624 2020-04-04, 02:42 AM
Last Post: jksmurf
  searchlite error "Object reference not set to an instance of an object."" wannabepvr 30 13,985 2020-03-29, 12:59 AM
Last Post: sub
  vidimport error paul67 2 3,800 2017-09-20, 12:30 AM
Last Post: 27InchSony
  ImageGrabLite "Read Error Object reference not set to an instance of an object." mjccox 6 5,077 2017-04-11, 07:07 AM
Last Post: rinomasaya
  IGL database lock error ttfitz 2 2,762 2017-03-16, 11:25 PM
Last Post: gEd
  imageGrabLite episode rename (Super Why) sosuke3 4 3,334 2016-11-24, 10:38 PM
Last Post: sosuke3
  XmltvExtras - TV Listings database not found jumbleknot 1 3,432 2016-10-11, 10:58 AM
Last Post: bja91
  IGL read error drew156651 19 8,404 2016-06-09, 03:10 AM
Last Post: BrettB

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

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

Linear Mode
Threaded Mode