Re: Uncaught critical error in the python bindings without apparent cause

2012-04-10 Thread John Ralls
On Apr 10, 2012, at 3:51 PM, m...@janno-kaiser.de wrote: > Hi, > > I've run into an error using the python bindings: > > This is the code (changed a bit to make it easier to read): > > c = book.CustomerLookupByID(customerid) > assert( isinstance(c, Customer) ) > CUR = c.GetCurrency() > assert(

Uncaught critical error in the python bindings without apparent cause

2012-04-10 Thread m...@janno-kaiser.de
Hi, I've run into an error using the python bindings: This is the code (changed a bit to make it easier to read): c = book.CustomerLookupByID(customerid) assert( isinstance(c, Customer) ) CUR = c.GetCurrency() assert( isinstance(CUR, GncCommodity) ) invoice = Invoice( book=book,