
The only way right now to use the copy command in nogui scripts, is to use the "Linux 64-bit Off-screen OpenGL" version of chimera that you can get from the daily builds, <http://www.cgl.ucsf.edu/chimera/alpha-downloads.html>. It is "headless" and uses the Mesa software OpenGL implemenation. If you need a 32-bit Linux version, please let me know. It's on my list of things to do, but at a low priority. Greg Couch UCSF Computer Graphics Lab On Tue, 29 Jul 2008, James A. Cleland wrote:
I was wondering if anyone was able to run chimera 'headless' using -nogui. I would like to be able to run the program from a script and without an X server, or against Xvfb or equivalent if necessary. My command line is
/var/lib/chimera/bin/chimera --nogui --silent --script <scriptname>
The script that I run sets the window size, element colors, rotates the image, and then does a copy file to save a ray traced PNG file. I have run this without -nogui and accepted the POV Ray license agreement. Adding -nogui results in the following output
Error while processing <scriptname>:
AttributeError: '_chimera.NoGuiViewer' object has no attribute 'x3dWrite'
(see reply log for Python traceback info)
Parse error at line 1:
no element found
My chimera version is "chimera production version 1 build 2540 2008/07/09". This is running on a linux machine, 2.6 kernel. Any suggestions you have would be appreciated.
Thanks!
James