Plugin load problem
-
Hello everyone,
I'm hoping someone can help me with this problem:I tried to install the swivelButton.rb plugin.
I started getting this error message on SketchUp startup:
Error Message1
Followed by this error message:
Error Message2
I've looked in the plugins folder and I'm not seeing the "bin" folder and "RubyZip" file.- Should I be able to see them and
- If so, what should I do to rectify this problem?
Any help would be appreciated.
-
Why didn't you post in the thread that discusses this tool? http://sketchucation.com/forums/viewtopic.php?f=180&t=11872&hilit=swivelButton&start=15
There are known shortcomings in theswivelButton.rb
code... discussed there...Why are you using the
AdditionalPluginsFolder
tool ?
If you don't need it, then disable it.
If you do need it, then ensure you have the latest version of it.What Plugins folder[s] are you using?
This script in Plugins tries to auto-load and then load the folder 'bin' in the main Plugins folder:
C:\Program Files\Google\Google SketchUp 8\Plugins
This suggests that something is in the wrong place... It should be in the 'swivelButtonPlugin
' subfolder and it is loaded by a short script in Plugins.The short file
swivelButton.rb
in Plugins does arequire "swivelButtonPlugin/swivelButton.rb"
which loads the file [of the same name] containing the main code, within that subfolder...
That file's code then does arequire File.dirname(__FILE__) + "/bin/RubyZip"
which should return the file path including that subfolder.
because that file is not in the correct folder you get the error message.
This suggests your main file is in the Plugins folder and not within the tool's subfolder as it ought to be...
So it looks like you have muddled up the various files and subfolders.
There should be a simple 'loader' file in Plugins calledswivelButton.rb
and a subfolder in Plugins called 'swivelButtonPlugin
' - that subfolder then contains the files and subfolders of other files, as shown in the above screen-shot...Try removing everything connected and reinstalling the whole toolsets, to see if that helps...
-
Thanks TIG,
I'll try all the suggestions.
Didn't see the post about the swivelButton tool.
I'll check that as well.Thanks again,
Ralph
Advertisement