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 … 185 186 187 188 189 … 433 Next »
error in logs

error in logs
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#1
2015-05-13, 08:16 PM (This post was last modified: 2015-05-13, 08:23 PM by pBS.)
i keep getting this in nrecord logs seemingly constantly..
Quote:2015-05-13 08:41:12.111 [DEBUG][35] GetDurationMS() live: 2183656
2015-05-13 08:41:12.111 [DEBUG][35] In-progress duration is now: 2183656
2015-05-13 08:41:12.111 [DEBUG][35] READ: data read, about to send
2015-05-13 08:41:12.111 [DEBUG][35] READAngryabout to send 169200 bytes, from offset 4810356000
2015-05-13 08:41:12.111 [DEBUG][35] READ: complete
2015-05-13 08:41:12.111 [DEBUG][35] CLIENT-READ: 169200 bytes from offset 4810525200 (file length: 4832479276)
2015-05-13 08:41:12.111 [DEBUG][35] RollingFile.Seek(4810525200)
2015-05-13 08:41:12.111 [ERROR][35] Unexpected rolling file seek error: System.Xml.XmlException: An error occurred while parsing EntityName. Line 3, position 32.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseEntityName()
at System.Xml.XmlTextReaderImpl.ParseEntityReference()
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 NShared.RollingFile.Seek(Int64 position, SeekOrigin origin)

also having problems with tuner not available msgs, even on server.. [tho usually on client pc] had 2 this morning on Mike & Mike on client and one today on Outside The Lines on server.
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2015-05-13, 10:07 PM
i found out the fix, my epg processor was saving as utf-8, which i had to do a long time ago for some reason, but now that throws error...
so i changed it back to original encoding, "ISO-8859-1" which eliminated the error...
now logs are much cleaner...hopefully solves some other probs too...
made logs very hard to read with all those error msgs in it..

not sure why this error started coming up, never saw these since i made epg processor several years ago, until recently they started showing up....
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#3
2015-05-14, 01:53 PM (This post was last modified: 2015-05-14, 03:33 PM by pBS.)
i take it back, problem still there, same error in logs again...WTF?
nothing has changed, just a new day...
is there some update to xml core services i need?
checked epg, still has new encoding, so i'm at a loss...

aha, looks like it only happens when show i'm watching has special chars in title...this time on "Mike & Mike" the "&" is apparently mucking things up bigtime...
leads to a freeze of pc client/server viewing...

any ideas? logs still relevant...looks exactly same now as it did....TONS of that error all over my logs..

checked epg and title has proper encoding... "Mike & Mike *"

epg coming from mc2xml...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#4
2015-05-14, 02:53 PM (This post was last modified: 2015-05-14, 03:32 PM by pBS.)
hmmm, i see MS says these chars need escaping in xml:
" "
' '
< &lt;
> &gt;
& &amp;

tho i don't see any &quot; or &apos; in xml, just normal " and ', even in desc....
i expected those to be escaped...wtf?
but the only thing that is causing problem is the & in the titles and maybe subtitles..

In descriptions the & are escaped, but quotes and single quotes aren't...??

only difference i notice in my epg xml's is the originals have <!DOCTYPE tv SYSTEM "xmltv.dtd"> in it...do i need that to be added?

since it seems to happen on rolling file seeks, could it be the filename? Mike & Mike_20150514_09351200-2.ts
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#5
2015-05-14, 04:36 PM
hmmm,the <!DOCTYPE tv SYSTEM "xmltv.dtd"> seems to be the missing part...
does anyone know how to add that line in by using an xslt transform?
it seems to be erased by normal processing...
any ideas appreciated...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#6
2015-05-14, 06:36 PM
fixed it by changing my xsl output line to
Code:
<xsl:output method="xml" indent="yes" encoding="UTF-8" doctype-system="xmltv.dtd"/>
Big GrinBig Grin
now no errors on shows with '&' in title...
yay!

[and boy was that hard to find out, haven't edited my xslt in a long time...gives me headache just looking at it..lol]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#7
2015-05-14, 06:43 PM
I'm not sure I followed all that. So was there a bug in NextPVR, or was it a data problem?
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#8
2015-05-14, 07:50 PM
it was my epg xml pre-processor http://forums.nextpvr.com/showthread.php...post434477
It wasn't adding the doctype-system="xmltv.dtd" so all shows with "&" in title weren't processing right... xml looked ok, and no problem displaying..
strange that it would only show up on rolling file seeking, but it did...everything else had no problem with it...
but after update with the dtd, error is gone...Smile
[it made seeks sometimes crash npvr...usually on client...and stuffed up logs bad.]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Mouse Click on TV Guide throws an error mlopez1007 2 1,525 2021-03-22, 11:33 AM
Last Post: Graham
  Flashing in on-screen graphics (Windows 10) (Can post logs if needed) bgtees 39 13,488 2020-08-19, 12:38 PM
Last Post: Stanno
  Unhandled Exception Error Message reedaf4 23 7,724 2020-03-13, 05:03 PM
Last Post: sub
Photo Server database error mnthope 4 2,269 2019-12-23, 11:28 PM
Last Post: sub
  Framework Error Mroctober 1 1,228 2019-09-25, 03:13 PM
Last Post: Graham
  EPG error message djregehr 3 1,706 2019-08-09, 05:50 PM
Last Post: djregehr
  Error in Channel Setup Rich A 17 4,472 2019-05-24, 10:17 PM
Last Post: Rich A
  Recording Error: No errors, but no data delivered. jksmurf 4 1,897 2019-04-08, 04:24 AM
Last Post: jksmurf
  Import Error with Updated NPVR Release Coulen 9 3,081 2019-03-08, 10:00 PM
Last Post: sub
  Recurring page causes exception error metrov 9 2,760 2019-02-07, 09:23 PM
Last Post: metrov

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

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

Linear Mode
Threaded Mode