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

    RBZ install not working through ExtensionStore

    Scheduled Pinned Locked Moved Extensions & Applications Discussions
    extensions
    15 Posts 3 Posters 3.6k 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      A folder permission issue is possible, BUT we see that the downloaded RBZ is getting created in ../Temp/SCF subfolder but its contents are not written.
      Seems to me something is preventing the URL data from arriving...
      Please copy/paste this code into your Internet Explorer [Edge] web-browser bar and report what happens...
      https://pluginstore.sketchucation.com/pluginserv_4.php?hwid=DESKTOP-FF79A08:21&c=ntxMmAO2R7gcBFz6NbKPAzA7HheR8MKz8ILtSlzyreb7sYBJAZkKXxQnf7HlTfkdy9aSxZRoC6z9f0RotFCECg6rmM&v=5.0&z=PurgeAll.rbz

      TIG

      1 Reply Last reply Reply Quote 0
      • starriggerS Offline
        starrigger
        last edited by

        @tig said:

        A folder permission issue is possible, BUT we see that the downloaded RBZ is getting created in ../Temp/SCF subfolder but its contents are not written.
        Seems to me something is preventing the URL data from arriving...
        Please copy/paste this code into your Internet Explorer [Edge] web-browser bar and report what happens...
        https://pluginstore.sketchucation.com/pluginserv_4.php?hwid=DESKTOP-FF79A08:21&c=ntxMmAO2R7gcBFz6NbKPAzA7HheR8MKz8ILtSlzyreb7sYBJAZkKXxQnf7HlTfkdy9aSxZRoC6z9f0RotFCECg6rmM&v=5.0&z=PurgeAll.rbz

        The file was downloaded into my download folder.

        1 Reply Last reply Reply Quote 0
        • starriggerS Offline
          starrigger
          last edited by

          I did see an interesting thing though, when I ran it through Chrome. It reports "https://pluginstore.sketchucation.com/" as insecure but it allowed the download too.

          maybe a certificate issue.

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

            Thanks for these reports...
            So we know it's downloading from a URL OK.
            Can you copy/paste all of this into the Ruby Console.
            Report any error messages and if the RBZ in the ../Temp/SCF folder is > 0kb !

            
            url = "https://pluginstore.sketchucation.com/pluginserv_4.php?hwid=DESKTOP-FF79A08;21&c=ntxMmAO2R7gcBFz6NbKPAzA7HheR8MKz8ILtSlzyreb7sYBJAZkKXxQnf7HlTfkdy9aSxZRoC6z9f0RotFCECg6rmM&v=5.0&z=PurgeAll.rbz"
            path = File.join(SCF;;TEMPDIR, "PurgeAll_v5.0.rbz")
            p RBZtool;;GOT_OPEN_URI
            File.open(path, "wb"){|f|
              URI.open(url, "rb"){|r| f.write(r.read) }
            }
            
            

            Open the ../Temp/SCF folder and see if the downloaded RBZ is there - should be ~3kb

            TIG

            1 Reply Last reply Reply Quote 0
            • starriggerS Offline
              starrigger
              last edited by

              @tig said:

              Thanks for these reports...
              So we know it's downloading from a URL OK.
              Can you copy/paste all of this into the Ruby Console.
              Report any error messages and if the RBZ in the ../Temp/SCF folder is > 0kb !

              
              > url = "https://pluginstore.sketchucation.com/pluginserv_4.php?hwid=DESKTOP-FF79A08;21&c=ntxMmAO2R7gcBFz6NbKPAzA7HheR8MKz8ILtSlzyreb7sYBJAZkKXxQnf7HlTfkdy9aSxZRoC6z9f0RotFCECg6rmM&v=5.0&z=PurgeAll.rbz"
              > path = File.join(SCF;;TEMPDIR, "PurgeAll_v5.0.rbz")
              > p RBZtool;;GOT_OPEN_URI
              > File.open(path, "wb"){|f|
              >   URI.open(url, "rb"){|r| f.write(r.read) }
              > }
              > 
              

              Open the ../Temp/SCF folder and see if the downloaded RBZ is there - should be ~3kb

              this is what is returned on both machines:

              true
              Error; #<NoMethodError; private method `open' called for URI;Module>
              <main>;4;in `block in <main>'
              <main>;3;in `open'
              <main>;3;in `<main>'
              SketchUp;1;in `eval'
              

              yes 0K file in folder

              1 Reply Last reply Reply Quote 0
              • starriggerS Offline
                starrigger
                last edited by

                V17 uses Ruby 2.2.4. is the 'open' Method part of URI Class then?

                1 Reply Last reply Reply Quote 0
                • starriggerS Offline
                  starrigger
                  last edited by

                  YooHoo, this worked:

                  url = URI.parse("https://pluginstore.sketchucation.com/pluginserv_4.php?hwid=DESKTOP-FF79A08;21&c=ntxMmAO2R7gcBFz6NbKPAzA7HheR8MKz8ILtSlzyreb7sYBJAZkKXxQnf7HlTfkdy9aSxZRoC6z9f0RotFCECg6rmM&v=5.0&z=PurgeAll.rbz")
                  path = File.join(SCF;;TEMPDIR, "PurgeAll_v5.0.rbz")
                  p RBZtool;;GOT_OPEN_URI
                  File.open(path, "wb"){|f|
                    url.open {|r| f.write(r.read) }
                  }
                  true
                  2794
                  
                  1 Reply Last reply Reply Quote 0
                  • TIGT Offline
                    TIG Moderator
                    last edited by

                    Thanks for your testing and ideas...
                    I'll look at what I can do to make v2017 compatible again...
                    PS:
                    Found the issue [also with v2018!] will recompile a new version and publish it asap...

                    TIG

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

                      v4.2.4 is now available through the PluginStore / ExtensionStore³
                      https://sketchucation.com/pluginstore?pln=SketchUcationTools
                      It fixes the UNzip error when installing RBZ files in v2017/18...

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • starriggerS Offline
                        starrigger
                        last edited by

                        @tig said:

                        v4.2.4 is now available through the PluginStore ...
                        It fixes the UNzip error when installing RBZ files in v2017/18...

                        Back in business! (was also able to manage the new Fredo licensing too.)

                        Thanks so much Tig for your tireless service to the Sketchup community.

                        (I still use the Octane Loader plugin you created some time ago - best tool to get an OBJ file out. 👍 )

                        Steve

                        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