HTML parse error

sharifah ummu kulthum <[email protected]> Mon, 22 Feb 2010 21:24:12 +0800
Newsgroups gmane.comp.python.xml
Message-ID <[email protected]>
--===============1887967824==
Content-Type: multipart/alternative; boundary=001636283a3c648e820480305904

--001636283a3c648e820480305904
Content-Type: text/plain; charset=ISO-8859-1

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@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

--001636283a3c648e820480305904
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi guys<br><br>I am new to python. I have just installed python yesterday f=
or my mythtv project. I found a site <a href=3D"https://sayap.com/blog/2008=
/12/30/mythtv-s-xmltv-grabber-for-malaysia-channels">here</a> for getting c=
hannel listing grabber to get channel for Malaysia for my mythtv box. but I=
 get these. I don&#39;t=A0 know what it means<br>
<br>Any insight is very mush appreciated as I am very new to python.<br><br=
>bitto@bitto:~$ python grabmy.py -f my.xml<br>Traceback (most recent call l=
ast):<br>=A0 File &quot;grabmy.py&quot;, line 236, in &lt;module&gt;<br>=A0=
=A0=A0 main()<br>
=A0 File &quot;grabmy.py&quot;, line 225, in main<br>=A0=A0=A0 for elem in =
grabber.grab(date + timedelta(i), **params_dict):<br>=A0 File &quot;grabmy.=
py&quot;, line 102, in grab<br>=A0=A0=A0 html =3D self.get_html(date, **kwa=
rgs)<br>=A0 File &quot;grabmy.py&quot;, line 63, in get_html<br>
=A0=A0=A0 return BeautifulSoup(content)<br>=A0 File &quot;build/bdist.linux=
-i686/egg/BeautifulSoup.py&quot;, line 1499, in __init__<br>=A0 File &quot;=
build/bdist.linux-i686/egg/BeautifulSoup.py&quot;, line 1230, in __init__<b=
r>=A0 File &quot;build/bdist.linux-i686/egg/BeautifulSoup.py&quot;, line 12=
63, in _feed<br>
=A0 File &quot;/usr/lib/python2.6/HTMLParser.py&quot;, line 108, in feed<br=
>=A0=A0=A0 self.goahead(0)<br>=A0 File &quot;/usr/lib/python2.6/HTMLParser.=
py&quot;, line 148, in goahead<br>=A0=A0=A0 k =3D self.parse_starttag(i)<br=
>=A0 File &quot;/usr/lib/python2.6/HTMLParser.py&quot;, line 226, in parse_=
starttag<br>
=A0=A0=A0 endpos =3D self.check_for_whole_start_tag(i)<br>=A0 File &quot;/u=
sr/lib/python2.6/HTMLParser.py&quot;, line 301, in check_for_whole_start_ta=
g<br>=A0=A0=A0 self.error(&quot;malformed start tag&quot;)<br>=A0 File &quo=
t;/usr/lib/python2.6/HTMLParser.py&quot;, line 115, in error<br>
=A0=A0=A0 raise HTMLParseError(message, self.getpos())<br>HTMLParser.HTMLPa=
rseError: malformed start tag, at line 830, column 36<br><br>Bitto<br>

--001636283a3c648e820480305904--

--===============1887967824==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
XML-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/xml-sig

--===============1887967824==--