(Ubuntu 13.10)

I'm trying to use the Python bindings so I built the head of the
repository using:

 ./configure --prefix=/opt/gnucash-devel --enable-debug
--enable-profile --enable-register2 --enable-ofx --enable-etags
--enable-ctags --enable-doxygen --enable-dot --enable-html-docs
--enable-latex-docs --enable-python

I created this script:

#!/usr/bin/env python
import gnucash
session = gnucash.Session()

And I get this output:

% /opt/gnucash-devel/bin/gnucash-env python test
* 21:09:52 OTHER <GLib-GIO> Settings schema 'org.gnucash.general' is
not installed
[1]    32166 trace trap (core dumped)
/opt/gnucash-devel/bin/gnucash-env python test

I don't know anything about GConf or GSetings but on a whim [1] [2] I did this:

% glib-compile-schemas /opt/gnucash-devel/share/glib-2.0/schemas

Which didn't make any difference. I do note though that the 'schemas'
dir above doesn't have a file called 'org.gnucash.general.gschema.xml'
in it. Is that a problem?

Any advice appreciated!

Thanks,
Mike.


[1] 
http://gnucash.1415818.n4.nabble.com/core-dump-latest-svn-build-td4664893.html
[2] 
https://wiki.archlinux.org/index.php/GNOME_Package_Guidelines#GSettings_schemas
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to