Grasshopper

algorithmic modeling for Rhino

retrieve autosaved file if Rhino was shut down through Task Manager

Hi all,

From what i understand, some pop-up window should appear when opening a file that was active when Rhino crashed.

What if Rhino was forcefully shut down through task manager>processes because a Grasshooper file took forever to process (and pressing Esc didn't work). Is the work then lost or can the autosaved file be accessed somehow? This happened to me a few times today and no pop-up appeared...

Thanks for your input!

Views: 28790

Replies to This Discussion

When a file is autosaved it is put in a specific folder that is hard to reach by hand. The filename of the autosave file is a hash of the original file's location. When you save or successfully close a regular GH file, the autosave file is deleted. If Grasshopper crashes then the autosave file remains in place. Thus, whenever a regular file is opened, I look to see whether there is an autosave file with a name that matches the new file's location, if there is, I display the popup.

If you open a file and abort GH immediately because it takes a long time to solve, there probably won't be an autosave version of that file. So in that case you won't see the popup. On the other hand, if you abort just after opening the original file hasn't been changed so there's no point in autosaving it.

Did I misunderstood the problem?

--

David Rutten

david@mcneel.com

Hi, David! not quite the case, it was a file that was opened for a long time and actively modified,  and i also saw the "autosave successful" message in the lower part of the GH window before the crash

Hmm, autosave files get deleted when a correct save happens. If they get deleted otherwise then I think it must be a bug. 

In the meantime, you can go and look at the Autosave folder (File -> Special Folders -> AutoSave Folder). Copy any files that are in there elsewhere and open them to see what's inside.

--

David Rutten

david@mcneel.com

ok, thanks, i'll try this next time!

Hi David. 

Is it possible to retrieve the file that was deleted due to successful closing of the regular GH file?

I accidentally worked on auto save file, I thought I was working on the original files so I saved it and closed it.

so does auto save only work after the file has been saved at least once?

i.e. if I create a file but haven't saved it yet and GH crashes is the file lost?

i.e. it would have still been called unnamed.gh and not saved

Think that's happened to me today... but there's no unnamed.gh or recent hash.gh anywhere.

sad face.

Yup, you have to save at least once, as autosave files are linked to specific filenames.

Regarding that, something weird happened to me just now.

I've been working on a GH file that has 2 or 3 days old, with successive savings and re-openings in the last days with no problem.

Yesterday I worked on it with multiple saves and AutoSaves (I checked GH messages) during the day and I went to sleep after saving again GH and Rhino and shutting down everything.

Today I opened the Rhino and GH files and GH file doesn't have the latest changes I made yesterday, although the file says it was saved at July 19th at 2.55 am!!

My deadline is tomorrow!! Can anyone help me?

Thanks!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service