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

    [Plugin] !AdditionalPluginFolders - v5.4a - 27 Sep 20

    Scheduled Pinned Locked Moved Plugins
    156 Posts 51 Posters 223.4k Views 51 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.
    • 2 Offline
      26delta
      last edited by

      @tig said:

      If you move scripts [.rb/.rbs files] - and their subfolders of supporting files etc - out of the main Sketchup Plugins folder into another folder that has been added onto the $LOAD_PATH list [as with "000_AdditionalPluginFolders"], then they will still load/work OK, as they will auto-load like they used to from the main Sketchup Plugins folder.
      However, if the scripts ' require' some other file[s] to be preloaded [like 'parameters.rb' or 'win32api.so'] then any 'required' files also have to be in a folder included in $LOAD_PATH too. If it's not then you'll get a 'load error'.

      That's the rub. The .rb files ARE in the default Plugins folder.

      The major problem reported in errors 1 and 3 is that there is reference to a procedure 'Init_win32api' which (according to the Win32api.rdoc) does not exist. This may be causing the failure to recognize parameters.rb in error 2. I have reloaded Sketchup and the plugins to no avail.

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

        Mike, if you are attempting to include the full Ruby language in SketchUp then this is not the way to go. You need to use the same Ruby version as SketchUp for the compiled libraries (.so files) for binary compatibility.

        see this thread:

        http://forums.sketchucation.com/viewtopic.php?f=180&t=29412

        Hi

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

          If you are not using the '000_AdditionalPluginFolders' folder for your scripts then why not uninstall its .rb ?
          Without it do these errors still occur ?
          As Jim said, do you have any other Ruby stuff auto-installing ?
          If so read the guidance he's linked to ...

          TIG

          1 Reply Last reply Reply Quote 0
          • 2 Offline
            26delta
            last edited by

            @jim said:

            Mike, if you are attempting to include the full Ruby language in SketchUp then this is not the way to go. You need to use the same Ruby version as SketchUp for the compiled libraries (.so files) for binary compatibility.

            see this thread:

            http://forums.sketchucation.com/viewtopic.php?f=180&t=29412

            I've already responded to the other topic with the exact error message. I had to remove windows.rb due to failure to locate parametric.rb in order to define the Window superclass. It's beginning to look like a load sequence error in which certain required ruby scripts are loaded before they are required and then report as a failure to load because they are already loaded.

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

              The file windows.rb uses
              require 'parametric.rb'
              which loads the parametric methods UNLESS it has already loaded earlier.
              Considering they load in alphanumeric order, and 'p' comes before 'w'. the ' require' is unlikely to do anything...
              However, your error message suggests that parametric.rb cannot be found [the proper full message rather than your précis would help].
              If it is indeed in the same folder as windows.rb, this is odd...

              You say they are both in Plugins ?
              However, newer versions of Windows can have annoying protective tricks - if you don't have FULL security access rights to the Plugins folder it will let you think that you have installed the files correctly, but there might be an extra button on the top bars of the folder's window saying something like 'Compatibility Files...' - this then opens the true home of the files.
              So a possibility is that ' parametric.rb' is not actually inside the Plugins folder and therefore the ' require' [and/or 'auto-load'], that would be done using one of the $LOAD_PATH folders, can't find it 😒
              Please check this out and report back... 😕

              TIG

              1 Reply Last reply Reply Quote 0
              • 2 Offline
                26delta
                last edited by

                The problems with this plugin have been resolved. The culprit was the Rayelectron rendering package which contains a renamed Win32API.so file ('Win32API.so' vs 'win32api.so'). Now, onto the next problem...

                The windows.rb has problems with defining 'Window' as a superclass. Given that this is one of the original Sketchup ruby scripts, who's responsible for maintaining it?

                1 Reply Last reply Reply Quote 0
                • A Offline
                  arnozsofi
                  last edited by

                  Hi, I just put the content in the plugins folder, but nothing happened. Enyone can help me out?

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    matt.gordon320
                    last edited by

                    Hi guys,

                    I've been having an issue with 000_AdditionalPluginFolders ever since I installed the Developer Tools Plugins that were announced at Base Camp 2012. Is anybody else having this following issue?

                    PLUGIN: testuprunner.rb
                    FOLDER: C:/Program Files/Google/Google SketchUp 8/Plugins/sketchup-developer-tools/testup/ruby
                    ERROR: No such file or directory - test_cases.man

                    I've visited the Developer Tool subfolder, but I can't really figure out what's missing.

                    Let me know if that isn't enough info!

                    Thanks Gents,

                    Matt


                    TestUp Runner Error.png

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      driven
                      last edited by

                      hi,
                      the file is created at runtime, so is missing until you use it.

                      it should work even after the warning,
                      alternatively, put dev tools in the 'Tools' folder and avoid the error message when you use additional plugins loader.

                      john

                      learn from the mistakes of others, you may not live long enough to make them all yourself...

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        Bobane
                        last edited by

                        thanx

                        1 Reply Last reply Reply Quote 0
                        • V Offline
                          veerlexyz
                          last edited by

                          Fredo,

                          This plugin does'nt work anymore after Sketchup's update today 11/1/2013 (Layout asked for it). The ruby is still in the normal plugin-folder but not vissible in the Window-menu.
                          How to solve this? Thanks a lot!

                          1 Reply Last reply Reply Quote 0
                          • V Offline
                            veerlexyz
                            last edited by

                            Problem solved after restarting pc. Sorry...

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              matt.gordon320
                              last edited by

                              @matt.gordon320 said:

                              Hi guys,

                              I've been having an issue with 000_AdditionalPluginFolders ever since I installed the Developer Tools Plugins that were announced at Base Camp 2012. Is anybody else having this following issue?

                              PLUGIN: testuprunner.rb
                              FOLDER: C:/Program Files/Google/Google SketchUp 8/Plugins/sketchup-developer-tools/testup/ruby
                              ERROR: No such file or directory - test_cases.man

                              I've visited the Developer Tool subfolder, but I can't really figure out what's missing.

                              Let me know if that isn't enough info!

                              Thanks Gents,

                              Matt

                              Hey guys, I'm still having trouble wrapping my head around how to get this error to go away. I've run every test I can in TestUp (that I know how at this point), but I still get this error on every start. I've had no difference when I've placed the Developer Tools into the tools folder.

                              Any thoughts?

                              Thanks, Matt

                              1 Reply Last reply Reply Quote 0
                              • fredo6F Offline
                                fredo6
                                last edited by

                                NEW RELEASE 3.1a - 29 Jan 2013

                                Major Fix of issues related to loading RBS scripts:

                                This update fixes problems related to loading certain rbs files (scrambled scripts) such as OSCoolean.

                                Thanks to Thomthom and Dan Rathbun for providing a diagnosis and a solution.

                                It is strongly advised to upgrade.

                                See first post of this thread for downloading the script.

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  addy
                                  last edited by

                                  How about design a "Loader" ?
                                  Launch a menu and shift the plugin folder to the one you need then load SU...

                                  1 Reply Last reply Reply Quote 0
                                  • fredo6F Offline
                                    fredo6
                                    last edited by

                                    @unknownuser said:

                                    How about design a "Loader" ?
                                    Launch a menu and shift the plugin folder to the one you need then load SU...

                                    I think you have the standard Plugin extensions for that.

                                    Fredo

                                    1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      addy
                                      last edited by

                                      Sorry for my poor Englsh ...
                                      Because I hope I can divide my work into some sessions: modeling,texturing, rendering ...etc
                                      I am thinking if we can make a "standard plugin" each time that contains only the plugins we need before we launch SU.
                                      Actually I am doing this by a batch file now (I know the interface is ugly):

                                      \Google SketchUp 8\Plugins
                                      \plugins_modeling
                                      \plugins_texturing
                                      \plugins_vray
                                      \plugins_test
                                      ------------------- .....etc
                                      for example, if I need to do a render work,
                                      I run the batch file to rename "plugins" to "plugins_00"
                                      and rename "plugins_vray" to "plugins"
                                      and call Sketchup.exe
                                      after the work, I leave SU, the folder will rename back.

                                      I know that is not a ruby issue, but I think maybe it's not a bad idea .. 😄

                                      Addy

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        matt.gordon320
                                        last edited by

                                        Hey guys, I could use some advice. I removed all my plugins from my folder because I'm reinstalling all of them from scratch (I'm having something create a bunch of help menus and can't pin down the problem). However, after I've removed all plugins from the plugins folder, I still get missing plugin warnings from 000_AdditionalPlugins - even though I don't use it or have it installed on my system. Any idea what's going on?

                                        1 Reply Last reply Reply Quote 0
                                        • thomthomT Offline
                                          thomthom
                                          last edited by

                                          I'm going to guess you're using Windows (Could you please fill out your profile with SU version and OS?) and that you're running into problems with Virtual Store.
                                          Have a look at this utility to help you locate files that's strayed into Virtual Store: http://sketchucation.com/forums/viewtopic.php?f=180&t=48399

                                          Thomas Thomassen — SketchUp Monkey & Coding addict
                                          List of my plugins and link to the CookieWare fund

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            matt.gordon320
                                            last edited by

                                            @thomthom said:

                                            I'm going to guess you're using Windows (Could you please fill out your profile with SU version and OS?) and that you're running into problems with Virtual Store.
                                            Have a look at this utility to help you locate files that's strayed into Virtual Store: http://sketchucation.com/forums/viewtopic.php?f=180&t=48399

                                            I will both update my info (apologies) and try that. Thank you sir! I'll get back to you.

                                            EDIT Ok, it looks like there's a whole bunch of plugins that I had removed saved to the Virtual Store. I'm guessing I need to purge that file, and then re-install the plugins I'm going to use?

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 2 / 8
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement