Patch for Bug 608032 - MySQL timeout and no attempt reconnect

2010-02-04 Thread Tom Van Braeckel
Hi guys, Here's another patch - my first *code* patch to GnuCash ! Rationale: When we try to open a database transaction, and the database reports that the server has gone away, we try to reconnect before failing hard. I've also attached it to the bug report, and taken the liberty to add myself

Tester's dilemma - I want to test GnuCash thoroughly, but don't risk corrupting my data...

2010-02-04 Thread Tom Van Braeckel
Hi guys, Maybe you've heard this question before, but I couldn't find an answer to it in the list archives or the FAQ... I'd like to test GnuCash thoroughly, and I think the best way to do that is by using an SVN trunk build for my daily accounting. Then when I discover a bug, I'll be directly

Re: Custom Report in Windows

2010-02-04 Thread Derek Atkins
Hi, What if you try running GnuCash in GDB? -derek Jason Dunham jwdun...@gmail.com writes: I am still futzing around with the basics of custom reports without much success. I'm running GC 2.3.8 on Windows 7 64-bit. This is the contents of my config.user file: (load-from-path

Re: GnuCash 2.2.9

2010-02-04 Thread Ulrike Fischer
Am Wed, 03 Feb 2010 09:13:52 +0100 schrieb Christian Stimming: Zitat von Mick Sawyer micksaw...@o2.co.uk: Hi, I've just moved over to Gnucash and I'm trying to display the split accounts in the transfer column of the transaction report. All I can get is transfer to split. Any ideas?

Re: Tester's dilemma - I want to test GnuCash thoroughly, but don't risk corrupting my data...

2010-02-04 Thread trythis
Tom Van Braeckel wrote: So there seems to be a trade-off between testing thoroughly and frequently, and avoiding data loss... What are your strategies for testing and using GnuCash (at the same time), while avoiding serious risks ? -devel I am probably too much of a rookie to reply

Re: Patch for Bug 608032 - MySQL timeout and no attempt reconnect

2010-02-04 Thread Geert Janssens
On Thursday 4 February 2010, Tom Van Braeckel wrote: Hi guys, Here's another patch - my first *code* patch to GnuCash ! Rationale: When we try to open a database transaction, and the database reports that the server has gone away, we try to reconnect before failing hard. Hi, Thanks you

Re: GnuCash 2.2.9

2010-02-04 Thread Geert Janssens
On Thursday 4 February 2010, Ulrike Fischer wrote: Am Wed, 03 Feb 2010 09:13:52 +0100 schrieb Christian Stimming: Zitat von Mick Sawyer micksaw...@o2.co.uk: Hi, I've just moved over to Gnucash and I'm trying to display the split accounts in the transfer column of the transaction report.

Re: Patch for Bug 608032 - MySQL timeout and no attempt reconnect

2010-02-04 Thread Tom Van Braeckel
On Thursday 4 February 2010, Tom Van Braeckel wrote: Hi guys, Here's another patch - my first *code* patch to GnuCash ! Rationale: When we try to open a database transaction, and the database reports that the server has gone away, we try to reconnect before failing hard. Hi,

Re: GnuCash 2.2.9

2010-02-04 Thread Mark Haanen
Op donderdag 04-02-2010 om 16:25 uur [tijdzone +0100], schreef Geert Janssens: On Thursday 4 February 2010, Ulrike Fischer wrote: Am Wed, 03 Feb 2010 09:13:52 +0100 schrieb Christian Stimming: Zitat von Mick Sawyer micksaw...@o2.co.uk: Hi, I've just moved over to Gnucash and I'm

Re: Tester's dilemma - I want to test GnuCash thoroughly, but don't risk corrupting my data...

2010-02-04 Thread Tom Van Braeckel
Thanks for the detailed description, I'll give it a go ! Tom Van Braeckel GSM: 0032 (0) 486 63 58 04 On Thu, Feb 4, 2010 at 3:40 PM, trythis grahaml...@gmail.com wrote: Tom Van Braeckel wrote: So there seems to be a trade-off between testing thoroughly and frequently, and avoiding

Re: GnuCash 2.2.9

2010-02-04 Thread Geert Janssens
On Thursday 4 February 2010, Mark Haanen wrote: Op donderdag 04-02-2010 om 16:25 uur [tijdzone +0100], schreef Geert Janssens: On Thursday 4 February 2010, Ulrike Fischer wrote: Am Wed, 03 Feb 2010 09:13:52 +0100 schrieb Christian Stimming: Zitat von Mick Sawyer micksaw...@o2.co.uk:

Re: Patch for Bug 608032 - MySQL timeout and no attempt reconnect

2010-02-04 Thread Geert Janssens
On Thursday 4 February 2010, Tom Van Braeckel wrote: On Thursday 4 February 2010, Tom Van Braeckel wrote: Hi guys, Here's another patch - my first *code* patch to GnuCash ! Rationale: When we try to open a database transaction, and the database reports that the server has gone

Re: Patch for Bug 608032 - MySQL timeout and no attempt reconnect

2010-02-04 Thread Phil Longstaff
On Thu, 2010-02-04 at 22:26 +0100, Geert Janssens wrote: On Thursday 4 February 2010, Tom Van Braeckel wrote: On Thursday 4 February 2010, Tom Van Braeckel wrote: Hi guys, Here's another patch - my first *code* patch to GnuCash ! Rationale: When we try to open a database

.gnucash and GNC_DOT_DIR

2010-02-04 Thread John Ralls
Motivated by a recent issue in gnucash-users, where a MacOSX user had trouble because .gnucash is invisible to TextEdit (which normal users would use to edit a file), and because it's actually necessary to edit .gnucash/saved-reports-2.0 to clean old reports from the menu, I decided that for

Re: .gnucash and GNC_DOT_DIR

2010-02-04 Thread Andreas Köhler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi John, I like code to be improved, but a few things come to my mind. You can probably fix them rather easily. - - Watch out for memory leaks. E.g. you must free the result of gnc_path_get_pkgdatadir() after usage, otherwise you leak it. The