[mythtv-users] tv_grab_au_reg - Failing

Luke Darnell luke.darnell at g2microsystems.com
Sat Sep 9 23:54:24 UTC 2006

Hi all,

All of sudden my tv_grab_au script (the oztivo one) has started failing.
I haven't touched a thing. I can't be the only one having this problem, 
so I thought maybe someone had already solved it.
It has been working great for 3-4 months now.
Here's the output I'm getting.

[root at localhost ~]# mythfilldatabase --graboptions --force-explicit-timezone
2006-09-10 09:44:10.418 New DB connection, total: 1
2006-09-10 09:44:10.615 New DB connection, total: 2
2006-09-10 09:44:10.617 mythfilldatabase: Listings Download Started
----------------- Start of XMLTV output -----------------
2006-09-10 09:44:10.669 New DB connection, total: 3
Traceback (most recent call last):
  File "/usr/bin/tv_grab_au", line 571, in ?
  File "/usr/bin/tv_grab_au", line 563, in main
  File "/usr/bin/tv_grab_au", line 436, in grab
    grabTVGuideDayChannel(day, channel)
  File "/usr/bin/tv_grab_au", line 323, in grabTVGuideDayChannel
    outputDayChannel(f, channel)
  File "/usr/bin/tv_grab_au", line 308, in outputDayChannel
    for (event,node) in events:
  File "/usr/lib/python2.3/site-packages/_xmlplus/dom/pulldom.py", line 
232, in next
    rc = self.getEvent()
  File "/usr/lib/python2.3/site-packages/_xmlplus/dom/pulldom.py", line 
265, in getEvent
  File "/usr/lib/python2.3/site-packages/_xmlplus/sax/expatreader.py", 
line 220, in feed
  File "/usr/lib/python2.3/site-packages/_xmlplus/sax/handler.py", line 
38, in fatalError
    raise exception
xml.sax._exceptions.SAXParseException: <unknown>:1:0: syntax error
------------------ End of XMLTV output ------------------
Error in 23:1: unexpected end of file
Updating icons for sourceid: 1
2006-09-10 09:44:15.550 New DB connection, total: 4
Updated programs: 0  Unchanged programs: 0
Failed to fetch some program info
2006-09-10 09:44:15.988 mythfilldatabase: Failed to fetch some program info

I previous had it setup to run using the following cronjob.

[root at localhost ~]# crontab -l
30     18     *     *     *         mythfilldatabase --graboptions 

Here's the contents of my ~/.mythtv/tv_grab_au_reg.xmltv (with the user 
name and passewrd changed)

<?xml version="1.0"?>


  <login provider="tvguide" user="user" password="password" />

    <channel display="ABC" tvguide="ABC-NSW" local="nsw.abc.com.au"/>
    <channel display="ABC2" tvguide="ABC2" local="abc2.abc.com.au" />
    <channel display="Nine" tvguide="Nine-Syd" local="sydney.nine.com.au" />
    <channel display="SBS" tvguide="SBS-NSW" local="nsw.sbs.com.au" />
    <channel display="SBS News" tvguide="SBS-NEWS" 
local="news.sbs.com.au" />
    <channel display="Seven" tvguide="Seven-Syd" 
local="sydney.seven.com.au" />
    <channel display="Ten" tvguide="Ten-NSW" local="nsw.ten.com.au" />


Any ideas?

More information about the mythtv-users mailing list