[Plugin] SketchUcation Tools
-
@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.
-
Thanks!
Good thing I still keep track of all my plugins and their version numbers in an excel file. -
@pherim said:
Thanks!
Good thing I still keep track of all my plugins and their version numbers in an excel file.Please check now.
-
It now seems to be working again.
AND the list compilation seems faster than it was too. -
Thank you TIG for testing, and to everybody who spotted out the problem.
-
It works! Thank you!
-
Thank you very much for this fantastic tool.
I attached a picture of a little idea I happened to me.
-
This is a fantastic plugin.
I recently updated my code 'RichSection'. I discoverd that the first version was already in the pluginstore Thanks
How does it work? What do I have to do to put the last version in the pluginstore? I saw there is a little program to convert rbz files. Are the any naming conventions? Unique name for each version? How to upload and replace old versions.... -
@pgarmyn said:
This is a fantastic plugin.
I recently updated my code 'RichSection'. I discoverd that the first version was already in the pluginstore Thanks
How does it work? What do I have to do to put the last version in the pluginstore? I saw there is a little program to convert rbz files. Are the any naming conventions? Unique name for each version? How to upload and replace old versions....
Read the Authors' Guide.
I think Rich added your plugin to the Store.
Tips...
When you first add files use the name you want any links to include as it gets frozen at that point....
So if your plugin is named XXX then make it XXX.rbz - do not call it XXX_v1.0.rbz because that'll form the basis of the links even when its updated to v2.0 !
Any characters other than 0-9A-Za-z_-. are trapped anyway.
You can change you plugin's name but the link is frozen from the start [it is possible for an IT/dbase guru to fix it but all of the attached files then need reattaching too...]
Use a simple/logical version system.
Fill in all of the info as far as you can...
Some appears in the short version on pages/dialog, the rest in the More Info.
Link the 'Feedback' to the first post in the thread [read the Guide on how to find its specific url...]
The Guide covers getting/using the special RBZ>RBZ.SKP converter tool [the [>] arrow on the toolbar].
Reiterating...
To allow the AutoDownload and AutoInstall of the RBZ from the dialog within SketchUp itself you need to make a special 'secret' version of the RBZ - as an [all but empty = 1 cpoint] RBZ.SKP file which can be temporraily loaded_from_url and which contains all of the RBZ data as encrypted attributes, these are extracted and recombined into a temporary RBZ and AutoInstalled...
Note the importance of using thia converter within v8, so that the created SKP is compatible with v8 AND all later SketchUps...
If you don't have v8 then you can make the RBZ.SKP file in a newer version, BUT then you MUST open it and do a Save_As v8 before uploading it to you Store listing...
The naming of the RBZ/RBZ.SKP and 54x54.png are relatively unimportant after your first file upload, because that will have set the file names already. After the initial [v1.0] XXX.rbz I'd use a name like XXX_v1.1.rbz etc to help manager my own archived file collections.
Any downloaded files are named after the plugin-name and its current version, so while the initially frozen link and database entry code might say "XXX" the downloaded RBZ file is named "XXX_v1.0.rbz" or whatever...Any issues... just ask one of the Admins here...
-
@TIG
Thanks for this very complete explanation.
I will need to find some time to work it out.... -
Hi! Is it possible to register here a plugin whith dependences of another plugins?
Advertisement