Comment #2 on issue 208 by antono...@gmail.com: html5lib is incompatible
with python 2.4
http://code.google.com/p/html5lib/issues/detail?id=208
when i replace line 179-181
i have a next errors
#xhtml2pdf --encoding utf8 -s index.html
Traceback (most recent call last):
File "/usr/bin/xhtml2pdf", line 7, in ?
sys.exit(
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 236, in
load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2097, in
load_entry_point
return ep.load()
File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1830, in
load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.4/site-packages/xhtml2pdf/pisa.py", line 3, in ?
from xhtml2pdf.document import pisaDocument
File "/usr/lib/python2.4/site-packages/xhtml2pdf/document.py", line 2,
in ?
from xhtml2pdf.context import pisaContext
File "/usr/lib/python2.4/site-packages/xhtml2pdf/context.py", line 23,
in ?
import xhtml2pdf.parser
File "/usr/lib/python2.4/site-packages/xhtml2pdf/parser.py", line 17, in ?
from html5lib import treebuilders, inputstream
File "/usr/lib/python2.4/site-packages/html5lib/__init__.py", line 14,
in ?
from html5parser import HTMLParser, parse, parseFragment
File "/usr/lib/python2.4/site-packages/html5lib/html5parser.py", line 183
if self.tree.openElements:
^
IndentationError: expected an indented block
--
You received this message because you are subscribed to the Google Groups
"html5lib-discuss" group.
To post to this group, send an email to html5lib-discuss@googlegroups.com.
To unsubscribe from this group, send email to
html5lib-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/html5lib-discuss?hl=en-GB.