[reportlab-users] Any advice installing Reportlab 2.3 under Python 2.6 on Ubuntu 9.04?

Tim Greening-Jackson tim at shellike.com
Wed Jul 8 14:36:05 EDT 2009


Hi there. I am attempting to install Reportlab 2.3 under Ubuntu 9.04
(2.6.28-13-generic kernel) running Python 2.6.2

When I run the pre-install tests I get the following:

tim at poirot:~/ReportLab_2_3$ python setup.py tests-preinstall
.................................................................................Traceback
(most recent call last):
File "genreference.py", line 31, in <module>
run()
File "genreference.py", line 17, in run
yaml2pdf.run('reference.yml','reportlab-reference.pdf')
File "/home/tim/ReportLab_2_3/tools/docco/yaml2pdf.py", line 54, in run
story.append(Paragraph(text, style, bulletText=bulletText))
File "/home/tim/ReportLab_2_3/src/reportlab/platypus/paragraph.py",
line 798, in __init__
self._setup(text, style, bulletText, frags, cleanBlockQuotedText)
File "/home/tim/ReportLab_2_3/src/reportlab/platypus/paragraph.py",
line 816, in _setup
% (_parser.errors[0],text[:min(30,len(text))]))
ValueError: xml parser error (garbage in start tag) in paragraph beginning
'Very simple and fast XML parse'
Failed to import renderPM.
F....................................................................................................
======================================================================
FAIL: Test if all manuals buildable from source.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tim/ReportLab_2_3/tests/test_docs_build.py", line 32, in test0
assert os.path.isfile('reportlab-reference.pdf'), 'genAll.py
failed to generate reportlab-reference.pdf!'
AssertionError: genAll.py failed to generate reportlab-reference.pdf!

----------------------------------------------------------------------
Ran 182 tests in 65.924s

FAILED (failures=1)

I've installed python2.6-dev and Freetype 2.3.9

Any tips on what I'm doing wrong? I'm sure it must be elementary.

Cheers.

Tim


More information about the reportlab-users mailing list