Hello PyMOLers,

A couple of days ago I installed both native and Fink's (X11) OSX versions of PyMOL 0.88, and I don't seem to be able to successfully save sessions anymore (while I could do it with the previous version, 0.84). When I try saving a session file I now get this error message:

Error: 1
SystemError Exception in Tk callback
Function: <bound method PMGApp.session_save of <pmg_tk.PMGApp.PMGApp instance at 0x1310ef0>> (type: <type 'instance method'>)
  Args: ()
Traceback (innermost last):
File "/sw/lib/python2.2/site-packages/Pmw/Pmw_1_1/lib/PmwBase.py", line 1735, in __call__
    return apply(self.func, args)
File "/sw/lib/pymol/modules/pmg_tk/PMGApp.py", line 405, in session_save
    self.session_save_as()
File "/sw/lib/pymol/modules/pmg_tk/PMGApp.py", line 419, in session_save_as
    cmd.save(sfile,"",format='pse')
  File "/sw/lib/pymol/modules/pymol/exporting.py", line 155, in save
    io.pkl.toFile(cmd.get_session(),filename)
  File "/sw/lib/pymol/modules/chempy/pkl.py", line 32, in toFile
    result = cPickle.dump(indexed,fp,1)
SystemError: frexp() result out of range

In spite of this, an output session file (test.pse) is still saved by PyMOL, but when I try to open it I get this message:

Error: 1
SystemError Exception in Tk callback
Function: <bound method PMGApp.session_save of <pmg_tk.PMGApp.PMGApp instance at 0x1310ef0>> (type: <type 'instance method'>)
  Args: ()
Traceback (innermost last):
File "/sw/lib/python2.2/site-packages/Pmw/Pmw_1_1/lib/PmwBase.py", line 1735, in __call__
    return apply(self.func, args)
File "/sw/lib/pymol/modules/pmg_tk/PMGApp.py", line 405, in session_save
    self.session_save_as()
File "/sw/lib/pymol/modules/pmg_tk/PMGApp.py", line 419, in session_save_as
    cmd.save(sfile,"",format='pse')
  File "/sw/lib/pymol/modules/pymol/exporting.py", line 155, in save
    io.pkl.toFile(cmd.get_session(),filename)
  File "/sw/lib/pymol/modules/chempy/pkl.py", line 32, in toFile
    result = cPickle.dump(indexed,fp,1)
SystemError: frexp() result out of range

and nothing shows up on the screen :(

Did anyone else experience the same problem? I had exactly the same result on two different machines.

A part from this, I think the new version is great - particularly the roving feature.

Ciao, Luca

--------------------------------------------------------
Luca Jovine, Ph.D.
Brookdale Department of Molecular, Cell & Developmental Biology
Mount Sinai School of Medicine
Annenberg Building, Room 25-18
One Gustave L. Levy Place, New York, NY 10029-6574, USA
Voice: +1.212.241-8620  FAX: +1.509.356-2832
E-Mail: lucajov...@mac.com - luca.jov...@mssm.edu
W3: http://www.mssm.edu/students/jovinl02
--------------------------------------------------------


Reply via email to