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

MeasureManager errors on application startup, fails to locate /lib/topolys/model.rb in tbd gem. #679

Open
jugonzal07 opened this issue Feb 13, 2024 · 14 comments
Labels
Triage Issue needs to be assessed and labeled, further information on reported might be needed

Comments

@jugonzal07
Copy link

Issue overview

Upon loading either OpenStudio Application (both 1.6 and 1.7) I get a similar error-- a pop up window titled Failed to Compute Arguments and text reading "Could not compute arguments for OpenStudio Measure". Even after wiping both my BCL and Measures directory, this still comes up.

I'm unsure if this is coincidental or not, but I started getting this behavior after bundle installing the OpenStudio Standards Gem into Ruby 2.7.8 on Windows 10 x86. Prior to this, the application loaded just fine. I'm unsure why the embedded Ruby 2.7 in OpenStudio application would be affected by this.

Current Behavior

I ran things in debug mode in a powershell CLI and get this error:

& c:\openstudioapplication-1.7.0\bin\OpenStudioApp.exe 2>&1 | Out-Default
[openstudio.XMLValidator] <1> xsdValidate.parseFileError: XML error 17.1871: Element 'tags': This element is not expected. Expected is ( provenances ).
    at C:/Users/Gonz102/BCL/a25386cd-60e4-46bc-8b11-c755f379d916/399308d0-a37b-47d6-9135-b1d595447638/measure.xml:561
[utilities.bcl.BCLXML] <0> Failed to validate measure.xml at C:/Users/Gonz102/BCL/a25386cd-60e4-46bc-8b11-c755f379d916/399308d0-a37b-47d6-9135-b1d595447638/measure.xml
[openstudio.XMLValidator] <1> xsdValidate.parseFileError: XML error 17.1871: Element 'tags': This element is not expected. Expected is ( provenances ).
    at C:/Users/Gonz102/AppData/Local/Temp/a25386cd-60e4-46bc-8b11-c755f379d916/measure.xml:561
[utilities.bcl.BCLXML] <0> Failed to validate measure.xml at C:/Users/Gonz102/AppData/Local/Temp/a25386cd-60e4-46bc-8b11-c755f379d916/measure.xml
[openstudio.XMLValidator] <1> xsdValidate.parseFileError: XML error 17.1871: Element 'tags': This element is not expected. Expected is ( provenances ).
    at C:/Users/Gonz102/BCL/a25386cd-60e4-46bc-8b11-c755f379d916/399308d0-a37b-47d6-9135-b1d595447638/measure.xml:561
[utilities.bcl.BCLXML] <0> Failed to validate measure.xml at C:/Users/Gonz102/BCL/a25386cd-60e4-46bc-8b11-c755f379d916/399308d0-a37b-47d6-9135-b1d595447638/measure.xml
[openstudio.MeasureManager] <2> Error computing arguments: MeasureManager Server encountered an error:
"Embedded file not found ':/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/topolys/model.rb'"

Expected Behavior

Prior to this, I was able to open OpenStudio application without this error and was testing new measures for OpenStudio Standards no problem. I'm not sure what changed.

Steps to Reproduce

I am unsure how to replicate this. @jmarrec tried to replicate it with a windows VM and has been unsuccessful. What I did--

  1. Had Ruby 2.7.8 installed on Windows 10
  2. Downloaded OpenStudio application 1.6
  3. Performed a bundle install on Ruby 2.7.8 for OpenStudio Standards Gem.(I was just trying to rubocop my measure prior to sending it for a PR)
  4. Open OpenStudio application from start menu (i.e., not from a model) starting resulting in this issue, many of my measures stopped working.

Details

