Dear Pymol experts,
 
This is a suplement to my previous email.  I was asking how to launch pymol from
python without external GUI. I found how to do this, which was apparently explained in
"examples/launching" directory of the pymol distribution...
 
As I mentioned in my previous email, python segmentation fault occurs only when
I launch  pymol with external GUI. Without external gui, it works fine.  I wonder if
pymol starts the external gui before  pymol.finish_launching()???? I am very new to
pymol and therefore no idea what's going on? It would be nice to have the
external gui. Hence,I am still interested in any solution to this problem.
 
thanks,
Taner
 
********************************************************************
Dr. Taner Yildirim, Ph.D. Physicist, Condensed Matter Science Group,    
taner@nist.gov                     NIST Center for Neutron Research,
PHONE: 301-975-6228     National Institute of Standards & Technology
FAX  : 301-921-9847                      Gaithersburg, MD 20899-8562
Web  : http://webster.ncnr.nist.gov/staff/taner
********************************************************************
----- Original Message -----
From: Taner Yildirim
To: pymol-users@lists.sourceforge.net
Sent: Tuesday, March 02, 2004 4:51 PM
Subject: pymol launching problems from python???

   Dear PyMol Experts,
 
I am quite new in pymol. I have just installed  python 2.3.2
and pymol-0.93 using "python setup.py" (i.e. pymol was
installed in site-packages of python). I am using RedHat 8.0
on a dual Xeon system.
 
Here's the problems that I am getting:
 
(1) Case  1:
 
>>> import pymol
>>> pymol.finish_launching()
>>> Segmentation fault (core dumped)
 
(2) Case 2:
 
>>> from pymol import cmd
after couple of seconds, it crashes again with the following error:
>>> Fatal Python error: GC object already tracked
Abort
 
 
Interestingly after ">>> from pymol import cmd", I can use the
external gui, run demos, etc. However as soon as I move my
mouse over the python shell,  the program aborts and gives
the "Fatal Python error: GC object already tracked"???
 
I have a feeling that this error is related to the external GUI application.
Is it possible to disable the external gui when I lounch pymol from
python?
 
 
I really appreciate any help you can provide me. At first I was very excited
about using pymol in my research but now I am getting a little bit
frustrated. I need to find a way to launch pymol from python without
segmentation fault...
 
thanks alot,
 
best
Taner
 
 
 
********************************************************************
Dr. Taner Yildirim, Ph.D. Physicist, Condensed Matter Science Group,    
taner@nist.gov                     NIST Center for Neutron Research,
PHONE: 301-975-6228     National Institute of Standards & Technology
FAX  : 301-921-9847                      Gaithersburg, MD 20899-8562
Web  : http://webster.ncnr.nist.gov/staff/taner
********************************************************************