Grasshopper

algorithmic modeling for Rhino

Hi ,

Yesterday I worked the entire day with grasshopper. In the evening I saved the .gh file on our company server. When i wanted to open it today there was only the file from yesterday morning, but with the saving time from the evening.

When I go special folders - auto save folder i only see files from last year.

I use gh version 0.9.0076. Did someone of you has the same issue and knows how to solve it? I would really appreciate if someone could help me to fix this, I lost the work of an entire day.

Ivan

Views: 435

Replies to This Discussion

This could well be a Windows problem not a GH problem.

I've seen files in a folder on a server when viewing from one computer, but when I view from another computer the files are not there. Similarly with saving files... sometimes the old version is visible one one PC and the new version on another PC.

Perhaps contact your network admin and see if they can help.

I feel your pain, been there done that. I never rely on the Autosave feature of any software I use. I save regularly throughout the day, at various stages. (Project1.xxx, Progject2.xxx. etc.) I save copies to a second HDD, .... never the boot HDD.

Windows caches operations to and from storage devices, so even though the software running thinks everything is a-ok, the actual data on discs may be well out of sync. This is particularly a problem with slow storage such as Flash or network drives (that's why you should always ask Windows about removing USB sticks, because it may be buffering changes). The problem is compounded with network drives as it's not just windows on the local machine, but also operating systems elsewhere that may choose to buffer write operations.

Grasshopper uses the following steps to try and ensure a file write never goes wrong, but there's almost nothing I can do to force IO buffers to flush:

  1. The new file contents are created entirely in memory, so if there's a problem serializing the file it'll happen locally, not on disk.
  2. Once the memory file is complete, it is written to a temp location on the local machine.
  3. Once that file write succeeds, the original file (assuming there is one) is renamed, but left on the target storage.
  4. Once the rename succeeds, the new file is moved from the temp folder to the target folder.
  5. Once that succeeds the renamed old file is deleted.

I do not know how you could end up with an old file that has a new timestamp, though the most likely answer is that someone, somewhere also had the same file open and saved it without making any changes after you saved your version. But that's not necessarily the only explanation.

Thank you very much for all your efforts. Now I also think it must be a windows problem. It's impossible someone else worked on the file, I'm the only one working with grasshopper.

But on that day I was also making some CFD simulations with another software. Even though everything was fine after I closed Rhino, the next morning (I simulated also during night) the computer showed me a memory problem. I guess that was the issue.

Anyway, I rebuild my gh file and next time I'm trying to be more careful about saving and running too many things at the same time!

I very appreciate the support on this website from all of you and would like specially thank David for creating such an amazing tool :)

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