python-bindings: Transaction.destroy() and Split.destroy() fail

Christoph Holtermann c.holtermann at gmx.de
Thu May 26 05:22:25 EDT 2011


Hello !

Has someone of you ever tried to remove a transaction or split via
python-bindings ? My simple approaches

split_list=Account.GetSplitList()
split=split_list[-1]
split.Destroy()

or

transaction=split.GetParent()
transaction.Destroy()

both lead to

"Speicherzugriffsfehler" (english = segmentation fault)

with the script and the python interpreter dying.

regards,

Christoph Holtermann



More information about the gnucash-devel mailing list