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
45 stars 10 forks source link

Error loading OpenStudio SketchUp Plug-in - File does not exist #150

Closed papisunny closed 3 weeks ago

papisunny commented 3 weeks ago

Hello everyone,

I’m looking to use OpenStudio because it seems essential for working with EnergyPlus and SketchUp. I’ve installed the OpenStudio plugin, and based on the installation notes, it appears I also need the OpenStudio application itself, which I have installed as well.

However, when I launch SketchUp, a window pops up prompting me to set the source folder and to install OpenStudio. I’ve tried pasting the directory path, but it doesn’t work. I attempted using the application directory path and the path from the library folder, but neither resolved the issue.

I’ve also searched my computer for the file named openstudio_modeleditor.rb but couldn’t find it. Additionally, I reinstalled both the plugin and the application, ensuring all necessary components, including the Ruby folder, were installed. However, this particular file doesn’t seem to exist on my system.

I’ve noticed other posts discussing this topic; however, they don’t have the same computer configuration or file versions. My issue might be related to these differences.

I’ve included screenshots of the error messages, the source folders I’ve tried setting in the SketchUp interface, and a screenshot showing my computer specs.

Any assistance on how to resolve this problem would be greatly appreciated!

Thank you.

computer informations error message 1 error message 2 file indicated unsuccessfully in application file indicated unsuccessfully in library installed versions
macumber commented 3 weeks ago

Hi @papisunny, you need to install OpenStudio Application 1.8.0 and point the OpenStudio SketchUp Plug-in at that. See https://github.com/openstudiocoalition/openstudio-sketchup-plugin/wiki/OpenStudio-SketchUp-Plug-in-Wiki#openstudio-sketchup-plug-in-version-compatibility-matrix for more information

papisunny commented 2 weeks ago

I’ve already done that; however, the error message persists. Here is the path I’m indicating to SketchUp: /Applications/OpenStudio-3.8.0

SketchUp continues to display this message: File ‘/Applications/OpenStudio-3.8.0/Ruby/openstudio_modeleditor.rb’ does not exist.

I manually checked if this file ‘openstudio_modeleditor.rb’ exists, but I can’t find it (neither in Applications nor by going through Library/application support).

I hope you can help me for this issue.

macumber commented 2 weeks ago

You need to point it at /Applications/OpenStudioApplication-1.8.0, OpenStudio and OpenStudio Application are separate projects that have separate installers.

papisunny commented 2 weeks ago

Thank you so much ! That is finally working. Have a good day Macumber !