NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 90 91 92 93 94 … 113 Next »
"Root element is missing" upon trying TV Guide or Recordings

 
  • 0 Vote(s) - 0 Average
"Root element is missing" upon trying TV Guide or Recordings
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#1
2020-07-07, 04:40 AM
Hi,

Out of nowhere, I'm getting a "Root element is missing" error when trying to open TV Guide or Recordings from the menu. I tried emptying the EPG and deleting config.xml to get a fresh copy but neither made a difference. Any ideas as to what could have gone wrong?

Logs attached, but they don't seem to contain the error, so I've pasted what appears in the error modal.



.zip   logs.zip (Size: 9.02 KB / Downloads: 1)
Code:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Xml.XmlException: Root element is missing.    at System.Xml.XmlTextReaderImpl.Throw(Exception e)    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.Remembered.GetValue(String preferenceName, String defaultValue)    at NextPVR.TV.TVGuide.Activate()    at NUtility.UIController.ActivateScreen(IScreenPlugin screenPlugin)    at NextPVR.Menu.AeonLike.OnKeyDown(KeyEventArgs e)    at NUtility.UIController.OnKeyDown(KeyEventArgs e)    at NextPVR.ControllerForm.ControllerForm_KeyDown(Object sender, KeyEventArgs e)    at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)    at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)    at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)    at System.Windows.Forms.Control.WmKeyChar(Message& m)    at System.Windows.Forms.Control.WndProc(Message& m)    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)    at System.Windows.Forms.Form.WndProc(Message& m)    at NextPVR.ControllerForm.WndProc(Message& m)    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib     Assembly Version: 4.0.0.0     Win32 Version: 4.8.3752.0 built by: NET48REL1     CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- NextPVR     Assembly Version: 1.0.0.0     Win32 Version: 1.0.0.0     CodeBase: file:///C:/Program%20Files/NextPVR/client/NextPVR.exe ---------------------------------------- System.Windows.Forms     Assembly Version: 4.0.0.0     Win32 Version: 4.8.3752.0 built by: NET48REL1     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System     Assembly Version: 4.0.0.0     Win32 Version: 4.8.3752.0 built by: NET48REL1     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing     Assembly Version: 4.0.0.0     Win32 Version: 4.8.3752.0 built by: NET48REL1     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- NextPVRUI     Assembly Version: 1.0.0.0     Win32 Version: 1.0.0.0     CodeBase: file:///C:/Program%20Files/NextPVR/client/NextPVRUI.DLL ---------------------------------------- NUtility     Assembly Version: 5.0.0.0     Win32 Version: 5.0.0.0     CodeBase: file:///C:/Program%20Files/NextPVR/client/NUtility.DLL ---------------------------------------- netstandard     Assembly Version: 2.0.0.0     Win32 Version: 4.8.3752.0     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll ---------------------------------------- NShared     Assembly Version: 1.0.0.0     Win32 Version: 1.0.0.0     CodeBase: file:///C:/Program%20Files/NextPVR/client/NShared.DLL ---------------------------------------- System.Configuration     Assembly Version: 4.0.0.0     Win32 Version: 4.8.3752.0 built by: NET48REL1     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Core     Assembly Version: 4.0.0.0     Win32 Version: 4.8.3752.0 built by: NET48REL1     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Xml     Assembly Version: 4.0.0.0     Win32 Version: 4.8.3752.0 built by: NET48REL1     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Drawing.Common     Assembly Version: 4.0.0.1     Win32 Version: 4.6.26919.02     CodeBase: file:///C:/Program%20Files/NextPVR/client/System.Drawing.Common.DLL ---------------------------------------- System.Runtime.InteropServices.RuntimeInformation     Assembly Version: 4.0.2.0     Win32 Version: 4.6.26011.01     CodeBase: file:///C:/Program%20Files/NextPVR/client/System.Runtime.InteropServices.RuntimeInformation.DLL ---------------------------------------- SlimDX     Assembly Version: 4.0.13.43     Win32 Version:     CodeBase: file:///C:/Program%20Files/NextPVR/client/SlimDX.DLL ---------------------------------------- System.Net.Http     Assembly Version: 4.2.0.0     Win32 Version: 4.6.26011.01     CodeBase: file:///C:/Program%20Files/NextPVR/client/System.Net.Http.DLL ---------------------------------------- Newtonsoft.Json     Assembly Version: 12.0.0.0     Win32 Version: 12.0.3.23909     CodeBase: file:///C:/Program%20Files/NextPVR/client/Newtonsoft.Json.DLL ---------------------------------------- System.Numerics     Assembly Version: 4.0.0.0     Win32 Version: 4.8.3752.0 built by: NET48REL1     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll ---------------------------------------- System.Data     Assembly Version: 4.0.0.0     Win32 Version: 4.8.3752.0 built by: NET48REL1     CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- Microsoft.Data.Sqlite     Assembly Version: 3.1.0.0     Win32 Version: 3.100.19.56505     CodeBase: file:///C:/Program%20Files/NextPVR/client/Microsoft.Data.Sqlite.DLL ---------------------------------------- SQLitePCLRaw.batteries_v2     Assembly Version: 2.0.2.669     Win32 Version: 2.0.2.669     CodeBase: file:///C:/Program%20Files/NextPVR/client/SQLitePCLRaw.batteries_v2.DLL ---------------------------------------- SQLitePCLRaw.core     Assembly Version: 2.0.2.669     Win32 Version: 2.0.2.669     CodeBase: file:///C:/Program%20Files/NextPVR/client/SQLitePCLRaw.core.DLL ---------------------------------------- SQLitePCLRaw.provider.dynamic_cdecl     Assembly Version: 2.0.2.669     Win32 Version: 2.0.2.669     CodeBase: file:///C:/Program%20Files/NextPVR/client/SQLitePCLRaw.provider.dynamic_cdecl.DLL ---------------------------------------- System.Memory     Assembly Version: 4.0.1.1     Win32 Version: 4.6.27617.02     CodeBase: file:///C:/Program%20Files/NextPVR/client/System.Memory.DLL ---------------------------------------- SQLitePCLRaw.nativelibrary     Assembly Version: 2.0.2.669     Win32 Version: 2.0.2.669     CodeBase: file:///C:/Program%20Files/NextPVR/client/SQLitePCLRaw.nativelibrary.DLL ---------------------------------------- System.ValueTuple     Assembly Version: 4.0.2.0     Win32 Version: 4.6.26011.01     CodeBase: file:///C:/Program%20Files/NextPVR/client/System.ValueTuple.DLL ---------------------------------------- System.Runtime.CompilerServices.Unsafe     Assembly Version: 4.0.4.1     Win32 Version: 4.6.26919.02     CodeBase: file:///C:/Program%20Files/NextPVR/client/System.Runtime.CompilerServices.Unsafe.DLL ---------------------------------------- System.Runtime     Assembly Version: 4.1.2.0     Win32 Version: 4.6.25714.01     CodeBase: file:///C:/Program%20Files/NextPVR/client/System.Runtime.DLL ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration>     <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,506
Threads: 784
Joined: Nov 2003
#2
2020-07-07, 06:07 AM
Maybe try deleting the clientstore-xxxx.xml files in c:\users\public\npvr-data
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#3
2020-07-07, 06:09 AM
(2020-07-07, 06:07 AM)sub Wrote: Maybe try deleting the clientstore-xxxx.xml files in c:\users\public\npvr-data
That fixed it up, thanks! Just a fluke hopefully?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,506
Threads: 784
Joined: Nov 2003
#4
2020-07-07, 06:11 AM
It's the first time I've seen anyone have an issue with those, so I'm gonna put it down to fluke for now, but I'll keep an eye out for any other reports.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,745
Threads: 997
Joined: May 2006
#5
2020-07-07, 11:53 AM
Do any of your channel groups have a & or other special character? Perhaps the last channel group is a problem?

