[reportlab-users] Unable to install with python 2.7.3
    Moretti Sébastien 
    sebastien.moretti at unil.ch
       
    Thu Nov 29 07:45:25 EST 2012
    
    
  
Hi
I am new to reportlab and try to install it from source on python 2.7.3 
Linux.
Build and install steps work fine but I experience errors with tests.
All errors are XML related (I joined part of the output)
All listed requirements are there, so I don't see what is missing.
Thanks
.....................E............E...........................E............................................................E...........Failed 
to import renderPM.
Traceback (most recent call last):
   File "graphdocpy.py", line 982, in <module>
     main()
   File "graphdocpy.py", line 952, in main documentPackage0(nameOrPath, 
builder, options)
   File "graphdocpy.py", line 895, in documentPackage0
     os.path.walk(path, _packageWalkCallback, (builder, opts))
   File "/software/lib64/python2.7/posixpath.py", line 237, in walk
     walk(name, func, arg)
   File "/software/lib64/python2.7/posixpath.py", line 229, in walk
     func(arg, top, names)
   File "graphdocpy.py", line 862, in _packageWalkCallback
     documentModule0(f, builder)
   File "graphdocpy.py", line 836, in documentModule0
     builder.write(s)
   File "./docpy.py", line 510, in write
     self.skeleton.walk(self)
   File "./docpy.py", line 433, in walk
     f.beginClass(k, cDoc, bases)
   File "graphdocpy.py", line 284, in beginClass
     self.beginAttributes(aClass)
   File "graphdocpy.py", line 321, in beginAttributes
     "<b>%s</b> %s" % (name, desc), self.bt))
   File 
"/builddir/build/BUILD/reportlab-2.6/src/reportlab/platypus/paragraph.py", 
line 919, in __init__
     self._setup(text, style, bulletText or 
getattr(style,'bulletText',None), frags, cleanBlockQuotedText)
   File 
"/builddir/build/BUILD/reportlab-2.6/src/reportlab/platypus/paragraph.py", 
line 937, in _setup
     % (_parser.errors[0],text[:min(30,len(text))]))
ValueError: xml parser error (bogus < or &) in paragraph beginning
'<b>gridStrokeLineCap</b> Grid '
.............................................E.................E........
======================================================================
ERROR: test0 (test_platypus_index.IndexTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/builddir/build/BUILD/reportlab-2.6/tests/test_platypus_index.py", line 
108, in test0
     para = Paragraph(txt, makeBodyStyle())
   File 
"/builddir/build/BUILD/reportlab-2.6/src/reportlab/platypus/paragraph.py", 
line 919, in __init__
     self._setup(text, style, bulletText or 
getattr(style,'bulletText',None), frags, cleanBlockQuotedText)
   File 
"/builddir/build/BUILD/reportlab-2.6/src/reportlab/platypus/paragraph.py", 
line 937, in _setup
     % (_parser.errors[0],text[:min(30,len(text))]))
ValueError: xml parser error (; missing after entity/char reference) in 
paragraph beginning
'Marks & Spencer - purveyor'
======================================================================
--
Sébastien Moretti
    
    
More information about the reportlab-users
mailing list