python-bindings: coredump whil executing gnucash.Session
geert.gnucash at kobaltwit.be
Mon Dec 15 14:08:45 EST 2014
On Sunday 14 December 2014 11:52:45 Marcus Wellnitz wrote:
> 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  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.
More information about the gnucash-devel