[Plugin Library] LibFredo6 - v14.7a - 09 Nov 24
-
Fredo will reply definitively, in due course...
However, I suspect that it is the user-name which is causing the issues...
"Fırat Aneyzi"
I guess it is Turkish - where the non-dotted "ı", as opposed to the final dotted "i", is used for the "uh" sound, instead of the "ee" sound...
But using proper UTF8 encoding [as Fredo does?] should trap for such things [we know that older SketchUp versions failed because of this non-standard characters, but the newer version are much more robust !]Fredo ???
-
I don't think this is the username, except for old versions of SU.
Sometimes, Sketchup cannot read the rbs/rbe file. This seems to come from an installation done without adminsitrator rights.
In general, a reinstallation of SU would solve the problem.Fredo
-
Thanks Fredo.
Perhaps the odd-characters in the user-name are a "red-herring".For the avoidance of doubt...
On a PC the only correct way to install any application like SketchUp...
Close that version of SketchUp, if necessary.***
You must then find the SketchUp installer's exe file - it's usually in your "Downloads" folder.
Select its icon.
Right-click > Context-menu >
"Run as administrator"
When prompted choose "Repair".
Let it complete the installation.
When you restart SketchUp it should work properly.***If it's a new installation [e.g. you have previously uninstalled it, or it's just brand-new] the offered installer's option will just be "Install"...
-
NEW RELEASE: LibFredo6 v8.0c - 10 Dec 17
LibFredo6 8.0c is a maintenance release dedicated to the integration of VRay 3.6 in Animator.
See plugin home page of LibFredo6 for Download of LibFredo6.
Main Post of the LibFredo6 thread
Fredo
-
thankx
-
NEW RELEASE: LibFredo6 v8.1a - 23 Feb 18
LibFredo6 8.1a is a maintenance release dedicated to bug fixing and evolutions in other plugins
See plugin home page of LibFredo6 for Download of LibFredo6.
Main Post of the LibFredo6 thread
Fredo
-
NEW RELEASE: LibFredo6 v8.1b - 25 Feb 18
LibFredo6 8.1b is a maintenance release dedicated to bug fixing and evolutions in other plugins. Please use 8.1b or above on Mac, as rhere was a problem with toolbar icons in Vector format on Mac with v8.1a.
See plugin home page of LibFredo6 for Download of LibFredo6.
Main Post of the LibFredo6 thread
Fredo
-
2018? why doesn't this work? Is the latest version even available for 2018?
-
@chillbilla said:
2018? why doesn't this work? Is the latest version even available for 2018?
What exactly is your problem?
Fredo
-
NEW RELEASE: LibFredo6 v8.1c - 27 Feb 18
LibFredo6 8.1c is a maintenance release dedicated to bug fixing for JointPushPull, Curviloft and FredoTools. Please also upgrade to the latest versions of these plugins.
See plugin home page of LibFredo6 for Download of LibFredo6.
Main Post of the LibFredo6 thread
Fredo
-
NEW RELEASE: LibFredo6 v8.1d - 04 Mar 18
LibFredo6 8.1d is a maintenance release dedicated to tentatively solving occasional bugsplats in Curviloft and FredoTools. Please also upgrade to the latest version if you have the case.
See plugin home page of LibFredo6 for Download of LibFredo6.
Main Post of the LibFredo6 thread
Fredo
-
Hello Fredo.
When i installed fredo6 8.1 for SU2017, it has failed. How can i fix this problem?
Error Loading File Fredo6_!LibFredo6.rb
Error: #<ArgumentError: invalid byte sequence in UTF-8>
c:/users/ali yönder/appdata/roaming/sketchup/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:43:ingsub' c:/users/ali yönder/appdata/roaming/sketchup/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:43:in
get_dir_from_ENV'
c:/users/ali yönder/appdata/roaming/sketchup/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:405:indir_appdata' c:/users/ali yönder/appdata/roaming/sketchup/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:204:in
startup'
C:/Users/Ali Yönder/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/Fredo6_!LibFredo6.rb:63:inprocess' C:/Users/Ali Yönder/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/Fredo6_!LibFredo6.rb:70:in
module:LibFredo6_Loader'
C:/Users/Ali Yönder/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/Fredo6_!LibFredo6.rb:28:in<top (required)>' Error Loading File Fredo6_FredoTools.rb Error: #<TypeError: can't convert nil into an exact number> C:/Users/Ali Yönder/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/Fredo6_!LibFredo6.rb:79:in
-'
C:/Users/Ali Yönder/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/Fredo6_!LibFredo6.rb:79:in<top (required)>' C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:54:in
require'
C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:54:inrequire' C:/Users/Ali Yönder/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/Fredo6_FredoTools.rb:47:in
module:Fredo6'
C:/Users/Ali Yönder/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/Fredo6_FredoTools.rb:26:in<top (required)>' Error Loading File Fredo6_ToolsOnSurface.rb Error: #<TypeError: can't convert nil into an exact number> C:/Users/Ali Yönder/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/Fredo6_!LibFredo6.rb:79:in
-'
C:/Users/Ali Yönder/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/Fredo6_!LibFredo6.rb:79:in<top (required)>' C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:54:in
require'
C:/Program Files/SketchUp/SketchUp 2017/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:54:inrequire' C:/Users/Ali Yönder/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/Fredo6_ToolsOnSurface.rb:47:in
module:Fredo6'
C:/Users/Ali Yönder/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/Fredo6_ToolsOnSurface.rb:26:in `<top (required)>'Thank you
-
Ce ruby Libfredo6 v8.1d n’est pas marché sur sketchup pro 2016 (win10) dans l’ordinateur portable (surface pro5). Comment je le fixe ? en fait, le ‘***’ est la différente langue (c’est la langue coréenne). C’est la raison de montrer ce bug ?
Error Loading File Fredo6_!LibFredo6.rb
Error: #<ArgumentError: invalid byte sequence in UTF-8>
c:/users//appdata/roaming/sketchup/sketchup 2016/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:43:ingsub' c:/users/***/appdata/roaming/sketchup/sketchup 2016/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:43:in
get_dir_from_ENV'
c:/users//appdata/roaming/sketchup/sketchup 2016/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:405:indir_appdata' c:/users/***/appdata/roaming/sketchup/sketchup 2016/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:204:in
startup'
C:/Users//AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:63:inprocess' C:/Users/***/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:70:in
module:LibFredo6_Loader'
C:/Users//AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:28:in `<top (required)>' -
@ali_yonder said:
Error Loading File Fredo6_!LibFredo6.rb
Error: #<ArgumentError: invalid byte sequence in UTF-8>
c:/users/ali yönder/appdata/...I suspect it's to do with your Windows user name [ali yönder] containing some invalid character [likely the 'ö'].
Ruby must be given UTF-8 encoded text strings.
I'm sure that Fredo's code will attempt to force every string's encoding into an acceptable format.
Clearly it's failing in your case...
What is your normal system encoding ?
Perhaps Fredo can comment...The other similar post's issue is again almost certainly because of the 'langue coréenne' user-name encoding...
-
This is related to the encoding of ENV["xxx"] variables, where LibFredo6 does try to convert them to UTF-8.
Could you open the Ruby console and type sequentially
a = ENV["LOCALAPPDATA"]
b = a.force_encoding("UTF-8")
b.encoding
(should return UTF-8)
Can you also type
c = LibFredo6.get_dir_from_ENV("LOCALAPPDATA")
c.encoding
(should return UTF-8)
Thanks to report if there are errors.
Fredo
-
Thanx for reply TIG & Fredo
I am from Turkey nd there are 'ı,ü,ö' letters in my sytstem.
I've written
- a = ENV["LOCALAPPDATA"]
- b = a.force_encoding("UTF-8")
- b.encoding
to ruby conlose.
but it has failed again.
a = ENV["LOCALAPPDATA"]
b = a.force_encoding("UTF-8")
Error: #<RuntimeError: can't modify frozen String>
<main>:inforce_encoding' <main>:in
<main>'
SketchUp:1:in `eval'b.encoding
Error: #<NoMethodError: undefined methodencoding' for nil:NilClass> <main>:in
<main>'
SketchUp:1:in `eval'then, i ve written
- c = LibFredo6.get_dir_from_ENV("LOCALAPPDATA")
- c.encoding
to ruby console, but it has failed again
c = LibFredo6.get_dir_from_ENV("LOCALAPPDATA")
Error: #<ArgumentError: invalid byte sequence in UTF-8>
c:/users/ali yönder/appdata/roaming/sketchup/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:43:ingsub' c:/users/ali yönder/appdata/roaming/sketchup/sketchup 2017/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:43:in
get_dir_from_ENV'
<main>:in<main>' SketchUp:1:in
eval'c.encoding
Error: #<NoMethodError: undefined methodencoding' for nil:NilClass> <main>:in
<main>'
SketchUp:1:in `eval'Do u have any suggestion?
thanx all
-
Try this slightly different way, which sidesteps reading in the frozen system string...
puts a = ENV["LOCALAPPDATA"]**+""** puts b.encoding puts b = a.force_encoding("UTF-8") puts b.encoding
Fredo needs to fix his coding, once we get to the bottom of this issue...
-
Apparently ENV["LOCALAPPDATA"] is not defined.
Could you type in the Ruby console
ENV["LOCALAPPDATA"].inspect
@TIG: indeed, in LibFredo6 code, I duplicate the original string before forcing encoding. Just forgot this detail here.
Fredo
-
So whenever any of us intend to use a 'frozen reference' we need to use something like:
a = ENV["LOCALAPPDATA"]+""
to make a copy of it to work on -
Thanx for replies again
i've written ENV["LOCALAPPDATA"].inspect
ENV["LOCALAPPDATA"].inspect
"C:\Users\Ali Y\xF6nder\AppData\Local"
Advertisement