Results 1 to 5 of 5

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

  1. #1

    Default 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
    @linux-5nq5:~>

    is there a missing python rpm or something else ?
    OpenSuse Argon 15.1 x86_64,Asus Prime 250M-A, Intel Core i5-7400, 16 GB, Intel HD Graphics 630, Plugable usb-bt4le bluetooth 4.0 usb adapter, multicard reader USB 3.0 startech.com 35fcreadbu3, HP LaserJet 1220, Headset bluetooth 3.0 Philips SHQ7300

  2. #2
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,151

    Default Re: 12.3,folding@home,7.3.6, fahcontrol does not start

    Quote Originally Posted by promeneur View Post
    @linux-5nq5:~> /usr/bin/FAHControl

    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.
    Code:
    ~> 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

  3. #3

    Default Re: 12.3,folding@home,7.3.6, fahcontrol does not start

    ok thanks, i will try
    OpenSuse Argon 15.1 x86_64,Asus Prime 250M-A, Intel Core i5-7400, 16 GB, Intel HD Graphics 630, Plugable usb-bt4le bluetooth 4.0 usb adapter, multicard reader USB 3.0 startech.com 35fcreadbu3, HP LaserJet 1220, Headset bluetooth 3.0 Philips SHQ7300

  4. #4

    Default Re: 12.3,folding@home,7.3.6, fahcontrol does not start

    >> 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

    more
    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
    OpenSuse Argon 15.1 x86_64,Asus Prime 250M-A, Intel Core i5-7400, 16 GB, Intel HD Graphics 630, Plugable usb-bt4le bluetooth 4.0 usb adapter, multicard reader USB 3.0 startech.com 35fcreadbu3, HP LaserJet 1220, Headset bluetooth 3.0 Philips SHQ7300

  5. #5

    Default Re: 12.3,folding@home,7.3.6, fahcontrol does not start

    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

    then
    as user open a text console
    then
    go to to the folder where fah rpm are stored (for me "cd ~/Téléchargements")
    then
    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
    but
    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)
    OpenSuse Argon 15.1 x86_64,Asus Prime 250M-A, Intel Core i5-7400, 16 GB, Intel HD Graphics 630, Plugable usb-bt4le bluetooth 4.0 usb adapter, multicard reader USB 3.0 startech.com 35fcreadbu3, HP LaserJet 1220, Headset bluetooth 3.0 Philips SHQ7300

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •