NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 264 265 266 267 268 … 433 Next »
NextPVR has encountered a problem and needs to close....

NextPVR has encountered a problem and needs to close....
MarkD
Offline

Junior Member

Posts: 40
Threads: 9
Joined: Nov 2005
#1
2013-03-11, 09:57 PM
Hi, I have version 2.5.9 running on WinXP SP3. It's been fine for months, but now NPVR doesn't start, but only give the "needs to close" error. My log file is below, could I get a suggestion for how to fix it? I tried a reload of NextPVR and of the Hauppauge drivers, no luck.

[...startup]
2013-03-11 17:45:53.968 [ERROR][1] Unexpected error loading (C:\Documents and Settings\All Users.WINDOWS\Application Data\NPVR\config.xml): System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at NUtility.SettingsHelper.Reload()
2013-03-11 17:45:53.968 [ERROR][1] Unexpected error parsing int setting: System.NullReferenceException: Object reference not set to an instance of an object.
at NUtility.SettingsHelper.GetSetting(String xpath, String defaultValue)
at NUtility.SettingsHelper.GetSetting(String xpath, Boolean defaultValue)
Dell GX-270 3GHz, 2Gb, HVR1600, Radeon HD 5450, 1Tb, Windows Media Center dedicated NPVR system
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,753
Threads: 769
Joined: Nov 2003
#2
2013-03-11, 10:05 PM
Can you zip and attach your C:\Documents and Settings\All Users.WINDOWS\Application Data\NPVR\config.xml
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#3
2013-03-11, 10:11 PM
your config.xml is corrupt.

you can either open it up in notepad and see if you can fix whatever is wrong (use Config-master-dont-edit.xml for reference), or just rename it to config.bad or something like that and then run NextPVR.exe; it will create a new config.xml. you'll have to re-configure some settings, though most important stuff like channels, epg, recordings, etc. will come from the database.

(or just do what sub said... I got interrupted by my kids while typing the above)
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
MarkD
Offline

Junior Member

Posts: 40
Threads: 9
Joined: Nov 2005
#4
2013-03-11, 10:14 PM
attached, thanks
Dell GX-270 3GHz, 2Gb, HVR1600, Radeon HD 5450, 1Tb, Windows Media Center dedicated NPVR system
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#5
2013-03-11, 10:17 PM
it's been wiped out (13206 bytes, all 00) as I suspected. just delete it and run nextpvr.exe. (or restore from a backup, if you have such a thing)
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#6
2013-03-11, 10:21 PM
Also, if you need to edit config.xml remember to use notepad or other text editor - not wordpad or a word processor.

Alex
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,014
Threads: 956
Joined: May 2006
#7
2013-03-11, 10:25 PM
If you have no backups, you might have a valid copy in config-old.xml Copy that to config.xml and run

NextPVR.exe -upgrade

Martin
MarkD
Offline

Junior Member

Posts: 40
Threads: 9
Joined: Nov 2005
#8
2013-03-11, 10:35 PM
Thanks for the help! Deleting the (empty) config file and rebooting allowed NextPVR to start, Ijust need to retweak my settings and I should be fine again.
Dell GX-270 3GHz, 2Gb, HVR1600, Radeon HD 5450, 1Tb, Windows Media Center dedicated NPVR system
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR - EPG Setup - XML/XMLTV EPG - Zap2it & Zap2xml Erdrick 126 141,988 2024-01-29, 01:07 AM
Last Post: stoenjes44
  NextPVR VOD through Kodi unmich 2 1,274 2023-06-18, 03:54 AM
Last Post: sub
  Can NextPVR switch graphics mode to best match content ? madbrain 2 2,181 2021-09-25, 02:25 AM
Last Post: madbrain
  NextPVR and Remote viewing MaxiBelas 2 1,698 2021-09-07, 05:29 PM
Last Post: sub
  NPVR4 and MPC-HC problem The Solutor 29 7,197 2021-07-27, 03:45 PM
Last Post: The Solutor
  Help with NextPVR evinahmad86 1 1,443 2021-07-23, 07:01 PM
Last Post: sub
  Epg setting SD token NextPvr 4.2.4 casimir@zyxu.ca 1 1,589 2021-03-05, 01:38 PM
Last Post: mvallevand
  NextPVR hangs when tuning to offline channel? CormacBaptiste 2 1,948 2021-02-03, 01:29 PM
Last Post: Graham
  NextPVR V4 Web Issue meccano 3 1,902 2021-01-30, 04:20 AM
Last Post: meccano
  TV very choppy after downgrade from Nextpvr v5 riverboat2001 18 4,903 2021-01-26, 01:51 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode