Segmentation fault
I'm getting segmentation fault in pisa either by using the xhtml2pdf cli tool or when trying to import pisa:
$ xhtml2pdf -h Segmentation fault
$ python Python 2.6.4 (r264:75706, Jan 26 2010, 14:52:19) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import ho.pisa as pisa Segmentation fault
I believe there is a missing dependency which is not checked, because I have the same version installed on another machine with similar configuration and it's working perfectly.
$ uname -a Linux cyrus-dev 2.6.18-238.12.1.el5 #1 SMP Tue May 31 13:23:01 EDT 2011 i686 i686 i386 GNU/Linux
$ cat /etc/issue CentOS release 5.6 (Final) Kernel \r on an \m
Thanks!
Sorry I closed the issue by mistake. I forgot to mention that my pisa version is 3.0.33 installed with pip
Hey,
I had a similar problem. I traced the problem until I found the source of the seg fault. The problem is because the _rl_access module of reportlab was not properly installed (or something) and the following import was crashing: from _rl_accel import fp_str (reportlab/lib/utils.py:221)
I reinstalled reportlab 2.5 using 'pip install -U reportlab' and the problem disappeared. Anyways this seems not to be a pisa3 error, so I think this issue can be closed here.