The problem appears while using MacPyMol with CMView 1.1.1
log:
Detected OpenGL version 2.0 or greater. Shaders available.
Detected GLSL version 1.20.
PyMOL>log_open
/var/folders/j2/rc5hm8nx37vb6c2w1b6341dc0000gn/T/cmview_internal_pymol.log
PyMOL>@/var/folders/j2/rc5hm8nx37vb6c2w1b6341dc0000gn/T/CMView_pymol.cmd
PyMOL>run /var/folders/j2/rc5hm8nx37vb6c2w1b6341dc0000gn/T/cmview.py
Traceback (most recent call last):
File "/Applications/MacPyMOL.app/Contents/pymol/modules/pymol/parser.py",
line 256, in parse
self.result=apply(layer.kw[0],layer.args,layer.kw_args)
File
"/Applications/MacPyMOL.app/Contents/pymol/modules/pymol/parsing.py", line
485, in run
run_(path, ns_pymol, ns_pymol)
File
"/Applications/MacPyMOL.app/Contents/pymol/modules/pymol/parsing.py", line
535, in run_file
execfile(file,global_ns,local_ns)
File
"/Applications/MacPyMOL.app/Contents/pymol/modules/pymol/parsing.py", line
530, in execfile
b.execfile(filename, global_ns, local_ns)
File "/var/folders/j2/rc5hm8nx37vb6c2w1b6341dc0000gn/T/cmview.py", line
11, in <module>
from cmd import lock,unlock,_cmd # for dist counter
ImportError: cannot import name lock
PyMOL>set dash_gap, 0
Setting: dash_gap set to 0.00000.
PyMOL>set dash_width, 1.5
Setting: dash_width set to 1.50000.
PyMOL>viewport 650, 650
PyMOL>callback
/var/folders/j2/rc5hm8nx37vb6c2w1b6341dc0000gn/T/cmview.callback, 1
Traceback (most recent call last):
File "/Applications/MacPyMOL.app/Contents/pymol/modules/pymol/parser.py",
line 419, in parse
exec(layer.com2+"\n",self.pymol_names,self.pymol_names)
File "<string>", line 1, in <module>
NameError: name 'callback' is not defined
All and any help is appreciated.
Brgds,
Chiranjeev Das
------------------------------------------------------------------------------
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]