SketchUp version : 2020 PRO
Skatter version (Skatter dialog > Options > About) : 2.0.2
OS : Windows 10
Description of the issue : I’m not able to use the “convert to composition” function, I always get the shown error.
Are you able to reproduce the issue every time? (If yes, how?) : yes
Error in Ruby Console? (Window > Ruby Console) : see below
[Skatter 16:35:28|info] Checking for upgradeable compositions...
[Skatter 16:35:28|info] No compositions to upgrade
[Skatter 16:35:28|info] Converting component instances to composition
[Skatter 16:35:28|info] Starting operation "Skatter: convert instances to composition"
[Skatter 16:35:28|error] An error occurred in operation: undefined method `add_group' for #<Sketchup::Model:0x00000244bef4d670>
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/utils/utilities.rbe:349:in `block in create_composition_from_component_instances'
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/model_operation.rbe:77:in `do'
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/utils/utilities.rbe:345:in `create_composition_from_component_instances'
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/menu.rbe:398:in `block (3 levels) in <module:Skatter>'
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/menu.rbe:50:in `do_if_ready'
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/menu.rbe:395:in `block (2 levels) in <module:Skatter>'
[Skatter 16:35:28|error] Cannot convert instance to composition: undefined method `add_group' for #<Sketchup::Model:0x00000244bef4d670>
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/utils/utilities.rbe:349:in `block in create_composition_from_component_instances'
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/model_operation.rbe:77:in `do'
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/utils/utilities.rbe:345:in `create_composition_from_component_instances'
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/menu.rbe:398:in `block (3 levels) in <module:Skatter>'
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/menu.rbe:50:in `do_if_ready'
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/menu.rbe:395:in `block (2 levels) in <module:Skatter>'
[Skatter 16:35:28|error] Cannot open/focus dialog for composition "": undefined method `valid?' for nil:NilClass
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/preview.rbe:51:in `switch_to'
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/composition_dialog.rbe:20:in `open_or_focus'
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/menu.rbe:404:in `block (3 levels) in <module:Skatter>'
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/menu.rbe:50:in `do_if_ready'
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/menu.rbe:395:in `block (2 levels) in <module:Skatter>'
[Skatter 16:35:29|error] UI > "SketchUp rejected response #0: get_state" | "undefined method `valid?' for nil:NilClass\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/composition_dialog.rbe:90:in `block in initialize'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/dialog.rbe:41:in `block in on'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:643:in `handle_request'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:671:in `receive'"
[Skatter 16:35:29|error] UI > "SketchUp error #0: get_state" | "undefined method `valid?' for nil:NilClass\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/composition_dialog.rbe:90:in `block in initialize'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/dialog.rbe:41:in `block in on'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:643:in `handle_request'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:671:in `receive'"
[Skatter 16:35:29|error] UI > "undefined method `valid?' for nil:NilClass\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/composition_dialog.rbe:90:in `block in initialize'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/dialog.rbe:41:in `block in on'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:643:in `handle_request'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:671:in `receive'"
[Skatter 16:35:29|error] UI > "undefined method `valid?' for nil:NilClass\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/composition_dialog.rbe:90:in `block in initialize'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/dialog.rbe:41:in `block in on'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:643:in `handle_request'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:671:in `receive'"
[Skatter 16:35:30|info] Update check completed, no new version
[Skatter 16:39:44|error] UI > "SketchUp rejected response #5: focus" | "undefined method `valid?' for nil:NilClass\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/composition_dialog.rbe:141:in `block in initialize'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/dialog.rbe:41:in `block in on'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:643:in `handle_request'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:671:in `receive'"
[Skatter 16:39:44|error] UI > "SketchUp error #5: focus" | "undefined method `valid?' for nil:NilClass\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/composition_dialog.rbe:141:in `block in initialize'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/dialog.rbe:41:in `block in on'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:643:in `handle_request'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:671:in `receive'"
[Skatter 16:39:44|error] UI > "undefined method `valid?' for nil:NilClass\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/composition_dialog.rbe:141:in `block in initialize'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/dialog.rbe:41:in `block in on'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:643:in `handle_request'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:671:in `receive'"
[Skatter 16:39:44|error] UI > "undefined method `valid?' for nil:NilClass\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/composition_dialog.rbe:141:in `block in initialize'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/dialog.rbe:41:in `block in on'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:643:in `handle_request'\nc:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/bridge.rbe:671:in `receive'"
Error: #<NoMethodError: undefined method `draft?' for nil:NilClass>
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/composition_dialog.rbe:724:in `handle_dialog_closure'
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/composition_dialog.rbe:699:in `block in initialize'
Error: #<NoMethodError: undefined method `model' for nil:NilClass>
c:/users/carst/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/skatter/src/dialogs/composition_dialog.rbe:708:in `block in initialize'
[Skatter 16:39:55|info] Created composition "d37a4631-a034-4fe1-b77e-73e7f6666b66"