sketchucation logo sketchucation
    • Login
    πŸ”Œ Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

    Yet another "plugins won't load" thread

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    11 Posts 3 Posters 1.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.
    • S Offline
      ScrubBrush
      last edited by

      I have installed sketch up on several machines and never had any problem.

      I just rebuilt my mac laptop and reinstalled sketchup 8.

      I queried the ruby console for the location it expects the plugins to be in (the plugin folder within my user library) and placed all my plugins there.

      Sketchup is not loading ANY plugins or showing a plugin menu.

      anyone got a clue?

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

        On a MAC the correct 'plugins' folder is in the 'root' MAC HD Lib path... and NEVER EVER the 'user' one...
        However did you reach that erroneous conclusion ?

        Please type [or copy+paste] Sketchup.find_support_file("plugins") into the Ruby Console - this should tell you exactly where plugins ought to be...

        PS: also check that you have NOT set your MAC's OS to be 'case-sensitive' == 'the kiss of death' ! Because some [even 'system'] files are sloppy about 'case'.......

        TIG

        1 Reply Last reply Reply Quote 0
        • S Offline
          ScrubBrush
          last edited by

          Sketchup.find_support_file("plugins")
          /Users/(myusername)/Library/Application Support/Google SketchUp 8/SketchUp/plugins

          erroneous?

          how do I set the case sensitive option?

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

            Doh! πŸ˜’
            That's NOT right...
            Have you somehow reset a path?
            It ought to be more like
            Macintosh HD/Library/Application Support/Google SketchUp 8/SketchUp/plugins
            !!!
            No 'user' involved πŸ˜•

            On Case-sensitivity:
            If you can't readily make a file called 'text' inside a folder that already contains a file called 'Text' then you are OK... Unix can allow files with very similar names to exists - most MACs and all PCs won't... so saving a file named 'text' should overwrite a file named 'Text' etc... However, you can install a MAC OS with a flag set to behave 'Unix-like' and allow this... then if you are asking the OS to find a file called 'Sketchup' when it's actually called 'sketchup' you will get no matches - sometimes that can cause Ruby to flounder !

            TIG

            1 Reply Last reply Reply Quote 0
            • S Offline
              ScrubBrush
              last edited by

              just checked, I am HFS+ ( case-insensitive right?)

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

                I think that HFS+ is just the standard MAC file-system - you can set it to be case-sensitive - but as I understand it, it defaults to the 'light' side - i.e. non-case-sensitive... So unless you have 'deliberately' messed it up you should be OK... YOU are the guy who bought the MAC, I'm the guy with the PC... πŸ˜’

                Have you resolved the Plugins path issue ?
                Perhaps some MAC-guru user could step in here as I am sinking fast...........................

                TIG

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim
                  last edited by

                  Maybe including a filename would give a better result?

                  Sketchup.find_support_file("examples.rb", "plugins")

                  Also, interested in seeing the result of this typed in the ruby console:

                  $:

                  There is this little "gem" hidden at the end of example/examplescrits.rb. So if the examples extension are enabled, the user's HOME folder is added to the $LOAD_PATH

                  #-----------------------------------------------------------------------------
                  # SketchUp sets up Ruby to look for files in its plugins directory when you
                  # use the load command.  You can add additional directories to its search path.
                  # This can be useful when you are developing new scripts because it can
                  # make it easier to load them during testing.
                  # This command adds your home directory to the search path.  Note that this
                  # only works if the environment variable HOME is defined.
                  # $; is a special system variable in Ruby that defines the search path.
                  if( ENV["HOME"] )
                      homedir = File.expand_path("~")
                      $;.push homedir
                  end
                  

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    ScrubBrush
                    last edited by

                    $:
                    ["/Users/jefferylegere/Library/Application Support/Google SketchUp 8/SketchUp/plugins/SketchyPhysics/", "/Users/jefferylegere/Library/Application Support/Google SketchUp 8/SketchUp/Plugins", "/Library/Application Support/Google SketchUp 8/SketchUp/Plugins", "/Library/Application Support/Google SketchUp 8/SketchUp/Tools"]

                    one interesting note. it IS seeing my plugins, as I get errors related to them. just no plugin menu unless I have sketchy physics in the folder, then only sketchy physics shows in the plugin menu.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      ScrubBrush
                      last edited by

                      I think reinstalling sketchup has fixed what ever was weird ( even though I get the same ruby console responses)

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

                        Also be warned that SketchyPhysics [one of a few 'rogue-scripts' around] will probably mess with some base-classes relating to groups etc ill-advisedly, thereby breaking the correct operation of some others' tools, that of course expect that the API is working as it should !
                        I recommend you only have SketchyPhysics installed in Plugins when you need it, this will allow other tools to run correctly... πŸ˜’

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          ScrubBrush
                          last edited by

                          @tig said:

                          Also be warned that SketchyPhysics [one of a few 'rogue-scripts' around] will probably mess with some base-classes relating to groups etc ill-advisedly, thereby breaking the correct operation of some others' tools, that of course expect that the API is working as it should !
                          I recommend you only have SketchyPhysics installed in Plugins when you need it, this will allow other tools to run correctly... πŸ˜’

                          warning taken. I have it removed for now. not ready for it yet anyways.

                          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