[reportlab-users] how to use in plone

Albert Lee.K.W reportlab-users@reportlab.com
Fri, 28 May 2004 11:19:30 +0800


Hi,

When I run reportlab/test/test_renderSVG.py ,it show

Traceback (most recent call last):
  File "./test_renderSVG.py", line 127, in test2
    svg = load(path)
  File "./test_renderSVG.py", line 47, in load
    doc = minidom.parse(path)
  File "/usr/local/lib/python2.3/site-packages/_xmlplus/dom/minidom.py", 
line 1908, in parse
    return expatbuilder.parse(file)
  File "/usr/local/lib/python2.3/site-
packages/_xmlplus/dom/expatbuilder.py", line 924, in parse
    result = builder.parseFile(fp)
  File "/usr/local/lib/python2.3/site-
packages/_xmlplus/dom/expatbuilder.py", line 200, in parseFile
    parser = self.getParser()
  File "/usr/local/lib/python2.3/site-
packages/_xmlplus/dom/expatbuilder.py", line 158, in getParser
    self._parser = self.createParser()
  File "/usr/local/lib/python2.3/site-
packages/_xmlplus/dom/expatbuilder.py", line 728, in createParser
    parser = expat.ParserCreate(namespace_separator=" ")
AttributeError: 'module' object has no attribute 'ParserCreate'

How can I do with it ?

And if I use reportlab in Plone, does this error make any effects?

albert