[reportlab-users] runAll.py failed

Haoyang Liu sportscool at gmail.com
Fri Jul 22 21:45:30 EDT 2005


Hi, 

I am having eaxactly the same problem as Amit had before runing
runAll.py. First it said failed to import renderPM. So I went to
http://www.reportlab.org/ftp/win32-dlls/2.4/ and downloaded
_renderPM.pyd. Now when I tried runAll.py again, I got another message
saying:

................................................................................
.........................E..........................
======================================================================
ERROR: test0 (test_platypus_pto.BreakingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\Python24\reportlab\test\test_platypus_pto.py", line 152, in test0
    _breakingTestCase(self)
  File "D:\Python24\reportlab\test\test_platypus_pto.py", line 136, in _breaking
TestCase
    ptoblob('2 PTO (inner split)',[ColorParagraph('pink',text0,bt),PTOContainer(
[ColorParagraph(black,'Inner Starts',H1),ColorParagraph('yellow',text2,bt),Color
Paragraph('black','Inner Ends',H1)],t1,h1),ColorParagraph('magenta',text1,bt)],t
0,h0)
  File "D:\Python24\reportlab\test\test_platypus_pto.py", line 49, in ColorParag
raph
    return Paragraph('<para color=%s>%s</para>' % (c,text),style)
  File "D:\Python24\reportlab\platypus\paragraph.py", line 378, in __init__
    self._setup(text, style, bulletText, frags, cleanBlockQuotedText)
  File "D:\Python24\reportlab\platypus\paragraph.py", line 403, in _setup
    raise "xml parser error (%s) in paragraph beginning\n'%s'"\
xml parser error (garbage in start tag) in paragraph beginning
'<para color=Color(0,0,0)>Inner'

----------------------------------------------------------------------
Ran 132 tests in 93.594s

FAILED (errors=1)


The version I use is Python 2.4.1 and reportLab1.20.

Does anyone have any clue about this? Thank you.

Regards,
Haoyang Liu


More information about the reportlab-users mailing list