[reportlab-users] running reportlab on RH7.2

Karl Putland reportlab-users@reportlab.com
12 Jul 2002 07:03:36 -0600


Installed RL, or at least tried to install on RH7.2.  Using distutils,
It complains about unknown OS linux2.  Added linux2 to the list of OSs
in the same group as BSD.  Seemed to build ok, but test suite segfaults.

pyRXP also didn't want to build using distutils.  pyRXP seems to work
parsing some xml that I've been working on, but when exiting python, it
segfaulted as well.

Are there any secrets to getting RH and pyRXP built and installed
properly on RH7.2?

What follows is a session of experiments.
--Karl

[root@mars test]# uname -a
Linux mars.putland.int 2.4.18 #9 Sun Mar 17 21:42:58 MST 2002 i686
unknown
[root@mars test]# pwd 
/usr/local/lib/python2.2/site-packages/reportlab/test
[root@mars test]# python2 runAll.py
.Traceback (innermost last):
  File "genreference.py", line 13, in ?
    import reportlab
ImportError: No module named reportlab
Traceback (innermost last):
  File "genuserguide.py", line 13, in ?
    from reportlab.tools.docco.rl_doc_utils import *
ImportError: No module named reportlab.tools.docco.rl_doc_utils
Traceback (innermost last):
  File "gengraphguide.py", line 10, in ?
    from reportlab.tools.docco.rl_doc_utils import *
ImportError: No module named reportlab.tools.docco.rl_doc_utils
Traceback (innermost last):
  File "graphdocpy.py", line 22, in ?
    from reportlab import rl_config
ImportError: No module named reportlab
F...................................................................Segmentation fault
[root@mars test]# which python2 
/usr/local/bin/python2
[root@mars test]# python2 
Python 2.2 (#3, Mar 24 2002, 13:24:31) 
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import reportlab
>>> dir(reportlab)
['Version', '__builtins__', '__doc__', '__file__', '__name__',
'__path__', '__version__', 'getStory']
>>> from reportlab import pdfgen
>>> from reportlab import platypus
>>> # About to exit python with Ctrl-D
>>>
[root@mars test]# python2
Python 2.2 (#3, Mar 24 2002, 13:24:31) 
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyRXP
>>> p = pyRXP.Parser()
>>> # About to exit python with Ctrl-D
>>>
Segmentation fault
[root@mars test]# 
[root@mars test]# python2
Python 2.2 (#3, Mar 24 2002, 13:24:31) 
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyRXP
>>> p = pyRXP.Parser()
>>> del p
Segmentation fault
[root@mars test]# 


-- 
Karl Putland
Director of Technical Operations
ShipEze Inc