Try using this for /usr/bin/pype:
#! /usr/bin/python
PYPE='/usr/share/pype'
import sys
import os
sys.path.append(PYPE)
os.chdir(PYPE)
import pype
pype.main()
It does the chdir to /usr/share/pype so that the icon files which aren't
found, which causes the segfault, are found. With pype's file his
Package: python2.3-cairo
Version: 0.9.0-3
Severity: normal
The hangman.py example program included with python2.3-cairo does not
run because the cairo.gtk module is missing.
[EMAIL PROTECTED]:~/Python$ python hangman.py
Traceback (most recent call last):
File "hangman.py", line 32, in ?
2 matches
Mail list logo