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

      The newest version of the SketchUcation PluginStore tool [v2.6.2 on limited beta-test release] has that already built in.
      When you save with AutoInstall it spots your Additional Plugins folder[s] and asks if you want to install into there [it has done so for a long while].
      Now when Updating Plugins it looks to see where each Plugin that is being updated is currently installed and it installs the Plugin into the appropriate folder - the Updater's closing dialog shows the installation location[s].

      TIG

      1 Reply Last reply Reply Quote 0
      • C Offline
        CaptainCrowbar
        last edited by

        I found a bug in the current version of AdditionalPluginFolders: On line 281 you call LibFredo6.log "True load: #{basename}" without checking whether LibFredo6 is installed. If it isn't you get an error when SketchUp starts up (if a file of the relevant type is being loaded). This line needs to be enclosed in an if defined?(LibFredo6.log) check.

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

          @captaincrowbar said:

          I found a bug in the current version of AdditionalPluginFolders: On line 281 you call LibFredo6.log "True load: #{basename}" without checking whether LibFredo6 is installed. If it isn't you get an error when SketchUp starts up (if a file of the relevant type is being loaded). This line needs to be enclosed in an if defined?(LibFredo6.log) check.

          Well spotted. I will fix and republish.

          Fredo

          1 Reply Last reply Reply Quote 0
          • M Offline
            MieczyslawASompolski
            last edited by

            I have a problem at loading LibFredo6 with its tools in SU 15. Details in enclosed *.pdf


            Erors on loading LibFredo6.pdf

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

              Looks like you have NOT updated the version of the Lib, or perhaps some of the Extensions that use it.
              Can I suggest that you download the latest versions of all of Fredo's RBZs from the PluginStore and install them.

              Or alternatively use the SketchUcation PluginStore tool to AutoInstall them.

              Then restart SketchUp to complete the changes.

              See if the error remains...

              TIG

              1 Reply Last reply Reply Quote 0
              • F Offline
                flyashy
                last edited by

                Hello,
                I seem to have reached an impossible situation.
                Recently installed 2017 and added additional plugins folder plugin.
                After I gave a path to my old directory of 2016 plugins, SU17 loaded a few plugins and then crashed.
                I guess it didn't like some plugin in there.
                So I uninstalled Additional Plugins folder plugin and tried to reinstall it, it still refers to the path I had given.
                I have in fact deleted the plugin files but it still refers to the same path and crashes SU17 on startup.
                So I can't even give a new path to start afresh.
                While reinstalling the plugin it doesn't wit for me to prescribe a path but starts to load from the old path and crashes SU17.
                Where would it save the path if the files have been deleted; and how can I reset the plugin?

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

                  @flyashy said:

                  Where would it save the path if the files have been deleted; and how can I reset the plugin?

                  To delete the alternate directory, you can type a command in the Ruby Console*, but again, this assumes you open Sketchup first.

                  So I am afraid you have to disable AdditionalPluginFolders, then start a clean version of Sketchup and then sort out the reason of your crash.

                  Fredo

                  * Sketchup.write_default "LibFredo6", "Alternate_dir", ""

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    flyashy
                    last edited by

                    erm,
                    this is what I get:

                    Sketchup.write_default "LibFredo6", "Alternate_dir", ""
                    true

                    I also tried searching the registry for the key so I can manually delete it but can't find it.
                    ๐Ÿ˜ž

                    PS.
                    I meant to say that I didn't find the entry with the path.
                    I found lots of other entries, 2 for each version of SU.

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

                      @flyashy

                      read_default and write_default manipulate the Sketchup registry, which itself probably use the Windows Registry (and Plist on Mac).
                      So the HKEY of the Windows registry might be different.
                      In addition, the Sketchup registry is assigned to each version of Sketchup.

                      Fredo

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        flyashy
                        last edited by

                        Solved it without having to edit the registry.
                        Checked the log & figured that SU crashed while loading an outdated plugin called 'recalllasttool'.
                        Got rid of it & everything works.
                        Cheers!!

                        1 Reply Last reply Reply Quote 0
                        • L Offline
                          lilywater
                          last edited by

                          thanks a lot! hope it would be useful.

                          1 Reply Last reply Reply Quote 0
                          • E Offline
                            ervau
                            last edited by

                            Hello!

                            Additional Folders is one of my favorite Plugins and so necessary to keep my User-Profile clean and small (without all the Plugins they're normally stored in...).
                            So I've updated to the newest version 5.0a --- and get errors:

                            Fehler beim Laden der Datei C:/Progz/SketchUp/Plugins/LibTraductor.rb
                            Error: C:/Users/volz/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/!AdditionalPluginFolders.rb:314:in require' C:/Users/volz/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/!AdditionalPluginFolders.rb:314:in load_single_file'
                            C:/Users/volz/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/!AdditionalPluginFolders.rb:255:in block (2 levels) in load_additional_folders' C:/Users/volz/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/!AdditionalPluginFolders.rb:255:in each'
                            C:/Users/volz/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/!AdditionalPluginFolders.rb:255:in block in load_additional_folders' C:/Users/volz/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/!AdditionalPluginFolders.rb:253:in each'
                            C:/Users/volz/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/!AdditionalPluginFolders.rb:253:in load_additional_folders' C:/Users/volz/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/!AdditionalPluginFolders.rb:153:in startup'
                            C:/Users/volz/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/!AdditionalPluginFolders.rb:617:in <module:AdditionalPluginFolders6>' C:/Users/volz/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/!AdditionalPluginFolders.rb:29:in <top (required)>'
                            Fehler beim Laden der Datei Win32API.so
                            Could not find included file 'Win32API.so'

                            ("C:/Progz/SketchUp/Plugins/" is my additional folder.)

                            Where's the fix?
                            Thank you so much for a solution!

                            Greetings from Bavaria -
                            ervau

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

                              You should try to remove the old file LibTraductor.rb in the plugin folder.

                              Fredo

                              1 Reply Last reply Reply Quote 0
                              • E Offline
                                ervau
                                last edited by

                                @fredo6 said:

                                You should try to remove the old file LibTraductor.rb in the plugin folder.

                                Fredo

                                Hmmmm - just deleted the file LibTraductor.rb.
                                Seems not getting better without it, why should it ๐Ÿ˜‰?

                                Do I have to install a newer one (as you say "the old file")? - Where do I get it from (already googled and looked up in LibFredo6)?

                                Thank you!
                                Robert

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

                                  You don't need LibTraductor.rb with the recent versions of my plugin or if you have LibFredo6 installed.

                                  You error message was related to a fault loading this file. So, if the file is no longer there, you should at least get another error....or no error.

                                  Fredo

                                  1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    ervau
                                    last edited by

                                    @fredo6 said:

                                    ... you should at least get another error...

                                    You're right: The error has changed (and shortend):

                                    @unknownuser said:

                                    Fehler beim Laden der Datei !AdditionalPluginFolders.rb
                                    Error: #<NoMethodError: undefined method +' for nil:NilClass> C:/Users/volz/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/!AdditionalPluginFolders.rb:137:in register_execute'
                                    C:/Users/volz/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/!AdditionalPluginFolders.rb:618:in <module:AdditionalPluginFolders6>' C:/Users/volz/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/!AdditionalPluginFolders.rb:29:in <top (required)>'

                                    Any idea what's missing?
                                    So many thanks for your support!

                                    ervau - Robert

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

                                      Robert,

                                      This error is strange and should not happen in theory.

                                      So I don't know what's wrong. May be you can reinstall AdditionalPluginsFolder from the Sketchucation version and try again, after cleaning up possible old versions.

                                      Fredo

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

                                        In order to use Dropbox as my plugins folder for all of my computers, I opened "Additonal Plugins Folder" and added a folder on Dropbox which is on local drive E:.

                                        I then moved my plugins folder from

                                        C:\Users\Bob\AppData\Roaming\SketchUp\SketchUp 2017\SketchUp\Plugins

                                        to

                                        E:\Dropbox\08 SketchUp\plugins

                                        When I re-opened SU there were no plugins..

                                        Should I have left the basic plugins (advancedcameratools, dynamiccomponent, etc) in their original location? Or is there something else I'm doing (or not doing) that's wrong?

                                        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
                                        • fredo6F Offline
                                          fredo6
                                          last edited by

                                          Bob,

                                          AdditionalPluginFolders 'add' directory to the loading path. The original plugin directory is still part of the plugin path, so you can leave the SU plugins there if you wish (this is advised because in general, they are dependent on the Sketchup version).

                                          I guess that if you have NO plugins loading may be because the directory path is not correct, or the drive is not accessible. In the Ruby console, try to type Dir["E:/Dropbox/08 SketchUp/plugins/*.*"] and see if you get the correct list of files and folders.

                                          Fredo

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

                                            @fredo6 said:

                                            AdditionalPluginFolders 'add' directory to the loading path. The original plugin directory is still part of the plugin path, so you can leave the SU plugins there if you wish (this is advised because in general, they are dependent on the Sketchup version)

                                            I was hoping to have a single source of plugins for my networked desktop and laptop
                                            Also, I thought you weren't supposed to have a plugin in two places (normal plus additional)

                                            @fredo6 said:

                                            I guess that if you have NO plugins loading may be because the directory path is not correct, or the drive is not accessible. In the Ruby console, try to type Dir["E:/Dropbox/08 SketchUp/plugins/*.*"] and see if you get the correct list of files and folders

                                            I get the correct list of files and folders

                                            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
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 7 / 8
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement