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 … 975 976 977 978 979 … 1231 Next »
Losing most recent recording info

 
  • 0 Vote(s) - 0 Average
Losing most recent recording info
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,591
Threads: 386
Joined: Dec 2004
#1
2005-09-17, 05:55 PM
I'm experiencing the following intermittently and was wondering if anyone else had noticed it.

Sometimes, but ONLY sometimes, I can start the Config app., click OK to exit (without making any changes) then when I open the main app., the most recent recordings in 'Whats New' have disappeared. The recording files are still there, just the info in the database file has disappeared during compaction. Also, any one-off recordings I've recently scheduled go missing from the Pending page. Specifically, it seems that any recordings before midnight (i.e., the previous day's recordings and older) will still be there - just anything recorded or one-off schedules since midnight go missing.

I've discovered that I can copy the gbpvr.mdb.original back in to place and that has everything expected. NOTE - this is not the same problem as the gbpvr.mdb going missing / being renamed as old.mdb - I've never seen that.

If nobody else has seen this then I can only assume I have some bizarre minor corruption in my mdb file.

Cheers,
Brian
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#2
2005-09-17, 06:26 PM
Have you got a gbpvr.retained.mdb file in your directory? This triggers GB-PVR to perform a version upgrade, which involves renaming gbpvr.mdb to gbpvr.mdb.original
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,591
Threads: 386
Joined: Dec 2004
#3
2005-09-17, 06:53 PM
sub Wrote:Have you got a gbpvr.retained.mdb file in your directory? This triggers GB-PVR to perform a version upgrade, which involves renaming gbpvr.mdb to gbpvr.mdb.original
Hmmm. Now it gets complicated.

Yes I do - timestamp 04:28 this morning. The strange thing is, I tried to replicate the problem about 2 hours ago (17:23) but none of the recent recordings disappeared from the What's New list - even with the .retained.mdb being present and the process didn't create a .mdb.original.

The last time I saw it happen was about 4AM this morning - I deliberately recorded a programme between 02:50 - 03:50 to check this. After it had finished, I waited for the dvr-ms -> mpeg2 transcode to complete, checked it was in Whats New, backed up the DB then did the Config thing - sure enough the recording was gone from Whats New but everything else was there. To be honest, I don't know if I had a .retained.mdb file at that stage.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#4
2005-09-17, 07:43 PM
Keep investigating, and I'm sure once we're aware of the exact circumstances that cause this, then we can come up with a solution for you.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,591
Threads: 386
Joined: Dec 2004
#5
2005-09-18, 02:01 AM
OK - here's a snippet from my config.exe.log at 17:23 (ish) when I DIDN'T lose my recordings...
Code:
17/09/2005 17:22:56.999    VERBOSE    [16]    getValue: /settings/Version : GB-PVR v0.94.12
17/09/2005 17:22:56.999    VERBOSE    [16]    Checking if UPGRADE processing is required
17/09/2005 17:22:56.999    VERBOSE    [16]    Found gbpvr.retained.mdb
17/09/2005 17:22:56.999    VERBOSE    [16]    Trying to stop recording service...
17/09/2005 17:22:58.342    VERBOSE    [16]    recording service stopped
17/09/2005 17:22:58.342    VERBOSE    [16]    Deleting gbpvr.mdb.original
17/09/2005 17:22:58.342    VERBOSE    [16]    Renaming gbpvr.mdb to gbpvr.mdb.original
17/09/2005 17:22:58.342    ERROR    [16]    Encountered an error trying to upgrade the existing database: The process cannot access the file "C:\Program Files\devnz\gbpvr\gbpvr.mdb.original" because it is being used by another process.
17/09/2005 17:22:58.405    ERROR    [16]       at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.File.Move(String sourceFileName, String destFileName)
   at xeb983fa94d0b4753.xfd6951461fe46d87.x1f0684532099dac8(Object xdf2e3583f942db7b, EventArgs xc4f45905cb1fc7ba)
What I'm guessing here is that the gbpvr.mdb.original was successfully deleted but something failed when renaming gbpvr.mdb to gbpvr.mdb.original, the process failed and I ended up with my original mdb hence no loss of recording data ???

The gbpvr.retained.mdb file mentioned in the log is the one I said, in my last message, was timestamped 04:28 but it didn't get processed so didn't get deleted and the gbpvr.mdb.original didn't get created.

Next...a snippet from when I DID lose my recent recordings...
Code:
18/09/2005 00:21:41.811    VERBOSE    [16]    getValue: /settings/Version : GB-PVR v0.94.12
18/09/2005 00:21:41.811    VERBOSE    [16]    Checking if UPGRADE processing is required
18/09/2005 00:21:41.811    VERBOSE    [16]    Found gbpvr.retained.mdb
18/09/2005 00:21:41.811    VERBOSE    [16]    Trying to stop recording service...
18/09/2005 00:21:43.124    VERBOSE    [16]    recording service stopped
18/09/2005 00:21:43.124    VERBOSE    [16]    Renaming gbpvr.mdb to gbpvr.mdb.original
18/09/2005 00:21:43.124    VERBOSE    [16]    Renaming gbpvr.retained.mdb to gbpvr.mdb
As you said, the gbpvr.retained.mdb overwrote the gbpvr.mdb and everything that had been recorded since 04:28 was lost. I'm not sure why the attempt at 17:23 failed though.

So...answering the question - if a muppet like me installs a new version but clicks Cancel instead of OK on the Config app. that pops up at the end of the installation process, sometime later if he clicks OK in Config he'll get the retained mdb overwriting whatever went before.

