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

SketchUp issues when selecting thermal zone #87

Closed Ski90Moo closed 3 years ago

Ski90Moo commented 3 years ago

When render by thermal zone is selected, it will not show the thermal zone in the inspector tool. If I select other thermal zones, it continues to cause issues and eventually crashes. 2021-07-15 (1)_LI 2021-07-15 (2) 2021-07-15 (4)

From the Ruby console: ERROR: RuntimeError bad allocation BACKTRACE: C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/DialogManager.rb:321:in setIddObjectType' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/DialogManager.rb:321:inselection_changed' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/interfaces/MaterialsInterface.rb:371:in rendering_mode=' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/MenuManager.rb:508:inblock (2 levels) in create_commands' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/PluginManager.rb:260:in block in process_events' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/PluginManager.rb:253:ineach' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/PluginManager.rb:253:in process_events' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/PluginManager.rb:312:inblock in start_event_processing' Error: # C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/DialogManager.rb:321:in setIddObjectType' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/DialogManager.rb:321:inselection_changed' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/observers/SelectionObserver.rb:84:in onSelectionBulkChange' Error: #<RuntimeError: bad allocation> C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/DialogManager.rb:321:insetIddObjectType' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/DialogManager.rb:321:in selection_changed' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/observers/SelectionObserver.rb:84:inonSelectionBulkChange' Error: # C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/DialogManager.rb:321:in setIddObjectType' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/DialogManager.rb:321:inselection_changed' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/observers/SelectionObserver.rb:84:in onSelectionBulkChange' Error: #<RuntimeError: bad allocation> C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/DialogManager.rb:321:insetIddObjectType' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/DialogManager.rb:321:in selection_changed' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/observers/SelectionObserver.rb:84:inonSelectionBulkChange' Error: # C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/DialogManager.rb:321:in setIddObjectType' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/DialogManager.rb:321:inselection_changed' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/observers/SelectionObserver.rb:84:in onSelectionBulkChange' Error: #<RuntimeError: bad allocation> C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/DialogManager.rb:321:insetIddObjectType' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/DialogManager.rb:321:in selection_changed' C:/Users/owner/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/openstudio/lib/observers/SelectionObserver.rb:84:inonSelectionBulkChange'

macumber commented 3 years ago

Thanks for another great report @Ski90Moo, this is actually caused by an issue in the app repo: https://github.com/openstudiocoalition/OpenStudioApplication/issues/401