sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ๐Ÿ›ฃ๏ธ Road Profile Builder | Generate roads, curbs and pavements easily Download

    How to find/fix installation errors

    Scheduled Pinned Locked Moved Plugins
    5 Posts 2 Posters 273 Views 2 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.
    • Bob JamesB Offline
      Bob James
      last edited by

      I load new plugins from time to time, but don't remember what I loaded to get these errors:

      Error Loading File examplescripts.rb
      undefined method `GetString' for nil:NilClass
      no such file to load -- WebTextures/webtextures_loader.rb
      Error Loading File webtextures.rb
      no such file to load -- WebTextures/webtextures_loader.rb

      Anyone have an idea?

      webtextures.rb is in my tools folder, but I can't find any folder named WebTextures.

      UPDATE
      I found the WebTextures folder in an old "Tools" folder, so now, even though examplescripts.rb is in the Plugins/Examples folder, I'm left with
      %(#FF0000)[Error Loading File examplescripts.rb
      undefined method `GetString' for nil:NilClass]

      i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        Have you got 'langhandler.rb' in the Tools folder?
        Please tell me you haven't removed the Tools folder !

        You could try reinstalling Sketchup.
        Then look through the Tools folder and Plugins folder [in parallel] and ensure that NO files that are in the Tools folder are also present in the Plugins folder !

        Sketchup ships with a set of special scripts in the Tools folder.
        If you install some extra Sketchup tools they might appear there too.
        BUT all other files belong in Plugins or the tool's subfolder in Plugins.
        Never have files that belong in the Tools folder 'duplicated' in the Plugins folder !

        TIG

        1 Reply Last reply Reply Quote 0
        • Bob JamesB Offline
          Bob James
          last edited by

          @tig said:

          Have you got 'langhandler.rb' in the Tools folder?
          Yes
          Please tell me you haven't removed the Tools folder !
          Remove the Tools Folder ๐Ÿ˜ฒ No
          You could try reinstalling Sketchup.
          Eeek! Not yet ๐Ÿ˜ฎ
          Then look through the Tools folder and Plugins folder [in parallel] and ensure that NO files that are in the Tools folder are also present in the Plugins folder !
          Side by Side: no duplicates ๐Ÿ˜„
          Sketchup ships with a set of special scripts in the Tools folder.
          I always keep a copy of that and the original plugins folder (just in case) ๐Ÿ˜‰
          If you install some extra Sketchup tools they might appear there too.
          BUT all other files belong in Plugins or the tool's subfolder in Plugins.

          Never have files that belong in the Tools folder 'duplicated' in the Plugins folder !
          Never, Boss, NEVER ๐Ÿ˜„

          i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            @unknownuser said:

            Error Loading File examplescripts.rb undefined methodGetString' for nil:NilClass`

            Says that there is an error loading the file examplescripts.rb - which only loads from the 'Examples' subfolder if the 'Examples' Extension has been activated under Preferences...
            So ensure it's in there and not in the Plugins folder on its own - when it'll try to autoload !
            That error relates to some code in the script that is trying to do a 'langhandler' method [GetString] or 'Nil' - it only works on a 'String'.
            I've looked through the code in my version of that file, and it has no 'GetString' text in it at all... ๐Ÿ˜•
            If you open that file in Notepad does yours ?
            ๐Ÿ˜•

            TIG

            1 Reply Last reply Reply Quote 0
            • Bob JamesB Offline
              Bob James
              last edited by

              @tig said:

              So ensure it's in there and not in the Plugins folder on its own - when it'll try to autoload !

              examplescripts.rb was also in the plugins folder ๐Ÿ˜ณ
              Thank you, TIG.

              i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

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

              Advertisement