• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

SketchUcation installation failure

Scheduled Pinned Locked Moved Newbie Forum
sketchup
25 Posts 3 Posters 6.2k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    portos52
    last edited by 23 Oct 2020, 09:58

    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

    1 Reply Last reply Reply Quote 0
    • B Offline
      Box
      last edited by 23 Oct 2020, 13:43

      Are you really using Sketchup 8 as you say in your profile?
      I'm pretty sure the tool doesn't work in that version.

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 23 Oct 2020, 14:42

        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...

        TIG

        1 Reply Last reply Reply Quote 0
        • P Offline
          portos52
          last edited by 23 Oct 2020, 16:13

          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..)

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 23 Oct 2020, 16:29

            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...

            TIG

            1 Reply Last reply Reply Quote 0
            • P Offline
              portos52
              last edited by 23 Oct 2020, 17:41

              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.

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 24 Oct 2020, 12:18

                Please make sure that any newer [therefore incompatible] SketchUcation.rb and the whole of the SketchUcation subfolder are deleted from your v8 Plugins 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 the SketchUcation Toolset from that older RBZ...
                But you next need to remove this 'bad file'...
                Look in the Plugins folder's subfolder named SketchUcation - find the file named sketchUcloud.rb
                Delete just that unwanted file.
                Restart SketchUp and it should now work OK...

                Come back if there are problems...

                TIG

                1 Reply Last reply Reply Quote 0
                • P Offline
                  portos52
                  last edited by 26 Oct 2020, 16:24

                  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:in require': 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.

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    TIG Moderator
                    last edited by 26 Oct 2020, 18:52

                    I'm at a loss !?
                    Can you open the Ruby Console then type [or copy+paste]
                    SCF.constants.sort
                    The entry TEMP should be in there...
                    For some weird reason your version of the code is adding an extra SCF:: 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 ??

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      portos52
                      last edited by 3 Nov 2020, 12:59

                      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".


                      This is my SCF_loader.rb

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        TIG Moderator
                        last edited by 3 Nov 2020, 13:56

                        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 ?

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          portos52
                          last edited by 4 Nov 2020, 13:15

                          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"

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            TIG Moderator
                            last edited by 4 Nov 2020, 13:41

                            Thanks.
                            I'm looking at sending you a changed version of the loader RB file etc...
                            Watch this space...

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 4 Nov 2020, 14:25

                              Please replace this file in Plugins folder:
                              !SketchUcation_loader.rb
                              and replace this file in the Plugins/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...


                              !SketchUcation_loader.rb


                              SCF_loader.rb

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                portos52
                                last edited by 6 Nov 2020, 10:34

                                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:in require': uninitialized constant SCF::SCF::TEMPError Loading File !SketchUcation_loader.rb (eval):353:in require': uninitialized constant SCF::SCF::TEMP"

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  TIG Moderator
                                  last edited by 6 Nov 2020, 12:32

                                  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...

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    portos52
                                    last edited by 9 Nov 2020, 18:45

                                    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"

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      TIG Moderator
                                      last edited by 9 Nov 2020, 18:53

                                      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...

                                      😕

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        portos52
                                        last edited by 22 Nov 2020, 16:38

                                        Yes, I followed your instructions.
                                        I paste the images of my directories.

                                        Thanks


                                        plugins folder.PNG


                                        SketchUcation folder.PNG

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          TIG Moderator
                                          last edited by 22 Nov 2020, 17:46

                                          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's sketchUcloud.rb file and restart SketchUp...
                                          Any better ?

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement