Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-09

Problems after updating on Windows

6 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé

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.

Reply by email

Mattias Gaertner
to Leonardo M. Ramé

?

"Leonardo M. Ram?" hat am 14. September 2011 um 15:18 geschrieben:

Show quoted text 10 lines
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. ? ?
If you use 0.9.30 or below:
Start lazarus with --debug-log=log.txt.
This will tell you the primary config path as well. ?
Now find out, why these files are deleted/not stored on your system. ?
Mattias
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110914/ebd993fc/attachment.html>

Reply by email

Leonardo M. Ramé
to Mattias Gaertner
Mattias Gaertner wrote 28 lines
"Leonardo M. Rame" 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\Configuraci?n local\Datos de programa\lazarus\

In that directory I have this:

idemake.cfg
laz_indentation.pas
lazarus.dci
staticpackages.in

How can I force Lazarus to re-create the needed files?

Reply by email

Mattias Gaertner
to Leonardo M. Ramé

?

"Leonardo M. Ram?" hat am 14. September 2011 um 16:13 geschrieben:

Show quoted text 43 lines
On 2011-09-14 15:38:05 +0200, Mattias Gaertner wrote: >? ? ? > >? ? "Leonardo M. Rame" 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\Configuraci?n 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 "?"? But then you should see an error message on stdout.?
?
?
Mattias
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110914/a108c5a8/attachment-0001.html>

Reply by email

Leonardo M. Ramé
to Mattias Gaertner
Mattias Gaertner wrote 72 lines
"Leonardo M. Rame" hat am 14. September 2011 um 16:13 geschrieben: > On 2011-09-14 15:38:05 +0200, Mattias Gaertner wrote: > > > > > > "Leonardo M. Rame" 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

Reply by email

Leonardo M. Ramé
to Leonardo M. Ramé
Leonardo M. Ram? wrote 81 lines
On 2011-09-14 16:40:35 +0200, Mattias Gaertner wrote: > > > "Leonardo M. Rame" hat am 14. September 2011 um 16:13 > geschrieben: > > > On 2011-09-14 15:38:05 +0200, Mattias Gaertner wrote: > > > > > > > > > "Leonardo M. Rame" 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

Well, for now, I added "--primary-config-path=e:\lazarus\config" to the shortcut that calls startlazarus on my desktop.

Reply by email