[Lazarus] Problems after updating on Windows

Leonardo M. Ramé l.rame at griensu.com
Wed Sep 14 16:59:03 CEST 2011


On 2011-09-14 16:40:35 +0200, Mattias Gaertner wrote:
>     
> 
>    "Leonardo M. Rame" <l.rame at griensu.com> hat am 14. September 2011 um 16:13
>    geschrieben:
> 
>    > On 2011-09-14 15:38:05 +0200, Mattias Gaertner wrote:
>    > >     
>    > >
>    > >    "Leonardo M. Rame" <l.rame at griensu.com> hat am 14. September 2011
>    um 15:18
>    > >    geschrieben:
>    > >
>    > >    > Hi, after updating from svn on Windows, and doing "make clean
>    all", I
>    > >    run Lazarus from a shortcut on
>    > >    > my desktop that calls "E:\lazarus\startlazarus.exe".
>    > >    >
>    > >    > The problem is that every time I run it, it asks for the FPC
>    Sources
>    > >    > directory. It should store that value on some file or folder, but
>    it
>    > >    > apparently is skiping this step.
>    > >    >
>    > >    > I also noted that Tools->Options->Make path is empty, and I have
>    to fill
>    > >    > it again and again every time I start Lazarus.
>    > >
>    > >     
>    > >
>    > >    If you use 0.9.31:
>    > >
>    > >    Look into View / IDE Internals / About IDE. This will show the
>    primary
>    > >    config path, the directory where the IDE stores its files. 
>    > >
>    > >     
>    > >
>    > >    Now find out, why these files are deleted/not stored on your
>    system.
>    > >
>    > >    Mattias
>    >
>    > Thanks Mattias, the config files are stored in:
>    >
>    > C:\Documents and Settings\Administrador\Configuracion local\Datos de
>    programa\lazarus\
>    >
>    > In that directory I have this:
>    >
>    > idemake.cfg
>    > laz_indentation.pas
>    > lazarus.dci
>    > staticpackages.in
> 
>     
> 
>    Strange. All xml files are missing. 
> 
>    When you start the IDE with --debug-log=log.txt, do you see any error
>    message in the log.txt? 
> 
>     
> 
>     
>    > How can I force Lazarus to re-create the needed files?
> 
>     
> 
>    The IDE always creates the needed files.
> 
>    Maybe the xml writer has problems with the "o"? But then you should see an
>    error message on stdout. 

I attached the log.txt

This version of Lazarus apparently cannot work with directory names
containing accents.

I'm using FPC 2.7.1 - Lazarus 0.9.1 both from svn trunk on Windows 2003

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com
-------------- next part --------------
NOTE: editor options config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults
NOTA: No se ha encontrado el archivo de configuraci?n de las CodeTools - usando valores predeterminados
TFPCTargetConfigCache.NeedsUpdate compiler file changed "E:\pp\bin\i386-win32\fpc.exe" FileAge=1060002755 StoredAge=0TFPCTargetConfigCache.Update E:\pp\bin\i386-win32\fpc.exe TargetOS= TargetCPU= CompilerOptions= ExtraOptions= PATH=E:\pp\bin\i386-win32;c:\Archivos de programa\CollabNet\Subversion Client;C:\Archivos de programa\Embarcadero\RAD Studio\7.0\bin;C:\Documents and Settings\All Users\Documentos\RAD Studio\7.0\Bpl;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Delphi7SE\bin;C:\Archivos de programa\Delphi7SE\Projects\BPL;C:\Archivos de programa\TortoiseSVN\bin;C:\mingw\bin;c:\cygwin\bin;C:\Archivos de programa\Vim\vim72;e:\FPC-bin\bin\i386-Win32;P:\bpl;C:\Archivos de programa\OpenVPN\bin;C:\mingw\binRunTool E:\pp\bin\i386-win32\fpc.exe -iTOTP -Pi386 -Twin32RunTool E:\pp\bin\i386-win32\fpc.exe -va -Pi386 -Twin32 compilertest.pasTFPCTargetConfigCache.Update: has changedTFPCTargetConfigCache.NeedsUpdate compiler file changed "E:\pp\bin\i386-win32\fpc.exe" FileAge=1060002755 StoredAge=0TFPCTargetConfigCache.Update E:\pp\bin\i386-win32\fpc.exe TargetOS=win32 TargetCPU=i386 CompilerOptions= ExtraOptions=-FrE:\lazarus\components\codetools\fpc.errore.msg PATH=E:\pp\bin\i386-win32;c:\Archivos de programa\CollabNet\Subversion Client;C:\Archivos de programa\Embarcadero\RAD Studio\7.0\bin;C:\Documents and Settings\All Users\Documentos\RAD Studio\7.0\Bpl;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Delphi7SE\bin;C:\Archivos de programa\Delphi7SE\Projects\BPL;C:\Archivos de programa\TortoiseSVN\bin;C:\mingw\bin;c:\cygwin\bin;C:\Archivos de programa\Vim\vim72;e:\FPC-bin\bin\i386-Win32;P:\bpl;C:\Archivos de programa\OpenVPN\bin;C:\mingw\binRunTool E:\pp\bin\i386-win32\fpc.exe -iTOTP -Pi386 -Twin32 -FrE:\lazarus\components\codetools\fpc.errore.msgRunTool E:\pp\bin\i386-win32\fpc.exe -va -Pi386 -Twin32 -FrE:\lazarus\components\codetools\fpc.errore.msg compilertest.pasTFPCTargetConfigCache.Update: has changedLoadFPCDefinesCaches Error loading file C:\Documents and Settings\Administrador\Configuración local\Datos de programa\lazarus\fpcdefines.xml:Unable to create file "C:\Documents and Settings\Administrador\Configuración local\Datos de programa\lazarus\fpcdefines.xml"NOTE: help options config file not found - using defaults
NOTE: unable to read C:\Documents and Settings\Administrador\Configuración local\Datos de programa\lazarus\packagefiles.xml Unable to create file "C:\Documents and Settings\Administrador\Configuración local\Datos de programa\lazarus\packagefiles.xml"
[TInputHistories.Save]  error writing "C:\Documents and Settings\Administrador\Configuración local\Datos de programa\lazarus\inputhistory.xml" Unable to create file "C:\Documents and Settings\Administrador\Configuración local\Datos de programa\lazarus\inputhistory.xml"
LAZARUS END - cleaning up ...
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
TIDEProgressWindow.Notification 0
[FORMS.PP] ExceptionOccurred 
  Sender=EFCreateError
  Exception=Unable to create file "C:\Documents and Settings\Administrador\Configuración local\Datos de programa\lazarus\environmentoptions.xml"
  Stack trace:
  $0048B5D9
  $0067DD76  WRITEXMLFILE,  line 862 of laz2_xmlwrite.pas
  $0064BF24  TXMLCONFIG__FLUSH,  line 208 of laz_xmlcfg.pas
  $0064BE0F  TXMLCONFIG__DESTROY,  line 181 of laz_xmlcfg.pas
  $0040B962
  $0040B962
  $00441803  TMAINIDE__DESTROY,  line 1545 of main.pp
  $0040B962
