[Lazarus] Error message if lazarus is closed

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Sep 29 16:48:34 CEST 2014


On Mon, 29 Sep 2014 17:28:25 +0300
Juha Manninen <juha.manninen62 at gmail.com> wrote:

> On Mon, Sep 29, 2014 at 4:35 PM, John Landmesser <jmlandmesser at gmail.com> wrote:
> > In 'file:///home/john1/.lazarus' (line 1 pos 1): Root element is missing
> > In 'file:///home/john1/.lazarus' (line 1 pos 1): Root element is missing
> 
> The *file://* part looks suspicious. Otherwise it is the default
> Lazarus config directory in your Unix/Linux home directory.

This is probably PrimaryConfigPath+''. Some code uses an empty
filename. And worse: it does not catch the exception with a message. So
this code has at least two bugs.
Now we have to find out what code this is.

Mattias




More information about the Lazarus mailing list