gnucash/python problem
John Thompson
John.Thompson@attglobal.net
Tue, 2 Oct 2001 14:05:36 -0500 (CDT)
On Tue, 2 Oct 2001, Linas Vepstas wrote:
> On Mon, Oct 01, 2001 at 09:30:59PM -0500, John Thompson was heard to remark:
> > I just went and updated my working gnucash-1.6.2 to v1.64 and now appear
> > to have completely hosed gnucash:
> >
> > [john@starfleet john]$ gnucash
> > /home/john/.gtkrc:1: error: unexpected character `\37', expected keyword -
> > e.g. `style'
> > /home/john/.gtkrc:1: error: unexpected character `\37', expected keyword -
> > e.g. `style'
> > Could not find platform independent libraries <prefix>
> > Could not find platform dependent libraries <exec_prefix>
> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> > 'import site' failed; use -v for traceback
> > Fatal Python error: couldn't import os
> > Aborted
> Glurg. Have you looked at the contents of your /home/john/.gtkrc
> file? For whatever reason, I don't have one of these. I'm guessing
> that deleting /home/john/.gtkrc might fix your problem ...
I just tried that. No joy. I'd try one of the pre-compiled
gnucash packages but I'm using glibc2.1 and all the precompiled
ones seem to want glibc2.2
What are the appropriate values for PYTHONHOME, anyway? I'm just SWAG-ing
that "/usr/lib/python2.2:/usr/bin" is what it wants. Anybody know for
sure? And is there perhaps a way to configure python so it can find those
damnable modules that I know are there but it refuses to recognize? How
'bout gnucash itself? Does it have any configuration files I can load up
with the proper values?
--
-John (John.Thompson@attglobal.net)