Red Hat Bugzilla – Bug 54164
gnucash does not start at all
Last modified: 2014-03-16 22:23:39 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4+) Gecko/20010921
Description of problem:
After installed gnucash-1.6.2-1.i386.rpm from Rawhide, and installing all
dependencies, gnucash does not start, but instead crashes while startup:
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import exceptions' failed; use -v for traceback
Warning! Falling back to string-based exceptions
'import site' failed; use -v for traceback
Fatal Python error: couldn't import os
zsh: abort (core dumped) gnucash
I'll attach gdb backtrace and strace logs.
The problem is funny, since looking at the strace you can see it is looking
from python1.5 path, yet while installing I had to upgrade python, and it
is currently python-2.2-0.3a3 (from rawhide too). There is no python 1.5
installed (it was replaced by the 2.2) at all.
So, either gnucash is compiled/configured incorrectly, or I have a
configuration problem with the system (PYTHONHOME is not set -- and setting
it to export PYTHONHOME=/usr/lib/python2.2 does not help), or there is a
missing dependency in gnucash RPM (to some python 1.5 compatibility thingie?).
Version-Release number of selected component (if applicable): 1.6
Steps to Reproduce:
1. run gnucash
Created attachment 33018 [details]
Created attachment 33019 [details]
"strace -e open gnucash"
For the moment, you need to downgrade back to python 1.5.
This will be fixed in gnucash-1.6.5-2.