CleanUp v3.2.0 crashes since TT Library v2.9.8
-
Hi ThomThom --
I've had a series of intermittent crashes since updating the library yesterday -- most similar to the output shown below (though undefined method has at times has also been 'color' or 'edges') . After the first crash, I tried again with outliner and components windows closed, and it continued to crash with a series of different models (although there were some, both simple and complex that didn't crash it).
Sometimes it crashes the whole app and other times it simply pops up the bug splat report. I'm running SU8 on OSX Snow Leopard. Any thought on what might be causing it?
@unknownuser said:
undefined method `faces' for #Sketchup::DefinitionList:0x17ae57ec
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup/core.rb:875:in
erase_duplicate_faces' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup/core.rb:875:in
map'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup/core.rb:875:inerase_duplicate_faces' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup/core.rb:871:in
each'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup/core.rb:871:inerase_duplicate_faces' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup/core.rb:541:in
cleanup!'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:102:ineach_entities' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:99:in
each'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:99:ineach_entities' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup/core.rb:703:in
each_entities_in_scope'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup/core.rb:540:incleanup!' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup/core.rb:409:in
show_cleanup_ui'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:183:incall' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:183:in
event_inputbox_close'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:14:into_proc' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:164:in
call'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:164:inclose' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:164:in
event_inputbox_accept'
/Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:14:in `to_proc' -
Hi there
TT_Lib 2.9.8 didn't have any changes that should affect CleanUp. I think this is just a coincidence. Did you try rolling back to older version?
https://bitbucket.org/thomthom/tt-library-2/downloadsIn any case, you appear to have two issues here: crashing and errors in the console.
-
The error: what are the steps to reproduce this? Does it happen on every model? Does it happen on a specific model? (if so, can you share it?) I've seen some very rare reports about errors that doesn't really make sense - like the ine your reported. It's as if some entities references has been mixed up, corrupted memory perhaps. But whenever I've tried to track that down it has disappeared, either by itself, a reboot, or reinstallation.
-
The crash, when you did get a BugSplat, did you submit it? Did you enter your email or any other message? I can then look it up and see where it crashes. Without I cannot do much.
Mind you, SketchUp 8 is nearing four years old this year. Many bugs has been fixed since then. The issue you experience might very well be fixed already.
-
-
Thanks for the quick response, ThomThom.
It may well be coincidence as you suggest. It seemed related as I hadn't had a CleanUp crash or console error until applying the Library update.
@unknownuser said:
But whenever I've tried to track that down it has disappeared, either by itself, a reboot, or reinstallation.
After disabling all plugins but CleanUp/TT Lib, I have tracked down a possible telltale behaviour -- it seems to work on the first run (after SU launch) without error -- regardless of model. It then throws an error on the second run in the same session. (with any other model). So from the fully initialized state it runs fine, then it seems to spit out errors. Should also mention that for the first model run in a session (than cleaned successfully), subsequent runs of the plugin works fine on that model. But the same model opened in a subsequent session --and after CleanUp has started throwing errors -- generates the same error.
So from the fully initialized state it runs fine, then it seems to spit out errors. Is it possible that some variable/method is not being properly reinitialized/declared?
The other weird thing (which I don't remember from before) is that after running CleanUp the cursor becomes the paint tool??
@unknownuser said:
- The crash, when you did get a BugSplat, did you submit it? Did you enter your email or any other message? I can then look it up and see where it crashes. Without I cannot do much.
No I didn't, but when I have time I will try rolling back to the previous TT Lib version and see if it clears the issue... and if the behavior persists I will send you the bugsplat report. Don't want you to waste time chasing it down -- mostly wanted to let you know in case others were experiencing the same issue, and/or if it was easily identified.
@unknownuser said:
Mind you, SketchUp 8 is nearing four years old this year. Many bugs has been fixed since then. The issue you experience might very well be fixed already.
You're right about SU8 -- I'm still using it because of license restrictions on SU13 Make. Hoping to finally be able to upgrade to Pro sometime this year (at this point I might as well wait till SU14 is released... at BaseCamp maybe ).
Oh, and many thanks for all your fantastic plugins!
Doug
Advertisement