NextPVR Forums

Full Version: XmlException: Unexpected error parsing EPGEvent
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello Sub,

first, many thanks for version 2.3.6, for me, it's much more stable than the last.

Now I'm using version 2.3.6 with Patch R1 and have the following problem:

Code:
2012-02-26 19:25:25.160    [ERROR][1]    Unexpected error parsing EPGEvent xml: System.Xml.XmlException: Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile 13, Position 19.
   bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
   bei System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   bei System.Xml.XmlTextReaderImpl.Throw(String res)
   bei System.Xml.XmlTextReaderImpl.ParseEntityName()
   bei System.Xml.XmlTextReaderImpl.ParseEntityReference()
   bei System.Xml.XmlTextReaderImpl.Read()
   bei System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   bei System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   bei System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   bei System.Xml.XmlDocument.Load(XmlReader reader)
   bei System.Xml.XmlDocument.LoadXml(String xml)
   bei NUtility.EPGEvent.Parse(String xml)
2012-02-26 19:25:25.160    [ERROR][1]    xml:
<Event>
  <OID>4903288</OID>
  <Title>Lindenstraße</Title>
  <SubTitle>Bittere Lügen</SubTitle>
  <Description>Familienserie. Angelina steht unter Druck. Iffi plant die Übersiedlung der kleinen Beimer-Familie nach Australien. Martin von dem kleinen Paul terrorisiert.</Description>
  <ChannelOID>7170</ChannelOID>
  <StartTime>2012-02-26T17:50:00.0000000Z</StartTime>
  <EndTime>2012-02-26T18:20:00.0000000Z</EndTime>
  <FirstRun>true</FirstRun>
  <OriginalAirDate>2012-02-26T00:00:00.0000000</OriginalAirDate>
  <Genres>
    <Genre>Serie</Genre>
    <Genre>Shows & Serien</Genre>
    <Genre>Soap</Genre>
  </Genres>
</Event>

I see this Exception in NPVR.log while updating EPG-data and had it today when calling

Code:
FOR /F "tokens=*" %%i in ('C:\"Program Files (x86)"\NPVR\NScriptHelper.exe -title "%~f1"') do SET title=%%i

in PostProcessing.bat after a recording.

Any ideas what would cause this? The Patch from here http://forums.gbpvr.com/showthread.p...284#post431284 didn't fix it.

Many thanks.
This patch should fix it.
Hello sub,

thanks for your quick reply, but unfortunately, the patch does not work:

Logfiles: NPVR.log:

Code:
2012-02-28 08:49:29.937    [ERROR][1]    Unexpected error parsing EPGEvent xml: System.Xml.XmlException: Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile 13, Position 19.
   bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
   bei System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   bei System.Xml.XmlTextReaderImpl.Throw(String res)
   bei System.Xml.XmlTextReaderImpl.ParseEntityName()
   bei System.Xml.XmlTextReaderImpl.ParseEntityReference()
   bei System.Xml.XmlTextReaderImpl.Read()
   bei System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   bei System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   bei System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   bei System.Xml.XmlDocument.Load(XmlReader reader)
   bei System.Xml.XmlDocument.LoadXml(String xml)
   bei NUtility.EPGEvent.Parse(String xml)
2012-02-28 08:49:29.937    [ERROR][1]    xml:
<Event>
  <OID>4571497</OID>
  <Title>Fastnacht in Franken</Title>
  <SubTitle></SubTitle>
  <Description>Live-Übertragung von der Prunksitzung des Fastnachtverbandes Franken aus Veitshöchheim.</Description>
  <ChannelOID>7173</ChannelOID>
  <StartTime>2012-02-10T18:00:00.0000000Z</StartTime>
  <EndTime>2012-02-10T21:25:00.0000000Z</EndTime>
  <FirstRun>true</FirstRun>
  <OriginalAirDate>2005-01-28T00:00:00.0000000</OriginalAirDate>
  <Genres>
    <Genre>Serie</Genre>
    <Genre>Shows & Serien</Genre>
    <Genre>Sonstiges</Genre>
  </Genres>
</Event>

Same in NRecord.log:
Code:
2012-02-28 02:04:11.622    [ERROR][8]    Unexpected error parsing EPGEvent xml: System.Xml.XmlException: Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile 13, Position 19.
   bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
   bei System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   bei System.Xml.XmlTextReaderImpl.Throw(String res)
   bei System.Xml.XmlTextReaderImpl.ParseEntityName()
   bei System.Xml.XmlTextReaderImpl.ParseEntityReference()
   bei System.Xml.XmlTextReaderImpl.Read()
   bei System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   bei System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   bei System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   bei System.Xml.XmlDocument.Load(XmlReader reader)
   bei System.Xml.XmlDocument.LoadXml(String xml)
   bei NUtility.EPGEvent.Parse(String xml)
