SketchUcation installation failure
-
I tried to install SketchUcationTools on my WinPC, using the window>preferences>installExtensions command.
This is the message from Sketchup: "The selected Extension has been successfully installed and is now available for your use"
When I run Sketchup a popup window is displaied: "Error Loading File SketchUcation.rb
(eval):250:in `require': uninitialized constant SketchupExtension::SCF::FOLDER"The plugin isn't displaied in the plugins menu.
How can I fix this issue?
Thanks
-
Are you really using Sketchup 8 as you say in your profile?
I'm pretty sure the tool doesn't work in that version. -
As Box says, the older version of the SketchUcation Toolset is needed for SketchUp <= v8
I will PM you an older [but limited] version...
If you are still in the stone-age use that... -
I installed Sketchucation v.2.6.2 - b11 but I receive the message of error:
"Error Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SketchUcation/sketchUcloud.rb
uninitialized constant SUC::SCFapi
Error Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SketchUcation/SCF_loader.rb
uninitialized constant SUC::SCFapi
Error Loading File SketchUcation.rb
uninitialized constant SUC::SCFapi"So nothing runs
Portos52 (Flintstone..)
-
I'll look at it... but first...
Exactly how did you install it ?
The 'sketchucation cloud' is an obsolete tool. but it should still load... -
In the main page of SU I select the command "window>preferences";
The popup window "System preferences" opens. I check that the box "Sketchucation" is selected and then I tap on the button "Install extension..".
An other window is displaied to locate the .rbz file to upload, I select Sketchucation_v2.6.2-b11.rbz and I get it.
The last popup winwow is displaied "Extension installation is complete"
Then I have to restart SU.
-
Please make sure that any newer [therefore incompatible]
SketchUcation.rb
and the whole of theSketchUcation
subfolder are deleted from your v8Plugins
folder before reinstalling the older version from the RBZ...However, that old RBZ archive I sent you by PM accidentally included an obsolete RB file, that seems to be causing a failure.
After you have done the tidying work that I advised above, you should then reinstall theSketchUcation Toolset
from that older RBZ...
But you next need to remove this 'bad file'...
Look in thePlugins
folder's subfolder namedSketchUcation
- find the file namedsketchUcloud.rb
Delete just that unwanted file.
Restart SketchUp and it should now work OK...Come back if there are problems...
-
Thank you TIG.
I got yours suggestions and I followed them.
Now the in the error message there isn't any longer the first line, that is:
"Error Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SketchUcation/SCF_loader.rb
(eval):352:inrequire': uninitialized constant SCF::SCF::TEMPError Loading File !SketchUcation_loader.rb (eval):352:in
require': uninitialized constant SCF::SCF::TEMP"
I can open the shop where some plugins are listed and nothing else. -
I'm at a loss !?
Can you open the Ruby Console then type [or copy+paste]
SCF.constants.sort
The entryTEMP
should be in there...
For some weird reason your version of the code is adding an extraSCF::
in front of the line ???
What does this in the Ruby Console return ?
SCF::TEMP
Oddly your error msg reports a fault in line #352 of
SCF_loader.RB
But that file is considerably shorter !
So something is wrong.
That RB file is shorter in the v8 and newer versions of the RBZ... <140~
Can you report your RB file's line count ?? -
My SCF_loader.rb has 113 lines.
Typing SCT::TEM in Ruby Console I get this msg: "Error: #<NameError: undefined local variable or method `scf' for main:Object>
(eval):304".
-
Sorry it's taking so long to resolve.
You SCF loader file is fine.Did you try
SCF.constants.sort
in the Ruby Console ?
What happened ?What does
SCF::TEMP
return ?Copy & paste it.
I think you mis-typed something ? -
I typed "SCF.constants.sort" in the Ruby Console and I got a long list of constants. Among these "SCF" and "TEMP".
Typing "SCF::TEMP" I have back: "C:/Users/HUMBERTO/AppData/Local/Temp" that is the directory where I have these files: "SketchUpHAS134H7.dmp", "SketchUpTL1L7D84.dmp" -
Thanks.
I'm looking at sending you a changed version of the loader RB file etc...
Watch this space... -
Please replace this file in
Plugins
folder:
!SketchUcation_loader.rb
and replace this file in thePlugins/SketchUcation
subfolder:
SCF_loader.rb
After SketchUp restarts any changes ?Please also double-check you haven't left an incompatible file in your Plugins folder from earlier on, when you installed the newer [wrong] version RBZ... that would be
Plugins/SketchUcation.rb
which is NOT used in the version you must use...
-
I did what you suggested but I'm sorry to say that nothing changed.
I can see some plugins in the shop, but Plugins manager, plugins extensions manager and plugins installer don't run.
Opening SU I always read the same error message:
"Error Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SketchUcation/SCF_loader.rb
(eval):353:inrequire': uninitialized constant SCF::SCF::TEMPError Loading File !SketchUcation_loader.rb (eval):353:in
require': uninitialized constant SCF::SCF::TEMP" -
I'm still not convinced that you have a 'clean' installation !?
You could have some files left over from the earlier mis-installation of the newer incompatible RBZ...
Please manually delete any Plugin subfolder named 'SketchUcation', then find any .RB file in Plugins containing the text 'SketchUcation', and delete those.
Next install the RBZ with the old version...
Go back through these posts and delete or substitute the files in the SketchUcation subfolder as detailed.
Restart SketchUp and report back... -
I did what you said and now I get the same error message as before:
"Error Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SketchUcation/sketchUcloud.rb
uninitialized constant SUC::SCFapi
Error Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SketchUcation/SCF_loader.rb
uninitialized constant SUC::SCFapi
Error Loading File !SketchUcation_loader.rb
uninitialized constant SUC::SCFapi" -
Please read back through the earlier posts and delete the files I told you to...
Read this...
https://sketchucation.com/forums/viewtopic.php?p=665823#p665823
and replace the installed files...@unknownuser said:
Then look in the Plugins folder's subfolder named SketchUcation - find the file [if any] named
sketchUcloud.rb
Delete that unwanted file.AND did you first remove all of the [newer RBZ's] files/subfolders your wrongly installed earlier ?
You didn't confirm that... -
Yes, I followed your instructions.
I paste the images of my directories.Thanks
-
You do not seem to have installed it / or tidied up properly.
When installed properly there should be two items in the Plugins folder.
!SketchUcation_loader.rb
[which loads the extension]
SketchUcation
[a subfolder of files used by the extension.You have an incompatible newer
SketchUcation.rb
file in your Plugins folder - which I think is causing most of your problems, and there are probably some wrong files in the subfolder too.Do the following...
Delete the subfolder named "SketchUcation" and the file named "!SketchUcation_loader.rb" - so that we have a clean install...Now install the latest version of the RBZ for v2~ as previously supplied.
Install it.
You'll probably still get an error message - exit SketchUp - delete the subfolder'ssketchUcloud.rb
file and restart SketchUp...
Any better ?
Advertisement