sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Error when loading Sketchucationtools.rbz

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    5 Posts 3 Posters 467 Views 3 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.
    • V Offline
      vailly
      last edited by

      Hi,

      One of my student have a strange error when starting sketchup after installing Sketchucationtools.rbz.
      I don't think it's a problem with Sketchup or the plugin itself but I can't figure out what it could be. Maybe somebody here will know. Here's the error message:

      Error: #<ArgumentError: invalid byte sequence in US-ASCII>
      c:/users/marie josé/appdata/roaming/sketchup/sketchup 2017/sketchup/plugins/sketchucation/scf_loader.rbs:31:in block in loadRBS' c:/users/marie josé/appdata/roaming/sketchup/sketchup 2017/sketchup/plugins/sketchucation/scf_loader.rbs:31:in each'
      c:/users/marie josé/appdata/roaming/sketchup/sketchup 2017/sketchup/plugins/sketchucation/scf_loader.rbs:31:in each_with_index' c:/users/marie josé/appdata/roaming/sketchup/sketchup 2017/sketchup/plugins/sketchucation/scf_loader.rbs:31:in loadRBS'
      c:/users/marie josé/appdata/roaming/sketchup/sketchup 2017/sketchup/plugins/sketchucation/scf_loader.rbs:38:in <main>' C:/Program Files/SketchUp/SketchUp 2017/Tools/extensions.rb:197:in eval'
      C:/Program Files/SketchUp/SketchUp 2017/Tools/extensions.rb:197:in require' C:/Program Files/SketchUp/SketchUp 2017/Tools/extensions.rb:197:in load'
      C:/Users/Marie José/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/SketchUcation.rb:207:in register_extension' C:/Users/Marie José/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/SketchUcation.rb:207:in module:SCF'
      C:/Users/Marie José/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/SketchUcation.rb:16:in `<top (required)>'

      1 Reply Last reply Reply Quote 0
      • pilouP Offline
        pilou
        last edited by

        Erase accents in the path! 😉

        Frenchy Pilou
        Is beautiful that please without concept!
        My Little site :)

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

          The issue is because that user-name contains an accented character 'josé'
          If the user gets a new user account, with say 'jose' it should work.

          Having accents in PC users' names was a guarantee of a failure in the earlier versions of SketchUp.
          However, in newer SketchUp Ruby versions this is usually successfully circumvented by forcing the path's encoding to be UTF-8.
          Indeed that is what the RB file does at the start SCF::FOLDER in the Ruby Console should return the path
          For some reason there seems to be a glitch and it's reporting with a US-ASCII error.

          I may have devised a fix for this weirdness...
          Please find attached a ZIP file, extract from it the RBS file, which you should replace in the user's folder.
          c:/users/marie josé/appdata/roaming/sketchup/sketchup 2017/sketchup/plugins/sketchucation/**scf_loader.rbs**
          Restart SketchUp and report if there are any loading errors.
          Note that the v2017 Extension Loading Policy must be set to Unrestricted, as this file change will break the signing hash.
          If it works then I'll get it reworked and republished...

          There is another potential issue I am also looking into, but please test and report back...


          SCF_loader.zip

          TIG

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

            I have updated the toolset - this sidesteps the accented user-name issue...
            please update from the PluginStore...

            TIG

            1 Reply Last reply Reply Quote 0
            • V Offline
              vailly
              last edited by

              It works!
              Many Thanks,
              François

              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