-
Notifications
You must be signed in to change notification settings - Fork 25
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
Delete a measure, re-add it from library: no prompt and duplicated folders #115
Comments
@jmarrec is this inside of a PAT project, an OS App model, your My Measures directory, or somewhere else? |
OS App model, happen in model/measures folder |
Still relevant as of 2.2.1 |
Hi, I'm also having this issue using v2.4.1, Windows 7 Enterprise. After deleting a measure then add back on in openstudio measure tab, in the measure folder it adds a new folder ended with those "1"s. And if I edit the current measure.rb file (for example debugging my measure in my measure folder), synchronize with library and rerun the program, the previous error still shows in openstudio. After a couple times, I realized it is because all these previous measure files are not updated. But for whatever reason, even if i delete the measure folder, it still creates all these previous measure files ("1" ~ "1 1 1 1 1 1") when I hit run and all those previous measure files are the "old" version. The only thing I can do to bypass this right now is to copy the osm file only and rename it, start a clean new file without any measures, then apply the updated measure. Is there any update on this issue? Thanks. |
Just reproduced this with current develop (9edf6e6a7845053047b4dfc82113e08cade23fc9, 2.6.0 basically) on Ubuntu 16.04 |
Check out WorkflowController.cpp#L224. The problem is that we don't want to delete the directory from disk until the user actually saves... |
Updating with permalink to this repo: OpenStudioApplication/src/shared_gui_components/WorkflowController.cpp Lines 184 to 207 in fd5afb7
|
System info:
There seem to be a small bug that you might have noticed too with Measures on mac (aside from not telling you it’s broken and not giving you any message that can help), where you delete a measure and re-add it from library
In
model/measures
:The text was updated successfully, but these errors were encountered: