On Tue, 3 Jan 2012 22:36:44 -0800 (PST) reubano <reub...@gmail.com> wrote:
> On Tue, Jan 3, 2012 at 11:20 PM, John Ralls-2 [via GnuCash] > <ml-node+s1415818n4258417...@n4.nabble.com> wrote: > > > > On Jan 3, 2012, at 12:03 AM, reubano wrote: > > > >> > >> Christian Stimming-4 wrote > >>> > >>> Am Sonntag, 12. Juni 2011 schrieb knew two gnucash: > >>> > >>>> Python is compiled in, per the statement: > >>>> "The Python extensions are an optional feature in the source > >>>> code. To be able to use Python scripts, GnuCash must have been > >>>> compiled with this option enabled, otherwise all what follows > >>>> won’t work." > >>>> > >>>> So - what am I missing to get "Business → Invoice & Bill Import > >>>> " to work? > >>> > >>> Your first step to get this working is to compile with > >>> --enable-python, which > >>> you have done. The next step is to ensure that the python module > >>> is loaded > >>> correctly at start-up. What do you see on your console when you > >>> run > >>> > >>> gnucash --logto=stderr --log=gnc=message > >>> > >> > >> How would I do this on Mac OSX 10.7 Lion? I installed the binary > >> but don't have the proper menu option. The wiki instructions for > >> building gnucash on mac only mention testing up to Leopard. And I > >> haven't seen any instructions > >> on enabling python using macports either. > > > > No, the wiki instructions say that the *minimum* version it will > > work on is Leopard. The procedure has been tested on Lion. Do note, > > though, that the resulting binary won't work on any version of OSX > > earlier than the SDK that you use. Note second that the bundle file > > isn't set up for Python, so you'll need to modify it. You'll want > > to include Python in your module list as well, so that you have an > > in-tree build to work with. > > Please explain. So I follow directions from > http://wiki.gnucash.org/wiki/MacOSX/Quartz#Building and add the line: > module_autogenargs["gnucash"]="--enable-python" > > Is there anything additional I need to do? > > > Regards, > > John Ralls > > > -- > View this message in context: > http://gnucash.1415818.n4.nabble.com/Invoice-Importer-tp3591286p4260228.html > Sent from the GnuCash - Dev mailing list archive at Nabble.com. > _______________________________________________ gnucash-devel mailing > list gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel The business -> invoice bill importer doesn't use python, it is an optional module and needs to be enabled in $HOME/.gnucash/config.user (In linux, I'm not sure about OSX), by adding the line: (gnc:module-load "gnucash/plugins/bi_import" 0) I seem to have missed this bit off the guide page. http://svn.gnucash.org/docs/guide/python-import-invoices.html Mike E _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel