[Plugin Library] LibFredo6 - v14.7a - 09 Nov 24
-
User-names and folder paths with single quotes ['] are allowed e.g. "Rich_O'Brien" [but still ill-advised!] - BUT all double quotes ["] are prohibited on PC and MAC...
As well as " - other prohibited path-name characters are /:|?Β¬* and an initial <space>, several others [like % and @] are best avoided...The ' did cause some SUp 'finding Plugins folder' issues, but I think they might be fixed...
BUT any Ruby or JS string parsing should use "" around text to avoid the ' failures ?
-
@sahli85
Could you test the attached fix to see if this fixes the problem of your username with a quote.Just drop the attached file in the folder Fredo6_!LibFredo6
Lib6Core.rbThanks
Fredo
-
No my Dear, your last release isn't 6.4a!!!! There are a mistake.
Take a look on your lib files and particularly the init file (you can read 6.3 and this cause error in Fredo6 updater), please!!! -
I'm sure Fredo will comment...
But in the files in the Lib folder, for my
v6.4a
there is no reference to6.3
?
Also there is no 'ini
' file ??
What did you mean by that ?The RB file in the Lib folder which sets the 'version' is:
'LibFredo6.plugin'
and that contains:
VERSION = 6.4a
The only place '
6.3
' is mentioned at all is in the version-checker in the loader RB itself [Fredo6_!LibFredo6.rb
] - which says:
"...UI.messagebox "You must install LibFredo6 version **6.3 or higher** to run #{f6__base}"..."
- and
6.4a
is >6.3
?
Please be more specific with the nature of this report - no one else can see your issue...
- and
-
Yes TIG,
When you download the LibFredo6 here: http://sketchucation.com/plugin/903-libfredo6
and you read the Fredo6_!LibFredo6.rb, you read:(Name : Fredo6_!LibFredo6.rb
Original Date : 20 Aug 2008 - version 3.0
Type : Ruby Library
Description : Top loading module for all Library utilities of Fredo6's scripts
Usage : See Tutorial and Quick Ref Card in PDF format)
and
at the end:(UI.messagebox "You must install LibFredo6 version 6.3 or higher to run #{f6__base}")
And in my SketchUp 2014, the Fredo6_updater tell me always to download the last release 6.4.
I make it with SU internal updater but always when I load SU, I Have always the 6.3a release: NO CHANGE!Then I remove the script from my APPDATA folder and I download directly the rbz file on my desktop and I make the install with SU extension selector. BUT ALWAYS 6.3a release, NO CHANGE and always your addon that tell me to update the LibFredo6 plugin!!!!!
-
The best is to check the About box for LibFredo6. You probably have 6.4a installed.Tell me if otherwise and if you have problems with the plugins (if so the best is to show a snapshot of your plugin directory)
As TIG said, the message includes reference to 6.3 and higher, but this is normal.
Fredo
-
I need help.
I successfully installed 6.4a LibFredo6
but the tools are not displayed on the toolbar, so how to use plugins in LibFredo6, how do these tools to display and use.
thank you! -
Have you restarted SketchUp ?
What other Fredo tools are installed ?
Are there any errors as SketchUp starts, or in the Ruby Console ?
What is your Windows User-name ?
Does it contain an accented character ?Please copy/paste this text into the Ruby Console + <enter>
Sketchup.find_support_file('Plugins')
The returned path is to your Plugins folder, and if >v2013 it will show your user-name in that path... e.g.
C:/Users/**TIG**/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins
Where '**TIG**
' is your user-name... -
Hi, I
m new here so I
d like to know if these plug-ins work with any problem in SU 2015 on Mac because I don't understand how to install them,thanks in advance and your plug-ins are pretty cool ! -
Learn how to install Plugins...
Since v8 you download an RBZ and install it using the Preferences > Extensions > Install... button
This is basic SketchUp knowhow... here's a tutorial http://sketchucation.com/resources/tutorials/beginner/108-installing-sketchup-plugins
It applies to v2015 although it is not so new !Almost all Plugins' RBZs hosted here... should work on all SketchUp versions and OSs... if there is a pre v2014 or OS issue it is usually highlighted in the Plugins notes...
Download your Plugins from the SketchUcation PluginStore - linked above - or get and install the SketchUcation PluginStore Toolset - also linked above - which also lets you browse and AutoInstall directly from within SketchUp itself, with no intermediate downloading steps...
You have somewhat obscurely posted in a 'Lib' thread...
There are a few Plugins that need a supporting 'Lib' installing as well...
The main ones being Fredo's and thomthom's - read the Plugin's thread about any 'helpers' it also needs... -
Thank you so much TIG. Now it works pretty fine! A last question. I used to work with "Multiple Push Pull " plug-in. I don't know if it is possible to find it here for SU 2015 for Mac because I don't find it nowhere here. Thanks in advance !
-
JointPushPull ?
http://sketchucation.com/pluginstore?pln=JointPushPull -
Actually "Multiple Push Pull " it's a plug-in which extrude at the same time more than 1 faces in one shoot. I`ve already loaded this " Joint push pull" but it doesn't extrude like the another one, does it?. I have the plug-in but it has the .rb extension. So I don't know how to load it on a Mac in SU 2015, any help about it would be pretty useful, thanks in advance !
-
To manually install a lone .RB file you can do the following...
In the Ruby console type:Sketchup.find_support_file('Plugins')
It returns the path to your Plugins folder.
Use the path to open that folder, and add a copy of the lone .RB file into that folder...
On older SketchUp versions you might need to ensure that the folder [and its contents] has FULL read/write permissions... BUT in v2015 that should already be set correctly.
Restart SketchUp to load the new .RB...Alternatively make a ZIP file containing the .RB and use the SketchUcation submenu 'Archive Installer' which works on ZIPs as well as RBZs: no need to restart as it is auto-installed AND loaded.
OR change the file ending from .ZIP to .RBZ and than use the native Preferences > Extensions > Install... button [or of course the SketchUcation equivalent auto-installer]: again no need to restart. -
I cannot get LibFredo6 to install without receiving errors when opening SU. I've tried System Preferences/Install Extensions , SU Plugin Store and Extension Warehouse. Extension Warehouse shows a big red install button, but the button is not active!
Error Loading File Fredo6_!LibFredo6.rb
Error: #<ArgumentError: invalid byte sequence in UTF-8>
C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:702:inmatch' C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:702:in
block (2 levels) in load_from_config'
C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:701:ineach' C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:701:in
block in load_from_config'
C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:700:inforeach' C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:700:in
load_from_config'
C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:1070:inblock in load_all_plugins' C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:1070:in
each'
C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:1070:inload_all_plugins' C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:772:in
load_from_config'
C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6.rb:188:instartup' C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6.rb:335:in
<module:LibFredo6>'
C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6.rb:34:in `<top (required)>' -
Do you have the very latest version of LibFredo installed ?
Do you only have it loading from one Plugins folder ??The file:
C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/LibFredo6.plugin
ought to be encoded as "UTF-8 without BOM".
Mine is, but that error report suggests that yours is not
Then the regular-expression match in line#702 of the scriptLib6Core.rb
is failing because of that.If you have Notepad++.exe you could open that .plugins file, then change its encoding to the correct type and save it, then restart SketchUp to see if that's it...
If not then perhaps a file was somehow corrupted...
I've attached a copies of myLibFredo6.plugins
file ANDLib6Core.rb
- extract them from the ZIP and replace the old ones - see if that helps after a SketchUp restart...
-
Do you have the very latest version of LibFredo installed ?
Yes
Do you only have it loading from one Plugins folder ??
I have no additional plugin foldersBefore installing the files you provided, I compared them side by side with those already installed and they appear identical to what I had already installed.
I saw nothing in LibFredo6.plugin that mentions "UTF-8 without BOM", however the Load Error message says, " invalid byte sequence in UTF-8>" which, obviously, does not add "without BOM". Significant?Nevertheless, I put the files you provided into:
C:\Users\jamesb\AppData\Roaming\SketchUp\SketchUp 2015\SketchUp\Plugins\Fredo6_!LibFredo6Upon startup of SU I received the same load errors as before.
Since Lib6Core does not have line numbers I could not I could not find lines identified in Load Errors.
Error Loading File Fredo6_!LibFredo6.rb
Error: #<ArgumentError: invalid byte sequence in UTF-8>
C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:702:inmatch' C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:702:in
block (2 levels) in load_from_config'
C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:701:ineach' C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:701:in
block in load_from_config'
C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:700:inforeach' C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:700:in
load_from_config'
C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:1070:inblock in load_all_plugins' C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:1070:in
each'
C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:1070:inload_all_plugins' C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:772:in
load_from_config'
C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6.rb:188:instartup' C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6.rb:335:in
module:LibFredo6'
C:/Users/jamesb/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6.rb:34:in `<top (required)>' -
Bob, just to be sure, you say you have no other plugin folders but you did have a dropbox one and have been setting up a Cloud one. They may well have an errant copy of LibFredo hiding in them.
Go to the Sketchucation Plugins Manager, the blue button on the toolbar, and check the dropdown menu at the top. Are there any other folder locations showing there?
-
@box said:
Bob, just to be sure, you say you have no other plugin folders but you did have a dropbox one and have been setting up a Cloud one. They may well have an errant copy of LibFredo hiding in them.
Go to the Sketchucation Plugins Manager, the blue button on the toolbar, and check the dropdown menu at the top. Are there any other folder locations showing there?
No
Well, actually, yes. Spacemouse (3Dconnexion) and Thea Render files are there in C:\ProgramData\SketchUp\SketchUp 2015\SketchUp\Plugins -
I suspect that some old files somewhere are interfering with things, because they are wrongly encoded.***
Can you manually remove the 'loader RB' [
Fredo6_!LibFredo6.rb
] and the entire LibFredo subfolder and its contents [Fredo6_!LibFredo6
] from your Plugins folder.
If you have a redundant copy of the oldLibTraductor.rb
in your Plugins folder, then also remove that [it now comes installed within the main Lib subfolder].
All other Fredo-plugins files and subfolders should be left alone...Next, reinstall the latest version of 'LibFredo' from the PluginStore AutoInstall button - to ensure you have the full set of the current files [and nothing more!].
Restart SketchUp to complete all of the changes.
***The encoding 'UTF-8 without BOM' refers to how the file itself is encoded, there is nothing in the typed code's text itself.
You can view/change a file's encoding using Notepad++exe, that app also lets you show line numbers too etc...
Older Ruby versions were forgiving of an RB file's encoding, but the newest Ruby2 chokes on incorrectly encoded scripts - hence I suspect the 'UTF-8' error messages...
Advertisement