TApplication.HandleException Unable to create file "C:\Documents and Settings\Administrador\Configuración local\Datos de programa\lazarus\environmentoptions.xml"
  Stack trace:
  $0048B5D9
  $0067DD76  WRITEXMLFILE,  line 862 of laz2_xmlwrite.pas
  $0064BF24  TXMLCONFIG__FLUSH,  line 208 of laz_xmlcfg.pas
  $0064BE0F  TXMLCONFIG__DESTROY,  line 181 of laz_xmlcfg.pas
  $0040B962
  $0040B962
  $00441803  TMAINIDE__DESTROY,  line 1545 of main.pp
  $0040B962
[FORMS.PP] ExceptionOccurred 
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $008314C5  TENVIRONMENTOPTIONS__DESTROY,  line 864 of environmentopts.pp
  $0040B962
  $00441803  TMAINIDE__DESTROY,  line 1545 of main.pp
  $0040B962
  $004234CD  BEFOREFINALIZATION,  line 1739 of forms.pp
  $0040E019
  $0040C929
  $0040B962
TApplication.HandleException Access violation
  Stack trace:
  $008314C5  TENVIRONMENTOPTIONS__DESTROY,  line 864 of environmentopts.pp
  $0040B962
  $00441803  TMAINIDE__DESTROY,  line 1545 of main.pp
  $0040B962
  $004234CD  BEFOREFINALIZATION,  line 1739 of forms.pp
  $0040E019
  $0040C929
  $0040B962
[FORMS.PP] ExceptionOccurred 
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $008314C5  TENVIRONMENTOPTIONS__DESTROY,  line 864 of environmentopts.pp
  $0040B962
  $00441803  TMAINIDE__DESTROY,  line 1545 of main.pp
  $0049509F
  $0040B962
  $00423308  INTERFACES_$$_finalize,  line 43 of interfaces.pp
  $0040DEB8
  $0040C929
  $0040B962
  $004234CD  BEFOREFINALIZATION,  line 1739 of forms.pp
  $0040E019
  $0040C929
  $0040B962
TApplication.HandleException Access violation
  Stack trace:
  $008314C5  TENVIRONMENTOPTIONS__DESTROY,  line 864 of environmentopts.pp
  $0040B962
  $00441803  TMAINIDE__DESTROY,  line 1545 of main.pp
  $0049509F
  $0040B962
  $00423308  INTERFACES_$$_finalize,  line 43 of interfaces.pp
  $0040DEB8
  $0040C929
  $0040B962
  $004234CD  BEFOREFINALIZATION,  line 1739 of forms.pp
  $0040E019
  $0040C929
  $0040B962


More information about the Lazarus mailing list