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

2014-03-16 Thread John Ralls
On Mar 16, 2014, at 5:05 PM, Jeff Earickson wrote: > John, > > Can you tell me what version of XCode you have installed? 5.0.2? version of > gcc? (Xcode 5.1 gives you 4.2.1 with clang = clang-503.0.38). If you have > not upgraded to XCode 5.1 (5B130a), then I suggest avoiding it. Aarrgh.

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

2014-03-16 Thread Jeff Earickson
John, Can you tell me what version of XCode you have installed? 5.0.2? version of gcc? (Xcode 5.1 gives you 4.2.1 with clang = clang-503.0.38). If you have not upgraded to XCode 5.1 (5B130a), then I suggest avoiding it. Aarrgh I just discovered that gdb is not available in Xcode with Maveri

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

2014-03-16 Thread David Osguthorpe
On Sun, Mar 16, 2014 at 11:04:59PM +0100, Felix Schwarz wrote: > > > > but then theres another error > > Actually your change resolves the problem for me :-) OK - yes - I think my error came because the existing book I used did not have any of the default accounts defined > > On a second run I

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

2014-03-16 Thread Felix Schwarz
Am 16.03.2014 21:55, schrieb David Osguthorpe: > this is one solution - which relates to the change between 2.4/2.6 > and get_children() > > for child in original_parent_account.get_children(): > #original_account = Account(instance=child) > original_account = child > > but th

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

2014-03-16 Thread David Osguthorpe
this is one solution - which relates to the change between 2.4/2.6 and get_children() for child in original_parent_account.get_children(): #original_account = Account(instance=child) original_account = child but then theres another error (note the new way is the way it shoul

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

2014-03-16 Thread David Osguthorpe
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 in 2005. A "const Account *" is not > > the same as an "Account const *

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

2014-03-16 Thread David Osguthorpe
On Sun, Mar 16, 2014 at 08:08:44PM +0100, Felix Schwarz wrote: > Hey, > > after switching to gnucash 2.6 I noticed that at least some of the Python > methods are broken [1]. A call to Account.getName() raises a TypeError but > unfortunately the error message is not helpful to me (as I never used s

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

2014-03-16 Thread Felix Schwarz
Am 16.03.2014 20:38, schrieb John Ralls: > 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 *": The former means that the contents of the pointer > won't change, the

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

2014-03-16 Thread John Ralls
On Mar 16, 2014, at 12:08 PM, Felix Schwarz wrote: > Hey, > > after switching to gnucash 2.6 I noticed that at least some of the Python > methods are broken [1]. A call to Account.getName() raises a TypeError but > unfortunately the error message is not helpful to me (as I never used swig > be

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

2014-03-16 Thread John Ralls
On Mar 16, 2014, at 11:23 AM, Jeff Earickson wrote: > John, > > I took things down to the bare walls. I rm'ed .git, gtk, gnucash* > everything. I did not re-download .jhbuildrc-custom (because I had modifed > it), or gtk-osx-build-setup.sh, but everything else got nuked. I was trying > to

Python bindings: Account.getName() raises TypeError

2014-03-16 Thread Felix Schwarz
Hey, after switching to gnucash 2.6 I noticed that at least some of the Python methods are broken [1]. A call to Account.getName() raises a TypeError but unfortunately the error message is not helpful to me (as I never used swig before): TypeError: in method 'xaccAccountGetName', argument 1 of typ

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

2014-03-16 Thread Jeff Earickson
John, I took things down to the bare walls. I rm'ed .git, gtk, gnucash* everything. I did not re-download .jhbuildrc-custom (because I had modifed it), or gtk-osx-build-setup.sh, but everything else got nuked. I was trying to get everything herded into one subdirectory of my homedir, so I didn'

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

2014-03-16 Thread John Ralls
On Mar 16, 2014, at 8:37 AM, Jeff Earickson wrote: > John et al, > > I upgraded Xcode on my Mac (10.9.2) to Xcode 5.1 this week (gcc 4.2.1), and > I have tried a total-start-from-scratch build of gnucash-git. My woes with > this: > > * ~/gtk/source/webkit-1.6.1/GNUmakefile.am is missing "-std

Re: How to update documentation

2014-03-16 Thread John Ralls
On Mar 16, 2014, at 12:55 AM, Chris Good wrote: > Hi, > > > > I've got some text (thanks Mike Alexander) about the Advanced Portfolio > Report I'd like to put into the Help documentation reports section. > > > > I've found http://wiki.gnucash.org/wiki/Documentation_Update_Instructions > bu

build gnucash-git woes with Mac OS, Xcode 5.1

2014-03-16 Thread Jeff Earickson
John et al, I upgraded Xcode on my Mac (10.9.2) to Xcode 5.1 this week (gcc 4.2.1), and I have tried a total-start-from-scratch build of gnucash-git. My woes with this: * ~/gtk/source/webkit-1.6.1/GNUmakefile.am is missing "-stdlibc=libstdc++" on line 120. (previously reported, and I know how to

How to update documentation

2014-03-16 Thread Chris Good
Hi, I've got some text (thanks Mike Alexander) about the Advanced Portfolio Report I'd like to put into the Help documentation reports section. I've found http://wiki.gnucash.org/wiki/Documentation_Update_Instructions but I believe you are using git now. Is there some documentation for