Questions and Answers

0 Dislike

Anonymous

How to access and save sessions?

Is there a way to save the message log and subsequently reload it to a new session to repeat previous steps? I have unfortunately crashed the program multiple times and it would be helpful to be able to load the script to be able to restart from right before the crash. 

I see there is a way to save the log and a way to load a script but I am not quite sure how or if those relate to what I am trying to accomplish. 

Thanks!

Report abuse

2 Responses

  1. 0 Like 0 Dislike

    Stephen Langer

    You can save the session as a python script with File/Save/Python Log from the main OOF2 window menu bar.  Then you can load the log file with File/Load/Script.

    OOF2 stores a copy of the script in a temporary file as it runs.  If it exits cleanly, the file is deleted it, but if it crashes you should be able to retrieve the file.  The last line in the file should be the command that caused the crash (unless you were doing two things at once).  The location of the file is determined by the OOFTMP environment variable.  The file will be called oof2-XXXXXX.py, for some XXXXXX.  If OOFTMP is not set, the file will be in /tmp.

    -- Steve 

    Reply Report abuse

    Please login to answer the question.

  2. 0 Like 0 Dislike

    Stephen Langer

    Also, if the program is crashing a lot, and if you can reproduce the crash, please report a bug!  We can't fix bugs that we don't know about.

    -- Steve

    Reply Report abuse

    Please login to answer the question.