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) TV Listings v
« Previous 1 2 3 4 5 … 13 Next »
DB locked error since 3.3.8

 
  • 0 Vote(s) - 0 Average
DB locked error since 3.3.8
Bluethunder
Offline

Member

Posts: 130
Threads: 32
Joined: Jan 2006
#1
2014-11-20, 06:23 AM
I started a post here http://forums.nextpvr.com/showthread.php...ince-3-3-8 since changing to 3.3.8, I've been getting DB locks. There is a NPVR log file attached to this msg, NPVR.log.2 is the first instance of it happening.

I think have the latest file from the WIKI page.

I've disabled TV Listings, and so far I haven't gotten any more DB locks on EPG update.

It would happen right when it switches from saving EPG files to updating recordings.

Thanks for all the work on a great plugin.

Cheers.
Bluethunder
Offline

Member

Posts: 130
Threads: 32
Joined: Jan 2006
#2
2014-11-20, 06:30 AM
Bluethunder Wrote:I think have the latest file from the WIKI page.

Cheers.

About to check for plugin interfaces in: C:\Users\Public\NPVR\Plugins\TV Listings\TV Listings.dll
2014-11-19 18:20:15.017 [INFO][1] TV Listings: version is 3.7.0.17582.
2014-11-19 18:20:15.017 [INFO][1] TV Recordings: version is 3.7.0.17582.
2014-11-19 18:20:15.017 [DEBUG][1] TV Listings: Client identifier is 'PC'.
2014-11-19 18:20:15.017 [DEBUG][1] TV Listings: Loading settings...
2014-11-19 18:20:15.017 [DEBUG][1] TV Listings: Using 'Data Source="C:\Users\Public\NPVR\npvr.db3";Version=3;New=True;'
2014-11-19 18:20:15.027 [DEBUG][1] TV Listings: Using 'Data Source="C:\Users\Public\NPVR\Plugins\TV Listings\TV Listings.db3";Version=3;New=True;'
2014-11-19 18:20:15.057 [INFO][1] TV Listings: SkinHelper using resource directory 'C:\Users\Public\NPVR\skin\Default\TV Listings\'
2014-11-19 18:20:15.057 [DEBUG][1] TV Listings: Backend initialised.
2014-11-19 18:20:15.067 [INFO][1] TV Listings: Settings loaded successfully.
2014-11-19 18:20:15.077 [WARN][1] TV Listings: Using as C:\Users\Public\NPVR\\Plugins\TV Listings\TheTVDB fallback for TheTVDBDirectory.
2014-11-19 18:20:15.077 [DEBUG][1] TV Listings: Loading guides...
2014-11-19 18:20:15.077 [DEBUG][1] TV Listings: 'sort_order' column detected in 'guides' table, sorting by 'sort_order' column.
2014-11-19 18:20:15.077 [INFO][1] TV Listings: Falling back to default guide.
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#3
2014-11-26, 03:08 PM
Hi,

please remove the plugin's .dll file form the "c:\program files\"... subdirectory, the one at "c:\users\public\"... is sufficient. Seems that both are trying to reload guide data during epg updates.

-alibert
Bluethunder
Offline

Member

Posts: 130
Threads: 32
Joined: Jan 2006
#4
2014-11-30, 05:26 AM
alibert Wrote:Hi,

please remove the plugin's .dll file form the "c:\program files\"... subdirectory, the one at "c:\users\public\"... is sufficient. Seems that both are trying to reload guide data during epg updates.

-alibert

I deleted the plugins directory from c:\program files\. Must of been a relic from when i ran windows xp.

I'm still getting the database locked messages. It always happens right after "saving epg is finished", when it starts to update the recordings.

I can try completely removing TV Listings, and re-installing. Are there any parts stored outside of the plug-in directory?

Cheers, Joe
gEd
Offline

Posting Freak

London
Posts: 3,546
Threads: 100
Joined: Jan 2005
#5
2014-11-30, 04:45 PM
Bluethunder Wrote:I deleted the plugins directory from c:\program files\. Must of been a relic from when i ran windows xp.

I'm still getting the database locked messages. It always happens right after "saving epg is finished", when it starts to update the recordings.

I can try completely removing TV Listings, and re-installing. Are there any parts stored outside of the plug-in directory?

Cheers, Joe

Make sure you have unticked updateepg during live TV in the config. This caused locking problems
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 55,309
Threads: 985
Joined: May 2006
#6
2014-11-30, 08:09 PM
The problem is more fundamental, each channel delete is taking 5 seconds on average, so with 543 channels that is a long time. It might be worth vacuuming it with a sqlite tool.

Martin
Bluethunder
Offline

Member

Posts: 130
Threads: 32
Joined: Jan 2006
#7
2014-12-02, 06:24 PM
mvallevand Wrote:The problem is more fundamental, each channel delete is taking 5 seconds on average, so with 543 channels that is a long time. It might be worth vacuuming it with a sqlite tool.

Martin

It is a brand new DB from november when i first installed 3.3.8, copied from the empty.db file. I could replace it again.
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#8
2014-12-03, 06:56 AM
Where is the data for your epg coming from (xmltv file or dvb stream or ...)? And how are you performing the epg update? Via "-onlyupdateepg" commandline switch or somehow else?

-alibert
Bluethunder
Offline

Member

Posts: 130
Threads: 32
Joined: Jan 2006
#9
2014-12-04, 12:36 AM
alibert Wrote:Where is the data for your epg coming from (xmltv file or dvb stream or ...)? And how are you performing the epg update? Via "-onlyupdateepg" commandline switch or somehow else?

-alibert

I'm using the built in npvr schedules direct guide downloader. The EPG update is triggered by NPVR from the settings.
Bluethunder
Offline

Member

Posts: 130
Threads: 32
Joined: Jan 2006
#10
2014-12-04, 12:41 AM
mvallevand Wrote:The problem is more fundamental, each channel delete is taking 5 seconds on average, so with 543 channels that is a long time. It might be worth vacuuming it with a sqlite tool.

Martin

I ran sqlite3 npvr.db3 d vacuum on the database. It cleaned about 10mb of the database file, and sped up the update a bit. I think it took about 20-25 minutes for the update.

I tried TV Listings again after the vacuum, and it gets a DB locked at the same point.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  New Unhandled Exception Error snaitaz 1 2,614 2018-12-22, 04:46 PM
Last Post: snaitaz
  Unexpected error: System.NullReferenceException: Bluethunder 8 6,276 2015-06-10, 09:01 PM
Last Post: Bluethunder
  Runtime Error - System.Data.SqLite.dll (XMLTvExtras.exe) GoogleRocks! 7 5,484 2014-02-09, 04:23 PM
Last Post: GoogleRocks!
  Database locked error gEd 4 3,200 2014-01-13, 09:28 PM
Last Post: gEd
  Feature Request: Show error/failure message for failed recordings cncb 2 2,547 2011-12-13, 06:01 PM
Last Post: cncb
  JIT error when starting the TV Listing rameijn 5 3,742 2011-07-24, 02:04 PM
Last Post: alibert
  xmltvextras error Northpole 3 2,698 2011-06-14, 10:55 PM
Last Post: Northpole
  .net error. morser 6 4,147 2011-01-16, 03:46 PM
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