2017 - errors loading plugins

Just installed 2017 Make, still in 30-day Pro trial period.

On launch, I get these error reports:

Error Loading File C:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbe
Failed to read RBE/RBS file.
Error Loading File C:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_dynamiccomponents/ruby/dcloader.rbe
Failed to read RBE/RBS file.
Error Loading File C:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_sandbox/sandboxmenus.rbe
Failed to read RBE/RBS file.
Error Loading File C:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_trimble_connect/boot.rbe
Failed to read RBE/RBS file.
Error Loading File C:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_webtextures/webtextures_loader.rbe
Failed to read RBE/RBS file.

All the files exist in the locations given, but SU wonā€™t load them. Iā€™ve downloaded afresh and re-installed several times with no variation or improvements. The Checker found no problems.

2016 ran fine with no problems like this at all.

What can I do to fix this? I need to use the Sandbox Tools plugin, in particular.

This is indicative of SketchUp not being properly installed.
I guess you double-clicked on the installerā€™s icon or ā€˜ranā€™ it ?

The correct way is to ā€˜Run as administratorā€™ā€¦

You can probably fix it without having to uninstall and reinstall.
Hereā€™s howā€¦
Close SketchUp.
Find the SketchUp installer exe file - itā€™s probably in your Downloads folder.
Select the icon, right-click > context-menu > ā€˜Run as administratorā€™ā€¦
When prompted choose to ā€˜Repairā€™ā€¦

This should fix permissions and get SketchUp running properly - at least with that problem sorted.
There might also be Graphics Card [settings] issuesā€¦ but youā€™ll know if you have those soon enoughā€¦

1 Like

Thanks, but I did install as Administrator, several times. I also tried ā€˜Repairā€™ with the same zero result.

Iā€™ll uninstall, clean up the Registry, and try again.

SketchUp copies its ā€˜shippedā€™ files [those listed in the error message starting with su_ā€¦] into your Plugins folder [if they donā€™t exist or they are not the latest copies]ā€¦ and then loads them.
It might be that the initially copied files have permission issues, and reinstalling may not help because those in your Plugins folder are not affected by the re-installation process, and have not changed contents either.
Also, even a full uninstall will leave them behind inside your Plugins folder.

So can I suggest you try thisā€¦

Close SketchUp.
Open your Plugins folder [ C:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins ]
Find all RB files in it with names that start with ā€œsu_ā€ AND ALSO all subfolders with the same names.
Manually delete them all.

With SketchUp installed using ā€˜Run as administratorā€™, launch SketchUp.
You should now see the ā€˜shippedā€™ contents recopied into your Plugins folder, and hopefully their permissions issues are now side stepped ? They should load OK ??

Report backā€¦

Alas, it made no difference.

So then I completely uninstalled, deleted the entire profile left behind, then reinstalled (as administrator) again, and it still made no difference.

Completely deleting SU Make 2016 also made no difference.

Iā€™ve checked the file and folder permission settings, but everything is fully accessible.

Iā€™ve also installed several other plugins. Ones with .rb files install fine, but .rbe files do not. This suggests to me that file permissions arenā€™t the problem.

Iā€™ve seen a suggestion that having non-latin characters in oneā€™s account name might be the problem, but I donā€™t have non-latin characters in my account name.

I canā€™t find any mention of the ā€œFailed to read RBE/RBS fileā€ error in the knowledge base, but Iā€™ll keep looking.

Many thanks for your suggestions, all the same!

Aha, I found a couple of related threads. So far, no resolution published.

I have read elsewhere that this one can (perhaps?) fix this by downloading the latest version of Advanced Camera Tools from the Extension Warehouse. But (Iā€™m quoting from memory) this may only apply to SU 2016 problems with this plugin.

If Sketchup is otherwise loading, you could just try disabling it in the Extension Manager and see if that stops the error message.

And/or install the latest version?

Letā€™s go back a few steps - the error is in reading the su_shipped RBE - e.g.
C:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbe
Letā€™s check it existsā€¦
Open the Ruby Console and paste this in + [enter]

File.exist?("C:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbe")

Does it return true or false ?

Can you get it to run manually ?
Open the Ruby Console and paste this in + [enter]

Sketchup.load("C:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader")

Note the final .rbe is omitted with the ā€˜loadā€™ method !
Any messages back ?
Does it load ?
Try with some others like
C:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_sandbox/sandboxmenus.rbe

File.exist?(ā€œC:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbeā€)
true
Sketchup.load(ā€œC:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloaderā€)
File load error (C:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbe): Failed to read RBE/RBS file.
false
Sketchup.load(ā€œC:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_sandbox/sandboxmenusā€)
File load error (C:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_sandbox/sandboxmenus.rbe): Failed to read RBE/RBS file.
false

No joy.

How does one report a bug?

Can you select one of the working RB files and right-click > context-menu > Properties > Security
and note the Permissions of each of the users listed [with names]ā€¦
Then do the same for one of the RBE files that is not loadable.
And finally for the su_subfolder containing that RBE file.

On my PC all three have the same users and permissions set up.
And of course I have no issues with loading anything eitherā€¦

There must be some differences in your particular Seuirity/Permissions set up preventing successā€¦

Alternatively, you could try

File.readable?("C:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbe")

and

File.readable_real?("C:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbe")

File.readable?(ā€œC:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbeā€)

true

File.readable_real?(ā€œC:/Users/David/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbeā€)
true

There are no differences in users or permissions between SandboxTools (wonā€™t read) and Utilities (works fine).

I donā€™t think itā€™s a file access problem. I suspect itā€™s a file encoding problem.

