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

2014-02-13 Thread leledumbo
Please load the IDE in the debugger and set a breakpoint at FPC_RAISEEXCEPTION. Then run, reproduce the error and create a backtrace. Done, but gdb doesn't seem to catch the exception. Here's the log: (gdb) b FPC_RAISEEXCEPTION Breakpoint 1 at 0x8072a45 (gdb) run Starting program:

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

2014-02-13 Thread Mattias Gaertner
On Thu, 13 Feb 2014 07:38:08 -0800 (PST) leledumbo leledumbo_c...@yahoo.co.id wrote: Please load the IDE in the debugger and set a breakpoint at FPC_RAISEEXCEPTION. Then run, reproduce the error and create a backtrace. Done, but gdb doesn't seem to catch the exception. Here's the log:

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

2014-02-13 Thread leledumbo
Ah, you debugged startlazarus. Please start /media/LinuxShared/lazarus/lazarus in gdb. No difference: leledumbo@LeleBuntu:/media/Sources/fpc$ gdb /media/LinuxShared/lazarus/lazarus GNU gdb (GDB) 7.5-ubuntu Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or

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

2014-02-12 Thread Allan E. Registos
On Wednesday, 12 February, 2014 02:47 PM, leledumbo wrote: I have no idea since when, but the latest I've tried is r43866. Lazarus keeps asking for FPC source directory and it can't even find its own directory. If Lazarus is on Linux, one problem is due to file permissions. Your .lazarus

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

2014-02-12 Thread Mark Morgan Lloyd
leledumbo wrote: I have no idea since when, but the latest I've tried is r43866. Lazarus keeps asking for FPC source directory and it can't even find its own directory. Even so, after choosing the correct values, upon restarting these are asked again. So, I inspect environmentoptions.xml and

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

2014-02-12 Thread leledumbo
If Lazarus is on Linux, one problem is due to file permissions. Your .lazarus directory was somehow changed to read only or owner so you can't save env variables on it, if not, the file must be corrupt? If on Ubuntu in your home directory, you can try 'sudo chown yourusername.yourusername -R

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

2014-02-12 Thread leledumbo
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

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

2014-02-12 Thread Mattias Gaertner
On Wed, 12 Feb 2014 08:09:48 -0800 (PST) leledumbo leledumbo_c...@yahoo.co.id wrote: 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

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

2014-02-11 Thread leledumbo
I have no idea since when, but the latest I've tried is r43866. Lazarus keeps asking for FPC source directory and it can't even find its own directory. Even so, after choosing the correct values, upon restarting these are asked again. So, I inspect environmentoptions.xml and indeed these values