
Hi James, In general you can run chimera in nogui mode. However, currently there are a few things that can only be done in the GUI mode - I am told this includes any image saving or exporting the scene (povray, renderman, OBJ, VRML, X3D). Sorry about that, Elaine ----- Elaine C. Meng, Ph.D. meng@cgl.ucsf.edu UCSF Computer Graphics Lab and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco http://www.cgl.ucsf.edu/home/meng/index.html On Jul 29, 2008, at 9:00 AM, 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