• 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.
  • 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
                              • P Offline
                                portos52
                                last edited by 28 Nov 2020, 16:04

                                Sorry, but I don't understand your reply.
                                In the first capture, you can see the Plugins directoy. Inside there is a subdirectory "Sketchucation" and one file named !SketchUcation_loader.rb. Exactly what you said should be there.
                                What is wrong?

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

                                  Sorry for the confusion...
                                  Delete the subfolder named SketchUcation.
                                  Reinstall from the compatible v2~ RBZ.
                                  Before doing anything else, open the newly re-added SketchUcation subfolder and remove the sketchUcloud.rb file.
                                  Now restart SketchUp.
                                  If there are any error messages report them here...

                                  Otherwise... the earlier post https://sketchucation.com/forums/viewtopic.php?p=665823#p665823 has 2 RB files you could try substituting, combined with a restart...
                                  Any better ?

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    portos52
                                    last edited by 2 Dec 2020, 18:54

                                    I followed the first way.
                                    Finally, this is the message error.
                                    "Error Loading File C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/SketchUcation/SCF_loader.rb
                                    (eval):352:in require': uninitialized constant SCF::SCF::TEMP Error Loading File !SketchUcation_loader.rb (eval):352:in require': uninitialized constant SCF::SCF::TEMP"

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      TIG Moderator
                                      last edited by 2 Dec 2020, 19:06

                                      I am very confused about this - as I expect you are !
                                      Shortly I'll PM a version to you to try...

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 2 Dec 2020, 20:27

                                        I've sent you a PM with an alternative RBZ to try...

                                        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