Re: Python bindings: Account.getName() raises TypeError

2014-03-17 Thread Mike Evans
On Sun, 16 Mar 2014 13:41:42 -0700 David Osguthorpe wrote: > On Sun, Mar 16, 2014 at 08:54:10PM +0100, Felix Schwarz wrote: > > > > Am 16.03.2014 20:38, schrieb John Ralls: > > > The signature of xaccAccountGetName is const char* xaccAccountGetName > > > (const Account *); the const was added i

Re: Python bindings: Account.getName() raises TypeError

2014-03-17 Thread Felix Schwarz
Am 17.03.2014 11:21, schrieb Mike Evans: > new_book_with_opening_balances.py works for me too on Fedora18 and SWIG > Version 2.0.8. Which version of gnucash are you using? If I'm not mistaken the F18 gnucash is still 2.4, right? Felix ___ gnucash-deve

Re: Python bindings: Account.getName() raises TypeError

2014-03-17 Thread Mike Evans
On Mon, 17 Mar 2014 11:26:30 +0100 Felix Schwarz wrote: > > Am 17.03.2014 11:21, schrieb Mike Evans: > > new_book_with_opening_balances.py works for me too on Fedora18 and SWIG > > Version 2.0.8. > > Which version of gnucash are you using? If I'm not mistaken the F18 gnucash is > still 2.4, ri

Re: Python bindings: Account.getName() raises TypeError

2014-03-17 Thread Geert Janssens
On Monday 17 March 2014 10:21:16 Mike Evans wrote: > On Sun, 16 Mar 2014 13:41:42 -0700 > > David Osguthorpe wrote: > > On Sun, Mar 16, 2014 at 08:54:10PM +0100, Felix Schwarz wrote: > > > Am 16.03.2014 20:38, schrieb John Ralls: > > > > The signature of xaccAccountGetName is const char* > > > >

Re: Python bindings: Account.getName() raises TypeError

2014-03-17 Thread Derek Atkins
John Ralls writes: >> TypeError: in method 'xaccAccountGetName', argument 1 of type >> Account const *' [snip] > > The signature of xaccAccountGetName is const char* xaccAccountGetName > (const Account *); the const was added in 2005. A "const Account *" is > not the same as an "Account const *":

Re: Python bindings: Account.getName() raises TypeError

2014-03-17 Thread John Ralls
On Mar 17, 2014, at 10:52 AM, Derek Atkins wrote: > John Ralls writes: > >>> TypeError: in method 'xaccAccountGetName', argument 1 of type >>> Account const *' > [snip] >> >> The signature of xaccAccountGetName is const char* xaccAccountGetName >> (const Account *); the const was added in 200

Re: build gnucash-git woes with Mac OS, Xcode 5.1

2014-03-17 Thread Jeff Earickson
John, Bad news... This is an XCode/gcc/lang feature/bug with guile. I'll bet if you clean and rebuild your guile directory with 5.1 that it will choke (save a copy first). I removed Xcode 5.1 (using AppZapper) and reinstalled 5.0.2. Then I fired up "jhbuild build" and guile flew past its previ

jhbuild complete clean and recompile?

2014-03-17 Thread Jeff Earickson
I did "jhbuild clean" and it seemed to do a make clean thru all directories, but "jhbuild build" just checks for new versions to download and then stops. How to do a complete clean and recompile of all code? ___ gnucash-devel mailing list gnucash-devel@g

Re: build gnucash-git woes with Mac OS, Xcode 5.1

2014-03-17 Thread John Ralls
On Mar 17, 2014, at 2:46 PM, Jeff Earickson wrote: > John, > > Bad news... This is an XCode/gcc/lang feature/bug with guile. I'll bet if > you clean and rebuild your guile directory with 5.1 that it will choke (save > a copy first). > > I removed Xcode 5.1 (using AppZapper) and reinstall

Re: jhbuild complete clean and recompile?

2014-03-17 Thread John Ralls
On Mar 17, 2014, at 3:10 PM, Jeff Earickson wrote: > I did "jhbuild clean" and it seemed to do a make clean thru all > directories, but "jhbuild build" just checks for new versions to download > and then stops. How to do a complete clean and recompile of all code? You're confusing "build-dir"