[Plugin] SketchUcation Tools
-
I wrote this before getting your Security to FULL fixed it post...
Glad it seems to be resolved.
Please keep an eye on this and report anything unusual...
Still weird that there were no error messages, as restricted permissions ought to throw an error anyway ?
I know that some subtle restricts can report as FULL and cause issues - e.g. by having a custom folder icon Windows can illogically downgrade your permissions very slightly, with unexpected consequences...FYI here' what I was going to say before your welcomed news...
Put simplistically the AutoInstaller downloads a version of the RBZ that is specially encrypted, and then extracts that data to make the RBZ file in the ../Temp/SCF folder.
Is the AutoInstalled RBZ you found in the ../Temp/SCF folder exactly the same as the one you can download manually from the PluginStore page ?
It ought to be...
But if the AutoInstalled RBZ is faulty we need to find out why...
If it seems OK then we need to find out why it failed to install and stopped...
The AutoInstaller should have then used the built-in API 'install_from_archive' method to extract the temporary RBZ's contents into the Plugins folder - just as if you had used the Extensions>Install... button.
On completion it finally deletes the temp RBZ to tidy up... so something is failing in the latter steps.
BUT at each and every step any failure to finish should produce some helpful error messages in the Ruby Console - even if it's just a numerical output...
The failure AND lack of any messages is most perplexing -
TIG,
I would really love to check out if the file is the same as the one that can be downloaded from Plugin Store, but it is there no more. I think this time Plugin Store deleted it after the successful install.
Maybe I can twist my permissions again and help you find out what might be wrong in my system not reporting errors. But today I just need some sleep as last weeks have been heavy.
I'll still check the recycle bin for the deleted rbz today and tomorrow I can compare it.
Thanks for everything and i'll give more info as soon as I can.
JQL
-
OK, no worries, at least we know it was a permissions issue.
Just the lack of warnings is puzzling me...
When I say a file is deleted Ruby's File.delete(file) means it is actually removed from the computer, it is not moved to the recycle-bin - it skips that step... and so in many ways it acts as if you have 'emptied the bin' deleting its contents 'forever', the 'bin' is a system contrivance to allow you to change your mind after removing a file from its original location, but not yet deleting it from the records completely... -
Yes I know about the recycle bin but that was me trying to find a way to restore that impossible to restore file.
Thanks,
JQL
-
Unfortunately once Ruby has deleted a file it has gone.
Interestingly, files that are deleted from a folder are not 'deleted' from the hard-drive, instead their entry in the folder's directory-listing is removed, so then the system no longer sees them.However, a file-recovery tool like Recuva can try to find, recover and restore deleted files, by reading all file entries irrespective of their missing directory listing. The success of this is variable, because once a file is no longer in the directory-listing its space on the hard-disk is made available for use by new files, this space is reused somewhat at random. If the deletion was recent the contents might remain intact [or be at least usable], but after some weeks have passed at least some of its data could be overwritten by newer file entries. Ironically you might find that a file deleted yesterday is unrecoverable but one deleted last year is quite usable !
The recovery of deleted "but not gone forever" emails and other similar downloaded files is what brings down politicians/criminals etc from time to time, when forensic-IT guys probe their hard-drives. As a result there are now several secure-deletion tools available - these don't just remove the file from the directory-listing but before it is deleted they rename it in a random way and overwrite its contents with random junk, so then it is totally unrecognizable, and unrecoverable/unusable when probed by other recovery-tools, these 'shredders' might even overwrite the hard-disk's 'Free-space' with 'null' contents, so then any deleted files are really "gone forever", as there is no record they ever existed and not one useful bit of their data is left behind...
-
LOL TIG,
It was just an rbz, I hope I'm not caught with my pants down because of that!
Best regards,
JQL
-
.
-
@rv1974 said:
How could I solve this?...
This is odd...
What's your IE version, SketchUp version etc... ?
Check your Internet Options are set sensibly to allow javascript to run, communication back and forth with www sites etc.
The SCF dialog page is failing to load at its first hurdle when it checks your login cookie, using a js function loaded from the server-side js to which it passes the cookie data read in by the Ruby-side...Have you set your Security permissions to the Plugins folder to FULL, and SketchUp.exe Compatibility to always run as administrator etc ?
Have you been able to access the dialog previously ?
What has changed ? -
@rv1974 said:
How could I solve this?
You can try to erase the cookie.dat file in yor user's folder's ~/AppData/Local/SCF subfolder. Restart the pluginstore. You should be prompted for login. If everything goes well, you'll be able to use the pluginstore. My suspition is that this file is corrupted.
If it won't help, let's wait for TIG.
(Meanwhile TIG arrived...) -
If the cookie file is not there at all OR it exists and it is read-in but its contents do not match a server-side encrypted register then you are asked to log-in again, then the cookie file is rewritten/made with suitable data, you can then access the page thereafter.
If the cookie file is read-in and its contents do match a server-side encrypted register then you are free to access the page immediately.I don't see this as a cookie issue.
The js error message tells us that the function 'loginCookieData()' is somehow missing - this suggests that the server-side js is not loading, and/or its related missing as a callback - the Ruby code must be loading otherwise the web-dialog wouldn't appear at all ? -
If the .js is not loading then I would like to know what pluginstore version is used?
Can it be a cache issue with the .js file? -
You can get the Version of the SketchUcation toolset from the Preferences > Extensions entry details - the most recent one should be 2.0.0
-
This is really great, I love how easy it is now to install and update plugins! Really a great piece of work!
However, the updating functions in "My Plugins" doesn't seem to work. I saw today that there was a new version of Fredo6's Bezier Spline and still the Window was empty, when I activated "check for updates". I have to wait until other plugins get updated in order to find out whether this also applies to them. I'm running Sketchup 2013 Free version on Windows 7 64bit and I just noticed that apparently I don't have Internet Explorer installed (must have uninstalled it some time but forgot about it). But the plugin still works, except for the update function.
-
Is that a complaint about the tool, Pherim?
Why not install Internet Explorer and make sure you keep it up to date? Then the tool would work for you. It's a well known thing that SketchUp uses Internet Explorer for contact with the outside world.
-
It's not a complaint, the tool is great, this was just one thing I noticed, and I was not sure whether this was a problem with the tool or with internet explorer, and apart from that it worked perfectly fine even though I had not installed internet explorer. That's what confused me. Well, I will try installing IE and then try the updating function again once a plugin is updated. Apart from that, I am really amazed about the tool, which made organizing my plugins so much easier. Thanks a lot for this!
-
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?
-
@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.
Advertisement