[lazarus] Can't open Lazarus anymore...

Andrew Johnson aj_genius at hotmail.com
Tue Sep 24 22:10:11 EDT 2002

On Tue, 24 Sep 2002 20:11:26 -0500
"Tony Maro" <TonyM at nlisc.com> wrote:

>I finally killed Lazarus and upon reopening I get...

>Error reading /home/tony/.lazarus/codetoolsoptions.xml
>Access violation
>[Abort] [Ignore] (either button results in Lazarus closing)

>Looking in that directory, the codetoolsoptions.xml file does not exist.

>I renamed the project directory, opened lazarus, renamed the project 
>directory BACK and then opened the >project from the recent list.

>The project opens and compiles just fine...

>However, upon closing and reopening Lazarus (with the remembered project 
>location) Lazarus crashes at >start.

>I imagine the project file is corrupted somehow, but any idea what I should 
>look for?  What would be different when Lazarus first openes versus when 
>opening a project after start?

HA! Someone else finally gets it! Well this may not be the exact same 
problem I have been getting but it sounds very similar.. either way :

1.)move the .lpi file to .lpi.bad or some-such
2.)try moving the backup version(*.lpi.bak, or ./backup/*.lpi.bak or the 
like) to use it instead.
3.) try reopening lazarus

If it still happens..

4.)delete the .lpi(not the .bad version keep that in case we can look at it 
later to trace down any problems if possible)

5.)open Lazarus.
6.)In Lazarus do a Project->New Project From File
7.) select the .lpr file
8.)save as the same .lpi file as you deleted.. this should fix it.


MSN Photos is the easiest way to share and print your photos: 

More information about the Lazarus mailing list