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 … 80 81 82 83 84 … 102 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: 106,810
Threads: 769
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: 106,810
Threads: 769
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: 53,196
Threads: 958
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: 106,810
Threads: 769
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: 106,810
Threads: 769
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
  EPG downloading but not updating Guide since 2: AM on 06/26/2025 elstaci 9 468 2025-07-20, 10:11 PM
Last Post: mvallevand
  "D3D12.DLL missing from system" - no more Win7 support for NextPVR? DSperber 12 529 2025-07-16, 01:32 PM
Last Post: DSperber
  Recent recordings contain several corrupt data VanKuiSh 3 225 2025-07-07, 04:55 PM
Last Post: mvallevand
Photo Possible to use DVB guide with HDHomerun tuner? DWORD32 1 143 2025-06-28, 12:42 PM
Last Post: mvallevand
  Since v7: EPG mostly "no listings", and channels change during recordings :'( rightbryce 40 4,631 2025-06-23, 01:15 AM
Last Post: sub
  Series Recordings - Bug? MalcolmInman 32 1,620 2025-05-31, 01:52 AM
Last Post: mvallevand
  Pending recordings not showing in web interface and NextPVR gadget not working... henryixV 4 472 2025-05-27, 08:29 PM
Last Post: henryixV
  Won't Record & Won't Forward & Minute Forward Missing suezew 2 300 2025-05-18, 07:36 PM
Last Post: sub
  NextPVR missing EPG benniehill 4 542 2025-04-28, 09:51 AM
Last Post: mvallevand
  Failed recordings "Operation timed out" Stanno 8 693 2025-04-27, 07:26 PM
Last Post: Nick017

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

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

Linear Mode
Threaded Mode