python-bindings partially broken Re: r20189 - gnucash/trunk/src/backend/dbi - Handle localization-ignorance bug in libdbi by setting LC_NUMERIC locale

Christoph Holtermann c.holtermann at gmx.de
Sun Jan 30 12:50:29 EST 2011


Hello !
> Heh. When I looked at gnc-ui-utils.c I found that it was an implementation of (a) with the stack, and that it's been there since at least 2001. So I cleaned it up a bit and used it in gnc-backend-dbi.c. (r20192)
>
This localization fix now has to be reflected in the python-bindings. They compile fine and work for xml as far as i
see but execution of scripts breaks for mysql and sqlite3:

python: symbol lookup error: /usr/lib/gnucash/libgncmod-backend-dbi.so: undefined symbol: gnc_push_locale

I tried to change the Makefile and config.i but i didn't succeed. Maybe someone can help ?

regards,

Christoph Holtermann




More information about the gnucash-devel mailing list