sketchucation logo sketchucation
    • Login
    βŒ› Sale Ending | 30% Off Profile Builder 4 ends 30th September

    Sketchucation Tools 5.0.1

    Scheduled Pinned Locked Moved Extensions & Applications Discussions
    15 Posts 7 Posters 666 Views 6 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.
    • gullfoG Offline
      gullfo
      last edited by Rich O Brien

      V5.0.1 is broken

      Extension Errors Report
      SketchUp: 25.0.660
      OS: Windows 11 
      Ruby: 3.2.2
      
      Extension: SketchUcation (5.0.1)
      Error: ArgumentError (invalid byte sequence in UTF-8)
      c:/users/USERNAME/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:805:in `block (4 levels) in getMyPlugins'
      c:/users/USERNAME/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:804:in `each'
      c:/users/USERNAME/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:804:in `block (3 levels) in getMyPlugins'
      c:/users/USERNAME/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:798:in `each'
      c:/users/USERNAME/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:798:in `block (2 levels) in getMyPlugins'
      c:/users/USERNAME/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:796:in `each'
      c:/users/USERNAME/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:796:in `block in getMyPlugins'
      c:/users/USERNAME/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:751:in `each'
      c:/users/USERNAME/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:751:in `getMyPlugins'
      c:/users/USERNAME/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/sketchucation/scf_loader.rbe:99:in `<module:SCF>'
      c:/users/USERNAME/appdata/roaming/sketchup/sketchup 2025/sketchup/plugins/sketchucation/scf_loader.rbe:13:in `<main>'
      C:/Program Files/SketchUp/SketchUp 2025/SketchUp/Tools/extensions.rb:197:in `eval'
      C:/Program Files/SketchUp/SketchUp 2025/SketchUp/Tools/extensions.rb:197:in `require'
      C:/Program Files/SketchUp/SketchUp 2025/SketchUp/Tools/extensions.rb:197:in `load'
      C:/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins/SketchUcation.rb:173:in `register_extension'
      C:/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins/SketchUcation.rb:173:in `<module:SCF>'
      C:/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins/SketchUcation.rb:17:in `<top (required)>'
      

      Glenn

      http://www.runnel.com

      1 Reply Last reply Reply Quote 0
      • gullfoG Offline
        gullfo
        last edited by gullfo

        installed per instructions - fail. uninstall, close SU, open SU, get warning to install, install per extension manager - looks ok. close SU, open SU, get error ^^^^^^

        as a note, i've checked my login on web site - ok so any internet calls "should" be working (in case this is an issue retrieving "getMyPlugins")

        Glenn

        http://www.runnel.com

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

          @gullfo

          This is a previously unknown, and so far inexplicable, error.

          How many Plugins folders do you have set up ?
          Do they all have .RB files in them ?

          To find a list can you please do this:

          Open SketchUp

          Open Extensions > Developer > Ruby Console

          Copy/paste this as one line:
          puts "\nDefault:\n#{Sketchup.read_default("SCF", "DefaultPlugins", "???")}";lp=SCF_Dialog.getMyPluginsFolders();puts"\nAll:\n#{lp}\n\nContents:\n";lp.each{|p|puts Dir.entries(p).size-2 };puts"\nRBs:\n";lp.each{|p|rbs=[];Dir.entries(p).each{|f| rbs<<f if f=~/rb$/};p rbs.length};puts;

          Press enter

          Copy all of the returned lines and paste them into a reply.

          TIG

          1 Reply Last reply Reply Quote 0
          • T Offline
            tsur
            last edited by Rich O Brien

            v 5.0.1 returns similar error )-;

            Extension Errors Report
            SketchUp: 25.0.659
            OS: macOS 26.0.1 
            Ruby: 3.2.2
            
            Extension: SketchUcation (5.0.1)
            Error: ArgumentError (invalid byte sequence in UTF-8)
            /users/USERNAME/library/application support/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:805:in `block (4 levels) in getMyPlugins'
            /users/USERNAME/library/application support/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:804:in `each'
            /users/USERNAME/library/application support/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:804:in `block (3 levels) in getMyPlugins'
            /users/USERNAME/library/application support/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:798:in `each'
            /users/USERNAME/library/application support/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:798:in `block (2 levels) in getMyPlugins'
            /users/USERNAME/library/application support/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:796:in `each'
            /users/USERNAME/library/application support/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:796:in `block in getMyPlugins'
            /users/USERNAME/library/application support/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:751:in `each'
            /users/USERNAME/library/application support/sketchup 2025/sketchup/plugins/sketchucation/scf_dialog.rbe:751:in `getMyPlugins'
            /users/USERNAME/library/application support/sketchup 2025/sketchup/plugins/sketchucation/scf_loader.rbe:99:in `<module:SCF>'
            /users/USERNAME/library/application support/sketchup 2025/sketchup/plugins/sketchucation/scf_loader.rbe:13:in `<main>'
            /Applications/SketchUp 2025/SketchUp.app/Contents/Resources/Tools/extensions.rb:197:in `eval'
            /Applications/SketchUp 2025/SketchUp.app/Contents/Resources/Tools/extensions.rb:197:in `require'
            /Applications/SketchUp 2025/SketchUp.app/Contents/Resources/Tools/extensions.rb:197:in `load'
            /Users/USERNAME/Library/Application Support/SketchUp 2025/SketchUp/Plugins/SketchUcation.rb:173:in `register_extension'
            /Users/USERNAME/Library/Application Support/SketchUp 2025/SketchUp/Plugins/SketchUcation.rb:173:in `<module:SCF>'
            /Users/USERNAME/Library/Application Support/SketchUp 2025/SketchUp/Plugins/SketchUcation.rb:17:in `<top (required)>'
            
            ------------------------------------
            
            
            puts "\nDefault:\n#{Sketchup.read_default("SCF", "DefaultPlugins", "???")}";lp=SCF_Dialog.getMyPluginsFolders();puts"\nAll:\n#{lp}\n\nContents:\n";lp.each{|p|puts Dir.entries(p).size-2 };puts"\nRBs:\n";lp.each{|p|rbs=[];Dir.entries(p).each{|f| rbs<<f if f=~/rb$/};p rbs.length};puts;
            
            Default:
            /Users/USERNAME/Library/Application Support/SketchUp 2025/SketchUp/Plugins
            
            All:
            ["/Users/USERNAME/Library/Application Support/SketchUp 2025/SketchUp/Plugins"]
            
            Contents:
            401
            
            RBs:
            204
            
            => nil
            
            1 Reply Last reply Reply Quote 0
            • TIGT Offline
              TIG Moderator
              last edited by TIG

              Can you both please try the text in the Ruby Console I prepared earlier...
              You are using different operating systems...
              But one thing you both have in common is your user-name is in capitals and starts with a U.
              I'm assuming you haven't edited the text you posted...
              There were reports some time ago about this kind of issue.
              SketchUp's Ruby can see the /U in a string as a Unicode escape character - and this breaks the UTF-8 text format it's hoping to be using... Not sure if lowercase /u has the same issues ? Hence the encoding error message at the start...

              Can you try a change in your user-name to use all lowercase characters, or NO U after a / at all, restart your computer and try again ?
              I'll look at ways of trapping this error, if it's possible...

              TIG

              1 Reply Last reply Reply Quote 0
              • ntxdaveN Offline
                ntxdave
                last edited by

                OK - I have not done anything in SketchUp for about 6 months. I updated Sketchucation Tools yesterday and have some comments/questions:

                First of all, I think I accidentally/stupidly clicked on the Install like for some plugins yesterday. I do not know which ones they were other than Find and Report. So,

                • Is there a way to find out which plugins I installed yesterday?

                • How do you go about deleting/uninstalling a plugin?

                I will have to get used to the new interface for managing the SketchUcation plugin UI but I think it will just require a little patience on my part. As an example, on the Bundles page, there is a Remove column, but I do not see any link to be able to remove one of the plugins on the list of plugins in the list. Am I missing something?

                Rich O BrienR 1 Reply Last reply Reply Quote 0
                • gullfoG Offline
                  gullfo
                  last edited by

                  so far as i know, i have only 1 plugins folder, but here's the results for the code:

                  puts "\nDefault:\n#{Sketchup.read_default("SCF", "DefaultPlugins", "???")}";lp=SCF_Dialog.getMyPluginsFolders();puts"\nAll:\n#{lp}\n\nContents:\n";lp.each{|p|puts Dir.entries(p).size-2 };puts"\nRBs:\n";lp.each{|p|rbs=[];Dir.entries(p).each{|f| rbs<<f if f=~/rb$/};p rbs.length};puts;
                  
                  Default:
                  C:/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins
                  
                  All:
                  ["C:/Program Files/SketchUp/SketchUp 2025/SketchUp/Tools/gems/3.2.0/gems/matrix-0.4.2/lib", "C:/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins", "C:/ProgramData/SketchUp/SketchUp 2025/SketchUp/Plugins", "C:/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins/skelion/rub_zip", "C:/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins/skelion/plist", "C:/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins/skelion/prawn/pdf-core-0.6.1", "C:/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins/skelion/prawn/ttfunk-1.4.0", "C:/Users/USERNAME/AppData/Roaming/SketchUp/SketchUp 2025/SketchUp/Plugins/skelion/prawn/prawn-2.1.0"]
                  
                  Contents:
                  2
                  434
                  1
                  2
                  2
                  1
                  4
                  5
                  
                  RBs:
                  1
                  153
                  0
                  1
                  1
                  0
                  1
                  1
                  
                  => nil
                  
                  

                  Glenn

                  http://www.runnel.com

                  1 Reply Last reply Reply Quote 0
                  • gullfoG Offline
                    gullfo
                    last edited by gullfo

                    sorry the USERNAME is my text result replacement for my actual user name which i don't want on the Internet. if that is OK... i'm aware of the "u" problem...

                    the program data folder is from Podium where it has the temp files
                    03e83447-7454-4228-8978-6972d0ba622e-image.png

                    Glenn

                    http://www.runnel.com

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

                      @ntxdave

                      • Is there a way to find out which plugins I installed yesterday?

                      Use the Filters dropdown and choose Installed

                      • How do you go about deleting/uninstalling a plugin?

                      Use Extensions > Extension Manager

                      I do not see any link to be able to remove one of the plugins on the list of plugins in the list. Am I missing something?

                      You can't remove extensions from the current device's Bundle

                      Download the free D'oh Book for SketchUp πŸ“–

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

                        @ntxdave
                        There's an Uninstall Manager dialog in the Extensions > SketchUcation submenu.
                        This renames the selected RB files RBX so that after a restart they no longer load, appear under the Plugins Manager dialog etc.
                        However, they are still there and can either be ignored, reinstalled using that manager, or manually deleted later.
                        To delete them open your Plugins folder and ensure that folder settings show file extensions.
                        Sort by Type so that all of the RBX files are together.
                        Delete them one at a time, noting the name so that you can also delete the associated folder - e.g. some_script1.rbx and its subfolder some_script1.
                        The Plugins folder is hidden by default - but there's a tool in the Extensions > SketchUcation submenu to open it for you...

                        TIG

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

                          @gullfo

                          Thanks for the info - so it's probably not a Unicode /U issue ?
                          However, have you tried renaming your user-account in case ?
                          I'm assuming your Windows user-account name contains only ASCII characters and some limited punctuation, as instructed by Microsoft ? If you are unsure you can use the chat speech-bubble tool to PM it to me privately...

                          We are investigating this because there are thousands of users without this error, so we need to do some detective work...

                          TIG

                          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