-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Issue overview
Current Behavior
When the OpenStudio Application is launched it searches for updates to the OpenStudio Results measure. NREL has just released a new version of the OpenStudio Results measure which is not backwards compatible (the minimum OS SDK version is 3.8.0). When creating a new model using the OpenStudio Application 1.7.1 or earlier, this measure will be added to the workflow by default. However, when the model is run, the OpenStudio Results measure will fail with:
SWIG director method error. NoMethodError: undefined method `getArgumentValues' for #<OpenStudio::Measure::OSRunner:0x000001c0e13ecc10>
Traceback (most recent call last):
C:/Users/macumber/AppData/Local/Temp/osmodel-8c4c-f636-1073-297d-1720838901-0/resources/measures/openstudio_results/measure.rb:241:in `run'
Found error in state 'ReportingMeasures' with message: 'Runner error: Measure 'C:/Users/macumber/AppData/Local/Temp/osmodel-8c4c-f636-1073-297d-1720838901-0/resources/measures/openstudio_results/measure.rb' reported an error with [SWIG director method error. NoMethodError: undefined method `getArgumentValues' for #<OpenStudio::Measure::OSRunner:0x000001c0e13ecc10>
Traceback (most recent call last):
Expected Behavior
The OpenStudio Results measure should not be automatically updated to a non-compatible version.
Steps to Reproduce
Using OpenStudio Application 1.7.1 or below, create and run a new model.
Possible Solution
Going forward, update OpenStudio Application to not automatically download updates to the OpenStudio Results measure.
For users on OpenStudio Application 1.7.1 or below, download the openstudio-common-measures-gem source code as a zip file. Unzip the source code and copy the directory lib/measures/openstudio_results
to your "My Measures" directory (click the folder icon that says "My") in the OpenStudio Application. Delete the "OpenStudio Results" measure in your current model and replace it with the downloaded measure.
Before workaround (OpenStudio Results is a "BCL Measure"):
After workaround (OpenStudio Results is a "My Measure"):
Details
Environment
Some additional details about your environment for this issue (if relevant):
- Platform (Operating system, version):
- Version of OpenStudioApplication (if using an intermediate build, include SHA):