sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Sketchup pro 2014 plugin user

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    19 Posts 8 Posters 1.4k Views 8 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Denver76D Offline
      Denver76
      last edited by

      I'm not a beginner, but I still do not understand why it does not work.
      SketchUp 8 -2013 had no problems


      error_3.png

      1 Reply Last reply Reply Quote 0
      • cottyC Offline
        cotty
        last edited by

        The error message contains TT_Lib2 errors, but there are no Thomthom plugins in your plugin folder?!

        my SketchUp gallery

        1 Reply Last reply Reply Quote 0
        • Rich O BrienR Offline
          Rich O Brien Moderator
          last edited by

          What happens if you try it on a different user account who's name has no special characters or spaces?

          Sent from my iPad

          Download the free D'oh Book for SketchUp 📖

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            Your Windows User-Name contains non-ASCII characters.
            Before SketchUp v2014 came out with its newer version of Ruby this was a known issue on PCs.
            Many Plugins need to write/store files into the User's Temp folder.

            If the path to that contains a special character then Ruby1.8 can fail in some File operations since it cannot find a folder in the path that has an 'accented' name - like your User account.

            I see your example screen-shot refers to v2014 although your SCF User Profile says v2013 ?
            Although v2014 can now cope with accented characters in file-paths, they still need to be UTF-8... what is the character in your name? it is indistinct on my screen.
            Is it 'õ' ?
            What is your locale/language - Hungary/Magyar ?

            Some special-characters might not be recognized by v2014 as being suitably encoded.

            Please try these in the Ruby Console and report back [copy/paste] the results:

            $:.grep(/[Pp]lugins/)
            --> result
            Typically should be:
            ["C:/Users/YourUserName/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins"]
            pf=Sketchup.find_support_file('Plugins')
            --> result
            Typically should be:
            C:/Users/YourUserName/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins

            File.exist?(pf)
            --> result
            Typically should be 'true'

            pf.tr("\\","/").split('/')
            --> result
            Typically should be
            ["C:", "Users", "YourUserName", "AppData", "Roaming", "SketchUp", "SketchUp 2014", "SketchUp", "Plugins"]

            Any failures with these tests show something is wrong in the way SketchUp v2014/Ruby2.0 is working with your accented user-name...

            If you make another User-account without any accents in the name, then it should then work OK when used with v8/v2013/v2014...

            Please Note:
            A bug has been uncovered in v2014 which should be fixed in the next maintenance release - User-Names containing UTF-8 accents should now be OK, BUT if there's a ' [single quote] in the name it will fail to load any Plugins at all ! So until MR1 is released it's best to keep your Windows User-Name uncomplicated.

            TIG

            1 Reply Last reply Reply Quote 0
            • Denver76D Offline
              Denver76
              last edited by

              thanks

              1 Reply Last reply Reply Quote 0
              • Denver76D Offline
                Denver76
                last edited by

                I creat the new user account: User / dani

                Now it works in sketchup 2014

                thanks for the tip

                1 Reply Last reply Reply Quote 0
                • tt_suT Offline
                  tt_su
                  last edited by

                  I just traced down a bug in Ruby that could be related to this:
                  http://sketchucation.com/forums/viewtopic.php?f=180%26amp;t=57017

                  If the plugin uses FILE the encoding is marked incorrectly and Ruby will mangle the path when it tries to load it.

                  1 Reply Last reply Reply Quote 0
                  • TIGT Offline
                    TIG Moderator
                    last edited by

                    Major bummer !

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • arqpadaoA Offline
                      arqpadao
                      last edited by

                      Hello guys,
                      I'm with my license 2014 installed and everything seems ok.
                      I tried to install Libfredo 6 + RoundCorner - latest versions and not working.
                      Displays the folders they are installed, but in SketchUp the attached message and nothing appears.
                      Please can someone show me the light at the end of the tunnel?
                      thank you.


                      Clip_72.jpg

                      fernando padão
                      arquiteto

                      porto alegre - brasil

                      http://arqpadao.blogspot.com

                      1 Reply Last reply Reply Quote 0
                      • TIGT Offline
                        TIG Moderator
                        last edited by

                        You must also install LibFredo.
                        It's explained in the tool's first page.
                        You need to restart SketchUp afterwards...
                        Most of Fredo's tools need the Lib installing too.
                        It is available from the PluginStore...
                        It is shown in your list but might have been mis-installed.
                        How did you install the tool and the Lib which is shown in the list ?
                        Using the RBZ and the Preferences > Extensions > Install... or the SketchUcation Plugin Store dialog AutoInstaller ?
                        The installed path to the Plugins folder looks very odd ? 😕
                        If you use this in the Ruby Console is the path that's returned where these files are installed ??
                        Sketchup.find_support_file('Plugins')
                        😒

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • arqpadaoA Offline
                          arqpadao
                          last edited by

                          Hello Tig
                          Everything was installed as you said.
                          I downloaded the latest versions, installed via rbz.
                          The files are in the correct folder.
                          And does not work, is giving the information of the previous picture.
                          C 😕 Users / padão / AppData / Roaming / SketchUp / SketchUp 2014/SketchUp/Plugins
                          The possibility I see is that users are not accepted containing names not supported by ASCII.

                          fernando padão
                          arquiteto

                          porto alegre - brasil

                          http://arqpadao.blogspot.com

                          1 Reply Last reply Reply Quote 0
                          • fredo6F Offline
                            fredo6
                            last edited by

                            That must be the problem (i.e. non-Ascii name).

                            Thomthom has signaled the problem (which is in variable FILE) and suggested a fix, but pending further investigation.

                            Fredo

                            1 Reply Last reply Reply Quote 0
                            • TIGT Offline
                              TIG Moderator
                              last edited by

                              @padão

                              As Fredo says...
                              Accents [non-ASCII characters] in file-paths always broke earlier versions of SketchUp on PCs.
                              With v2014 the newer Ruby2 ought to resolve this, BUT it was discovered after it was launched that the current version still breaks the reading of the __FILE__ variable in some circumstances.
                              Your Plugins folder-path includes pad**ã**o
                              So that accented character is almost certainly what's causing the issue.
                              Thomthom came up with a temporary fix and the next maintenance release of v2014 will hopefully resolve this limitation...

                              Until then you could try this temporary fix:
                              Edit the two Fredo files with Notepad/Notepad++ and find where __FILE__ is used.
                              [You'll also need to repeat it in any other Fredo tool's rb files you use]

                              Change:
                              Fredo6_!LibFredo6.rb Line#113 @lib_fredo_sudir = File.dirname __FILE__
                              to read:
                              if defined?(Encoding) @lib_fredo_sudir = File.dirname(__FILE__).force_encoding("UTF-8") ### v2014 lashup else @lib_fredo_sudir = File.dirname(__FILE__) end

                              AND in:
                              Fredo6_RoundCorner.rb Line#26 f6__file__ = __FILE__.gsub(/\\/, '/')
                              becomes:
                              if defined?(Encoding) f6__file__ = __FILE__.force_encoding("UTF-8").gsub(/\\/, '/') ### v2014 lashup else f6__file__ = __FILE__.gsub(/\\/, '/') end

                              It that works let us know 😉

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • tt_suT Offline
                                tt_su
                                last edited by

                                Yes, FILE in SU2014 will not have the right encoding for Unicode characters. At the moment forcing the encoding works - but I cannot guaranty that will work in the future. We've filed bugs with the Ruby developers and once a fix has been implemented in Ruby we can give better recommendation on how to handle this.
                                So forcing the encoding works for now, but developers beware that this might need adjustment in the future. You might want to wrap the fix up in a utility function you can quickly edit later on.

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  matiu
                                  last edited by

                                  need to update libfredo to 58. Where can i get new version??


                                  how do i update??

                                  1 Reply Last reply Reply Quote 0
                                  • fredo6F Offline
                                    fredo6
                                    last edited by

                                    @matiu said:

                                    need to update libfredo to 58. Where can i get new version??

                                    The best is to update via the PluginStore tool

                                    Otherwise, go to the LibFredo6 Thread.

                                    Fredo

                                    1 Reply Last reply Reply Quote 0
                                    • arqpadaoA Offline
                                      arqpadao
                                      last edited by

                                      Thanks guys, I'll try and see what happens.

                                      fernando padão
                                      arquiteto

                                      porto alegre - brasil

                                      http://arqpadao.blogspot.com

                                      1 Reply Last reply Reply Quote 0
                                      • 1 / 1
                                      • First post
                                        Last post
                                      Buy SketchPlus
                                      Buy SUbD
                                      Buy WrapR
                                      Buy eBook
                                      Buy Modelur
                                      Buy Vertex Tools
                                      Buy SketchCuisine
                                      Buy FormFonts

                                      Advertisement