Skip to content
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

[v1.8.0-rc2] Bundled openstudio_results measure is at wrong location #736

Closed
jmarrec opened this issue Sep 3, 2024 · 2 comments · Fixed by #737
Closed

[v1.8.0-rc2] Bundled openstudio_results measure is at wrong location #736

jmarrec opened this issue Sep 3, 2024 · 2 comments · Fixed by #737

Comments

@jmarrec
Copy link
Collaborator

jmarrec commented Sep 3, 2024

Issue overview

On first launch, Getting "Could not find or download OpenStudio Results Measures"

image

Diagnostics:

  • I redid the clean install on the clean VM. I can see after install that it has installed the openstuido_results measure, but probably with a duplicated folder/level, at
$ ls /usr/local/openstudioapplication-1.8.0-rc2/Resources/openstudio_results/openstudio_results/
LICENSE.md  measure.rb  measure.xml  README.md  README.md.erb  resources  tests

Indeed, launching with OPENSTUDIO_APPLICATION_DEBUG=1 /usr/local/openstudioapplication-1.8.0-rc2/bin/OpenStudioApp I get this printed:

[utilities.bcl.BCLXML] <2> '/usr/local/openstudioapplication-1.8.0-rc2/Resources/openstudio_results/measure.xml' does not exist
[utilities.bcl.BCLMeasure] <2> '/usr/local/openstudioapplication-1.8.0-rc2/Resources/openstudio_results' is not a measure

Possible Solution

Fixup the cmake

Details

Environment

Some additional details about your environment for this issue (if relevant):

  • Platform (Operating system, version): Ubuntu 22.04, .deb installer, clean VM
  • Version of OpenStudioApplication (if using an intermediate build, include SHA): v1.8.0-rc2

Context

@jmarrec
Copy link
Collaborator Author

jmarrec commented Sep 3, 2024

Same on Windows, there's an extra layer, it's at

C:\openstudioapplication-1.8.0-rc2\Resources\openstudio_results\openstudio_results\measure.xml

@macumber
Copy link
Collaborator

macumber commented Sep 4, 2024

I did test this, the test install on my computer has C:\openstudioapplication-1.8.0\Resources\openstudio_results\measure.xml. I probably broke it in 06a3a6b or 49e8cc2

I'll try fixing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants