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: 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 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-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: Github reports fixing Heartbleed vulnerability

2014-04-10 Thread Felix Schwarz
Am 10.04.2014 19:52, schrieb John Ralls: > Valid points. You should ask Github, I’m only reporting. I’m in no way a > crypto expert. I can speculate that Heartbleed might reveal enough > information to crack the private key, maybe by making available both plain > and encrypted versions of the exch