sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    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.
    • TIGT Offline
      TIG Moderator
      last edited by

      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
      • portos52P Offline
        portos52
        last edited by

        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
        • TIGT Offline
          TIG Moderator
          last edited by

          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
          • portos52P Offline
            portos52
            last edited by

            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
            • TIGT Offline
              TIG Moderator
              last edited by

              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
              • TIGT Offline
                TIG Moderator
                last edited by

                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
                • portos52P Offline
                  portos52
                  last edited by

                  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
                  • TIGT Offline
                    TIG Moderator
                    last edited by

                    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
                    • portos52P Offline
                      portos52
                      last edited by

                      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
                      • TIGT Offline
                        TIG Moderator
                        last edited by

                        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
                        • portos52P Offline
                          portos52
                          last edited by

                          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
                          • TIGT Offline
                            TIG Moderator
                            last edited by

                            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
                            • portos52P Offline
                              portos52
                              last edited by

                              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
                              • TIGT Offline
                                TIG Moderator
                                last edited by

                                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
                                • portos52P Offline
                                  portos52
                                  last edited by

                                  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
                                  • TIGT Offline
                                    TIG Moderator
                                    last edited by

                                    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
                                    • TIGT Offline
                                      TIG Moderator
                                      last edited by

                                      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