siLangLinked1.LangNames.Strings Invalid Property value

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
galdur
Posts: 9
Joined: Tue Aug 14, 2007 8:31 am

siLangLinked1.LangNames.Strings Invalid Property value

Post by galdur »

Hi,

I'm using TsiLang 6.1.0.1, after I added a fifth language I started getting this error. I did have some old BPL's from an older version installed so I reinstalled TsiLang but still I have this issue.

I get:

EReadError Invalid Property value.
Error Reading siLangLinked1.LangNames.Strings Invalid Property value

when running my program.


When I try to save in the TsiLang IDE Expert to project, I get a similar error, something like

2. silangrt1.strings

or thereabout (definitely "2. silangrt1)

there's no silangrt in the project, though there are components called that (remnants from conversion from rt to silanglinked).
isiticov
Site Admin
Posts: 2385
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Please try open all (or at least problematic) forms in IDE and click Ignore if there will be similar error. After that save these forms back.
Please let us know if this helps.
Best regards,
Igor Siticov.
galdur
Posts: 9
Joined: Tue Aug 14, 2007 8:31 am

Post by galdur »

I tried that, it fails on the first form the .DPR tries to create which is a simple splash form. I tried deleting and recreating the TsiLangLink on that form, no change, I tried removing the Lang.Strings from the .dfm so that it would use the dispatcher/Lang information, no change.
isiticov
Site Admin
Posts: 2385
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Is this the only form with such problem? Because this is very strange, even more if it reproduced after recreation.
Best regards,
Igor Siticov.
galdur
Posts: 9
Joined: Tue Aug 14, 2007 8:31 am

Post by galdur »

The exact message I get when I try to save to a project (.SIB or .SIL) file is

2. Error:Error reading siLangRT1.LangNames.Strings: Invalid property value.

I get that message for each and every form within my program when I do the save.
galdur
Posts: 9
Joined: Tue Aug 14, 2007 8:31 am

Post by galdur »

Here's the stack state when my app stops with an exception upon load:

ReadError($4126F4)
PropValueError
TReader.ReadString
TStrings.ReadData($1260C54)
TReader.DefineProperty('Strings',$12621C8,$12621C8,True)
TStrings.DefineProperties($1260C54)
TReader.ReadProperty($1261524)
TReader.ReadDataInner($1261524)
TReader.ReadData($1261524)
TComponent.ReadState($1260C54)
TReader.ReadRootComponent($1261524)
TStream.ReadComponent($1261524)
TSIBFileManager.LoadFromStream($11F95D4,'TFSplash',$122C270)
TSIBFileManager.LoadFromFile($11F95D4,'TFSplash','e:\d5\apps\apps\evert.sib')
TsiCustomLang.LoadAllFromBinaryFile('e:\d5\apps\app\app.sib')
TsiLangDispatcher.AddReference($11F95D4)
TsiCustomLang.SetLangDispatcher($125B30C)
SetOrdProp(???,???,???)
TReader.ReadRootComponent($1204820)
TStream.ReadComponent($1204820)
InternalReadComponentRes('TDMBC',4194304,$1204820)
InitComponent(TDMBC)
InitInheritedComponent($1204820,TDataModule)
TDataModule.Create($11F1160)
TApplication.CreateForm(TDMBC,(no value))
galdur
Posts: 9
Joined: Tue Aug 14, 2007 8:31 am

Post by galdur »

I finally got it to work by removing all the components, one by one, from all fourty forms - langlinked, lang, dispatcher - shutdown, open, using the wizard to add them back.

My biggest issue now is HOW do I get the constant strings back into the system?

I opened the old .SIB/SIL's I had lying around and added them to the dictionary and imported the strings into the system, but how can I do that for the constant strings which are littered through the files? I've already been forced to do that once, and I don't relish the thought of having to repeat that experience.
isiticov
Site Admin
Posts: 2385
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

If you have SIL/SIB file you can just load it into the project and this will load the content for Strings.
Best regards,
Igor Siticov.
galdur
Posts: 9
Joined: Tue Aug 14, 2007 8:31 am

Post by galdur »

Hi, well I got the constant strings in by loading them from a .SIL file without everything going haywire.
Post Reply