Is that a space in your command?

cmd.load ("1A73.pdb")



Troels Emtekær Linnet
Ved kløvermarken 9, 1.th
2300 København S
Mobil:
+45 60210234


2013/3/20 bharat gupta <bharat.85.monu@gmail.com>
Hi,

I am a newbie in python scripting from pymol. I am getting the following error while using the command cmd.load :-


from pymol import cmd

print "Current PyMoL Directory:", cmd.pwd()
cmd.load ("1A73.pdb")

Error:-
----------
Traceback (most recent call last):
  File "test.py", line 5, in <module>
    cmd.load ("1A73.pdb")
  File "/usr/lib/python2.7/site-packages/pymol/importing.py", line 872, in load
    _self.unlock(r,_self)
  File "/usr/lib/python2.7/site-packages/pymol/locking.py", line 79, in unlock
    if (thread.get_ident() == pymol.glutThread):
AttributeError: 'module' object has no attribute 'glutThread'



------------
Bharat


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net