Things I've tried:

  • Wiping measures and BCL directory
  • Uninstalling and reinstalling OpenStudio 1.7 and 1.6 application
  • Running measure like this from OpenStudio SDK 3.7 without an issue (i.e., think it's the OS app?)
    • In one powershell window λ C:\openstudio-3.7.0\bin\openstudio.exe measure -s 4096
    • In another window I did a post request: python -c "import httplib2; conn = httplib2.HTTPConnectionWithTimeout('localhost:4096'); conn.request('POST', '/bcl_measures')"
    • This succeeded with no issues, making us think it's not OpenStudio SDK

The file it's complaining about does appear to be missing:

C:\openstudioapplication-1.7.0\bin
λ openstudio -e "puts EmbeddedScripting::allFileNamesAsString.split(';').grep(/tbd/)"
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/measures/tbd/measure.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/measures/tbd/resources/geo.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/measures/tbd/resources/geometry.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/measures/tbd/resources/model.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/measures/tbd/resources/oslog.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/measures/tbd/resources/psi.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/measures/tbd/resources/tbd.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/measures/tbd/resources/transformation.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/measures/tbd/resources/ua.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/measures/tbd/resources/utils.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/measures/tbd/resources/version.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/measures/tbd/tests/tbd_tests.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/tbd.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/tbd/geo.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/tbd/psi.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/tbd/ua.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/tbd/version.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/spec/spec_helper.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/spec/tbd_spec.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/spec/tbd_tests_spec.rb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/measures/tbd/README.md.erb
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/sponsors/qc_can.png
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/spec/files/osms/in/5ZoneNoHVAC.osm
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/spec/files/osms/in/5ZoneNoHVAC_btap.osm
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/spec/files/osms/in/midrise_KIVA.osm
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/spec/files/osms/in/resto1.osm
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/spec/files/osms/in/resto2.osm
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/spec/files/osms/in/seb.osm
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/spec/files/osms/in/smalloffice.osm
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/spec/files/osms/in/warehouse.osm
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/json/tbd_5ZoneNoHVAC.json
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/json/tbd_5ZoneNoHVAC_btap.json
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/json/tbd_seb_n2.json
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/json/tbd_seb_n4.json
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/json/tbd_warehouse10.json
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/lib/measures/tbd/tests/tbd_full_PSI.json
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/tbd.schema.json
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/tbd.gemspec
:/ruby/2.7.0/bundler/gems/tbd-8c7a2d4bf19a/.github/workflows/pull_request.yml

Environment

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

  • Windows 10 x86 64 bit
  • Ruby 2.7.8
  • OpenStudio application (both 1.6 and 1.7 have this)

Context

I am unable to check if the measures I'm trying to write for OpenStudio Building Energy Standard Measures Gem work in the OS application.

@jugonzal07 jugonzal07 added the Triage Issue needs to be assessed and labeled, further information on reported might be needed label Feb 13, 2024
@jmarrec
Copy link
Collaborator

jmarrec commented Feb 13, 2024

Thanks for summarizing the things we tried in a thorough fashion. @macumber I'm out of ideas, can you think of something?

@macumber
Copy link
Collaborator

I can look more tonight, in the meantime I would see if you have any ruby or gem related environment variables set and try unsetting those

https://ruby-doc.com/docs/ProgrammingRuby/html/rubyworld.html

https://stackoverflow.com/questions/11277227/whats-the-difference-between-gem-home-and-gem-path

@macumber
Copy link
Collaborator

Also why does it only fail on that one measure? The app seems to be ok w the first two measures?

@jugonzal07
Copy link
Author

Thanks @macumber , I don't appear to have any gem related paths that I can tell. Let me know if I went about finding this out the wrong way.

I ran a set and didn't see GEM_HOME or GEM_PATH in the list. I ran a echo %GEM_HOME% and echo %GEM_PATH% as a sanity check and didn't get anything back.

Why does it only fail on that one measure?

The only measure I appear to have in my BCL directory is that one:

C:\Users\Gonz102\BCL
λ ls
a25386cd-60e4-46bc-8b11-c755f379d916/  components.sql

More explicitly:

λ tree /f
Folder PATH listing for volume Windows
Volume serial number is C0000100 E442:FF8A
C:.
│   components.sql
│
└───a25386cd-60e4-46bc-8b11-c755f379d916
    └───6b37673b-b0d8-4ab4-8f5a-0a48f170b4e8
        │   LICENSE.md
        │   measure.rb
        │   measure.xml
        │   README.md
        │   README.md.erb
        │
        ├───resources
        │       os_lib_reporting.rb
        │       report.html.erb
        │       Siz.AirConditionerVariableRefrigerantFlow.rb
        │       Siz.AirLoopHVAC.rb
        │       Siz.AirLoopHVACUnitaryHeatCoolVAVChangeoverBypass.rb
        │       Siz.AirLoopHVACUnitaryHeatPumpAirToAir.rb
        │       Siz.AirLoopHVACUnitaryHeatPumpAirToAirMultiSpeed.rb
        │       Siz.AirLoopHVACUnitarySystem.rb
        │       Siz.AirTerminalDualDuctVAV.rb
        │       Siz.AirTerminalSingleDuctConstantVolumeCooledBeam.rb
        │       Siz.AirTerminalSingleDuctConstantVolumeFourPipeInduction.rb
        │       Siz.AirTerminalSingleDuctConstantVolumeReheat.rb
        │       Siz.AirTerminalSingleDuctParallelPIUReheat.rb
        │       Siz.AirTerminalSingleDuctSeriesPIUReheat.rb
        │       Siz.AirTerminalSingleDuctUncontrolled.rb
        │       Siz.AirTerminalSingleDuctVAVHeatAndCoolNoReheat.rb
        │       Siz.AirTerminalSingleDuctVAVHeatAndCoolReheat.rb
        │       Siz.AirTerminalSingleDuctVAVNoReheat.rb
        │       Siz.AirTerminalSingleDuctVAVReheat.rb
        │       Siz.BoilerHotWater.rb
        │       Siz.BoilerSteam.rb
        │       Siz.ChillerAbsorption.rb
        │       Siz.ChillerAbsorptionIndirect.rb
        │       Siz.ChillerElectricEIR.rb
        │       Siz.ChillerHeaterPerformanceElectricEIR.rb
        │       Siz.CoilCoolingDXMultiSpeed.rb
        │       Siz.CoilCoolingDXMultiSpeedStageData.rb
        │       Siz.CoilCoolingDXSingleSpeed.rb
        │       Siz.CoilCoolingDXTwoSpeed.rb
        │       Siz.CoilCoolingDXTwoStageWithHumidityControlMode.rb
        │       Siz.CoilCoolingDXVariableRefrigerantFlow.rb
        │       Siz.CoilCoolingDXVariableSpeed.rb
        │       Siz.CoilCoolingDXVariableSpeedSpeedData.rb
        │       Siz.CoilCoolingLowTempRadiantVarFlow.rb
        │       Siz.CoilCoolingWater.rb
        │       Siz.CoilCoolingWaterToAirHeatPumpEquationFit.rb
        │       Siz.CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFit.rb
        │       Siz.CoilCoolingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData.rb
        │       Siz.CoilHeatingDesuperheater.rb
        │       Siz.CoilHeatingDXMultiSpeed.rb
        │       Siz.CoilHeatingDXMultiSpeedStageData.rb
        │       Siz.CoilHeatingDXSingleSpeed.rb
        │       Siz.CoilHeatingDXVariableRefrigerantFlow.rb
        │       Siz.CoilHeatingDXVariableSpeed.rb
        │       Siz.CoilHeatingDXVariableSpeedSpeedData.rb
        │       Siz.CoilHeatingElectric.rb
        │       Siz.CoilHeatingGas.rb
        │       Siz.CoilHeatingGasMultiStage.rb
        │       Siz.CoilHeatingGasMultiStageStageData.rb
        │       Siz.CoilHeatingLowTempRadiantVarFlow.rb
        │       Siz.CoilHeatingWater.rb
        │       Siz.CoilHeatingWaterBaseboard.rb
        │       Siz.CoilHeatingWaterBaseboardRadiant.rb
        │       Siz.CoilHeatingWaterToAirHeatPumpEquationFit.rb
        │       Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFit.rb
        │       Siz.CoilHeatingWaterToAirHeatPumpVariableSpeedEquationFitSpeedData.rb
        │       Siz.CoilPerformanceDXCooling.rb
        │       Siz.CoilSystemCoolingDXHeatExchangerAssisted.rb
        │       Siz.CoilSystemCoolingWaterHeatExchangerAssisted.rb
        │       Siz.CoilWaterHeatingAirToWaterHeatPump.rb
        │       Siz.CoilWaterHeatingAirToWaterHeatPumpWrapped.rb
        │       Siz.CoilWaterHeatingDesuperheater.rb
        │       Siz.ControllerOutdoorAir.rb
        │       Siz.CoolingTowerSingleSpeed.rb
        │       Siz.CoolingTowerTwoSpeed.rb
        │       Siz.CoolingTowerVariableSpeed.rb
        │       Siz.DistrictCooling.rb
        │       Siz.DistrictHeating.rb
        │       Siz.ElectricLoadCenterInverterLookUpTable.rb
        │       Siz.ElectricLoadCenterInverterSimple.rb
        │       Siz.ElectricLoadCenterStorageConverter.rb
        │       Siz.ElectricLoadCenterStorageSimple.rb
        │       Siz.EvaporativeCoolerDirectResearchSpecial.rb
        │       Siz.EvaporativeCoolerIndirectResearchSpecial.rb
        │       Siz.EvaporativeFluidCoolerSingleSpeed.rb
        │       Siz.EvaporativeFluidCoolerTwoSpeed.rb
        │       Siz.FanConstantVolume.rb
        │       Siz.FanOnOff.rb
        │       Siz.FanVariableVolume.rb
        │       Siz.FanZoneExhaust.rb
        │       Siz.FluidCoolerSingleSpeed.rb
        │       Siz.FluidCoolerTwoSpeed.rb
        │       Siz.GeneratorFuelCellElectricalStorage.rb
        │       Siz.GeneratorFuelCellInverter.rb
        │       Siz.GeneratorFuelCellPowerModule.rb
        │       Siz.GeneratorMicroTurbine.rb
        │       Siz.GeneratorMicroTurbineHeatRecovery.rb
        │       Siz.HeaderedPumpsConstantSpeed.rb
        │       Siz.HeaderedPumpsVariableSpeed.rb
        │       Siz.HeatExchangerAirToAirSensibleAndLatent.rb
        │       Siz.HeatExchangerFluidToFluid.rb
        │       Siz.HeatPumpWaterToWaterEquationFitCooling.rb
        │       Siz.HeatPumpWaterToWaterEquationFitHeating.rb
        │       Siz.HumidifierSteamElectric.rb
        │       Siz.HVACComponent.rb
        │       Siz.Model.rb
        │       Siz.ModelObject.rb
        │       Siz.PhotovoltaicPerformanceSimple.rb
        │       Siz.PlantComponentTemperatureSource.rb
        │       Siz.PlantLoop.rb
        │       Siz.PumpConstantSpeed.rb
        │       Siz.PumpVariableSpeed.rb
        │       Siz.RefrigerationSecondarySystem.rb
        │       Siz.RefrigerationSystem.rb
        │       Siz.RefrigerationTranscriticalSystem.rb
        │       Siz.SizingSystem.rb
        │       Siz.SolarCollectorFlatPlatePhotovoltaicThermal.rb
        │       Siz.SolarCollectorPerformancePhotovoltaicThermalSimple.rb
        │       Siz.ThermalStorageChilledWaterStratified.rb
        │       Siz.WaterHeaterHeatPump.rb
        │       Siz.WaterHeaterHeatPumpWrappedCondenser.rb
        │       Siz.WaterHeaterMixed.rb
        │       Siz.WaterHeaterStratified.rb
        │       Siz.ZoneHVACBaseboardConvectiveElectric.rb
        │       Siz.ZoneHVACBaseboardConvectiveWater.rb
        │       Siz.ZoneHVACBaseboardRadiantConvectiveElectric.rb
        │       Siz.ZoneHVACBaseboardRadiantConvectiveWater.rb
        │       Siz.ZoneHVACEnergyRecoveryVentilator.rb
        │       Siz.ZoneHVACFourPipeFanCoil.rb
        │       Siz.ZoneHVACHighTemperatureRadiant.rb
        │       Siz.ZoneHVACIdealLoadsAirSystem.rb
        │       Siz.ZoneHVACLowTempRadiantConstFlow.rb
        │       Siz.ZoneHVACLowTempRadiantVarFlow.rb
        │       Siz.ZoneHVACPackagedTerminalAirConditioner.rb
        │       Siz.ZoneHVACPackagedTerminalHeatPump.rb
        │       Siz.ZoneHVACTerminalUnitVariableRefrigerantFlow.rb
        │       Siz.ZoneHVACUnitHeater.rb
        │       Siz.ZoneHVACUnitVentilator.rb
        │       Siz.ZoneHVACWaterToAirHeatPump.rb
        │       Siz.ZoneVentilationDesignFlowRate.rb
        │
        └───tests
                1004_SmallHotel_a.osm
                add_tariff.osw
                EdgeCaseModel.osm
                EmptyModel.osm
                ExampleModel.osm
                HeatingOnly.osm
                NoRunPeriod.osm
                OpenStudioResults_Test.rb
                os_results.osw
                PeriodInConstName.osm
                USA_CO_Golden-NREL.724666_TMY3.epw

@jmarrec
Copy link
Collaborator

jmarrec commented Feb 13, 2024

I asked for a dump of the env var in powershell and Juan had nothing related to gem or bundle.
There is no crash when he runs the measure manager manually and queries bcl_measures/ endpoint either..

@macumber
Copy link
Collaborator

@jugonzal07 can you double check your system information? If you right click on My Computer and go to properties can you copy and paste your "Device specifications":

Device name	Automatic-Magic-PC
Processor	Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz   2.59 GHz
Installed RAM	32.0 GB (31.7 GB usable)
Device ID	DD9E15A1-E000-488A-9562-11D3E5E6CF52
Product ID	00330-52129-69020-AAOEM
System type	64-bit operating system, x64-based processor
Pen and touch	No pen or touch input is available for this display

and "Windows specifications":

Edition	Windows 11 Pro
Version	22H2
Installed on	‎8/‎20/‎2023
OS build	22621.3007
Experience	Windows Feature Experience Pack 1000.22681.1000.0

@macumber
Copy link
Collaborator

macumber commented Feb 14, 2024

I tried to reproduce this by bundle installing the current master branch of the openstudio-standards repo but I was not able to reproduce. I wonder if you have something set up in your PATH environment variable, perhaps including the directory of another OpenStudio or OpenStudioApplication installation? Or maybe even the Ruby installation? The OpenStudio SDK is built against Ruby 2.7.2 so it is possible that there is something interfering from your 2.7.8 installation? I installed 2.7.8, put it in my path, and didn't see any issues but maybe there is something else going on....

@macumber
Copy link
Collaborator

macumber commented Feb 14, 2024

Also, for OpenStudio 1.7.0, have you tried toggling "Preferences->Use Classic CLI" and restarting? Have you made sure that "Preferences->Change My Measures Directory" is set to an empty directory?

@jugonzal07
Copy link
Author

jugonzal07 commented Feb 14, 2024

Thanks Dan! Here are your requests:

Device name	WE43173
Full device name	WE43173.pnl.gov
Processor	11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz   2.50 GHz
Installed RAM	16.0 GB (15.7 GB usable)
Device ID	4187AD7C-B3F9-4708-B760-34D4CF00FAF6
Product ID	00329-00000-00003-AA989
System type	64-bit operating system, x64-based processor
Pen and touch	No pen or touch input is available for this display
Edition	Windows 10 Enterprise
Version	22H2
Installed on	‎7/‎19/‎2022
OS build	19045.3930
Experience	Windows Feature Experience Pack 1000.19053.1000.0

My PATH environment

C:\Users\Gonz102\OneDrive - PNNL\Desktop\cmder\bin
C:\Users\Gonz102\OneDrive - PNNL\Desktop\cmder\vendor\conemu-maximus5\ConEmu\Scripts
C:\Users\Gonz102\OneDrive - PNNL\Desktop\cmder\vendor\conemu-maximus5
C:\Users\Gonz102\OneDrive - PNNL\Desktop\cmder\vendor\conemu-maximus5\ConEmu
C:\Ruby27-x64\bin
C:\windows\system32
C:\windows
C:\windows\System32\Wbem
C:\windows\System32\WindowsPowerShell\v1.0\
C:\windows\System32\OpenSSH\
C:\Program Files\Git\cmd
C:\Users\Gonz102\AppData\Local\Programs\Python\Python37\Scripts\
C:\Users\Gonz102\AppData\Local\Programs\Python\Python37\
C:\Users\Gonz102\AppData\Local\Microsoft\WindowsApps

Restarting OpenStudio 1.7 with CLI preference on:
image

Show Details--

[2024-02-14 10:29:43] INFO  WEBrick 1.6.0
[2024-02-14 10:29:43] INFO  ruby 2.7.2 (2020-10-01) [x64-mswin64_140]
[2024-02-14 10:29:43] INFO  WEBrick::HTTPServer#start: pid=8556 port=52624
127.0.0.1 - - [14/Feb/2024:10:29:43 Eastern Standard Time] "GET / HTTP/1.1" 200 78
- -> /
�[38;2;255;165;000m┌────────────────────────────────────────────────────────────────────────────────┐
│  The `classic` command is deprecated and will be removed in a future release   │
└────────────────────────────────────────────────────────────────────────────────┘�[0m
[openstudio.model.YearDescription] <1> 'UseWeatherFile' is selected in YearDescription, but there are no weather file set for the model.
[openstudio.model.YearDescription] <1> 'UseWeatherFile' is selected in YearDescription, but there are no weather file set for the model.
Attempting to load measure 'C:/Users/Gonz102/BCL/a25386cd-60e4-46bc-8b11-c755f379d916/6b37673b-b0d8-4ab4-8f5a-0a48f170b4e8'
Successfully loaded measure 'C:/Users/Gonz102/BCL/a25386cd-60e4-46bc-8b11-c755f379d916/6b37673b-b0d8-4ab4-8f5a-0a48f170b4e8'
Changes detected, updating 'C:/Users/Gonz102/BCL/a25386cd-60e4-46bc-8b11-c755f379d916/6b37673b-b0d8-4ab4-8f5a-0a48f170b4e8'
Loading measure info for 'C:/Users/Gonz102/BCL/a25386cd-60e4-46bc-8b11-c755f379d916/6b37673b-b0d8-4ab4-8f5a-0a48f170b4e8', ''
Attempting to load model 'C:/Users/Gonz102/AppData/Local/Temp/osmodel-262e-2ee9-889d-8ade-1707924583-0/temp_measure_manager.osm'
Successfully loaded model 'C:/Users/Gonz102/AppData/Local/Temp/osmodel-262e-2ee9-889d-8ade-1707924583-0/temp_measure_manager.osm'
Loading measure info for 'C:/Users/Gonz102/BCL/a25386cd-60e4-46bc-8b11-c755f379d916/6b37673b-b0d8-4ab4-8f5a-0a48f170b4e8', 'C:/Users/Gonz102/AppData/Local/Temp/osmodel-262e-2ee9-889d-8ade-1707924583-0/temp_measure_manager.osm'

My OpenStudio Application points to my Measures directory when I follow "Preferences->Change My Measures Directory" and it is empty:

C:\Users\Gonz102\OpenStudio\Measures
λ  ls
C:\Users\Gonz102\OpenStudio\Measures

@macumber
Copy link
Collaborator

I created a clean Windows 10 VM, installed your same versions of Ruby, Python, and CMDer; and I can't reproduce your issue. Do you have another machine you can try OpenStudioApplication on?

@jugonzal07
Copy link
Author

Thanks you all. I have an old work machine I can try to test measures on. It really is odd and I'm unsure what broke. I'll try running things on that machine and see if I somehow recreate the issue.

@macumber
Copy link
Collaborator

@jugonzal07 were you able to get things working on your other machine? Are you stuck?

@jugonzal07
Copy link
Author

hey @macumber , unfortunately no-- I installed the OS App 1.7 on another PC and have been testing measures on that machine in the interim. I can still test things through a CLI or IDE just fine, but I do swap to my 2nd PC to make sure things work in OS App. It's a real mystery to me. I have not been able to recreate the issue. Everything I check seems identical on this PC but it doesn't give me issues.

@Ski90Moo
Copy link

Ski90Moo commented Sep 6, 2024

I had some success with removing the measures folder and osw files and re-adding the measures: https://youtu.be/O7lHGqvFG3M?si=sKgh-ENezKRXKAhX&t=144

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triage Issue needs to be assessed and labeled, further information on reported might be needed
Projects
None yet
Development

No branches or pull requests

4 participants