Extension Store - latest version

To access these forums when logged in, please, sign up to the respective User Group in your User Control Panel.

Re: Extension Store - latest version

Postby mrossk » Tue Sep 28, 2021 8:11 pm

Will do, but I'm away from my desktop for a couple hours. Thanks again!
0

mrossk 
 

Re: Extension Store - latest version

Postby mrossk » Wed Sep 29, 2021 1:08 am

OK- I copy and pasted the instructions into the ruby console on both my laptop and desktop, and here are the results:
laptop
laptop ruby.JPG


and for my desktop
desktop ruby.JPG



I can see the difference to the query "File writable?" which I imagine is significant?
thanks again,
Michael
0

mrossk 
 

Re: Extension Store - latest version

Postby leminilab » Wed Sep 29, 2021 7:22 am

TIG wrote:Before I dive into a full rewrite...
Can you copy/paste+enter these lines one at a time into the Ruby Console and post the output...
p Sketchup.version.to_i
p pd = Sketchup.find_support_file("Plugins")
p File.writable?(pd)
p $LOAD_PATH

Thanks for your patience...

Hi,
I just did it and here's the result:
p Sketchup.version.to_i
18
18
p pd = Sketchup.find_support_file("Plugins")
"C:/Users/myusername/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins"
C:/Users/myusername/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins
p File.writable?(pd)
true
true
p $LOAD_PATH
["C:/Program Files/SketchUp/SketchUp 2018/Tools/RubyStdLib", "C:/Program Files/SketchUp/SketchUp 2018/Tools/RubyStdLib/platform_specific", "C:/Program Files/SketchUp/SketchUp 2018/Tools", "C:/Users/myusername/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins", "C:/ProgramData/SketchUp/SketchUp 2018/SketchUp/Plugins"]
["C:/Program Files/SketchUp/SketchUp 2018/Tools/RubyStdLib", "C:/Program Files/SketchUp/SketchUp 2018/Tools/RubyStdLib/platform_specific", "C:/Program Files/SketchUp/SketchUp 2018/Tools", "C:/Users/myusername/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins", "C:/ProgramData/SketchUp/SketchUp 2018/SketchUp/Plugins"]
0
- "Live every day as if it were your last and then some day you'll be right."
- "ThomThom rules!!!"

leminilab 
Premium Member
Premium Member
 

Re: Extension Store - latest version

Postby TIG » Wed Sep 29, 2021 10:31 am

@mrossk
Your Ruby test for the Plugins folder 'writability' is 'false' - it should be 'true'.

I thought it might be a more in depth read/write issue but the basic File.writable?(filepath) is returning a bad result anyway...

Please recheck the Plugins folder for all listed users' permissions which should be 'FULL'.
Somehow SketchUp is not able to write to the Plugins folder using Ruby ??

I have replicated the UnZIP error in v2017 but so far I can't see what's causing it !
The RBZ gets into the user's Temp folder OK but then can't install into SketchUp...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Extension Store - latest version

Postby mrossk » Wed Sep 29, 2021 2:33 pm

I have now double, or is it triple? checked. All the folders are set to full. I feel so lucky to be among the few to have this problem:)
0

mrossk 
 

Re: Extension Store - latest version

Postby Gábor » Fri Oct 01, 2021 1:42 pm

@mrossk: Without knowing exactly the cause of your experience I played a little bit with the Extension Store's javascript which might or might not improve the issue. Could you please erase your IE / Edge Cache and try again the same installations?
0

Gábor 
SketchUcation IT
 

Re: Extension Store - latest version

Postby TIG » Fri Oct 01, 2021 2:51 pm

Hot on Gábor's heels, unfortunately the UnZIP-error issue persists...

BUT I've just made v4.1.2 of the SketchUcation toolset's RBZ, which when combined with Gábor's http checking for the download url means it should work OK in v2017 up to latest...

It works OK for me but Gábor needs to test it from the PM I've just sent him...
When it's that's confirmed it will be available for download etc...
Watch for an update...

NB:
@mrossk has an odd issue with folder permissions which was getting conflated with the broader UnZIP-error, which is now fixed... but the folder-writability is still outstanding...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Extension Store - latest version

