Save Recipe Output window state and position on quit/crash and restore it after restart.

Case number:699969-2009074
Topic:General
Opened by:Serca
Status:Open
Type:Suggestion
Opened on:Sunday, March 15, 2020 - 06:31
Last modified:Monday, March 23, 2020 - 01:18

When debugging a script, crashes are pretty expectable and running few foldit copies with frequent quiting is typical.
So when foldit is restarted and I want to run my debugged script again, it breaks with error (because it's my buggy script) and prints output in Recipe Output window. The problem is this window is always off after restart. So I have to run a different recipe, press the "show output" button and break executing recipe. And after that, window's position is reseted.

Not sure if it shouldn't be a separated report, but the main foldit window fullscreen position is not restored after restart, so the "Behavior Option" window resets its coordinates too.

(Sun, 03/15/2020 - 06:31  |  4 comments)


Joined: 01/13/2020
Groups: Go Science

+1 for this

There's nothing more demotivating than losing your best-scoring solution to a crash. Foldit needs some kind of "emergency autosave" feature when a fatal error occurs.

jeff101's picture
User offline. Last seen 4 hours 50 min ago. Offline
Joined: 04/20/2012
Groups: Go Science

On Windows machines, the Recipe Output also
goes into a file called scriptlog.default.xml.
You can rename this file for archival purposes.

Does that help?

jeff101's picture
User offline. Last seen 4 hours 50 min ago. Offline
Joined: 04/20/2012
Groups: Go Science

After a crash or restart, often you can find
intermediate files made during the latest recipe
runs in Menu -> Open/Share Solutions -> show
quicksaves and autosaves.

Susume's picture
User offline. Last seen 5 hours 40 min ago. Offline
Joined: 10/02/2011

One advantage to using tracks is that the track name is part of the file name where the recipe output is written. I include the puzzle number in my track names, e.g. 1814_track1, 1814_track2, etc. Then if I want to look at script output, the files (which appear in the directory where the game is installed) are named scriptlog.1814_track1.xml, etc. The file will be overwritten next time you start a script in that track, but not by any other clients you may have running on other tracks.

Most scripts save their current best scoring solution in a quicksave slot (many use quicksave 3 for this). Opening the quicksaves as Jeff mentions above (after changing to the track that the script was running in when it crashed) lets you recover that pose.

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, RosettaCommons