unable to load Tsilang_XE104.bpl

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
chesnetda
Posts: 4
Joined: Mon Jan 27, 2025 3:49 pm
Location: France
Contact:

unable to load Tsilang_XE104.bpl

Post by chesnetda »

Hello,
I just installed TSilang (full source) 7.9.7.1 (I have Delphi 2007, 10.4 and 12.2 on my computer).
Under 10.4, Tsilang cannot be loaded. Here is what I find in package management (sorry it's in french).
Rougly it says: impossible to load package c:\Program Files(x86)\SiComponents\Tsilang\Units\Packages\Win32\Tsilang_XE104.bpl. The specified module cannot be found.
Capture d’écran 2025-01-27 165956.png
Capture d’écran 2025-01-27 165956.png (32.45 KiB) Viewed 15260 times
I checked that this package do exist in the folder.
What Am I to do ?

I just noticed that installation seems correct for Rad Studio 10.2 and the the path is rather different:
C:\Users\Public\Documents\Embarcadero\Studio\23.0\Bpl\TsiLang_12.bpl
isiticov
Site Admin
Posts: 2416
Joined: Thu Nov 21, 2002 3:17 pm

Re: unable to load Tsilang_XE104.bpl

Post by isiticov »

Hello,
It looks like this IDE key in the registry was left from previous (older) installation of TsiLang Components Suite. Just click Remove and then Add and select TsiLang_XE104.bpl located in C:\Users\Public\Documents\Embarcadero\Studio\21.0\BPL as the version installs packages there. I would recommend to make a clear reinstall:
1. Close all IDEs.
2. Uninstall TsiLang Components Suite.
3. Check that all files were removed.
4. Perform new clean install.
This will ensure that you have installed all up-to-date versions of all files.
Best regards,
Igor Siticov.
chesnetda
Posts: 4
Joined: Mon Jan 27, 2025 3:49 pm
Location: France
Contact:

Re: unable to load Tsilang_XE104.bpl

Post by chesnetda »

Hello,
Following your advice I uninstalled Tsilang, used ccleaner to remove orphan registry keys, rebooted the computer and re-installed Tsilang 7.9.7.1.
The install wizard auto-seleted RadStudio 12, and I manually added RadStudio 10.4 and CodeGear RadStudio 2007.
In RadStudio 10.4.2 packages manager, Tsilang is there, unselected. The path has changed since the first attempt.
It is now c:\users\dchesnet\Documents\Embarcadero\Studio\21\Bpl\TSilang_XE104.bpl.
This file exists, but if I try to add it, RadStudio says "the specified module is not found".
The folder C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl is empty.

The install is ok in RadStudio 12 (C:\Users\Public\Documents\Embarcadero\Studio\23.0\Bpl\TsiLang_12.bpl)
What can I do ?
Regards,
David

Edit: I explored the registry and found something weird in\HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\21.0\Package Cache\TsiLang_XE104.bpl.
The "package group" key has values:
"C:\Program Files (x86)\SiComponents\TsiLang\Units\Packages\Win32\TsiLang_XE104.bpl",C:\WINDOWS\SYSTEM32\TsiLang_XE104r.bpl
I didn't find any Tsilang file in c:\windows\system32.
isiticov
Site Admin
Posts: 2416
Joined: Thu Nov 21, 2002 3:17 pm

Re: unable to load Tsilang_XE104.bpl

Post by isiticov »

Are there any other BPLs in the folder: c:\users\dchesnet\Documents\Embarcadero\Studio\21\Bpl\ and they are installed into RAD Studio 10.4?
Are there also the TsiLang_XE104r.bpl file?
Because it is strange that the file was installed into this folder, as usual location would be the sub-folder under C:\Users\Public\Documents\Embarcadero\Studio\21.0\.
So, please check the availability of TsiLang_XE104r.bpl as the design-time package TsiLang_XE104.bpl loads the run-time package TsiLang_XE104r.bpl.
Best regards,
Igor Siticov.
chesnetda
Posts: 4
Joined: Mon Jan 27, 2025 3:49 pm
Location: France
Contact:

Re: unable to load Tsilang_XE104.bpl

Post by chesnetda »

C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl is empty.
C:\Users\dchesnet\Documents\Embarcadero\Studio\21.0\Bpl contains:
Tsilang_XE104.bpl, Tsilang_XE104r.bpl, siInternetTranslator_XE104r;bpl and a Win64 folder (which contains TsiLang_XE104r.bpl and siInternetTranslator_XE104r.bpl).
Capture d’écran 2025-01-28 112339.png
Capture d’écran 2025-01-28 112339.png (17.42 KiB) Viewed 15251 times
isiticov
Site Admin
Posts: 2416
Joined: Thu Nov 21, 2002 3:17 pm

Re: unable to load Tsilang_XE104.bpl

Post by isiticov »

It is strange that the error message doesn't display which module it can't load. TsiLang_XE104.bpl loads 2 other BPLs and they do exist in the folder as I can see. If you remove the TsiLang package from the list in Packages Manager and then add it manually. Does the error message differ?
Will the error message gone if you copy both packages with "r" suffix into Windows's system32 folder?
Best regards,
Igor Siticov.
chesnetda
Posts: 4
Joined: Mon Jan 27, 2025 3:49 pm
Location: France
Contact:

Re: unable to load Tsilang_XE104.bpl

Post by chesnetda »

I copied both packages with "r" suffix into Windows's system32 folder. It didn't help.

Then I copied the content of C:\Users\dchesnet\Documents\Embarcadero\Studio\21.0\Bpl to C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl, and it worked, I was able to add C:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl\TsiLang_XE104.bpl using the package manager.

To help circumvent the trouble, I removed the package, closed the IDE, deleted the packages with "r" from the System32 folder. Then re-open the IDE and reselected Tsilang_XE104.bpl. I worked like a charm.
It seems that the problem lies in a confusion between my user account and the public folder.

I finally had a permission problem with C:\Program Files (x86)\SiComponents\TsiLang\Units when compiling my project: "cannot write siConst.dcu". I had to add my user account on this folder and give it write permission.

If it can help, I attached a list of the registry keys of BDS21.0 related to Tsilang (a zipped txt file).
Thanks for helping !
David
Attachments
BDS21_registry.7z
(1000 Bytes) Downloaded 609 times
Post Reply