[Plugin] SketchUcation Tools 2.6
-
We had some reports about vbs warnings in earlier beta tests but code adjustments were made and there were no further reports.
I am surprised about the 'parenthesize' warning in v8 - I can't think of any arguments passed in this code-set without () ?
Can't you set up an 'exception' for your over zealous 'Commodo' security - to skip vbs files, 'by folder' [.../Temp/SCF] ?
http://help.comodo.com/topic-72-1-451-4758-.html
shows examples using will-cards etc.
So a pattern something like*\Temp\SCF\*.vbs
should work ?These vbs will always run in v8/2013...
The SCFapi in v2014 can use Ruby2 [open-uri etc] for most of it 'communications', but earlier versions rely on vbs scripts using 'XMLHTTP' etc on PC [and .command using 'curl' for MAC].
These tiny vbs scripts are written to the .../Temp/SCF folder to ping data-packets to the SCF server and sometimes receive a response.
These scripts are named "f_nnnnnnn.vbs" where the "nnnnnnn|" is a random integer.
This is to ensure separation between several such pings that might run all but contemporaneously.
Any txt file they might make to hold any received data has a matching name.
On the creation of the txt file the data is read and the two files are deleted a few ms later.
That is why they no longer exist when you look for them.
In case of a rare 'left over' file remaining, on load the SCFapi also purges the ...Temp/SCF folder.Other vbs files are used by other modules to extract the plugin files etc from RBZ archives [renamed ZIP] where the destination folder is not the default Plugins folder [i.e. a custom-plugins folder has been added to the $:]
So even if you disable the SCFapi from loading you will get continuing vbs nags when installing into custom=plugins folders...
-
No tried 6 ways to Sunday to setup exclusions. Does not work as advertised.
Like I say... I only heed SCF Tools when manipulating plugins or extensions.
I'll turn it off.
-
@Dan
You are the only user to report these issues...
I cannot believe it is insoluble -
I'm getting load errors after installing sketchucation tools 2.6. Could be a coincidence. This occurs when I open an .skp by double clicking it. It does not occur when I load SU by double-clicking the .exe or shortcut, then opening the model. (Win8, SU Pro 2014)
Thx
Error: #<LoadError: cannot load such file -- open-uri>
c:/users/drew/appdata/roaming/sketchup/sketchup 2014/sketchup/plugins/sketchucation/!scfapitools.rbs:76:inrequire' c:/users/drew/appdata/roaming/sketchup/sketchup 2014/sketchup/plugins/sketchucation/!scfapitools.rbs:76:in
module:SCFapi'
c:/users/drew/appdata/roaming/sketchup/sketchup 2014/sketchup/plugins/sketchucation/!scfapitools.rbs:22:in<main>' C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/SketchUcation/SCF_loader.rb:25:in
eval'
C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/SketchUcation/SCF_loader.rb:25:inload' C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/SketchUcation/SCF_loader.rb:25:in
block in <top (required)>'
C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/SketchUcation/SCF_loader.rb:14:ineach' C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/SketchUcation/SCF_loader.rb:14:in
<top (required)>'
D:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:inrequire' D:/Program Files (x86)/SketchUp/SketchUp 2014/Tools/extensions.rb:197:in
load'
C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/!SketchUcation_loader.rb:189:inregister_extension' C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/!SketchUcation_loader.rb:189:in
module:SCF'
C:/Users/Drew/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/!SketchUcation_loader.rb:16:in `<top (required)>' -
This thread looks similar.
http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=57121 -
As Box says...
Running SketchUp v2014 MR0 by double-clicking on a SKP that is not on the same drive as the SketchUp installation has a bug.
It fails to load the Ruby libraries into the $: aka $LOAD_PATH...
Therefore any tool that uses any of the new methods provided by v2014 will fail when it tries to load them as the folder is not found.
SketchUcation v2.6.0 uses open-uri with v2014 to make much faster downloads and installation of RBZs etc...
This is is not a SketchUcation issue - it will occur with any Plugins using the new methods.
The fault is known to Trimble and we are assured that a fix will be included in MR1...Meanwhile don't try to start SketchUp that way.
Instead, start it from the shortcut to the SketchUp.exe, then open the SKP via SketchUp.There is a temporary file to try to fix it - by Dan Rathbun - goes in the Tools folder and resets $:.
I've found it messes up if SketchUp itself is not installed on the system drive [ ], otherwise it resets the S: Ruby Lib paths correctly... -
Thanks Box and Tig
-
This file is a temporary fix http://sketchucation.com/forums/viewtopic.php?p=519331#p519331
-
Getting this in the Ruby console with 2.6.0:
(eval);1; warning; already initialized constant SCF;;RESTART (eval);1; warning; previous definition of RESTART was here
-
@jim said:
Getting this in the Ruby console with 2.6.0:
(eval);1; warning; already initialized constant SCF;;RESTART > (eval);1; warning; previous definition of RESTART was here
All of the time ?
Or just after the initial update of the Plugin ?
I don't see it at all either way ??This Warning is just about a Constant [RESTART] already existing that is being overwritten.
It's not a load Error per seI see the reason, the .strings file defines RESTART twice !
I'll fix it...
-
Hello,
Since 2.6 I've noticed a slow down on Sketchup actions involving the plugin - opening/closing SU, making a modification in SUT2.6 and so on. Nothing shows up on the ruby console - but everything runs smoothly with SUT2.6 disabled.I keep plugins on dropbox (including SUT2.6) and access them using TIG's !loader.rb on 2 PCs using 8free and one with 2013pro.
Slightly separately - I seem to remember being able to control plugin/extension loading in SUT locally (by the registry perhaps?) - but now disabling a plugin/extension does so by appending ! and so disabling the file system wide.
Is the renaming of ruby files the future for SUtools? If so, I'll modify my use of it to compensate.
Thanks
-
Please update your User Profile so we know your OS and SUp version - are you still on v8 ?
Because v2.6.0 uses new Ruby methods to speed up downloads and decrease AutoInstall speeds by up to 400% there is a slight parallel 'downside' when opening/closing some of the dialogs used by the toolset, which now ping tiny amounts of related data back to the server [used in various analytics - like the new MySetup > Bundles feature]. With v2014 it's all done pretty instantaneously, but earlier SUp versions don't have the new methods which Ruby2 offers with v2014, so their alternative more cludgey methods may run noticeably slower [especially if you have a slow Internet connection], however it should still be barely perceptible... how long are you talking here...
If you disabled a plugin in a 'shared' Plugins folder, then it is disabled for all SketchUps using that Plugins folder.
If you disable a plugin in a local [default] Plugins folder, then it is disabled for that one SketchUp.
It has always been like that.Using SketchUcation PluginsManager Sets exported/imported on all of your computers you should be able to quickly reSet your Plugins to suit specific work-tasks...
Because v2014 PC now AutoInstalls / loads your plugins using your User default Plugins folder [like MACs have done for several versions before] it means that several users on the same computer can have different sets of plugins loading when their SketchUp starts...
-
I am as my user profile says 8free at home and mobile (but 2013 at work)
The additional time is pretty hefty - Is there a way to check individual load times like libfredo tools? Or record what the active tool or process is?
I started to check between load times with and without SU2.6 but with SU2.6 loaded SU hangs at start, while orbiting, and changing tools. I'd lean towards a description of unworkable (sorry)
My mistake on the plugin disabling. Could've sworn I tested local loading, as I remember being impressed and thinking how useful that was. I don't tend to dream about plugin management, but its possible.
I think I'm used to waiting for downloads and installs. I wouldn't notice faster speeds as I'm usually doing something else in the mean time. Perhaps enough users are of the same mindset that a return to slower Ruby is possible? (my 2pence)
How long are you intending to support 8 and 2013 though?
Bear in mind I'm only whinging because 2.5.1 suited my cross-platform/multi-version/dropbox-plugin-folder setup perfectly. Must get round to upgrading to premium so I can whinge with a bit more weight, and a lot more abandon.
Thanks for responding - happy to help if I can.
-
Upgrading to Premium offers no extra weight to complaints.
The tool is free and all members avail of the same whinging rights.
-
But v2.6.0 should never affect other tools like zooming/tool-change
Do you try to do other things as it's downloading then installing ?
If so why ??
The most you should notice with it in v8 is a brief thinking time [ << 1sec] as SketchUp starts up and then the PluginStore dialog first opens or is closed.The download should be noticeably faster that before - typically 400%...
A few Plugins are quite hefty and take a while to download - but they should still arrive faster than with the earlier versions of the PluginStore...
You need at least v8M2 to use the PluginStore, currently v2014 does offer some improved download speed, but the changes were also mimicked in v8/v2013 albeit a little slower - but they should still outperform v2.5
Do you have other plugins loading that might add observers which are messing with things in v8 - like some proto-BIM tools ? But lead you to consider v2.6.0 the instigator of the issue ?
-
@Rich - I meant subjective weight and subjective abandon. Whinge was the wrong word too. Sorry about that. English is my first language.
@TIG - I haven't been downloading - only disabling/enabling. Sketchup 8M2free and 2013pro both hang during use with SkTools loaded - and do not hang at all with it unloaded. (preferences/extensions/tickbox off)
All plugins are loaded from Plugin store, only other plugin is as belowrequire 'sketchup.rb'
path = "C:/Users/___________"
$LOAD_PATH << path; $LOAD_PATH.uniq!
if File.exist?(path)
Dir.entries(path).each{|file|
ext=File.extname(file).downcase
next unless ext==".rb" || ext==".rbs"
Sketchup.load(File.join(path, file))
}My connection is fast - 6mb/2mb home/office.
????
Thanks -
Hi Tommy,
No offense caused.
I think part of your speed issue is because SUTools is in Dropbox.
If you move it out does the speed change?
-
There is also a brief 'thinking time' in open/close with SCF Managers, but it should not be so significant.
The disabling/enabling by adding/removing the final ! will obviously take somewhat longer over a complicated networked path like Dropbox folder...
BUT again I find it relatively fast and of little import -
Ok - after a couple of tests the short answer is SUTools (probably with some as yet unknown issue) causes SU8M2 to hang (for about a minute) on start up, on closing plugin store dialog, plugin manager dialog, extension manager dialog and plugin uninstaller.
SUTools is the only plugin installed (and it's in the standard folder) I reset my registry, cleared my cache in IE and Chrome and I have full permissions.
Before this. I put SUTools in the standard plugin folder and my alternate folder on my desktop. The same hanging occurred as above but additional hangs occurred in dialogs when I selected my alternate folder. At this stage I had only reset my registry.
Before resetting my registry the same hanging occurred, but I had the following error message when alternate folder was selected in plugin manager
Error: #<Exception: Invalid Dialog>
(eval):1461:inclose' (eval):1461:in
new'
(eval):1463:incall' (eval):1463 when alternate folder was selected in extension manager. Error: #<Exception: Invalid Dialog> (eval):2235:in
close'
(eval):2235:innew' (eval):1463:in
call'
(eval):1463Probably just a registry clash for those, but thought it might shed some light. If I disable SUTools as an extension in SU preferences - SU works smoothly in all situations listed above.
Sorry for the info dump - hope something in there is useful to you.
Suggestions welcome! -
I'll send you a PM with some suggestions that might help.
But you should not get issues of such long time delays - they should be but momentary...
Advertisement