Extension Store - latest version

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

Re: Extension Store - latest version

Postby johnwmcc » Wed Jan 12, 2022 4:07 pm

Since I upgraded my OS for SU 2021 Mac from Mojave to Monterey, the SketchUcation Extension Store window opens every time I start a new SU drawing, or open an old one.

This happened when the Extension Store was the previously installed 4.0.0, and persists after I've upgraded it to 4.1.3 today and restarted SU.

It's annoying, rather than terminal, but I wonder if there is an option somewhere that I can't find to turn off this behaviour?

I can't see anything relevant in the Ruby Console if I leave it open when SU restarts.

Furthermore, when I click on the Settings icon in the Extension Store window, I get an error message
"Not Found
The requested URL was not found on this server."
0
Last edited by johnwmcc on Wed Jan 12, 2022 4:13 pm, edited 1 time in total.

johnwmcc 
PluginStore Author
PluginStore Author
 

Re: Extension Store - latest version

Postby TIG » Wed Jan 12, 2022 4:29 pm

This is not what should happen !

If the files associated with the SketchUcation Toolset have been mis-installed, then instead of them making an extension they seem to be loading with SketchUp...

The following should be in your Plugins folder
SketchUcation.rb
and an associated subfolder of the same name [SketchUcation] containing several other files and subfolders.
But none of these should be loose inside the Plugins folder...
Capture.PNG

If so you must remove them and then uninstall the SketchUcation toolset from its RBZ using the native Extension Manager
Now reinstall the latest version using its > Install Extension button...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Extension Store - latest version

Postby johnwmcc » Sat Jan 15, 2022 10:20 pm

[quote="TIG"]This is not what should happen !

Indeed not!

AFAIK the only change I made was to upgrade the OS - I didn't do anything to the plugins before or after the upgrade until a couple of days ago, when I installed the later version of SketchUcationTools to upgrade it from 4.0.0 to 4.1.3.

But I'll follow your instructions to clean out the SketchUcation plugin and reinstall it.

Thanks for the advice.

[A little later]
I can see only the correct file (SketchUcation.rb) and folder (SketchUcation) in the SU 2021 Plugins folder. I've deleted them both, will restart SU and see if there's any residue. Then will reinstall the plugin.

After deletion and restart, no trace of SketchUcation plugin appears. Not in Extension Manager, not showing its window on startup of SU, not showing in the Extensions menu.

When I go to Extension Manager, click on Install extension and find the recently downloaded SketchUcationTools_v4.1.3.rbz file and install it, the SUTools window pops up immediately and asks me to login to SketchUcation, and I find it has installed and enabled the SUTools in Extension Manager.

Try another restart of SU.

Same result as before: starting a new SU file, or reopening an old one pops up the SUTools window, asking me to login to SketchUcation.

Eventually, I try doing what it asks me to - login.

That seems to have fixed things. But I had logged in previously, so maybe something went wrong earlier.

Anyway, I seem now to be sorted.

SU v2021.1.331, Mac Monterey 12.0.1. Other plugins working normally.
0

johnwmcc 
PluginStore Author
PluginStore Author
 

Re: Extension Store - latest version

Postby Vroomvroom600 » Fri Jan 28, 2022 3:40 pm

Where can I find help on extension installs that don't work on a mac. I've downloaded and installed the latest Ambient Occlusion extension from Fluid Interactive but can't get it to work on my mac. It's a bit older, it's got SU 2018 and 2020 but it doesn't look like it's loading. it appears in my extension tab as unsigned but when I go to activate it, the tab doesn't go anywhere. I need help please :)
0

Vroomvroom600 
 

Extension Store - crashing Sketchup

Postby Edson » Sun Feb 06, 2022 8:14 pm

I am having trouble with the Extension Store. It opens normally but when I try to install or update any extension Sketchup crashes.

I first thought it could be a conflict with some other extension. Then I took all extensions out but the ones that install with Skp. I installed the store and the result was the same: a crash. I tested it with the latest version and with the one from 2019.

Any ideas? My setup is: an iMac running Mac OS 10.13.6 (High Sierra), Sketchup 2021.
0
edson mahfuz, architect | porto alegre • brasil
http://www.mahfuz.arq.br
User avatar
Edson 
Global Moderator
 

Re: Extension Store - latest version

Postby TIG » Mon Feb 07, 2022 11:58 am

This rare error message has been reported before.
We thought it resolved by the latest updated to the toolset...
It seems to revolve around SketchUp failing to download the RBZ file and so it fails to extract its contents.
Perhaps not wholly solved !
We're looking at it, and will make suggestions when we have something to go on...
Meanwhile, there are several posts about this, see if any of them have useful ideas for you...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Extension Store - latest version

Postby Edson » Mon Feb 07, 2022 1:19 pm

Hi TIG,

Posts on this topic or outside it?
0
edson mahfuz, architect | porto alegre • brasil
http://www.mahfuz.arq.br
User avatar
Edson 
Global Moderator
 

Re: Extension Store - latest version

Postby Edson » Mon Feb 07, 2022 1:33 pm

I could not find any posts related to my problem on this topic.

To make it clear: the Extension Store opens and lets me look for what I want. The crash happens when I click on the install button.
0
edson mahfuz, architect | porto alegre • brasil
http://www.mahfuz.arq.br
User avatar
Edson 
Global Moderator
 

Re: Extension Store - latest version

Postby TIG » Mon Feb 07, 2022 1:51 pm

There's something adrift with how SketchUp is processing the downloaded RBZ, I'll get Rich to test this on his newer MAC - I don't think he has the issue with the latest RBZ for the toolset...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: Extension Store - latest version

Postby Rich O Brien » Mon Feb 07, 2022 3:57 pm

I cannot reproduce this error.
0
User avatar
Rich O Brien 
Administrator
 

Re: Extension Store - latest version

Postby TIG » Mon Feb 07, 2022 4:24 pm

Several tries and OSs later we can't reproduce the issue.
A server problem a few months ago did something similar, but no longer...
Have you tried looking at your firewall settings ?
If the pluginstore.sketchucation.com URL is seen by it as suspect it might get blocked, so then no RBZ is downloaded...
0
TIG
User avatar
TIG 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Resources

Who is online

Users browsing this forum: No registered users and 3 guests