[XML-SIG] HTML parse error
sharifah ummu kulthum
kulthum91 at gmail.com
Mon Feb 22 14:24:12 CET 2010
Hi guys
I am new to python. I have just installed python yesterday for my mythtv
project. I found a site
here<https://sayap.com/blog/2008/12/30/mythtv-s-xmltv-grabber-for-malaysia-channels>for
getting channel listing grabber to get channel for Malaysia for my
mythtv box. but I get these. I don't know what it means
Any insight is very mush appreciated as I am very new to python.
bitto at bitto:~$ python grabmy.py -f my.xml
Traceback (most recent call last):
File "grabmy.py", line 236, in <module>
main()
File "grabmy.py", line 225, in main
for elem in grabber.grab(date + timedelta(i), **params_dict):
File "grabmy.py", line 102, in grab
html = self.get_html(date, **kwargs)
File "grabmy.py", line 63, in get_html
return BeautifulSoup(content)
File "build/bdist.linux-i686/egg/BeautifulSoup.py", line 1499, in __init__
File "build/bdist.linux-i686/egg/BeautifulSoup.py", line 1230, in __init__
File "build/bdist.linux-i686/egg/BeautifulSoup.py", line 1263, in _feed
File "/usr/lib/python2.6/HTMLParser.py", line 108, in feed
self.goahead(0)
File "/usr/lib/python2.6/HTMLParser.py", line 148, in goahead
k = self.parse_starttag(i)
File "/usr/lib/python2.6/HTMLParser.py", line 226, in parse_starttag
endpos = self.check_for_whole_start_tag(i)
File "/usr/lib/python2.6/HTMLParser.py", line 301, in
check_for_whole_start_tag
self.error("malformed start tag")
File "/usr/lib/python2.6/HTMLParser.py", line 115, in error
raise HTMLParseError(message, self.getpos())
HTMLParser.HTMLParseError: malformed start tag, at line 830, column 36
Bitto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/xml-sig/attachments/20100222/37fa0204/attachment.html>
More information about the XML-SIG
mailing list