The readable tests shows your RBE files are readable.
On my PC [and on thousands of others] those files are read and load just fine, but for some obscure reason on yours they do not load.
This suggests an error in the file de-coding on your PC - which brings us full circle - as this is indicative of issues with SketchUp.exe - perhaps due to an initial mis-installationā€¦ but there can be other causesā€¦

So letā€™s now consider issues with the supporting Microsoft C++ Libs.
This has been suggested in another thread ā€¦
The fix for a crashing issue was to reinstall the C++ libraries:
This was likely to be related to a bad version of the C++ distributable libraries being installed on a particular PC.
If you have version 14.0.24210 installed, that is a likely culprit [mine is 14.0.24215].
This was believed to be a ā€œbadā€ version of the C++ libraries which caused SkethcUp.exe flakiness, and also wreaked havoc with other programs as well.
The suggestion was to Uninstall any 14.0.xx versions of the libraries - using Control Panel > Programs and Features

  • and then to reinstall SketchUp again - downloadable from: Download All | SketchUp (this version re-installs the right libraries)
    It looks like that a distributable which was updated mid-December may be causing weird issuesā€¦

While this might not fix your particular issue, it can do no harmā€¦

Thanks, Iā€™ll give it a go.

Well, that didnā€™t make a blind bit of difference. In fact, nothing Iā€™ve tried so far has.

Looks like Iā€™ll have to give up on SU 2017 and go back to 2016, if I can re-install it.

I have tried all of the things that dmore has, and have also had no success. I have the full version of Sketchup Pro 2017, but I didnā€™t install it until after the creator update for windows 10. Permissions are all good, all these things happen:

File.exist?("C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbe")
true
Sketchup.load("C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbe")
File load error (C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbe): Failed to read RBE/RBS file.
false
Sketchup.load("C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader")
File load error (C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbe): Failed to read RBE/RBS file.
false
File.readable?("C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbe")
true
File.readable_real?("C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbe")
true

Some plugins load just fine, but none of the ones starting with su_, and Iā€™ve manually set the file permissions to be as permissive as possible to all users and administrators on that folder as well as the install folder (default location on C drive). Iā€™m a software developer, and Iā€™ve got the various latest versions of .NET and the C++ libraries, etc. I donā€™t know Ruby terribly well, though, and when I open the rbe files in notepad++ all I see is data thatā€™s clearly serialized. So it seems to be having some sort of trouble deserializing, or otherwise causing an issue with executing whatever it finds inside.

I would suspect the .NET version 4.5.2 not being available on my machine as the culprit, since I have mainly 4.6 and so forth on there. However, I do have 4.5.2 Multi-Targeting Pack, and then the SDK for 4.6, 4.6.1, and 4.6.2. Along with multi-targeting packs for them (there are actually two per version ā€“ ENU and nothing specified). Deserialization in .NET can be flaky if itā€™s super version specific and actual objects are being serialized via automated methods versus by explicitly overriding the serialization methods and then just using simple types. I tend to roll my own serialization for that very reason.

A number of plugins work fine, though, like 1001 engineering, the 3D Connexion mouse driver, most everything by ThomThom, and a few other things.

Things that do NOT work, in addition to the default sketchup plugins that people are routinely having trouble with, is the demo of Profile Builder 2, the demo for playup tools, and the eneroth townhouse system beta.

I did install it as administrator originally, I have repaired it as administrator, Iā€™ve uninstalled and reinstalled as administrator, I have not migrated from another computer or version of sketchup (although an expired version of 2016 pro trial was on this machine), I have manually verified all the permissions are fine in the install location and appdata/roaming location (used to be a network admin, I propagated the permissions down and all that jazz), and everything else I can think of. When deleted, the always-included files get added back.

I get the errors:

Error Loading File C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_advancedcameratools/actloader.rbe
Failed to read RBE/RBS file.
Error Loading File C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_dynamiccomponents/ruby/dcloader.rbe
Failed to read RBE/RBS file.
Error Loading File C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_sandbox/sandboxmenus.rbe
Failed to read RBE/RBS file.
Error Loading File C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_trimble_connect/boot.rbe
Failed to read RBE/RBS file.
Error Loading File C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/su_webtextures/webtextures_loader.rbe
Failed to read RBE/RBS file.

Unless I disable them. Disabling them in any combination doesnā€™t seem to work, unless they are all disabled.

Unless thereā€™s a third folder tree that might have permissions issues, to me it looks like a very specific version of .NET is required or else this thing goes bananas. And specifically, anyone who installs this after already having Visual Studio 2016 or the Windows 10 Creator Update installed is going to be locked out of these particular plugins. Unless thereā€™s some other voodoo Iā€™m missing. :wink:

Honestly, the fact that these two donā€™t work is what bugs me the most:

Error Loading File C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/DM_ProfileBuilder2/pb_load.rbe
Failed to read RBE/RBS file.
Error Loading File C:/Users/User/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/ene_buildings/main.rbe
Failed to read RBE/RBS file.

I even tried going back to the 2016 version of sketchup, but I donā€™t have a license for that (just 2017). Blah.

When you installed SU2017, did you right click on the installer and choose Run as administrator? Logging in to the computer as administrator or having administrator privileges is not the same. Failure to install with Run as administrator from the context menu create all sorts of weird problems. To make sure it is installed correctly, find the installer and use Run as administrator. Then choose the Repair option.

Yep, I did, and yep, I know.

Iā€™ve done that, as well as a full uninstall and reinstall with run as administrator on. Iā€™ve also manually added more permissions to the two relevant folder trees that Iā€™m aware of (the install location for sketchup, and the roamingdata location where other sketchup data and plugins are located).