[Lazarus] Error when loading forms in Lazarus - Unknown property: "LCLVersion"
Marc Weustink
marc.weustink at cuperus.nl
Fri Aug 8 13:49:21 CEST 2008
Raistware wrote:
> Reenen Laurie escribió:
>> I've found the LCL Version thing too... And it frustrates me...
>> Because I have one PC I have SVN on, and one old 0.9.24 version. If I
>> want to edit a project after I've worked on the SVN, I've got to
>> reopen all my .lfm's and remove it.
>>
>> Can we make that it doesn't add it to EXISTING forms, and only add it
>> to new forms?
See at comment at end.
>>
>> Regards,
>> -Reenen
>>
>>
>>
>> On Fri, Aug 8, 2008 at 9:33 AM, Mattias Gärtner
>> <nc-gaertnma at netcologne.de <mailto:nc-gaertnma at netcologne.de>> wrote:
>>
>> Zitat von Peter Williams <pewtas at gmail.com <mailto:pewtas at gmail.com>>:
>>
>> > Hi Mattias and Lazarus ppl,
>> >
>> > When attempting to open form "Thelpdialogform" I get this error:
>> >
>> > Error reading TJITForms
>> > TJITForms::Thelpdialogform
>> > Error reading Thelpdialogform.LCL Version: Unknown property:
>> "LCLVersion"
>> > [Continue loading] [Cancel loading this resource] [Stop all loading]
>> > (3 buttons)
>> >
>> > Runtime error:
>> >
>> > Error
>> > Project raised exception class 'EReadError' with message:
>> > Unknown property: "LCLVersion"
>> > [OK] <-- button to close message window
>> >
>> > I get this runtime error, on line 2708 of LResources
>> >
>> > What do I need to do to remove these errors?!? Do I need to
>> upgrade my
>> > version of Lazarus?!? If so, how do I do this?
>>
>> The version information was added with 0.9.25. <http://0.9.25.>
>> The 0.9.24 does not know the
>> property.
>> It means you created/edited the form with a 0.9.25 IDE and opened
>> them in a
>> 0.9.24 IDE.
>> To use a 0.9.24 IDE you must remove the LCLVersion line from the
>> lfm files.
>>
>>
>> Mattias
> It should be better to have a config option:
> (X) Add version info to all LFM (default)
> ( ) Add version info to new LFM
> ( ) Do not add version info to LFM files
It is not an option!
The same would happen if we had published a property in SVN.
Marc
More information about the Lazarus
mailing list