Forgive what may be a very simple question…

I have recently installed coot using the very nice CCP4 .dmg (0.7.0-i386) - 
which now puts coot into /Applications
I now need to set a $PATH to coot, such that various home-made scripts now 
'know' where it is 

Here I have hit a hurdle.  Which binary file do I need to point a path variable 
to?

>From terminal I can use the command ' open -a coot ' - everything works fine 
>and dandy.
However, I cannot use ' /Applications/coot.app/Contents/MacOS/coot ' reliably - 
sometimes it works, but most of the time it crashes with the following errors...

Nov 23 12:17:02 coot-real[80005] <Error>: kCGErrorIllegalArgument: 
CGSGetSurfaceBounds
Nov 23 12:17:02 coot-real[80005] <Error>: kCGErrorFailure: Set a breakpoint @ 
CGErrorBreakpoint() to catch errors as they are logged.
Nov 23 12:17:02 coot-real[80005] <Error>: kCGErrorIllegalArgument: 
CGSBindSurface: Invalid window 0x8da
Nov 23 12:17:02 coot-real[80005] <Error>: kCGErrorIllegalArgument: 
CGSBindSurface: Invalid window 0x8da
Nov 23 12:17:02 coot-real[80005] <Error>: kCGErrorIllegalArgument: 
CGSBindSurface: Invalid window 0x8da

"coot-real" also fails - as it's obviously looking in the wrong place for files…

Acquiring application resources from 
/Users/charlesb/autobuild/Darwin-ras03-006.rl.ac.uk/coot-0.7.0-gtk2-python/share/coot/cootrc
INFO:: splash_screen_pixmap_dir 
/Users/charlesb/autobuild/Darwin-ras03-006.rl.ac.uk/coot-0.7.0-gtk2-python/share/coot/pixmaps


Any ideas or suggestions would be very welcome.


With thanks,

Antony.

---
Dr Antony W Oliver
Senior Research Fellow
CR-UK DNA Repair Enzymes Group
Genome Damage and Stability Centre
Science Park Road
University of Sussex
Falmer, Brighton, BN1 9RQ

email: antony.oli...@sussex.ac.uk
tel (office): +44 (0)1273 678349
tel (lab): +44 (0)1273 677512

On Nov 23, 2012, at 1:19 PM, Paul Emsley wrote:

Reply via email to