Building gnucash 2.6.0 python bindings on Debian

Bas ten Berge bas.ten.berge+gnucash at gmail.com
Sun Jan 19 13:58:11 EST 2014


> Please file this as an enhancement request in bugzilla so it won't get
lost.
It's on https://bugzilla.gnome.org/show_bug.cgi?id=722557. Please let me
know if there's anything I can add to clarify the issue.

I will get back on the helpful - and much appreciated - design
considerations you mentioned.

Thanks, Bas


On Fri, Jan 17, 2014 at 10:55 AM, Geert Janssens
<janssens-geert at telenet.be>wrote:

>  On Thursday 16 January 2014 11:39:23 Bas ten Berge wrote:
>
> > Hi,
>
> >
>
> > > Since I'm posting to the list; there's a warning message when I
>
> > > import
>
> > >
>
> > > gnucash:
>
> > >
>
> > > --------------------------------------------------------------------
>
> > > --
>
> > >
>
> > > ---------------------------- process:1075): GLib-WARNING **: GError
>
> > >
>
> > > set over the top of a previous GError or uninitialized memory.
>
> > >
>
> > > This indicates a bug in someone's code. You must ensure an error is
>
> > >
>
> > > NULL before it's set.
>
> > >
>
> > > The overwriting error message was: No such file or directory
>
> > >
>
> > > --------------------------------------------------------------------
>
> > > --
>
> > >
>
> > > ---------------------------- Is there something I can do about this?
>
> >
>
> > Getting rid of GLib-WARNING message appeared to be really simple. The
>
> > python-bindings - or a part thereof - were looking for the GNUCash
>
> > environment file, which was not installed. I guess it gets installed
>
> > when the gui is installed. I created a file named
>
> > /usr/local/etc/gnucash/environment containing only this:
>
> >
>
> > ---------------------------------------
>
> >
>
> > [Variables] LANG=nl_NL LANGUAGE={LANG}
>
> >
>
> > ---------------------------------------
>
> >
>
> >
>
> > Thanks again, Bas
>
> >
>
> >
>
> Ah. That would make sense. But the environment file normally sets up more
> variables than only LANG and LANGUAGE. Some of these may be relevant also
> for a properly functioning gnucash. I'm thinking in particular about the
> GUILE_LOAD_PATH and optionally PYTHON_PATH. You may have set these yourself
> manually already.
>
>
>
> In any case for me it would make more sense to move the code to install
> the environment file to app_utils.
>
>
>
> Please file this as an enhancement request in bugzilla so it won't get
> lost.
>
>
>
> Thanks,
>
>
>
> Geert
>


More information about the gnucash-devel mailing list