[reportlab-users] I got an error at "python setup.py tests-preinstall"
katagiri
e.katagiri at teikokupr.co.jp
Fri Apr 24 01:24:11 EDT 2009
It's resolved !
I installed the ReportLab toolkit.
$ python setup.py build
# python setup.py install
then
$ python setup.py tests-preinstall
......................................................................
----------------------------------------------------------------------
Ran 193 tests in 49.162s
OK
On Fri, 24 Apr 2009 11:39:42 +0900
katagiri <e.katagiri at teikokupr.co.jp> wrote:
> Hi
>
> [katagiri at dev02 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 "/opensrc/ReportLab_2_3/tools/docco/yaml2pdf.py", line 54, in run
> story.append(Paragraph(text, style, bulletText=bulletText))
> File "/opensrc/ReportLab_2_3/src/reportlab/platypus/paragraph.py", line 798, in __init__
> self._setup(text, style, bulletText, frags, cleanBlockQuotedText)
> File "/opensrc/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 "/opensrc/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 68.544s
>
> FAILED (failures=1)
>
> -----------------------------------------------------------------------
>
> thanks for your any help.
>
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
More information about the reportlab-users
mailing list