[Plugin] !AdditionalPluginFolders - v5.4a - 27 Sep 20
-
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
-
Something weird going on here. When I closed SU and opened it again, all of my toolbars were gone and SU was frozen and had to be closed with Task Manager!!
-
Turns out that AdditionalPluginFolders must be installed in C:\Users\Bob\AppData\Roaming\SketchUp\SketchUp 2017\SketchUp\Plugins.
Once I did that almost all of my Dropbox plugins installed.
For one, Vertex tools did not. -
@bob james said:
Turns out that AdditionalPluginFolders must be installed in C:\Users\Bob\AppData\Roaming\SketchUp\SketchUp 2017\SketchUp\Plugins.
Indeed, otherwise Sketchup would not launch AdditionalPluginFolders.
It is true that the multi-directory capability for plugins should be a native functionality of Sketchup. After all these years where it was requested, it is still not there however!
Fredo
-
@fredo6 said:
It is true that the multi-directory capability for plugins should be a native functionality of Sketchup. After all these years where it was requested, it is still not there however!Fredo
I'm not sure what this means. Should I put the plugins in both the normal and additional folders or just the additional folder?
Any thoughts about this?:
Something weird going on here. When I closed SU and opened it again, all of my toolbars were gone and SU was frozen and had to be closed with Task Manager!! -
@bob james said:
I'm not sure what this means. Should I put the plugins in both the normal and additional folders or just the additional folder?
NO. You put AdditionalPluginFolders only in the native Sketchup Plugin directory. This will allow AdditionalPluginFolders to be loaded by Sketchup, and then to load plugins from your Box directory, where you have your shared plugins.
@bob james said:
Any thoughts about this?:
Something weird going on here. When I closed SU and opened it again, all of my toolbars were gone and SU was frozen and had to be closed with Task Manager!!Do you still have it?
Not easy to troubleshoot remotely, but if you did not put AdditionalPluginFolders in the native Sketchup Plugins directory, that was normal.Fredo
-
@fredo6 said:
NO. You put AdditionalPluginFolders plugin only in the native Sketchup Plugin directory. This will allow AdditionalPluginFolders to be loaded by Sketchup, and then to load plugins from your Box directory, where you have your shared plugins.
Apparently I was not clear in my question. My AdditionalPluginFolder plugin is only in the native folder as I mentioned earlier. I was asking about all the rest of the plugins. It was unclear which you were advocating: Other plugins just in the Dropbox folder or in both the Dropbox folder and the native folder.
@fredo6 said:
Do you still have it?
If by "it" you mean the folder setup putting most of my ~1GB of plugins in E:\Dropbox\plugins and identifying that path in AdditionalPluginFolders, then yes. These plugins are the plugins that were originally all in the native plugin folder.
Because of the strangeness of the "working and then not working" problem and the difficulty of troubleshooting it, I've decided to abandon trying to use AdditionalPluginFolders and go ahead and have each computer with its own native plugin folder and go back to trying to keep them both up to date (probably by synchronizing the folders after changes).
Thank you for taking the time to help.
-
To summarize:
- AdditionalPluginFolders --> SU native Sketchup plugin directory
- plugins --> either in Box folder or in SU native Sketchup plugin directory but not both.
Note however that most plugins won't load twice, even if they are in the two directories.
Fredo
-
NEW RELEASE 5.2a - 16 May 20
Update for OSX, including Catalina; plugins are loaded by alphabetic orders
See Plugin Page of AdditionalPluginsFolder for dowloading.
See first post of this thread for AdditionPluginFolders.
Advertisement