[Plugin] !AdditionalPluginFolders - v5.4a - 27 Sep 20
-
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]. -
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.
-
@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
-
I have a problem at loading LibFredo6 with its tools in SU 15. Details in enclosed *.pdf
-
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...
-
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? -
@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", ""
-
erm,
this is what I get:Sketchup.write_default "LibFredo6", "Alternate_dir", ""
trueI 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. -
read_default
andwrite_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
-
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!! -
thanks a lot! hope it would be useful.
-
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:inrequire' 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:inblock (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:inblock 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:inload_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 -
You should try to remove the old file LibTraductor.rb in the plugin folder.
Fredo
-
@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 -
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
-
@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
-
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
-
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?
-
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
-
@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 foldersI get the correct list of files and folders
Advertisement