RBZ install not working through ExtensionStore  Topic is solved

RBZ install not working through ExtensionStore

Postby starrigger » Sat Mar 12, 2022 9:59 pm

Good Afternoon all,

I'm getting the 0 size RBZ download error for the extension store plugin on both of my win 10 computers with Sketchup make 17 installed on both.

using v4.2.3

Console output:

Code: Select all
SCF::TEMPDIR
C:/Users/Steven/AppData/Local/Temp/SCF
RBZtool::GOT_OPEN_URI
true
RBZtool::GOT_RUBYZIP
true
SCF::TEMPDIR
C:/Users/Steven/AppData/Local/Temp/SCF


I see the file come into temp/SCF folder, but with 0K size. Resulting in the UnZip Error message

IE is not installed on these computers

I am able to install RBZ if I download and use Sketchup's built-in Extension Manager.

Note: There are two locations I can install to, If I use the one associated with my user name ../appdata/Roaming/.. folder it uses the ../temp/SCF folder for the initial download. if I try to install to the c:/ProgramData/.. folder, it does not seem to use the /SCF folder... as I never see it there.

thanks,
Steve
0

starrigger 
 

Re: RBZ install not working through ExtensionStore

Postby Rich O Brien » Sat Mar 12, 2022 10:39 pm

Hi,

Can you clear your Microsoft Edge browser cache?

All installs fail or certain ones?
0
User avatar
Rich O Brien 
Administrator
 

Re: RBZ install not working through ExtensionStore

Postby TIG » Sat Mar 12, 2022 11:24 pm

Something about your set up is preventing the effective download of the RBZ into its temp-folder.
Do you have a firewall ?
Are any of its settings likely to prevent 'sketchucation' [or plugins?] linked URLs from downloading etc ?

Over the months we have had some rare reports of this happening, but are still searching for a cause...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: RBZ install not working through ExtensionStore

Postby starrigger » Sat Mar 12, 2022 11:36 pm

Rich O Brien wrote:Hi,

Can you clear your Microsoft Edge browser cache?

All installs fail or certain ones?


All installs I have tried fail, (including ExtensionStore ;) )

I cleared all browser Caches, no love...
0

starrigger 
 

Re: RBZ install not working through ExtensionStore

Postby starrigger » Sat Mar 12, 2022 11:52 pm

TIG wrote:Something about your set up is preventing the effective download of the RBZ into its temp-folder.
Do you have a firewall ?
Are any of its settings likely to prevent 'sketchucation' [or plugins?] linked URLs from downloading etc ?

Over the months we have had some rare reports of this happening, but are still searching for a cause...


About a year ago, I was having this issue on one of my computers, but was able to get it working again for the C:/Programdata?... folder but not the user local folder making me think permissions issue, but have played with that a little with no luck... (Unfortunately I cannot remember what I did before)

On the second computer it was installed a few weeks ago and worked fine up until a few days ago (I did get a windows update in that time frame though.

Reviewing the firewall... I'm not really seeing any settings that would cause suspicion for me, any thoughts on settings that might block a download? Anyway I turned it off for testing, and no difference seen.
0

starrigger 
 

Re: RBZ install not working through ExtensionStore

Postby TIG » Sun Mar 13, 2022 1:34 pm

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
0
TIG
User avatar
TIG 
Global Moderator
 

Re: RBZ install not working through ExtensionStore

Postby starrigger » Sun Mar 13, 2022 5:53 pm

TIG wrote: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.
0

starrigger 
 

Re: RBZ install not working through ExtensionStore

Postby starrigger » Sun Mar 13, 2022 6:41 pm

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

starrigger 
 

Re: RBZ install not working through ExtensionStore

Postby TIG » Sun Mar 13, 2022 6:56 pm

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 !
Code: Select all
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
0
TIG
User avatar
TIG 
Global Moderator
 

Re: RBZ install not working through ExtensionStore

Postby starrigger » Sun Mar 13, 2022 9:16 pm

TIG wrote: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 !
Code: Select all
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:

Code: Select all
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
0

starrigger 
 

Re: RBZ install not working through ExtensionStore

Postby starrigger » Sun Mar 13, 2022 9:29 pm

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

starrigger 
 

Re: RBZ install not working through ExtensionStore

Postby starrigger » Sun Mar 13, 2022 10:27 pm

YooHoo, this worked:

Code: Select all
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
0

starrigger 
 

Re: RBZ install not working through ExtensionStore

Postby TIG » Mon Mar 14, 2022 12:43 pm

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...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: RBZ install not working through ExtensionStore  Topic is solved

Postby TIG » Mon Mar 14, 2022 1:14 pm

v4.2.4 is now available through the PluginStore / ExtensionStore³

Download


It fixes the UNzip error when installing RBZ files in v2017/18...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: RBZ install not working through ExtensionStore

Postby starrigger » Mon Mar 14, 2022 6:40 pm

TIG wrote: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. :thumb: )

Steve
0

starrigger 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Extensions & Applications Discussions

Who is online

Users browsing this forum: chayangkul and 4 guests