[lazarus] form streaming error problem

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Nov 6 14:08:17 EST 2003


On Wed, 05 Nov 2003 13:09:52 -0500
Andrew Johnson <acjgenius at earthlink.net> wrote:

> I discovered a problem with error handling of form streaming. I have a
> form with an invalid component in it.
> 
> To reproduce this error I installed Tony's tmpack, added a hover button
> to the form. saved the project.  closed the ide and rebuilt from the c/l
> (i.e. without the package) upon opening lazarus it auto reopened the
> project with the hover button and the Following  occurs -
> 
> I get a Error Reading Form with a cancel button. 

removed

 
> Upon clicking "Cancel" I get a more descriptive error, of a specific
> component. If I click "Ignore" on this error the form finishes loading,
> though scrambled(as expected). However if I click "Cancel" on this error
> then I get an "Unable to build form from file" error.

removed


> When I click Ok on
> this then the Ide goes into a recursive loop and becomes unresponsive
> spitting - 
> 
> [TMainIDE.DoOpenMainUnit] A ProjectLoading=TRUE MainUnitID=0
> 
> on the command line.

fixed

 
> If on this 3rd error I clicked "Cancel" I get the save project prompt.
> if I cancel or close, I get another recursive loop spitting - 
> 
> TMainIDE.DoCloseEditorFile A PageIndex=0
> 
> on the command line.
> 
> Not likely a very common problem, but should probably be looked into,
> and I am not sure where this is likely to be caused to try and fix it
> myself.


Mattias






More information about the Lazarus mailing list