2018-04-15, 06:01 PM
Hi, I'm having an issue where recordings of a programme fail, and can't be deleted, because of an invalid character in the programme description.
The relevant log lines are variations on the following:
In each case it's a character 0x19 in place of what should evidently be U+2019 right single quotation mark. The description is stored (with the invalid character) in the database, but the UI shows the description blank in the pending recordings list. They fail with Object reference not set to an instance of an object, and generate an unhandled exception for the same if trying to cancel them.
Looking at the database there are examples of the 0x19 getting into the description strings of epg events across many channels.
I first encountered the problem a few days ago running the previous version and have since reinstalled with 4.1.1.180410
The relevant log lines are variations on the following:
Code:
[ERROR][1] Unexpected error parsing EPGEvent xml: System.Xml.XmlException: '', hexadecimal value 0x19, is an invalid character. Line 5, position 161.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
at System.Xml.XmlTextReaderImpl.ParseText()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.LoadXml(String xml)
at NUtility.EPGEvent.Parse(String xml)
In each case it's a character 0x19 in place of what should evidently be U+2019 right single quotation mark. The description is stored (with the invalid character) in the database, but the UI shows the description blank in the pending recordings list. They fail with Object reference not set to an instance of an object, and generate an unhandled exception for the same if trying to cancel them.
Looking at the database there are examples of the 0x19 getting into the description strings of epg events across many channels.
I first encountered the problem a few days ago running the previous version and have since reinstalled with 4.1.1.180410