-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find open studio results measure (msg when app launches & issue when running a simulation) #619
Comments
Thanks for the report @ealexandraki, I have a few more questions for you
|
Is this the output you are seeing?
|
An additional information, I tried to install the older version openstudio application (1.5.0), the errors are still there. |
@macumber Thank you for the follow-up! Regarding your questions:
Thank you for looking into this! |
@macumber UPDATE: I tried running a simulation again with 2 different files (now that the BCL is back online). Same errors and crashes appear. Thank you for your help, |
@ealexandraki now that the BCL is back online, here is what I suggest you try:
Does that work? |
@lzwang26 your problems seem different. The BCL is back online which should resolve your first issue. The second issue about failing to save the file is probably due to either 1) trying to save the file to a network location or 2) trying to save the file to a directory with non-English characters in the directory or filename. Can you try saving to a simple location like "C:\test\my.osm" to see if that resolves your issues? |
@macumber Thank you for your reply. I tried everything you mentioned, however I am not able to test it because every time I (1) try to save and (2) try to run the simulation I get the same note as @lzwang26 that I cannot save the file. This has been happening and sometimes I get the error and sometimes I do not (for the same files, in the same file location...). I will try again but this is also an issue that affects the workflow significantly. Thank you, |
I am very sorry to hear about your problem. I think this is due to corruption of the Afterwards your steps section should look like this: After that, you can open the new OSM and re-drag in measures as needed. Does this help resolve the issue? |
@macumber I cannot locate the workflow.osw file. Could you please share my additional details in terms of where this file is stored? When I hit "run" no new files get created in the folder location of the .osm file. Also, I looked in the temp folder and could not find anything there either. The only workflow.osw file I have is the one for Open Studio for Revit 2024, which I believe is a completely separate thing... I also looked into the "C:\openstudioapplication-1.6.0" and found nothing there. Thank you very much for the clarification! |
If your OSM file is named "MyModel.osm", there should be a companion directory right next to it named "MyModel". Inside that directory should be a file named "workflow.osw". |
@macumber oh right! I totally forgot about that folder, my bad. I tried the steps outlined and it worked for one file! The other one failed and produced the error file so I think I need to fix some things there. Overall, I think this resolved the issue! So, in general, should I keep checking the workflow.osw file so that it looks as shown in your last screenshot? Thank you. |
Adding to previous message: the cannot save error persists, and I have to try opening and running the file multiple times until one of these times (for whatever reason) works and the "failed to save" error does not pop up. That is, the simulation won't run when the error pops up. |
You shouldn't ever have to modify the workflow.osw by hand. The OpenStudio Application should keep that file up to date when you add, change, remove measures from your workflow. I suspect something went wrong when the BCL went offline and you tried changing the measure to your My Measures location. That would be super weird if the issue was intermittent on the same file. Are you just opening the file and pressing the run simulation button? If you close the app and repeat those steps then sometimes it will work and sometimes it won't for the same file? |
@macumber Yes, sometimes when I open the file (& re-set the weather file and ddy) and then press the run button, I get the error that the file cannot save. Because of this, the simulation won't run. If I try this a bunch of times, then there's a chance one of the times it will not give the error and the simulation will start. This has happened randomly to two different files I have tested. I have also noticed that every time this happens, when I check the workflow.osw file there's some code within "steps", at which point I have been following your previous instructions and delete all the content ... would it be worth at this point to try re-installing the software one more time? |
@ealexandraki You could try deleting the simulation generated folder before running the simulation. This folder should be generated under the same path and with the same name of the ".osm" file after each simulation. Sometimes when I modify the measure and test it multiple times, there will be different versions of the measure under the "measures" folder in this simulation generated folder. This may be the reason of the "file cannot save" error. I'm not pretty sure, but it works for me. |
@lzwang26 Thank you for the tip! Just tried it but it looks like I still get the same error unfortunately :/ |
@macumber Is there anything else I could try to resolve this? I have been editing the files with the app closed so I think this should not be an issue. Thank you! |
@macumber I cannot upload the particular file but have another one that I just checked has the same error. That is: I tried to run the simulation and I get the "cannot save" error. Uploading it here. Thank you! |
Somehow you have a corrupt OpenStudio Results measure. The folder in the lower right shows the files in your measure at My suggestion is to search your computer for instances of the bad OpenStudio Results measure and delete them. You can also delete your local BCL database (should be located at |
Issue overview
When I open the OS application, I get a message that the open studio results measure cannot be found. When I try to run a simulation it fails with exit code 1, and the details show that the system cannot find the open studio results measure. I even tried pasting them locally into the "my measures" folder and that did not work either. This is strange because a few weeks ago I was able to run a simulation without such issues. Uninstalling and reinstalling the software makes no difference. Another note: when I try to find measures in the online BCL, no measures of any kind show up. My internet connection works and all permissions and firewalls seem to work fine as well, i.e. they are not blocking the app. Thanks for your help!
Current Behavior
Expected Behavior
Steps to Reproduce
Possible Solution
Details
Environment
Some additional details about your environment for this issue (if relevant):
Context
The text was updated successfully, but these errors were encountered: