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