[Plugin] SketchUcation Tools
-
@gábor said:
Could you please explain in more detail what is happening?
When you change the dropdown to "My Plugins", you should see a list of all plugins what you installed or downloaded from the pluginstore. Is that the case? In my case yes, I see all my downloaded plugins.
When you check the checkbox "Check for updates", you should see a filtered version of this list. Only those plugins should show up, what have an update since you downloaded them. If none of the downloaded plugins have an update, you get an empty list (a blank page). Is that what is happening? When I filter, I get an empty list and I know Fredos plugins need updating.
If there are updates in this list, when you click on the install update button near the plugin entry, the new version of the plugin should be installed. Is that what is happening? Can't say, as nothing ever appears.
I have chosen not to activate IE on my system. I don't use it. I could activate it and possibly remove the issue, but I'm happy enough to keep it as a test bed if you want it. Surely it should be possible to use the sketchucation plugin without full subjugation to microsoft, but if not I'm not too bothered.
-
Thannk you for the answer.
-
I have the same result and I do have IE.
I hadn't noticed before but when fredos update tool told me I need to update I checked and I get nothing in the list.
-
@box said:
..... I get nothing in the list.
It is because all your plugins are up to date. But now that I realized that it might be misleading, I'll change the code to output some explanation instead of a blank page.
Edit: Done.
-
But my plugins are not up to date.
-
@box said:
But my plugins are not up to date.
Have you installed them through the Pluginstore Plugin install function? In other words: Are they in your "My plugins" list when you don't check the checkbox?
-
Yes they are in the list, I think I see the reason though. I have more than one computer and I have updated those plugins on a different one, so the tool is registering that I have downloaded the latest, but it doesn't know that I haven't done it on this PC.
-
@box said:
.... I have more than one computer and I have updated those plugins on a different one, so the tool is registering that I have downloaded the latest, ....
Yep, you're right. That could be a problem, as the server only registers the users and not what machine are they from.
Maybe we will find an other way to look for updates in the next version of the pluginstore with TIG. Until then it works as the server registers what was the latest downloded plugin by the user and compares that to the current version of the plugin in the pluginstore.
-
Error Loading File !SketchUcation_loader.rb
premature end of regular expression: /^C:/Users/ì$my username on the computer contains character ý can i somehow overcome this problem or does it mean OS reinstall?
-
@gábor said:
Could you please explain in more detail what is happening?
When you change the dropdown to "My Plugins", you should see a list of all plugins what you installed or downloaded from the pluginstore. Is that the case?
When you check the checkbox "Check for updates", you should see a filtered version of this list. Only those plugins should show up, what have an update since you downloaded them. If none of the downloaded plugins have an update, you get an empty list (a blank page). Is that what is happening?
If there are updates in this list, when you click on the install update button near the plugin entry, the new version of the plugin should be installed. Is that what is happening?
Ok I don't know why exactly CL answered to this question that was directed to me, but it doesn't matter.
I have installed IE since my last post, but this did not change the issue, even though there was one plugin which should have been displayed as in need for an update (Tools on Surface). However, I got the empty list, just as before. But I will have to wait until another plugin is updated in order to confirm this because I already installed the update.
So yes, I see the list of all downloaded plugins, but when I click "Check for updates" the list was empty even though I should have at least one update. It looked identical to the screenshot posted by Box. But I use the plugin store only on one machine, so his conditions don't apply.
At the moment I see the message that all my plugins are up to date. Will report back as soon as one receives an update.
-
@pherim said:
At the moment I see the message that all my plugins are up to date. Will report back as soon as one receives an update.
Thank you for the answer Pherim. If you see the line about all your plugins are up to date, then it works as it is intended to work.
But remember this function only compares the version of those plugins what were autoinstalled through the pluginstore plugin to their latest version. So at the moment it won't indicate if one of the plugins you've downloaded from elswhere is out of date or not. Maybe in a later version....
-
You cannot have non-ASCII [àcçéntëd] characters in a User name [or any part of a file-path that will be processed by SketchUp's Ruby].
Having them breaks several SketchUp Ruby core 'File' functions...
So... because temporary files must be written/read by this toolset [and many others] then your current User name is breaking things...
Can't you change your user-name to one that is all in ASCII ?
Or set up a parallel user-account will a suitable all ASCII name ?
It is a long known limitation of the Ruby version used by PC SketchUp thus far - we are hopeful that future versions will use the newer version of Ruby that avoids these issues.
But until then your options are limited to renaming your User account...
-
How are you getting the temp path? When I tested with unicode characters in the username and used ENV['TEMP'] it returned a DOS 8.3 ASCII format path which Ruby 1.8 was able to read.
-
@tt_su said:
How are you getting the temp path? When I tested with unicode characters in the username and used ENV['TEMP'] it returned a DOS 8.3 ASCII format path which Ruby 1.8 was able to read.
We don't actually know what exact characters he is using ?
It makes 'TEMPDIR
' fromENV['TEMP']
- with other possibilities fromENV
used/tested for different OSs
The reported error is/^C:\/Users\/ì$
- the loader's list of 'NONOS
' - i.e. the folders that are to be ignored as potential custom-plugins if they are found in$LOAD_PATH
does use a regex matcher...
/^#{HOME}$/,
AND the Constant 'HOME
' is set earlier as:
HOME=File.expand_path(ENV["HOME"] || ENV["HOMEPATH"] || ENV["HOMEDRIVE"])
So I suspect that is the real issue...
His accented User-name character IS breaking the regex // ?So it IS best if he can try and fix his user-name to avoid non-ASCII unicodes.
Otherwise he could try to edit the script!SketchUcation_loader.rb
from:
NONOS=[/^#{HOME}$/,
to:
NONOS=[
So that possibility is not then trapped and the regex is no longer going to fail ?But of course this edit is no guarantee that the
TEMPDIR
will work later with File operations needed to read/write files to his Local Temp folder... -
@pherim said:
Ok I don't know why exactly CL answered to this question that was directed to me, but it doesn't matter.
I'm sorry, I didn't realise I wasn't suppose to add information if I had the same issue.
-
No it's ok, I was just confused since the original post you were answering was directed to me but if you have the same problem of course I do not object to your answering it. Apologies if I gave you that impression.
@gábor said:
But remember this function only compares the version of those plugins what were autoinstalled through the pluginstore plugin to their latest version. So at the moment it won't indicate if one of the plugins you've downloaded from elswhere is out of date or not. Maybe in a later version....
Thank you for the answer. I know that but this was on a completely new installation of Sketchup where I used the plugin store to install all plugins I was interested in that are available there. Well as I said I will observe it and report back when the next plugins are updated.
-
yaah i thought that naming my user with ý character was stupid, but i blame win8,1
so lets go to the reinstall. and by the way i think its messes up more than ruby scripts.
thanks guys for this plugin and your help. -
Ok so now Import OBJ with Materials received an update and I haven't installed it, yet. However, in the "My Plugins Section" it is already listed with the new version number and when I enable "check for updates" it says again that all plugins are up to date. But plugins are not updated automatically, or are they? How do I know which version I have now in my plugins folder, the old one oder the new one?
-
@pherim said:
Ok so now Import OBJ with Materials received an update and I haven't installed it, yet. However, in the "My Plugins Section" it is already listed with the new version number and when I enable "check for updates" it says again that all plugins are up to date. But plugins are not updated automatically, or are they? How do I know which version I have now in my plugins folder, the old one oder the new one?
When you download a plugin's version from the PluginStore this should be listed against your id on the server-side.
The My Plugins Section can't easily display what version you actually have installed, unless it's an Extension...
So it knows ALL of the plugin names you have ever downloaded and displays those, showing the current versions available now for download.
It is NOT listing your actual plugins by name/version...
When you 'check for updates' the list should reduce to include just those that have a version different from the one you last downloaded.
If you are sure you have installed a plugin previously and it lists in the My Plugins BUT it does not appear under 'check for updates' BUT your are sure you do NOT have the latest version them it is broken!I'll get Gábor to look into this...
Meanwhile reinstalling the same version again does no harm... so I suggest you get the latest versions anyway...
-
@pherim said:
Ok so now Import OBJ with Materials received an update and I haven't installed it, yet. However, in the "My Plugins Section" it is already listed with the new version number and when I enable "check for updates" it says again that all plugins are up to date. But plugins are not updated automatically, or are they? How do I know which version I have now in my plugins folder, the old one oder the new one?
I could reproduce the problem now. Just wanted you to know that we are working on it.
Advertisement