[Plugin Library] LibFredo6 - v14.7a - 09 Nov 24
-
By default, Windows limits the permissions to all folders/subfolders/files within the 'Program Files' folder tree - including SketchUp's.
Even if you are an admin you still get these permissions, preset.
They can be changed manually to FULL [provided you have admin-powers].
These changes should trickle down to all subfolders/files within the re-permissioned subfolder.
[On Pc, but the older MAC versions there's a optional 'toggle' setting to do that trickle-down]To avoid this, since v2014 the Plugins folder was relocated into the User's AppData folder tree.
Here you automatically have FULL rights.If you want to add/change ANY files in ANY other subfolders which are in ANY of the SketchUp 'Program Files' folder tree, then you'll need to fix their subfolder's permissions too [ typically these might be the Components, Materials or Styles subfolders ? ]
-
@unclex said:
@tig said:
@unclex said:
Error Loading File Fredo6_!LibFredo6.rb
Error: #<ArgumentError: invalid byte sequence in UTF-8>
C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6PluginDialogs.rb:689:in[]' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6PluginDialogs.rb:689:in
list_log_files'
C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6PluginDialogs.rb:708:inpurge' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_!LibFredo6.rb:224:in
after_startup'
C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_!LibFredo6.rb:184:instartup' C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_!LibFredo6.rb:299:in
module:LibFredo6'
C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_!LibFredo6.rb:31:in `<top (required)>'2014 Just Like This
2013 OK
Have you installed a fresh [latest] copy of this Lib ?
Perhaps from the PluginStore...
IF you have ill-advisedly copied an older version into v2014 it probably WILL break everything...
Authors have just spent the last three months working with Trimble to discreetly update their plugins to ensure that they also work in v2014, so please ensure you get the latest versions... and NEVER blindly copy things across - some of them will just NOT work !
Get the latest version of every Plugin and then winge if that one doesn't work...thanks for TIG
of course I install the newest fredo's Plugins, and before that I have cleaned the elder fredos
Perhaps because I have some old plugins using @ 2014
but, even I delete all the elder plugins, the libfredo6 still like that.....Hi, I see you solved the problem, but for the latest version your solution is not valid anymore, thus I share the requried files need to be replaced to overcome this problem.
[mod=:32e482lk]Edited to remove unauthorized files.[/mod:32e482lk]
-
@mimarilker said:
Hi, I see you solved the problem, but for the latest version your solution is not valid anymore, thus I share the requried files need to be replaced to overcome this problem.
Dear mimarilker,
Please do not publish files from my plugin, especially without explanation.
I don't think there is a problem of UTF8 encoding with the latest version of LibFredo6 which is published on SCF and EWH.
The errors comes from the presence of old files / subfolders.
Thanks
Fredo
[mod=:1nmf4338]Hi Fredo, I removed the files from his post.
Cheers,
Dave[/mod:1nmf4338]
-
It seems that 'LIBFREDO06_DATA_Dir' and 'SCF' folder always shows up under my instead of my users folder. is this expected behavior?
kinda annoying as I would expect drive to not fill up like that.
-
@josephkim626 said:
It seems that 'LIBFREDO06_DATA_Dir' and 'SCF' folder always shows up under my instead of my users folder. is this expected behavior?
kinda annoying as I would expect drive to not fill up like that.
This is due to the fact that your TEMP directory is not defined in your Windows Set up
Could you check in the Ruby console
ENV["TEMP"]
Fredo
-
Fredo - are you checking only TEMP? I found that it was more reliable to check multiple possibilities:
TEMP_PATH = File.expand_path( ENV['TMPDIR'] || ENV['TMP'] || ENV['TEMP'] ).freeze
However, since SU2014 there is a method in the SU API - so I'd use this:
if Sketchup.respond_to?(;temp_dir) Sketchup.temp_dir else File.expand_path(ENV['TMPDIR'] || ENV['TMP'] || ENV['TEMP']) end
-
I made a mistake. Actually, the problem is about App Data folder, that is
ENV["APPDATA"]
(orENV["LOCALAPPDATA"]
)"Fredo
-
hm... that's a bit worse. I guess one could fall back to making some Win32 API calls?
-
@thomthom said:
hm... that's a bit worse. I guess one could fall back to making some Win32 API calls?
I really think that Sketchup itself should take (and should have taken) of these problems of environment since long, instead of letting programmers rely of environment variables which may not be properly set in the native OS.
There are also many basic system information that should be part of the native Sketchup API. Having users install Win32 API, and programmers using it, is really a challenge, and not a stable avenue across the recent versions of Sketchup and its Ruby interpretor.
Fredo
-
I'm not so sure it belongs to the API. Any API design book will argue against adding too much stuff. These things are very system dependent and doesn't relate to the domain of SketchUp itself.
That being said - it's probably something that would be good to have in a repository of examples. Almost like a library - I say almost because a library would have the issue of dependencies. But using pattern which exist elsewhere - by having dependency/library managers that will pull packages into your extension project and install it to your extension namespace. Something that would encourage more sharing and collaboration among SU devs. Sure, we help each other on the forums - but we reinvent the wheel a lot. When we look at other dev communities there is a much better infrastructure of sharing code packages and development tools.
This kind of infrastructure would provide a foundation of creating reusable bundles that we can all build upon. That's where stuff like these system specific wrappers fit in.
APIs are minimal and much less flexible. Libraries are higher level abstractions that should be much more adaptable and easier to update and release.
Got some ideas that I want to try out. Stay tuned. -
Hi guys
new to all this but know my way round a pc OK
My issue is I cannot find the download link for
LibFred06 v6.9 or any version come to that...??
People are saying it is at the end of the first post but all I can see are the user manuals no download button like there was for Joint push pull which is now reminding me to get LibFred06 v6.9 each time I start it.. any suggestions??John
-
@in2 said:
Hi guys
new to all this but know my way round a pc OK
My issue is I cannot find the download link for
LibFred06 v6.9 or any version come to that...??
People are saying it is at the end of the first post but all I can see are the user manuals no download button like there was for Joint push pull which is now reminding me to get LibFred06 v6.9 each time I start it.. any suggestions??John
So you don't see the links in the first post?
-
Install the sketchucation store plugin from Resources at the top of the page and you'll be able to install and manage many plugins from there.
-
Thanks guys.
Have to say nicely hidden though about the smallest text on the page....
Dunn why I was expecting a big download buttonThanks again
John
-
@in2 said:
Thanks guys.
Have to say nicely hidden though about the smallest text on the page....All that large bold print is too small? Maybe Fredo will have to make it larger.
-
I keep getting the same Message: LibFredo6 will be updated at the next startup...
I have already changed the permissions and took ownership of the whole Sketchup folder. After that message the SketchUcation Toolset one appears. The extension and plugins manager won't open, but the store was updated properly. LibFredo seems to be up to date as well and I can open its windows. I am still on Sketchup 8 btw. -
Please. I installed the libfredo6 in 2016 sketchup correctly, I have long been trying to use it, but I can not open tools, how can you open?, Is there tutorial ?.
-
@cxerach said:
Please. I installed the libfredo6 in 2016 sketchup correctly, I have long been trying to use it, but I can not open tools, how can you open?, Is there tutorial ?.
What tools are you trying open? Please be specific. LibFredo6 is a package of support files that many of Fredo6's tools are dependent upon but it isn't useful by itself.
-
I reinstalled the whole set after manually removing them from the plugins folder, same message pops up, but now the tools do not work, non of the windows open. What am I doing wrong?
-
thx
Advertisement