openstudiocoalition / openstudio-sketchup-plugin

The OpenStudio SketchUp Plug-in is an extension to Trimble’s popular 3D modeling tool that adds OpenStudio context to the SketchUp program.
https://openstudiocoalition.org
Other
44 stars 10 forks source link

Sketchup2022 crashes when loading Openstudio plugin 1.7 #143

Closed Thickestman closed 2 months ago

Thickestman commented 2 months ago

Hi there, I have been trying to load Openstudio plugin 1.7 in sketchup Pro 2022 but it has been crashing. what can i do to fix this issue?

Thickestman commented 2 months ago

This happened on windows 11

macumber commented 2 months ago

Thanks @Thickestman, which version of the OpenStudio Application did you point your plug-in at? If you tried to use OpenStudio Application 1.8.0 higher with SketchUp 2022 that would crash due to the incompatible Ruby versions. You can see the version compatibility matrix at https://github.com/openstudiocoalition/OpenStudioApplication/wiki/OpenStudio-Application-Version-Compatibility-Matrix

I added some code in https://github.com/openstudiocoalition/openstudio-sketchup-plugin/releases/tag/v1.8.0-rc.2 that will prevent suggesting an incompatible version of the OpenStudio Application when users first install the plug-in on a new version of SketchUp.

Thickestman commented 2 months ago

Thank you @macumber I was using OpenStudio v1.7.2. Just few minutes ago, I uninstalled the SketchUp 2022 and the OpenStudio, then deleted the files from program file. I installed both SketchUp 2022 and Openstudio v1.7.2 after which I loaded the SketchUp plugin v1.7.0 again and it worked fine. However, I tried to check if the Building Component Library functionality is working by going to Components & Measures / Find Measures then Reporting > QAQC > OpenStudio Results and download. The OpenStudio Results boxes are not active and cannot be downloaded. It says "This measures requires a newer version of OpenStudio"

Screen 2 Screen 1
macumber commented 2 months ago

Thanks @Thickestman, that is a known issue for now because NREL made non-backwards compatible changes to many measures when updating the OS SDK to 3.8.0. See the workaround suggested at https://github.com/openstudiocoalition/OpenStudioApplication/issues/751 for a possible workaround.