Gianluigi,
 
The API changed in PyMOL 1.0 in order to accomodate multiple PyMOL instances in a single Python interpreter -- your wizard needs to be updated so that the init method takes a "_self" keyword argument:
 
def __init__(...., _self=cmd):
   ...
 
--
DeLano Scientific LLC
Subscriber Support Services
mailto:delsci@delsci.info
 
"Not yet a PyMOL Subscriber, but want to support the project?  Email sales@delsci.com to quote your lab, school, or employer.  Thank you for sponsoring this open-source endeavor!" -WLD
 


From: pymol-users-bounces@lists.sourceforge.net [mailto:pymol-users-bounces@lists.sourceforge.net] On Behalf Of Gianluigi Caltabiano
Sent: Thursday, October 04, 2007 7:55 AM
To: pymol-users@lists.sourceforge.net
Subject: [PyMOL] APBS-electrostatics

Hi everybody,
I am trying to use the "electrostatic" wizard to read some .dx file I made.
It always worked..since I up-graded to pymol 1.0.
Now it doesn't work ( I have already checked the "modification" in __init__.py file, it's fine).
The message it give to me is:
 
Traceback (most recent call last):
  File "C:\Archivos de programa\DeLano Scientific\PyMOL/modules\pymol\parser.py", line 251, in parse
    self.result=apply(layer.kw[0],layer.args,layer.kw_args)
  File "C:\Archivos de programa\DeLano Scientific\PyMOL/modules\pymol\wizarding.py", line 86, in wizard
    r = _wizard(name,arg,kwd,0)
  File "C:\Archivos de programa\DeLano Scientific\PyMOL/modules\pymol\wizarding.py", line 45, in _wizard
    wiz = apply(getattr(mod_obj,oname),arg,kwd)
TypeError: __init__() got an unexpected keyword argument '_self'
 
Thank you for your help
 
Gianluigi Caltabiano
 



L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail