sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin Library] LibFredo6 - v15.8e - 15 Feb 26

    已排程 已置頂 已鎖定 已移動 Plugins
    2.2k 貼文 573 Posters 4.2m 瀏覽 575 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • fredo6F 離線
      fredo6
      最後由 編輯

      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

      1 條回覆 最後回覆 回覆 引用 0
      • A 離線
        ali_yonder
        最後由 編輯

        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:in gsub' 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:in dir_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:in process' 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:in require' 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:in require' 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 😄

        1 條回覆 最後回覆 回覆 引用 0
        • D 離線
          dci02081
          最後由 編輯

          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:in gsub' 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:in dir_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:in process' 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)>'

          1 條回覆 最後回覆 回覆 引用 0
          • TIGT 離線
            TIG Moderator
            最後由 編輯

            @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...

            TIG

            1 條回覆 最後回覆 回覆 引用 0
            • fredo6F 離線
              fredo6
              最後由 編輯

              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

              1 條回覆 最後回覆 回覆 引用 0
              • A 離線
                ali_yonder
                最後由 編輯

                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>:in force_encoding' <main>:in <main>'
                SketchUp:1:in `eval'

                b.encoding
                Error: #<NoMethodError: undefined method encoding' 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:in gsub' 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 method encoding' for nil:NilClass> <main>:in <main>'
                SketchUp:1:in `eval'

                Do u have any suggestion?

                thanx all 😄

                1 條回覆 最後回覆 回覆 引用 0
                • TIGT 離線
                  TIG Moderator
                  最後由 編輯

                  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...

                  TIG

                  1 條回覆 最後回覆 回覆 引用 0
                  • fredo6F 離線
                    fredo6
                    最後由 編輯

                    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

                    1 條回覆 最後回覆 回覆 引用 0
                    • TIGT 離線
                      TIG Moderator
                      最後由 編輯

                      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 😉

                      TIG

                      1 條回覆 最後回覆 回覆 引用 0
                      • A 離線
                        ali_yonder
                        最後由 編輯

                        Thanx for replies again 😄

                        i've written ENV["LOCALAPPDATA"].inspect

                        ENV["LOCALAPPDATA"].inspect
                        "C:\Users\Ali Y\xF6nder\AppData\Local"

                        1 條回覆 最後回覆 回覆 引用 0
                        • fredo6F 離線
                          fredo6
                          最後由 編輯

                          @ali_yonder said:

                          Thanx for replies again 😄

                          i've written ENV["LOCALAPPDATA"].inspect

                          ENV["LOCALAPPDATA"].inspect
                          "C:\Users\Ali Y\xF6nder\AppData\Local"

                          Many thanks

                          Then can you type the commands suggested by TIG

                          puts a = ENV["LOCALAPPDATA"]+"" puts a.encoding puts b = a.force_encoding("UTF-8") puts b.encoding

                          and add this one

                          puts a = ENV["LOCALAPPDATA"].encode("UTF-8")

                          Thanks

                          Fredo

                          IMPORTANT: your profile says you use Sketchup 8. Is that correct?

                          1 條回覆 最後回覆 回覆 引用 0
                          • A 離線
                            ali_yonder
                            最後由 編輯

                            Thanx fredo. I use sketchup 2017. i have to update my profile.

                            i've written these

                            puts a = ENV["LOCALAPPDATA"]+""
                            puts a.encoding
                            puts b = a.force_encoding("UTF-8")
                            puts b.encoding

                            puts a = ENV["LOCALAPPDATA"].encode("UTF-8")

                            and ruby said;

                            puts a = ENV["LOCALAPPDATA"]+""

                            puts a.encoding
                            Windows-1254

                            puts b = a.force_encoding("UTF-8")

                            puts b.encoding
                            UTF-8

                            puts a = ENV["LOCALAPPDATA"].encode("UTF-8")
                            C:\Users\Ali Yönder\AppData\Local

                            but still my problem is not solved. maybe i have to format my pc. i do not know.

                            1 條回覆 最後回覆 回覆 引用 0
                            • fredo6F 離線
                              fredo6
                              最後由 編輯

                              Ali,

                              You need to type the commands one by one.

                              Apparently the last one seems to work.

                              Could send me a private message with an email address where I can send you a modified version of LibFredo6.

                              To be sure, can you type separately the 3 commands below:

                              a = ENV["LOCALAPPDATA"].encode("UTF-8")

                              a.encoding

                              a.gsub(/\\/, "/")

                              The last one should return the path with \ replaced by /

                              Thanks

                              Fredo

                              1 條回覆 最後回覆 回覆 引用 0
                              • fredo6F 離線
                                fredo6
                                最後由 編輯

                                The problem should be resolved with the new version 8.1e.

                                Many thanks to Ali

                                Fredo

                                1 條回覆 最後回覆 回覆 引用 0
                                • fredo6F 離線
                                  fredo6
                                  最後由 編輯

                                  NEW RELEASE: LibFredo6 v8.1e - 13 Mar 18

                                  LibFredo6 8.1e is a maintenance release dedicated to solving (again) occasional issue on Windows when the username contains non-ascii characters.


                                  See plugin home page of LibFredo6 for Download of LibFredo6.

                                  Main Post of the LibFredo6 thread

                                  Fredo

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • M 離線
                                    mgfranz
                                    最後由 編輯

                                    After downloading and installing the latest version, I am getting these errors;

                                    Error Loading File C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6/top_LibFredo6.rbe
                                    Failed to read RBE/RBS file.
                                    Error Loading File Fredo6_!LibFredo6.rb
                                    Error: #<NameError: uninitialized constant LibFredo6_Loader::LibFredo6>
                                    C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:64:in process' C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:71:in module:LibFredo6_Loader'
                                    C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:28:in <top (required)>' Error Loading File Fredo6_RoundCorner.rb Error: #<TypeError: can't convert nil into an exact number> C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:80:in -'
                                    C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:80:in <top (required)>' C:/Program Files/SketchUp/SketchUp 2016/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require'
                                    C:/Program Files/SketchUp/SketchUp 2016/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require' C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_RoundCorner.rb:47:in module:Fredo6'
                                    C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_RoundCorner.rb:26:in `<top (required)>'

                                    I have full permissions on all folders in my Sketchup Plugins folder.

                                    "If you like what you do, it will never be work..."
                                    In memory of Sam Maloof, 1916-2009

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • TIGT 離線
                                      TIG Moderator
                                      最後由 編輯

                                      After reinstalling the Lib have you restarted SketchUp 2016 ?

                                      TIG

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • M 離線
                                        mgfranz
                                        最後由 編輯

                                        @tig said:

                                        After reinstalling the Lib have you restarted SketchUp 2016 ?

                                        Yes, of course. That's when I receive the error window.

                                        "If you like what you do, it will never be work..."
                                        In memory of Sam Maloof, 1916-2009

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • TIGT 離線
                                          TIG Moderator
                                          最後由 編輯

                                          Fredo will chip in soon...

                                          TIG

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • fredo6F 離線
                                            fredo6
                                            最後由 編輯

                                            The fail to read seems to be due to a wrong installation of Sketchup, that is without a "run as an administrator" on the install exe file.

                                            Fredo

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 93
                                            • 94
                                            • 95
                                            • 96
                                            • 97
                                            • 109
                                            • 110
                                            • 95 / 110
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement