Thanks to everyone who has reported these problems with session saves.
It sounds like we have a real, cross-platform bug here -- I must have
rushed this release just a bit too much. Time for some new
test-cases...
I'll update 0.89 for all platforms upon my return to California.
Until then, you may be able to workaround the session restore problem by
commenting the line:
cmd.set_wizard_stack(wizards)
in the function "session_restore_wizard" in
pymol/modules/pymol/wizard/wizarding.py
# cmd.set_wizard_stack(wizards)
Cheers,
Warren
PS. The trip was a success. Not a Home Run, but a solid Double!
PPS. Luca, if you have a ".pml" file which can reproduce your session
save problem, please email it to me -- Thanks.
--
mailto:[email protected]
Warren L. DeLano, Ph.D.
Principal Scientist
DeLano Scientific LLC
Voice (650)-346-1154
Fax (650)-593-4020
> -----Original Message-----
> From: [email protected] [mailto:pymol-users-
> [email protected]] On Behalf Of Luca Jovine
> Sent: Tuesday, June 10, 2003 10:34 AM
> To: Mailing List PyMol Users
> Subject: [PyMOL] Problem with session saving using PyMOL 0.88 under
OSX
>
> 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: [email protected] - [email protected]
> W3: http://www.mssm.edu/students/jovinl02
> --------------------------------------------------------
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Etnus, makers of TotalView, The
best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at www.etnus.com.
> _______________________________________________
> PyMOL-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pymol-users