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

OpenStudio plugin crashes Sketchup on Mac #67

Closed anik120 closed 4 years ago

anik120 commented 4 years ago

Hi guys,

I installed Sketchup Studio 2019 and followed the installation steps here for installing the Openstudio plugin. However, when I click ok on the dialog box that appears for Openstudio Root that is automatically populated with /Applications/OpenStudioApplication-1.1.0, Sketchup crashes every single time, and the BugsplatReporter window shows up instead.

Screen Shot 2020-11-15 at 7 02 05 PM

Here's how my Application folder looks like:

$ ls /Applications/                            
Autodesk            Microsoft Excel.app     Microsoft Teams.app     OpenStudioApp           SketchUp 2019           Utilities
GarageBand.app          Microsoft OneNote.app       Microsoft Word.app      OpenStudioApplication-1.1.0 Skype.app           WhatsApp.app
Honey.app           Microsoft Outlook.app       Numbers.app         Pages.app           Slack.app           iMovie.app
Keynote.app         Microsoft PowerPoint.app    OneDrive.app            Safari.app          Spotify.app         zoom.us.app

How do I debug why I can't get the extension to load up?

Additional information: OS: macOS Catalina Sketchup version: tried it with both 2019 and 2020 with the same result

macumber commented 4 years ago

Did you try entering the full path /Applications/OpenStudioApplication-1.1.0?

anik120 commented 4 years ago

@macumber that is auto populated to /Applications/OpenStudioApplication-1.1.0 you just can't see it in the screen shot coz the string is too long to fit in the text box.

tacoktacok commented 4 years ago

Hey, I'm having the exact same problem in OSX, have you found the solution yet?

macumber commented 4 years ago

I am seeing this on Mac now too. It appears that no Ruby methods are being loaded out of openstudio_modeleditor.bundle. This seems like it is new behavior, possibly a difference between the CI servers and my local build?

macumber commented 4 years ago

Unfortunately it looks like something broke with the plug-in when we updated from Qt 5.11 to 5.15. I will look into this, in the meantime I suggest you link the plug-in to OpenStudioApplication 1.0.0.

macumber commented 4 years ago

Possibly related to https://bugs.launchpad.net/mixxx/+bug/1871238

macumber commented 4 years ago

Testing lldb -- ruby -I . -e "require 'openstudio'" -e "require 'openstudio_modeleditor'" -e "puts OpenStudio::Modeleditor::Application.instance.application(true)"

macumber commented 4 years ago

@anik120 @tacoktacok can you try installing https://github.com/openstudiocoalition/OpenStudioApplication/releases/download/v1.1.0/OpenStudioApplication-1.1.0+523d4118c0-Darwin.dmg and see if that fixes the issue?

anik120 commented 4 years ago

@macumber it's working for me now! Thanks a lot for addressing it, I'm keeping this issue open because I'm guessing when your PR merges this issue will close along with it.

Thanks again.

macumber commented 4 years ago

Awesome thanks! I'm going to tag a new release with this fix. This was a nasty bug due to upgrading our version of Qt, thanks for reporting it!

DavidGoldwasser commented 4 years ago

Mac SketchUp 2020 worked for me as well with this OS App dmg

Anna-Cn commented 3 years ago

Hi @anik120, could you please explain to me how did you solve the problem? Thanks.

sash-ly commented 3 years ago

@anik120 @tacoktacok can you try installing https://github.com/openstudiocoalition/OpenStudioApplication/releases/download/v1.1.0/OpenStudioApplication-1.1.0+523d4118c0-Darwin.dmg and see if that fixes the issue?

Hi, I had the exact same issue for Sketchup 2019 and 2020 (tried both). And then followed this thread and could not access the link for the dmg you mentioned. Page not found

macumber commented 3 years ago

I think we re-released that as v1.1.1-alpha1, can you try downloading from the following links:

https://github.com/openstudiocoalition/OpenStudioApplication/releases/tag/v1.1.1-alpha1 https://github.com/openstudiocoalition/OpenStudioApplication/releases/download/v1.1.1-alpha1/OpenStudioApplication-1.1.0+bbbd1d3e07-Darwin.dmg

macumber commented 3 years ago

I've retagged this release as v1.1.1 so it doesn't get lost again

https://github.com/openstudiocoalition/OpenStudioApplication/releases/tag/v1.1.1

sash-ly commented 3 years ago

Thanks @macumber for this. I have been in hospital since the last few weeks so couldn't manage to try it. Should finally get to check it out next week and will let you know how it went. Much appreciate your prompt fix!

macumber commented 3 years ago

I’m glad you are feeling better!