Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page
Ask Your Question
1

Openstudio- failed google drive synch discards file

asked 2017-10-12 16:21:15 -0500

gsuscalo gravatar image

I am currently using Openstudio 1.14 on a Windows 10 laptop. I backup my OSM files on google drive. But sometimes the last file I saved fails to synch, and it seems that instead of remaining in the Temp directory, either Openstudio or Drive simply discards the file. I save somewhat frequently so this is a few hours of work lost instead of a few days, but this is the third time that OS/drive "dropped" my file, and I don't know what causes this or how to prevent it. Strangely enough, it looks like when this happens, everything except the "in.osm" file gets synched successfully, and it ends up in a folder named after the file I tried to save. For instance, if I saved the file as "erc_renovD_sizeboilers_economizerDCV_oldenvlope1_radiators9". That file does not exist anymore, but there's a folder with the same name, and in that folder, there's: "files" (folder) "run" (folder) "scripts" (folder) project (text file) project (PAT file)

When I open the 'project' text file, I see this at the end:

#

[copyDir] <1> Failed to synch destination 'C:/Users/gsuscalo/Google Drive/ERC Project/Data/erc_renovD_sizeboilers_econmizerDCV_oldenvlope1_radiators9' with source 'C:/Users/gsuscalo/AppData/Local/Temp/OpenStudio.Ms4452/resources' [copyDir] <-1> copyDir 'C:/Users/gsuscalo/AppData/Local/Temp/OpenStudio.Ms4452/resources/files' to 'C:/Users/gsuscalo/Google Drive/ERC Project/Data/erc_renovD_sizeboilers_econmizerDCV_oldenvlope1_radiators9/files' [synchDirStructures] <-1> Synching destination 'C:/Users/gsuscalo/Google Drive/ERC Project/Data/erc_renovD_sizeboilers_econmizerDCV_oldenvlope1_radiators9/files' with source 'C:/Users/gsuscalo/AppData/Local/Temp/OpenStudio.Ms4452/resources/files'

#

I checked the Appdata/Local/Temp folder, and the "Openstudio.Ms4452" folder no longer exists, so I can't recover "in.osm" out of there. "in.osm" didn't make it to erc_renovD_sizeboilers..../files either. I checked.

Are there any windows/OpenStudio experts who can help with this? Is there anywhere else I can go to recover the file, or does it get lost permanently when Drive fails to sync it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-10-12 20:38:47 -0500

You should always copy your model to your local machine, do the modeling, then save it back to your shared drive.

OpenStudio creates a temporary file to handle the simulation, which it then copies back to the original directory when complete. If you have a sync issue, you will permanently lose the file. Backup your models early and often, and only model off of your local machine.

edit flag offensive delete link more

Comments

I will qualify this to say in some cases you can fetch the .osm file back from your temp directory. But this doesn't always work, depends on where in the process it failed, etc. Since I don't want to encourage bad habits, functionally, you should act as if saving and working off a model from a shared network directory will likely result in you losing the file permanently.

mdahlhausen gravatar image mdahlhausen  ( 2017-10-12 20:40:42 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2017-10-12 16:21:15 -0500

Seen: 76 times

Last updated: Oct 12 '17