Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SketchUp RuntimeError: bad_weak_ptr #16

Closed
MatthewSteen opened this issue May 15, 2019 · 5 comments
Closed

SketchUp RuntimeError: bad_weak_ptr #16

MatthewSteen opened this issue May 15, 2019 · 5 comments

Comments

@MatthewSteen
Copy link

I've experienced the following error in the OS 2.6.0 and 2.8.0 SketchUp plugin with SketchUp 2018. The error occurs after importing a DXF into SU and before creating OpenStudio geometry.

SketchUp 2018.skp.txt

Error: #<RuntimeError: bad_weak_ptr>
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/interfaces/RenderingColor.rb:197:in `rebuildInspectorGadget'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/interfaces/RenderingColor.rb:197:in `update_entity'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/interfaces/DrawingInterface.rb:173:in `draw_entity'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/interfaces/ModelInterface.rb:944:in `block in attach_openstudio_model'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/interfaces/ModelInterface.rb:942:in `each'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/interfaces/ModelInterface.rb:942:in `each_with_index'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/interfaces/ModelInterface.rb:942:in `attach_openstudio_model'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/ModelManager.rb:227:in `attach_openstudio_model'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/ModelManager.rb:177:in `open_openstudio'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/ModelManager.rb:142:in `new_from_path'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/ModelManager.rb:117:in `new_from_skp_model'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/observers/AppObserver.rb:63:in `onOpenModel'
@macumber
Copy link
Collaborator

Thanks @MatthewSteen. How are you importing the DXF, through regular SketchUp import? Are you able to share the DXF privately?

@MatthewSteen
Copy link
Author

@macumber yes, I imported through SU. Here's the file.

218252-00_SCA_Arch_R18_Central - Sheet - A-111 - OVERALL FLOOR PLAN.dxf.txt

@jmarrec
Copy link
Contributor

jmarrec commented Apr 20, 2020

Should be transferred to https://github.com/NREL/openstudio-sketchup-plugin I suppose.

@tijcolem tijcolem transferred this issue from NREL/OpenStudio Jun 22, 2020
@macumber
Copy link
Collaborator

@MatthewSteen I just tried this using SketchUp 2019 and the new plugin and could not reproduce. Maybe SketchUp fixed some bugs in the DXF import?

@MatthewSteen
Copy link
Author

Ok, I'll close.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants