python-bindings: coredump whil executing gnucash.Session

Geert Janssens geert.gnucash at kobaltwit.be
Mon Dec 15 14:08:45 EST 2014


On Sunday 14 December 2014 11:52:45 Marcus Wellnitz wrote:
> Hello,
> 
> I've made some improvements with the latex-invoice examples and got it
> working for my Ubuntu 14.04 LTS environment. (Mostly adapted to new
> python version)
> 
> It worked until some updates between November 3 and November 10. I
> could not handle to revert all of the involving upgrades so can't say
> which one did the minor changes that lead to the error. :-(
> 
> In file: latex_invoice.py (gnucash-python-examples)
> session = gnucash.Session(input_url,ignore_lock=ignore_lock)
> 
> ==> Coredump, no Stacktrace!

Is this code by any chance used the create a new xml file ? In other words does input_url refer 
to a non-existing file ?

I have recently pushed a fix [1] to the python bindings that should prevent it from crashing 
when trying to create a new xml data file.

You could try to apply that commit locally and see if it fixes your issue.

Geert

[1] https://github.com/Gnucash/gnucash/commit/abf78a202c4898f970ef24159f1a6cecabe0ed00


More information about the gnucash-devel mailing list