Dear All, Below is a simple script I have to make a figure. When I enter the lines one by one the script file works. When I put the commands together in a file and run them with the '@<filename>' command the script runs successfully, but I don't see any evidence of its commands being carried out - the viewport doe not resize, no molecules get displayed, etc. The following error message is present when the program exits. Does anyone know what is going on?
Ricahrd Baxter PyMOL: normal program termination. Unhandled exception in thread: Traceback (most recent call last): File "/opt/pkgs/pymol/ext/lib/python2.1/threading.py", line 386, in __bootstrap _print_exc(file=s) File "/opt/pkgs/pymol/ext/lib/python2.1/traceback.py", line 209, in print_exc etype, value, tb = sys.exc_info() AttributeError: 'None' object has no attribute 'exc_info' the script: viewport 288,288 load rbvca.pdb, prc hide all @select.pml show sticks,pocket1 show sticks,uq2 load 2fofc.map,map1,1,xplor isomesh uq2mesh,map1,0.5,(uq2),0,1,1.76 @view.pml color cyan,uq2mesh color grey,(e;c) bg_color white viewport 900,900 ray png image1.png quit