On Wed, May 25, 2005 at 06:01:50PM +0200, Toine Schreurs wrote:
> /usr/bin/pymol: line 8: 11707 Segmentation fault      python 
> /usr/lib/python2.3/
> site-packages/pymol/__init__.py $*

What you can try is export the variables as found in /usr/bin/pymol
(it's just a wrapper script), then run python in gdb and execute
/usr/lib/python2.3/site-packages/pymol/__init__.py.

Thus, something like:

$ export PYMOL_DATA=/usr/share/pymol
$ export PYMOL_PATH=/usr/lib/python2.3/site-packages/pymol/
$ export CHEMPY_DATA=/usr/share/chempy
$ gdb /usr/bin/python2.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are welcome to change it and/or distribute copies of it under certain
conditions.  Type "show copying" to see the conditions.  There is
absolutely no warranty for GDB.  Type "show warranty" for details.  This
GDB was configured as "i386-linux"...(no debugging symbols found) Using
host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) r /usr/lib/python2.3/site-packages/pymol/__init__.py <your file>


wait until the segfault, and call 'bt full' from gdb and send the
output.

Not sure whether that helps but upstream might be able to make up
something with that.


Michael

-- 
Michael Banck
Debian Developer
[EMAIL PROTECTED]
http://www.advogato.org/person/mbanck/diary.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to