On Tuesday 18 March 2014 07:28:56 John Ralls wrote:
My point is that Python barely knows about type at all, except for its own
built-in types [1]. It
will raise a TypeError if you try to divide a string, like this:
'foo' / 3
Traceback (most recent call last):
File stdin, line 1, in
On Mon, 17 Mar 2014 10:32:17 +
Mike Evans mi...@saxicola.idps.co.uk wrote:
On Mon, 17 Mar 2014 11:26:30 +0100
Felix Schwarz felix.schw...@oss.schwarz.eu wrote:
Am 17.03.2014 11:21, schrieb Mike Evans:
new_book_with_opening_balances.py works for me too on Fedora18 and SWIG
John Ralls jra...@ceridwen.us writes:
On Mar 17, 2014, at 10:52 AM, Derek Atkins warl...@mit.edu wrote:
John Ralls jra...@ceridwen.us writes:
TypeError: in method 'xaccAccountGetName', argument 1 of type
Account const *'
[snip]
The signature of xaccAccountGetName is const char*
On Mar 18, 2014, at 6:30 AM, Derek Atkins warl...@mit.edu wrote:
John Ralls jra...@ceridwen.us writes:
On Mar 17, 2014, at 10:52 AM, Derek Atkins warl...@mit.edu wrote:
John Ralls jra...@ceridwen.us writes:
TypeError: in method 'xaccAccountGetName', argument 1 of type
Account const *'
On Sun, 16 Mar 2014 13:41:42 -0700
David Osguthorpe david.osgutho...@gmail.com 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
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-devel
On Mon, 17 Mar 2014 11:26:30 +0100
Felix Schwarz felix.schw...@oss.schwarz.eu 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
On Monday 17 March 2014 10:21:16 Mike Evans wrote:
On Sun, 16 Mar 2014 13:41:42 -0700
David Osguthorpe david.osgutho...@gmail.com 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
John Ralls jra...@ceridwen.us 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
On Mar 17, 2014, at 10:52 AM, Derek Atkins warl...@mit.edu wrote:
John Ralls jra...@ceridwen.us writes:
TypeError: in method 'xaccAccountGetName', argument 1 of type
Account const *'
[snip]
The signature of xaccAccountGetName is const char* xaccAccountGetName
(const Account *); the
On Mar 16, 2014, at 12:08 PM, Felix Schwarz felix.schw...@oss.schwarz.eu
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
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 swig
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 *: The
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
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 then
15 matches
Mail list logo