[phenixbb] getting phenix and coot to talk on OSX

Nathaniel Echols nechols at lbl.gov
Thu Jul 28 08:17:09 PDT 2011

On Thu, Jul 28, 2011 at 12:11 AM, Harry Greenblatt
<Harry.Greenblatt at weizmann.ac.il> wrote:
>    Following Nat's suggestion, I have recorded the console log and sent that
> to him.  But for anybody else interested, here are the final lines of the
> output (partially shortened for clarity), and it seems that gtk can't be
> found:
> PHENIX-1.7.1-743 Running python script
> /Applications/PHENIX-1.7.1-743/Contents/phenix-1.7.1-743/phenix/wxGUI2/Coot.py
> PHENIX-1.7.1-743 Traceback (most recent call last):
> PHENIX-1.7.1-743  File "<string>", line 1, in <module>
> PHENIX-1.7.1-743  File
> "/Applications/PHENIX-1.7.1-743/Contents/phenix-1.7.1-743/phenix/wxGUI2/Coot.py",
> line 24, in <module>
> PHENIX-1.7.1-743    import gtk
> PHENIX-1.7.1-743 ImportError: No module named gtk

Okay, that explains why the connection is broken.  I'm still not sure
why it works on my computer and not on yours, but it's definitely a
problem with the Coot installation.  I guess you could email the CCP4
maintainers and ask them to please fix this... but it's probably
working just fine for CCP4 users.

It may still be possible to make the connection with Phenix even if
the GTK module is unavailable.  So, a final experiment:

1. Start Coot
2. From the "Calculate" menu, select "Scripting"->"Python..."
3. Try typing each of these commands and see what happens:
import gtk
import gobject

The first command will almost certainly fail - I'm hoping that the
second still works.


More information about the phenixbb mailing list