Postby Gábor » Fri Oct 01, 2021 5:16 pm

I have tested v 4.1.2 and it works fine for me.
It is now published at: https://sketchucation.com/pluginstore?p ... ationTools
2

Gábor 
SketchUcation IT
 

Re: Extension Store - latest version

Postby mrossk » Fri Oct 01, 2021 9:02 pm

A mixed bag for me. It now works on my laptop, but I'm still having the same permissions issue on my desktop. Same permission error message. It must be some issue with my computer that is blocking permissions, but I'm at a loss. Every folder seems to have "full permission" enabled, but the Load_Path error message persists. Any suggestions how I can determine why my permissions are screwed up?
0

mrossk 
 

Re: Extension Store - latest version

Postby Rich O Brien » Fri Oct 01, 2021 9:40 pm

Windows 10 Home or Pro?

Do you have any experimental or insider build going?
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: Extension Store - latest version

Postby mrossk » Fri Oct 01, 2021 9:57 pm

Nope- I'm more of a Netflix or cute kitten videos on YouTube kind of guy...Home version of Windows, btw
0

mrossk 
 

Re: Extension Store - latest version

Postby TIG » Fri Oct 01, 2021 10:13 pm

@mrossk

Well at least we know that one issue is fixed - i.e. the UnZIP error [from URI.open...] !

Now we just need to know what this not 'writable' issue is...

I can prepare a version and PM it to you in a few days, which stops the 'writable' checks to see if that works...
BUT it will be a sidestep fix rather than a solution...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Extension Store - latest version

Postby TIG » Sat Oct 02, 2021 2:28 pm

@mrossk

Before I jump into a major rewrite can you please try the two code snippets that I've sent you via a Private Message.

I'd like to know if those ways work for you...
They avoid any writable checking...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Extension Store - latest version

Postby mrossk » Sat Oct 02, 2021 3:30 pm

I PM'd you. Both ways worked. Thank you
0

mrossk 
 

Re: Extension Store - latest version

Postby TIG » Sat Oct 02, 2021 4:35 pm

But the SketchUcation Plugins Manager is still fubar because of folder permissions...
I've PM'd you some more snippets to narrow down this problem...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Extension Store - latest version

Postby mrossk » Sat Oct 02, 2021 8:44 pm

replied to pm after running your code
0

mrossk 
 

Re: Extension Store - latest version

Postby Ortovox » Sun Oct 03, 2021 11:47 am

Gábor wrote:I have tested v 4.1.2 and it works fine for me.
It is now published at: https://sketchucation.com/pluginstore?p ... ationTools


Thanks alot Gábor!
Tested now and I was able to install the 7 plugins/extensions I normally use on Sketchup 2017 free.
One note is that I still got the unzip error when trying to install a bundle (these same 7 plugins/extensions).
0

Ortovox 
 

Re: Extension Store - latest version

Postby alvis » Sun Oct 03, 2021 1:07 pm

Hi TIG, I followed this discussion, tried everything the same way. Did you do anything? Today I didn't do any extra steps, just reinstalled version 4.1.2 with Sketchup 2018 and everything works again. Version 4.1.0 work with Sketchup 2017 as well. Previously there was a ZIP error long time
0
User avatar
alvis 
Premium Member
Premium Member
 

Re: Extension Store - latest version

Postby TIG » Sun Oct 03, 2021 2:32 pm

@alvis

Gábor and I did a two pronged attack...
The URL string send from the server to initialize the download now varies between http: and https: in v2017/v2018 set ups.
I also tweaked the Ruby code [in v4.1.2] to process that URL differently, so in newer SketchUp versions URI.open(url) is used because open(url) is now deprecated in their newer Ruby versions, but because URI.open(url) is only a private method in the older versions open(url) must be used there...
The http* server-side adjustments might have been enough, but I did a 'belt-and-braces' fix with Ruby too - that's about as robust as we can get...
0
TIG
User avatar
TIG 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Previous


 

Return to Other Languages

Who is online

Users browsing this forum: No registered users and 4 guests