12.3,folding@home,7.3.6, fahcontrol does not start

opensuse 12.3 x86_64
fah 7.3.6 x86_64

when i start fahcontrol i have this

@linux-5nq5:~> /usr/bin/FAHControl
Traceback (most recent call last):
File “/usr/bin/FAHControl”, line 25, in <module>
from fah import FAHControl, load_fahcontrol_db
ImportError: No module named fah

is there a missing python rpm or something else ?

The problem is that the code was written for python2.6 and we have python2.7. As far as I can tell there is not a problem with the actual code; it’s just that the installer cannot put the FAH files where python2.7 expects them. Also the rpms are packaged for RH/Centos, who package some of the dependencies differently (e.g. bzip2-libs instead of libbz2), but everything seems to be there.
I downloaded the thre FAH rpms, created a symlink from /usr/lib/python2.7 to /usr/lib/python2.6, then installed the three rpms with zypper ignoring the dependencies.

~> cd Downloads

~/Downloads> wget -Nc  https://fah.stanford.edu/file-releases/public/release/fahclient/centos-5.3-64bit/v7.3/fahclient-7.3.6-1.x86_64.rpm  https://fah.stanford.edu/file-releases/public/release/fahcontrol/centos-5.3-64bit/v7.3/fahcontrol-7.3.6-1.noarch.rpm  https://fah.stanford.edu/file-releases/public/release/fahviewer/centos-5.3-64bit/v7.3/fahviewer-7.3.6-1.x86_64.rpm

~/Downloads> ln -s /usr/lib/python2.7  /usr/lib/python2.6

~/Downloads> sudo zypper in fah*rpm

ok thanks, i will try

>> ln -s /usr/lib/python2.7 /usr/lib/python2.6

are you sure ?

i installed the x86_64 version for a x86_64 version of opensuse 12.3

there is already a folder /usr/lib/python2.6 (creation date 6/03/2013), created during opensuse installation ?
in this folder there is:

  • a link python2.7 -> /usr/lib/python2.7 (creation date 6/03/2013), created during opensuse installation ?

  • a folder “site-packages” containing a folder “fah” and a folder
    “FAHControl-7.3.6-py2.6.egg-info” all created today (creation date 18/03/2013) certainly by fah installation

surprisingly when running “ln -s /usr/lib/python2.7 /usr/lib/python2.6” system does not signal any error

linux-ia9o:~ # ln -s /usr/lib/python2.7 /usr/lib/python2.6
linux-ia9o:~ #

fahcontrol still fails to launch

this the good way to install fah

as root create in /usr/lib/
a link python2.6 -> /usr/lib/python2.7

cd /usr/lib
ln -s /usr/lib/python2.7 python2.6

as user open a text console
go to to the folder where fah rpm are stored (for me “cd ~/Téléchargements”)
install the fah rpms ignoring the “python(abi) = 2.6” and “bzip2-libs” error messages because the corresponding paquckets are installed by default when installing opensuse

the required password is the root password (administrator)

the root password is your user password if you made an automatically installation or the root password if you choose not using you as administrator

su -c"zypper install fahcontrol-7.3.6-1.noarch.rpm"

su -c"zypper install fahviewer-7.3.6-1.x86_64.rpm"

su -c"zypper install fahclient-7.3.6-1.x86_64.rpm"

ignore the error message about installing the fahclient as a service with checkconfig.
it’s not a pb
using the old method (checkconfig) instead of systemdctl the daemon (service) is well installed and started during installation but not activated for starting during boot
you must with yast tool activate the fahclient daemon (servcice)