[Lazarus] LazarusDir and FPCSourceDirectory not saved to environmentoptions.xml

leledumbo leledumbo_cool at yahoo.co.id
Wed Feb 12 17:09:48 CET 2014


After some experiments, it looks like there's a bug in handling MY
environmentoptions.xml.

Running the IDE from terminal shows up:

[TEnvironmentOptions.Save]  error writing
"/home/leledumbo/.lazarus/environmentoptions.xml": EDOMError in
DOMDocument.CreateElement

when I change certain value. but when I rename my .lazarus to .lazarusold,
the IDE creates a new .lazarus folder and when I change the same certain
value, the file can be saved. Moving the new environmentoptions.xml to
.lazarusold and rename it back to .lazarus shows that the IDE can save
modified values. Since the permissions of both files are the same, I simply
copy-paste the contents of my old environmentoptions.xml to the new one.
Guess what? The error message above comes again.

Here I attach the environmentoptions.xml that breaks the saving routine.
Please run lazarus from terminal, try changing a value (e.g. single button
on taskbar) and see the debug log. If it could reveal the same error message
in your installation, I'll file a bug report.
environmentoptions.xml
<http://free-pascal-lazarus.989080.n3.nabble.com/file/n4035804/environmentoptions.xml>  



--
View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/LazarusDir-and-FPCSourceDirectory-not-saved-to-environmentoptions-xml-tp4035799p4035804.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.




More information about the Lazarus mailing list