Rgloader - Sketchup problems.!

I don’t know the right category, so please, I leave it to you to fix that…!

Below is a chain of 4 emails between me and Curic, that may be helpful for everybody, and maybe you will also notify Dale Martens (and others).!

Mail 1, initial mail, from me:

"This one (Curic Single Line Text) has big issues (at least v1.0.0).
I use SU 2022, and this extension (after a few SU restarts) begins to create troubles, as follows:

  • either you receive a window message from Curic when you start SU that says that you miss rgloader somewhere (it does not say for which extension)
  • either it interferes with other extensions (when you start SU) and stops them from loading, and this happens only with extensions that have their own rgloader folder (for example PB4 and others…)
  • either SU can not start at all, or at some point during its start, it simply closes without any message

None of these errors are consistent, you have to try restarting SU a few times and you will eventually manage to start it properly, but once you have one of these errors at least once, PrivatePreferences.json will eventually become corrupt and you will have to delete it.
The only cure I have found (after 4-5 hours of testing and playing with different saved versions of PrivatePreferences.json) was to disable this extension and all problems are gone, and also all the (apparently corrupted) versions of saved PrivatePreferences.json are suddenly working.
I’m not sure, but the same issue (with rgloader) might be also in Birdcage (True Isolate), but maybe only a more minor one; I’m not very sure so I will not ask for a refund yet - I still have 2 days for a refund, but I don’t think that I will be able to draw a definitive conclusion in only 2 days…

I don’t know if this matters, but both of these extensions are not in the default Plugins folder, but repathed through TT Extension Sources plugin.
Anyway, if this is an issue, that would be a truly unique exception - extensions either can be repathed, or can not be repathed (which is true for only a very few), so far I haven’t seen one that can start, but also can not work properly (if it doesn’t start, you just know that you have to move it to the default folder).
And why would this be an issue:!? I have in that folder 239 extensions (tested many times), of which 30 are always on…???

It would truly be helpful a feedback, so i know where is the mistake, and what should i do…!!"

Mail 2, also from me:

"Ha, i’ve found the solution, yet with the help of TT Extension Sources.!
My solution is somehow stupid, because the fault is either in APIs (on Trimble side or Rubyencoder side), or either of the developers.

I’ll wait for your solution, and after that I’ll tell you mine."

Mail 3, from Curic:

"Dear Florin,

Thank you for reaching out and informing me about the issues you have encountered with the plugin. I truly appreciate your proactive approach and the method you’ve used to investigate these errors.

Since the launch of SketchUp 24, I have decided to switch to a new security mechanism using Ruby Encoder, which might still have some bugs during this initial phase. I understand that many other developers have also started using Ruby Encoder, employing various methods to load libraries. In my case, I adhere to the most basic approach without altering any loading behaviors.

Could you let me know if you are using any other plugins that also utilize Ruby Encoder? This information might help us understand the scope and impact of the issue better.

I am familiar with TT Extension Sources and also have my own tool for managing plugins outside the default Plugins folder.

Looking forward to your response and eager to compare our findings to resolve these issues effectively.

Best regards,

Võ Quốc Hải"

Mail 4, from me:

"Thank you for your reply.!

Plugins that I use and which they use rgloader:

  • ABF
  • Curic Single Line Text
  • Curic True Isolate (Birdcage)
  • Profile Builder (only starting from version 4)
  • SK Model Box (Babao Library, huge library…)
  • all of the RBC plugins (but those only work in SU 2018 or below)

What I’ve found is that is a big issue with rgloader, and I think is very important that you tell everybody.
The issue is that if you have more than one extension (that autostarts with SU) that has an rgloader folder, sooner or later you’re asking for problems, it’s not happening right away (you have to restart SU a few times and use it sometime…) so it’s very difficult to make the connection.
What I did is I disabled all of them (with rgloader) through TT Extension Sources, i kept only Birdcage to autostart, and all the other ones i start them manually from TT Extension Sources, i also deleted the entire content of rgloader from Single Line Text (and thus it can autostart with SU) because it has the same content as Birdcage (and most importantly the same line codes in Loader.rb.!) so it automatically uses those from Birdcage; i tried to also delete the content of rgloader from other extensions, but it doesn’t work because each one uses different line codes in Loader.rb.

For this problem to go, i think there has to be a global solution, so Trimble, with Ruby Encoder, and with all the developers, have to find a way to use a common rgloader folder (or maybe each one has to create exceptions in loader.rb from inside the rgloader folder…???), otherwise, the problems are just starting to arise, this is just the beginning…

