[reportlab-users] ReportLab 2.3 - still getting errors with 2.6

John Conner jconner at EmpireDI.com
Wed Feb 4 15:38:41 EST 2009


Hi,

Not sure if it is a problem with report lab or maybe python2.6 or maybe
freetype. I have been seeing the
following error for a while now.

Running 'python setup.py tests-preinstall' I get the following:

...................................................................................................................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
"G:\downloads\Python\ReportLab\ReportLab_2_3\ReportLab_2_3\tools\docco\yaml2pdf.py",
line 54, in run
story.append(Paragraph(text, style, bulletText=bulletText))
File
"G:\downloads\Python\ReportLab\ReportLab_2_3\ReportLab_2_3\src\reportlab\platypus\paragraph.py",
line 798, in __init__
self._setup(text, style, bulletText, frags, cleanBlockQuotedText)
File
"G:\downloads\Python\ReportLab\ReportLab_2_3\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
"G:\downloads\Python\ReportLab\ReportLab_2_3\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 71.657s

FAILED (failures=1)


running 'python setup.py install' gives:

################################################
#Attempting install of _rl_accel, sgmlop & pyHnj
#extensions from
'G:\\downloads\\Python\\ReportLab\\ReportLab_2_3\\ReportLab_2_3\\src\\rl_addons\\rl_accel'
################################################
################################################
#Attempting install of _renderPM
#extensions from
'G:\\downloads\\Python\\ReportLab\\ReportLab_2_3\\ReportLab_2_3\\src\\rl_addons\\renderPM'
# installing with win32 freetype 'freetype6.dll'
################################################
running install
running build
running build_py
copying src\reportlab\lib\hyphen.mashed -> build\lib.win32-2.6\reportlab\lib
running build_clib
building '_renderPM_libart' library
error: None


Finally running 'python setup.py tests' results in:

...................................................................................................................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
"G:\downloads\Python\ReportLab\ReportLab_2_3\ReportLab_2_3\tools\docco\yaml2pdf.py",
line 54, in run
story.append(Paragraph(text, style, bulletText=bulletText))
File
"G:\downloads\Python\ReportLab\ReportLab_2_3\ReportLab_2_3\src\reportlab\platypus\paragraph.py",
line 798, in __init__
self._setup(text, style, bulletText, frags, cleanBlockQuotedText)
File
"G:\downloads\Python\ReportLab\ReportLab_2_3\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
"G:\downloads\Python\ReportLab\ReportLab_2_3\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 72.141s

FAILED (failures=1)


Any ideas what we've got messed up????

John Conner
_____________________
Empire Digital Instruments
Colorado Springs, Colorado




More information about the reportlab-users mailing list