python-bindings: coredump whil executing gnucash.Session

John Ralls jralls at
Mon Dec 15 10:17:08 EST 2014

> On Dec 14, 2014, at 11:20 PM, Marcus Wellnitz <marcus at> wrote:
> Hash: SHA1
> Hello John,
> I've never used the git repoitory. It's all plain Ubuntu code plus
> micha's repository:
> deb trusty main
> I'll check if a self-build GnuCash will eleminate the error.

Ah, so you meant that Ubuntu upgraded something, maybe GnuCash, maybe not, and that's what broke your code.

Seems to me that there are two alternatives: You can see if GnuCash was in fact upgraded, and if it was roll it back and test again. Otherwise, get the debugging symbols for Python and GnuCash and run your python script under gdb like this:

$> gdb python
(gdb) r path/to/your/script script args

When it crashes, run
(gdb) bt

Which will dump a stack trace at the time of the crash. Post that here.

John Ralls

More information about the gnucash-devel mailing list