
On Mar 8, 2007, at 8:21 AM, Randy Heiland wrote:
Eric, I just got around to trying this and am told: “You need to accept the POV-Ray end-user license in GUI mode first” (using the 1.2352 snapshot). Suggestions? -Randy
Hi Randy, You are required to accept the POV-Ray license. However, once you have accepted it, Chimera will remember that and won't keep asking you. So if you start up Chimera normally and save any kind of POV-Ray image and accept the license, you will then be able to run your script in nogui mode on the same machine without the licensing request halting the script. If this is still a problem for the way you want to use the script, let me know. We still intend to make it possible to save non-ray traced images in nogui mode, but prioritizing that would depend on whether POV-Ray images are going to work as a stopgap measure or not. --Eric
From: Eric Pettersen [mailto:pett@cgl.ucsf.edu] Sent: Friday, March 02, 2007 8:35 PM To: Chimera BB Cc: Randy Heiland Subject: Re: [Chimera-users] copy cmd in nogui script With POVray in the latest snapshot, you can now use the "raytrace" keyword of the copy command to get a ray-traced image in nogui mode. --Eric On Feb 9, 2007, at 8:03 AM, Elaine Meng wrote:
Hi Randy, It is my understanding that the GUI is used to render the image, thus it is not possible to save images when in nogui mode. (Others, please correct me if I've gotten this wrong!) Best, Elaine On Feb 9, 2007, at 7:46 AM, Randy Heiland wrote:
What cmd should I invoke in a --nogui script to copy the rendered image to a file?
From the interactive viewer cmd line, I can successfully execute 'copy file foo.png png'; however, when trying to execute the following: % chimera --nogui cmd:dostuff where 'dostuff' is: open 1yc4 color byelement #0 copy file foo.png png I get: Fetching 1yc4 from web site www.rcsb.org Done fetching 1yc4; verifying... Opening 1yc4... 1 model opened Opened 1yc4 containing 1 model, 1890 atoms, and 427 residues Rendering high resolution image...Error while processing cmd:dostuff: AttributeError: '_chimera.NoGuiViewer' object has no attribute 'pilImages' (see reply log for Python traceback info) Traceback (most recent call last): File "/home/heiland/chimera/build/share/__main__.py", line 59, in ? value = chimeraInit.init(sys.argv) File "CHIMERA/share/chimeraInit.py", line 298, in init prefixableType=1) File "CHIMERA/share/chimera/__init__.py", line 1217, in open File "CHIMERA/share/Midas/ChimeraExtension.py", line 28, in func # lswdir = os.path.split(thisdir)[0] File "CHIMERA/share/Midas/midas_text.py", line 91, in processCommandFile File "CHIMERA/share/Midas/midas_text.py", line 60, in makeCommand File "CHIMERA/share/Midas/midas_text.py", line 542, in doCopy File "<string>", line 1, in ? File "CHIMERA/share/Midas/__init__.py", line 795, in copy File "CHIMERA/share/chimera/printer.py", line 705, in saveImage AttributeError: '_chimera.NoGuiViewer' object has no attribute 'pilImages' thanks, Randy
Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users
Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users