<p dir="ltr"><br>
On 7/10/2012 6:53 PM, "Nick Rout" <<a href="mailto:nick.rout@gmail.com">nick.rout@gmail.com</a>> wrote:<br>
><br>
> On Sun, Oct 7, 2012 at 6:24 PM, Paul Kendall <<a href="mailto:pkendall64@gmail.com">pkendall64@gmail.com</a>> wrote:<br>
> > On Sun, Oct 7, 2012 at 6:02 PM, Curtis Walker <<a href="mailto:sultanoswing@gmail.com">sultanoswing@gmail.com</a>> wrote:<br>
> >> On 7 October 2012 17:59, Nick Rout <<a href="mailto:nick.rout@gmail.com">nick.rout@gmail.com</a>> wrote:<br>
> >>> On Sun, Oct 7, 2012 at 5:55 PM, Curtis Walker <<a href="mailto:sultanoswing@gmail.com">sultanoswing@gmail.com</a>> wrote:<br>
> >>>> On 7 October 2012 17:38, Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br>
> >>>>> On Sun, 7 Oct 2012 16:29:29 +1300, you wrote:<br>
> >>>>><br>
> >>>>>>On Sun, Oct 7, 2012 at 3:49 PM, Paul Kendall <<a href="mailto:pkendall64@gmail.com">pkendall64@gmail.com</a>> wrote:<br>
> >>>>>>> I have noticed today that the EPG from <a href="http://nzepg.org">nzepg.org</a> is truncated.<br>
> >>>>>>> The gzipped file is gzipped ok, but the original file is truncated and doesn't<br>
> >>>>>>> process properly by mythfilldatabase.<br>
> >>>>>>><br>
> >>>>>>> So, there may be a problem with the script that generated the xml or it may<br>
> >>>>>>> just be a one-off and be fixed tomorrow.<br>
> >>>>>>><br>
> >>>>>>> Just letting you know.<br>
> >>>>>><br>
> >>>>>>Mine updated via a mythfilldatabase auto run at 2.30 this morning and<br>
> >>>>>>reports success with 7 days data. When did you download the file?<br>
> >>>>><br>
> >>>>> Mine runs at 15:10 and failed:<br>
> >>>>><br>
> >>>>> wget of Freeview EPG completed OK<br>
> >>>>> -:32581.9: Premature end of data in tag desc line 32581<br>
> >>>>> <desc><br>
> >>>>> ^<br>
> >>>>> -:32581.9: Premature end of data in tag programme line 32579<br>
> >>>>> <desc><br>
> >>>>> ^<br>
> >>>>> -:32581.9: Premature end of data in tag tv line 3<br>
> >>>>> <desc><br>
> >>>>> ^<br>
> >>>>><br>
> >>>>> and:<br>
> >>>>><br>
> >>>>> 2012-10-07 15:11:11.857994 I Updating source #1 (FreeviewHD) with<br>
> >>>>> grabber tv_grab_nz_FreeviewHD-py<br>
> >>>>> 2012-10-07 15:11:11.858428 I Found 25 channels for source 1 which use<br>
> >>>>> grabber<br>
> >>>>> 2012-10-07 15:11:11.961462 I Grabber has capabilities: baseline<br>
> >>>>> manualconfig preferredmethod cache<br>
> >>>>> 2012-10-07 15:11:12.111861 I Grabber prefers method: allatonce<br>
> >>>>> 2012-10-07 15:11:12.112772 I XMLTV config file is:<br>
> >>>>> /home/stephen/.mythtv/FreeviewHD.xmltv<br>
> >>>>> 2012-10-07 15:11:12.563964 E FillData: xmltv returned error code 1<br>
> >>>>> 2012-10-07 15:11:12.564528 E Error in 1:1: unexpected end of file<br>
> >>>>><br>
> >>>>> _______________________________________________<br>
> >>>>> mythtvnz mailing list<br>
> >>>>> <a href="mailto:mythtvnz@lists.linuxnut.co.nz">mythtvnz@lists.linuxnut.co.nz</a><br>
> >>>>> <a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz">http://lists.ourshack.com/mailman/listinfo/mythtvnz</a><br>
> >>>>> Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a><br>
> >>>><br>
> >>>> Thank goodness - I thought it was just me!<br>
> >>>><br>
> >>>> Running mythfilldatabase in a terminal, I get (with nz_tv-grab.py<br>
> >>>> setup and working until yesterday):<br>
> >>>><br>
> >>>> FillData: XMLTV grabber returned error code 1<br>
> >>>> 2012-10-07 17:51:40.021977 E Error in 1:1: unexpected end of file<br>
> >>>> 2012-10-07 17:51:40.022065 I IconData: Updating icons for sourceid: 3<br>
> >>>> 2012-10-07 17:51:40.022960 C Received Real-time signal 0: Code -6,<br>
> >>>> PID 4945, UID 1000, Value 0xffffffff8118b1ec<br>
> >>>> 2012-10-07 17:51:40.023008 I No programs found in data.<br>
> >>>> 2012-10-07 17:51:40.024242 E Failed to fetch some program info<br>
> >>>><br>
> >>>> Running the py script manually, I get:<br>
> >>>><br>
> >>>> tv_grab_nz-py --configure --config-file ~/.mythtv/FreeviewHD.xmltv<br>
> >>>> INFO - Downloading data from nzepg.org...<br>
> >>>> INFO - Done<br>
> >>>> INFO - Parsing channel data...<br>
> >>>> Traceback (most recent call last):<br>
> >>>> File "/usr/bin/tv_grab_nz-py", line 210, in <module><br>
> >>>> doc = ElementTree.parse(StringIO(text)).getroot()<br>
> >>>> File "<string>", line 62, in parse<br>
> >>>> File "<string>", line 38, in parse<br>
> >>>> ElementTree.ParseError: no element found: line 32581, column 8<br>
> >>>><br>
> >>><br>
> >>> All fine here, just downloaded the freeview.xml.gz file and it unzips<br>
> >>> and seems to contain all relevant data.<br>
> >>><br>
> >>> Also as a double check ran mythfilldatabase on the backend and it<br>
> >>> completed fine.<br>
> >>><br>
> >>> _______________________________________________<br>
> >>> mythtvnz mailing list<br>
> >>> <a href="mailto:mythtvnz@lists.linuxnut.co.nz">mythtvnz@lists.linuxnut.co.nz</a><br>
> >>> <a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz">http://lists.ourshack.com/mailman/listinfo/mythtvnz</a><br>
> >>> Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a><br>
> >><br>
> >> Curse you, Nick! :)<br>
> >><br>
> >> _______________________________________________<br>
> >> mythtvnz mailing list<br>
> >> <a href="mailto:mythtvnz@lists.linuxnut.co.nz">mythtvnz@lists.linuxnut.co.nz</a><br>
> >> <a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz">http://lists.ourshack.com/mailman/listinfo/mythtvnz</a><br>
> >> Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a><br>
> ><br>
> > I just ran it now 18:23 and it fails.<br>
> > try wget <a href="http://nzepg.org/freeview.xml.gz">http://nzepg.org/freeview.xml.gz</a><br>
> > zcat freeview.xml.gz | tail<br>
> > and you'll see it's truncated.<br>
><br>
> I stand corrected, mine stops here:<br>
><br>
> <programme channel="<a href="http://tv1.freeviewnz.tv">tv1.freeviewnz.tv</a>" start="20121014041000 +1300"<br>
> stop="20121014043000 +1300"><br>
> <title>Winning Venezuela</title><br>
> <desc><br>
><br>
> The freeview.xml.gz file is 181871 bytes long.<br>
><br>
> And my mythweb status page tells me (despite the manual run of<br>
> mythfilldatabase seeming to finish without error) that the last run<br>
> ended in error 1.<br>
><br>
> I suspect the person whose system generates of the downloadable data<br>
> file will fix it soon. You all have data for a while yet, panic when<br>
> it gets down to 1 or 2 days :)<br>
><br>
> _______________________________________________<br>
> mythtvnz mailing list<br>
> <a href="mailto:mythtvnz@lists.linuxnut.co.nz">mythtvnz@lists.linuxnut.co.nz</a><br>
> <a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz">http://lists.ourshack.com/mailman/listinfo/mythtvnz</a><br>
> Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/">http://www.gossamer-threads.com/lists/mythtv/mythtvnz/</a></p>
<p dir="ltr">Unless you're like me and retuned today, then thought the error might be related, so wiped all channels and started over! <br>
</p>