Martin
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#6
2020-07-07, 07:24 PM
(2020-07-07, 11:53 AM)mvallevand Wrote: Do any of your channel groups have a & or other special character?  Perhaps the last channel group is a problem?

Martin

Nope, nothing like that. I also haven't changed any of that, it just stopped working on its own. Deleting those xml files fixed it up. I did notice that one of the xml files seemed corrupted and just had random characters in it. I hope my SSD isn't going bad or something weird like that.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,506
Threads: 784
Joined: Nov 2003
#7
2020-07-07, 08:28 PM
If it happens again, grab a copy the file so I can take a look. It might give some clues how it happened.
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#8
2020-07-07, 08:31 PM
(2020-07-07, 08:28 PM)sub Wrote: If it happens again, grab a copy the file so I can take a look. It might give some clues how it happened.

Grabbed them out of the recycle bin. Smile So one of them isn't "corrupted", just seems to be a stream of null characters.

.zip   clientstore-local.zip (Size: 371 bytes / Downloads: 3)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,506
Threads: 784
Joined: Nov 2003
#9
2020-07-07, 09:47 PM
I'm not sure what sequence of events might have lead to the file becoming corrupt in the first place, but I've made a change so that it will handle it gracefully in future.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Way to rip guide data? hdpvr-doug8796 13 1,048 2026-07-14, 08:43 PM
Last Post: hdpvr-doug8796
  Guide data no longer updating after updating bac80 16 1,168 2026-07-12, 01:16 PM
Last Post: mvallevand
  Guide Page Problem Metroid 13 1,182 2026-06-08, 05:53 PM
Last Post: Metroid
  Recurring Recordings jrockow 7 597 2026-05-08, 08:29 PM
Last Post: jrockow
  sighning/subtitle info missing Croftie 15 1,583 2026-03-15, 02:53 AM
Last Post: Croftie
  Some recordings start late madbrain 12 5,127 2026-03-10, 01:35 PM
Last Post: BTV2Nextpvr
  Guide Setup weavol 0 390 2026-03-03, 06:12 PM
Last Post: weavol
  Random recordings fail. stat 9 1,138 2026-02-01, 10:56 PM
Last Post: mvallevand
  missing skin element artmetz 3 625 2026-01-04, 10:38 PM
Last Post: sub
  Had tuner problems, many failed recordings bass_gas 5 972 2026-01-01, 09:10 PM
Last Post: bass_gas

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

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

Linear Mode
Threaded Mode