Sorry - sometimes I click OK in Config at the end of an upgrade but sometimes I click Cancel. Urrk.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#6
2005-09-18, 02:49 AM
The key question to me is why do you have a gbpvr.retained.mdb file? This is only created as part of the upgrade. None of the gbpvr processes will create this file. Its only made by the MSI installer when it renaming the gbpvr.mdb to ensure its kept as part of the upgrade.

If you didnt have one of these files, which you shouldnt, then none of this process would run in the first place.

Quote:So...answering the question - if a muppet like me installs a new version but clicks Cancel instead of OK on the Config app. that pops up at the end of the installation process, sometime later if he clicks OK in Config he'll get the retained mdb overwriting whatever went before.
No, this shouldnt be the cause. This processing happens when the config app starts and there is a gbpvr.retained.mdb in the directory. Its all over and done with by the time the config app is made visible. It doesnt matter if the user clicks OK or Cancel later, as the renaming etc is all done up front...
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,591
Threads: 386
Joined: Dec 2004
#7
2005-09-18, 03:56 AM
sub Wrote:The key question to me is why do you have a gbpvr.retained.mdb file? This is only created as part of the upgrade. None of the gbpvr processes will create this file. Its only made by the MSI installer when it renaming the gbpvr.mdb to ensure its kept as part of the upgrade.
I've included the config.exe log for the time of upgrade. Is this any use? I see there are errors on the upgrade.sql point - I don't know if that is relevant.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#8
2005-09-18, 05:20 AM
Quote:17/09/2005 04:27:44.655 VERBOSE [16] Trying to stop recording service...
17/09/2005 04:27:44.655 VERBOSE [16] recording service stopped
17/09/2005 04:27:44.655 VERBOSE [16] Deleting gbpvr.mdb.original
17/09/2005 04:27:44.655 VERBOSE [16] Renaming gbpvr.mdb to gbpvr.mdb.original
17/09/2005 04:27:44.655 VERBOSE [16] Renaming gbpvr.retained.mdb to gbpvr.mdb
17/09/2005 04:27:44.655 VERBOSE [16] Excuting upgrade.sql
17/09/2005 04:27:44.733 VERBOSE [16] <snip>
17/09/2005 04:27:44.811 VERBOSE [16] Renaming upgrade.sql to upgrade.sql.done
That all seemed to go well, and by the end of it there should be no gbpvr.retained.mdb file.

Do you still have this gbpvr.retained.mdb in your directory? If so, can you just delete it or does it reappear at some later stage? If it does reappear, under what circumstances? At this time is a MSI installer message added to the Windows Event Log?

Quote:I see there are errors on the upgrade.sql point - I don't know if that is relevant.
Yes, this is normal. It tries to apply all the database upgrades since v0.90. You already have these, so these particular statements fail.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,591
Threads: 386
Joined: Dec 2004
#9
2005-09-19, 12:19 AM
sub Wrote:That all seemed to go well, and by the end of it there should be no gbpvr.retained.mdb file.
Well that's the thing - the retained.mdb was timestamped 17/09 04:28 which was the time(ish) of my upgrade to 0.94.12. It was still there at 17/09 17:23 when I tried the test on clicking OK in Config when the main mdb failed to be renamed to gbpvr.mdb.original (when I didn't lose any recordings).

Quote:Do you still have this gbpvr.retained.mdb in your directory?
It disappeared (got renamed successfully to gbpvr.mdb) at 18/09 00:21 which was when I did lose my recordings (obviously as it had overwritten my working DB).

Quote:...does it reappear at some later stage?
It hasn't come back since 18/09 00:21.

Quote:At this time is a MSI installer message added to the Windows Event Log?
For me, the MSI Installer still only appears at the first time I run the GB-PVR main app. after an upgrade (17/09 04:28 was the last time) - its the DejaVu... font thing as usual. This doesn't lose any data in the DB.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#10
2005-09-19, 12:28 AM
Oh well just keep an eye on it. It sounds like something might have stopped gbpvr.retained.mdb from being removed that first time which stuffed you up next time you started the config app. If the file comes back let me know and we'll look again.
« 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
  Audio buzzing second time recording launched. dennit 2 4,597 2012-12-09, 11:28 PM
Last Post: dennit
  Inhibit Computer Shutdown While Recording rwnz 52 30,685 2012-04-03, 11:40 AM
Last Post: pBS
  Start PC for recording, Sleep/Hibernate when done Basher52 6 5,004 2011-12-17, 02:52 PM
Last Post: Sykor
  intermittent recording failures bcdudley 6 3,703 2011-09-28, 07:28 AM
Last Post: bcdudley
  Recording fails but only on one channel (live viewing still works) dshoup 5 3,601 2011-09-19, 01:15 AM
Last Post: sub
  Sattelite interent recording? crsfooddude 1 2,181 2011-07-26, 02:32 AM
Last Post: mvallevand
  Recording problem with Hauppauge Nova-S USB2 ... softfoot 4 3,452 2011-06-27, 02:06 AM
Last Post: sub
  How to kill an orphan Live TV recording? martint123 2 2,380 2011-05-16, 05:33 PM
Last Post: martint123
  SUB: Recording show in two pieces. Found bug(?) lif 10 5,197 2011-05-11, 09:30 AM
Last Post: jksmurf
  Order of tuner use for live tv and recording shaunpatrick77 1 1,770 2011-02-19, 10:49 AM
Last Post: martint123

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

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

Linear Mode
Threaded Mode