Sketchup 2014: Problems with plugins
-
Yes, I use each of the last available versions
-
The only one of those that I use is the Loft function of TIG's Extrusion set and it works fine in SU2014.
It may be that the others are still in need of editing to be compatible with the new Ruby version. You might contact the authors and ask.
-
My system: win7 64bit pro
sketchup versions: 7.1, 2013, 2014:Here the ruby console error when using the loft-funstion:
<Enter> to Make Mesh]
Error: #<TypeError: reference to deleted Entities>
C:/Users/Frangenberg/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ExtrudeTools/extrudeEdgesByLoft.rb:471:ineach' C:/Users/Frangenberg/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ExtrudeTools/extrudeEdgesByLoft.rb:471:in
get_segs_and_process'
C:/Users/Frangenberg/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ExtrudeTools/extrudeEdgesByLoft.rb:269:in `onReturn' -
FYI => Some what a repeat on Daves input:
SU 2014 API was upgraded from 1.8 to 2.0; Trimble flagged possible consequence in the Su2014 release notes and included a recommended approach. Unless the plugin is a nascent SU provided plugin then I guess correction lies with the author. -
Another malfunctioning plugin which I use most days is Doormaker.rb
On initial startup if you don't change any of the option selections Door Maker inserts a simple door correctly.
It will also accept different sizes for frame/leaf etc.
Select any of the rebate options; panel types; kicker; nameplate options and it only creates an outline of the door.Shame cos it's one of my must have plugins....
-
@smb5823 said:
Another malfunctioning plugin which I use most days is Doormaker.rb
On initial startup if you don't change any of the option selections Door Maker inserts a simple door correctly.
It will also accept different sizes for frame/leaf etc.
Select any of the rebate options; panel types; kicker; nameplate options and it only creates an outline of the door.Shame cos it's one of my must have plugins....
You might post in the author's thread where you have a hope he'll see it and will edit the plugin. Or you could load Garry K's door maker plugin instead.
-
I have looked at my EEby Loft again and I can reproduce that error in v2014, given certain combinations of parameters - segment counts etc - but it does not make the same error in earlier versions.
This is odd, because I cannot see any immediate difference in how the same code is processed in the newer version.However, be assured that I am looking at it... and will I post an update as soon as I find the root cause...
-
@tig said:
I have looked at my EEby Loft again and I can reproduce that error in v2014, given certain combinations of parameters - segment counts etc - but it does not make the same error in earlier versions.
This is odd, because I cannot see any immediate difference in how the same code is processed in the newer version.Are you anywhere traversing an Entities or Selection collection that might change? There was some changes made to avoid crashes that would make the iterator bail where it might have worked under SU2013 or older. But the fix, and the safe way to do it, is to make an array copy of the collection.
If that is the cause - I'm just making a stab in the dark based on the error reported earlier:
<Enter> to Make Mesh] Error; #<TypeError; reference to deleted Entities> C;/Users/Frangenberg/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ExtrudeTools/extrudeEdgesByLoft.rb;471;in `each' C;/Users/Frangenberg/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ExtrudeTools/extrudeEdgesByLoft.rb;471;in `get_segs_and_process' C;/Users/Frangenberg/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ExtrudeTools/extrudeEdgesByLoft.rb;269;in `onReturn'
-
I'm working on it !
[mod=:gipwq0cm]Phew!
Sorted, simple typo !
New compatible new version will be published shortly...
Here's v2.3 http://sketchucation.com/pluginstore?pln=ExtrudeTools[/mod:gipwq0cm] -
Many thanks for the quick solution. Now all works fine.
-
FACING PROBLEM : please suggest next action...
Error Loading File 3darcstudiotree.rb
Error: #<LoadError: cannot load such file -- extensions.rb>
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/3darcstudiotree.rb:10:in<top (required)>' Error Loading File building_structure_tool.rb Error: #<LoadError: cannot load such file -- extensions.rb> C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/building_structure_tool.rb:9:in
<top (required)>'
Error Loading File DM_artisan.rb
Error: #<LoadError: cannot load such file -- extensions.rb>
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/DM_artisan.rb:2:in<top (required)>' Error Loading File ene_railroad.rb Error: #<LoadError: cannot load such file -- extensions.rb> C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ene_railroad.rb:223:in
<top (required)>'
Error Loading File gkware_doormaker.rb
Error: #<LoadError: cannot load such file -- extensions.rb>
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/gkware_doormaker.rb:1:in<top (required)>' Error Loading File loadOmniGrid.rb Error: #<LoadError: cannot load such file -- extensions.rb> C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/loadOmniGrid.rb:2:in
<top (required)>'
Error Loading File RPS_ArielVision.rb
Error: #<LoadError: cannot load such file -- extensions.rb>
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/RPS_ArielVision.rb:6:in<top (required)>' Error Loading File RPS_IRender_nXt.rb Error: #<LoadError: cannot load such file -- extensions.rb> C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/RPS_IRender_nXt.rb:6:in
<top (required)>'
Error Loading File su_advancedcameratools.rb
Error: #<LoadError: cannot load such file -- extensions.rb>
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/su_advancedcameratools.rb:17:in<top (required)>' Error Loading File su_dynamiccomponents.rb Error: #<LoadError: cannot load such file -- extensions.rb> C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/su_dynamiccomponents.rb:25:in
<top (required)>'
Error Loading File su_onion_dome.rb
Error: #<LoadError: cannot load such file -- extensions.rb>
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/su_onion_dome.rb:22:in<top (required)>' Error Loading File su_sandbox.rb Error: #<LoadError: cannot load such file -- extensions.rb> C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/su_sandbox.rb:26:in
<top (required)>'
Error Loading File su_webtextures.rb
Error: #<LoadError: cannot load such file -- extensions.rb>
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/su_webtextures.rb:17:in<top (required)>' Error Loading File tt_architect_tools.rb Error: #<LoadError: cannot load such file -- extensions.rb> C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_architect_tools.rb:9:in
<top (required)>'
Error Loading File TT_Lib2.rb
Error: #<LoadError: cannot load such file -- extensions.rb>
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_Lib2.rb:9:in<top (required)>' Error Loading File tt_vertex.rb Error: #<LoadError: cannot load such file -- extensions.rb> C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_vertex.rb:10:in
<top (required)>'
Error Loading File tt_vray_tools.rb
Error: #<LoadError: cannot load such file -- extensions.rb>
C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:inrequire' C:/Program Files/SketchUp/SketchUp 2014/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in
require'
C:/Users/pp/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_vray_tools.rb:9:in `<top (required)>' -
Did you just copy the Plugins from an older installation to SU2014?
-
The main error message is telling you it can't load '
extensions.rb
'
Many Plugins will require that file as they load.
It belongs in the main 'Tools' subfolder.
This copy/pasted into the Ruby Console will open it for you.
UI.openURL("file:////#{Sketchup.find_support_file('Tools')}")
This is typically:
C:\Program Files (x86)\SketchUp\SketchUp 2014\Tools
But it might vary depending on your system and installation preferences...That folder must contain three .rb files.
These ship with SketchUp and install as part of its standard installation packageextensions.rb sketchup.rb langhandler.rb
It also contains the '
RubyStdLib
' subfolder, containing the latest Ruby files.The three files should NEVER be in the Plugins folder...
You should never use copies of these files from earlier SketchUp versions as they are not necessarily the same code...As you have '
Ruby
' related errors too, then I suspect another potential issue... perhaps you have not upgraded v2014 ?
The initial v2014M0 had a known issue...
This is that if you launch SketchUp by opening a SKP that is on a drive that is NOT the same as the SketchUp.exe drive letter it messes up the$:
and that causes issues with the Ruby files loading...
If this is the case get the latest v2014M1 and install that...
Typing$:
in the Ruby Console should return a list of folder paths including the main../Tools
and../Tools/RubyStdLib
folders, if these do NOT have the same drive letter - e.g.C:
, then it means you do not have v2014M1 installed, since that update fixed this issue.
Note that opening SketchUp from the menu and then opening a SKP should NOT produce such errors in v2014M0...But if you have messed around with folder contents etc it's a sure recipe for disaster!
Try repairing the SketchUp installation, hopefully the missing files will return ???
Advertisement