2012-02-28 02:04:11.632    [ERROR][8]    xml:
<Event>
  <OID>4903288</OID>
  <Title>Lindenstraße</Title>
  <SubTitle>Bittere Lügen</SubTitle>
  <Description>Familienserie. Angelina steht unter Druck. Iffi plant die Übersiedlung der kleinen Beimer-Familie nach Australien. Martin von dem kleinen Paul terrorisiert.</Description>
  <ChannelOID>7170</ChannelOID>
  <StartTime>2012-02-26T17:50:00.0000000Z</StartTime>
  <EndTime>2012-02-26T18:20:00.0000000Z</EndTime>
  <FirstRun>true</FirstRun>
  <OriginalAirDate>2012-02-26T00:00:00.0000000</OriginalAirDate>
  <Genres>
    <Genre>Serie</Genre>
    <Genre>Shows & Serien</Genre>
    <Genre>Soap</Genre>
  </Genres>
</Event>

2012-02-28 02:04:11.632    [ERROR][8]    Unexpected error exporting recording list:

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei NShared.ExportImport.ExportRecordings(Boolean showMessageBoxes)

And NScriptHelper.log:
Code:
[...startup]
2012-02-28 22:43:21.552    [ERROR][1]    Unexpected error parsing EPGEvent xml: System.Xml.XmlException: Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile 13, Position 19.
   bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
   bei System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   bei System.Xml.XmlTextReaderImpl.Throw(String res)
   bei System.Xml.XmlTextReaderImpl.ParseEntityName()
   bei System.Xml.XmlTextReaderImpl.ParseEntityReference()
   bei System.Xml.XmlTextReaderImpl.Read()
   bei System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   bei System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   bei System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   bei System.Xml.XmlDocument.Load(XmlReader reader)
   bei System.Xml.XmlDocument.LoadXml(String xml)
   bei NUtility.EPGEvent.Parse(String xml)
2012-02-28 22:43:21.552    [ERROR][1]    xml:
<Event>
  <OID>4903288</OID>
  <Title>Lindenstraße</Title>
  <SubTitle>Bittere Lügen</SubTitle>
  <Description>Familienserie. Angelina steht unter Druck. Iffi plant die Übersiedlung der kleinen Beimer-Familie nach Australien. Martin von dem kleinen Paul terrorisiert.</Description>
  <ChannelOID>7170</ChannelOID>
  <StartTime>2012-02-26T17:50:00.0000000Z</StartTime>
  <EndTime>2012-02-26T18:20:00.0000000Z</EndTime>
  <FirstRun>true</FirstRun>
  <OriginalAirDate>2012-02-26T00:00:00.0000000</OriginalAirDate>
  <Genres>
    <Genre>Serie</Genre>
    <Genre>Shows & Serien</Genre>
    <Genre>Soap</Genre>
  </Genres>
</Event>

Do you have another idea?
Sorry - I should have said this will stop it creating the problem in the future, but you'll probably need to delete the existing problem recording that already has the problem.
Hello sub,

sorry for replying again, but the problem still exists: Patched nextPRV.exe from above, new recording from today but still the same problem:

Code:
2012-03-01 09:21:19.013    [ERROR][1]    Unexpected error parsing EPGEvent xml: System.Xml.XmlException: Beim Analysieren von 'EntityName' ist ein Fehler aufgetreten. Zeile 13, Position 19.
   bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
   bei System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   bei System.Xml.XmlTextReaderImpl.Throw(String res)
   bei System.Xml.XmlTextReaderImpl.ParseEntityName()
   bei System.Xml.XmlTextReaderImpl.ParseEntityReference()
   bei System.Xml.XmlTextReaderImpl.Read()
   bei System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   bei System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   bei System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   bei System.Xml.XmlDocument.Load(XmlReader reader)
   bei System.Xml.XmlDocument.LoadXml(String xml)
   bei NUtility.EPGEvent.Parse(String xml)
2012-03-01 09:21:19.013    [ERROR][1]    xml:
<Event>
  <OID>5134618</OID>
  <Title>The Big Bang Theory</Title>
  <SubTitle>Die Leuchtfisch-Idee</SubTitle>
  <Description>Sitcom. Als Sheldon bei einer Party seinen Boss beleidigt und daraufhin entlassen wird, nimmt er sich endlich Zeit für Experimente, die er schon immer einmal durchführen wollte.</Description>
  <ChannelOID>7164</ChannelOID>
  <StartTime>2012-03-01T07:45:00.0000000Z</StartTime>
  <EndTime>2012-03-01T08:10:00.0000000Z</EndTime>
  <FirstRun>true</FirstRun>
  <OriginalAirDate>2011-03-24T00:00:00.0000000</OriginalAirDate>
  <Genres>
    <Genre>Serie</Genre>
    <Genre>Shows & Serien</Genre>
    <Genre>Sitcoms</Genre>
  </Genres>
</Event>


NScriptHelper.exe is throwing the same exception (logs attached) and so I cannot do a title-subtitle extraction in Postprocessing.bat for this recording.


I suspect it has something to do with the "& " in the <Genre>-Tag?
Your logs indicate you use TV Listings, maybe try removing it and adding it with NextPVR, I know alibert creates his recording entries differently.

Martin
If you can zip and attach your xmltv file, I can check it out here.
Hello sub,

here's my xmltv file.

Thanks
Sorry - just realised I'd attached the wrong file earlier. This is the correct file.
Sub, I was wondering about that file, being that it was the exact same file as you posted in a different thread at roughly the same time... I just figured you fixed two issues at the same time, so posted the same file twice. If I'd thought about it a little more I'd have realized an update to NextPVR.exe would have no effect on EPG processing.
Pages: 1 2