P.S.: Will you please tell me what is your tool for managing plugins outside the default Plugins folder.!? It may be Fredo Additional Plugin Folders, or there is another one, A.S._On-Demand Extension Loader…
I use TT Extension Loader because is the only one that has indexing, and thus dynamic searching option.!

Thank you.!"

If you consider that there is a mistake on mi side, please let me know.!
Thank you.!

As I’ve said, this is not just about Curic, and “… that may be helpful for everybody …”.!!

After all this time (and many other tests), I have to make a correction - this bug is only present for Sketchup versions below 2024.
SU 2024 doesn’t care about how many extensions you have with rgloader.!

I’ve found that everything i wrote here has spread on the internet, and even AI refers to this topic, which is why i feel obligated to correct the last post.

The problem is not nonexistent after SU2023, it is just slightly better, i think SU 2024-2026 versions are just better at handling this issue, but every now and then… you just need to try multiple times to start SketchUp, and even when it starts, the start time it is noticeably longer, which is why is better to put these extensions in a separate folder, and start them all afterwards with a single click through:

– Thom Thom Extension Sources (the best so far),

– or Fredo Additional Plugin Folders,

– or Alex Schreyer On-Demand Extension Loader,

– or @curic4su RBZ Tools (better than TT Extension Sources, according to Curic’s description), when and if he will make it available to the public; this is a problem caused mainly by him, which is why he could do at least this small thing.!

Hi,
considering that the version available for download is still 1.0.0, @curic4su, have you looked for any solution to fix this extension, to make it work correctly in all versions specified on the product page and to no longer break SketchUp and other installed extensions?
Thanks if you answer!

Mersi, Florin!

The problem is not just “Single Line Text”, but Ruby Encoder, and it seems that only Curic’s extensions that use Ruby Encoder interfere with any other extensions that use Ruby Encoder (from any other developers), if you use only Curic’s extension that use Ruby Encoder, than they get along without issues.

1 Like

That and the fact that it’s already been two years since you brought the problem to his attention and he replied that he would solve it, that’s why I asked him again now if he’s worked on a solution. Since the other extensions don’t create problems for each other, the problem is with the extension(s) from Curic and the lack of a solution.

In these two years, he could have at least specified the existence of this problem on the page where he sells the extension, so that people would be informed and not buy a broken extension.

Luckily, I came across your post and found out before I installed the extension that it would break my SketchUp, but too late to not buy the license.

Thanks!

The only safe solution - DO NOT let them autostart with SketchUp, load them after you start SketchUp, but this is very annoying.

And if one of them require restart (Profile Builder 4.0+ for example…), well, you have to use only that one at a time, or at least do not mix it with other extensions from Curic…

P.S.: I think, maybe, you are from Romania…!!?? :slight_smile: Because i am.! :slight_smile:

1 Like

Yes, but that’s not a way to work with a program. I just need to avoid getting more extension licenses from Curic and avoid installing the ones I already got.

:slight_smile: Da, din România, poți face click pe username-ul meu sau pe avatarul albastru de lîngă el.

Mersi din nou pentru informațiile despre această extensie cu probleme.

Man, we have to be honest, his extensions are exceptional, useful, and with a very modern UI, and not all of them have Ruby Encoder…

For example, Curic to CAD is unique, truly unique, very useful.

And also Curic from CAD, unique, and useful.

P.S.: Vezi ca ti-am dat mesaj pe Facebook!

Have you tried to download rgloader from the ruby encoder page and replace it in curic’s plugins?

I have Curic Single Line, profile builder and more with no problems

I tried that once, but the files and scripts are not identical, so the extensions don’t start with those files.

Each file (even if the name is identical) has a different script put inside by the developer.

And I’m not alone in this, see @mihai.s , and also on different comments on Youtube, different other people that i tried to tell them what the cause of their issue is.

Thanks, Rafael @rtches

I suspect that if there was a solution, Curic would have updated the extension in two years.
But that’s not how it should be! :expressionless_face:

Can you please tell me if you have tested this in SketchUp version 2022? Because for versions from the last 3 years, it seems to work somewhat.

Have a good day!

No, I have checked my SketchUp 2022 installation and at that time I did not have Curic Single Line. I also had Profile Builder 3, the version 4 I should have had it later.

1 Like

Profile Builder 4.0.0 tolerates this issue better, anything beyond 4.0.0, is a pain.

Maybe it’s the last plugin that SketchUp loads. The Ruby Encoder methods are that same for all plugins but each plugin load their own RG Loader folder, the last one it’s the plugin which will work better.