OpenStudioApplication icon indicating copy to clipboard operation
OpenStudioApplication copied to clipboard

This measure requires a newer version of OpenStudio

Open macumber opened this issue 1 year ago • 2 comments

Issue overview

User can see the measure in BCL search results but sees a message saying "This measure requires a newer version of OpenStudio"

image

Current Behavior

This message is generated at https://github.com/openstudiocoalition/OpenStudioApplication/blob/develop/src/shared_gui_components/Component.cpp#L57 when the measures Min Compatible Version and Max Compatible Version range does not include current version of the OpenStudio SDK used by the OpenStudio Application. This prevents users from downloading incompatible measures.

Expected Behavior

A more advanced BCL Measure dialog could search for other versions of the measure to find a compatible one.

Steps to Reproduce

  1. Open OpenStudio Application 1.7.2
  2. Search for the OpenStudio Results measure on the BCL

Possible Solution

As a workaround, the user can search for the measure on the https://bcl.nrel.gov website directly. The measure page lists the GitHub directory as well as previous versions of the measure. The user can download a compatible version of the measure from one of these locations to their My Measures directory.

As another workaround, the user can upgrade their version of the OpenStudio Application to one with an OpenStudio SDK version compatible with the measure. See https://github.com/openstudiocoalition/OpenStudioApplication/wiki/OpenStudio-Application-Version-Compatibility-Matrix for the version of the OpenStudio SDK included in each version of the OpenStudio Application.

macumber avatar Sep 08 '24 18:09 macumber

Moved from https://github.com/NREL/OpenStudio/issues/5238

macumber avatar Sep 08 '24 18:09 macumber

  • Related is https://github.com/NREL/OpenStudio/issues/5230

jmarrec avatar Sep 09 '24 07:09 jmarrec