Re: python binding: getting invoice entry data

2011-01-20 Thread Christoph Holtermann
Am 19.01.2011 21:54, schrieb Brian St. Pierre: > I opened a bug and attached a patch that seems to fix the problem: > > https://bugzilla.gnome.org/show_bug.cgi?id=639980 > > There is a similar piece of code in > src/optional/python-bindings/glib.i, but changing this did not seem to > have an ef

Re: python binding: getting invoice entry data

2011-01-19 Thread Brian St. Pierre
I opened a bug and attached a patch that seems to fix the problem: https://bugzilla.gnome.org/show_bug.cgi?id=639980 There is a similar piece of code in src/optional/python-bindings/glib.i, but changing this did not seem to have an effect. -Brian _

Re: python binding: getting invoice entry data

2011-01-19 Thread Brian St. Pierre
On Wed, Jan 19, 2011 at 7:14 AM, Christoph Holtermann wrote: > Am 19.01.2011 05:16, schrieb Brian St. Pierre: >> I'm trying to use the python bindings to fetch entry (line-item) data >> from an invoice. >> >> Can someone point out what I'm doing wrong? > > You just encountered an open end in the p

Re: python binding: getting invoice entry data

2011-01-19 Thread Christoph Holtermann
Hello ! Am 19.01.2011 05:16, schrieb Brian St. Pierre: > I'm trying to use the python bindings to fetch entry (line-item) data > from an invoice. > > See http://pastebin.com/fy06CPup for the test GnuCash XML file I'm using. > > I expect the script below to print the three line items from the > inv

python binding: getting invoice entry data

2011-01-18 Thread Brian St. Pierre
I'm trying to use the python bindings to fetch entry (line-item) data from an invoice. See http://pastebin.com/fy06CPup for the test GnuCash XML file I'm using. I expect the script below to print the three line items from the invoice in that file, but instead it dies with: % gnucash-env python i