Skip to content
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.

FAHControl fails after .rpm install on Fedora #1427

Open
abitrolly opened this issue Apr 26, 2020 · 3 comments
Open

FAHControl fails after .rpm install on Fedora #1427

abitrolly opened this issue Apr 26, 2020 · 3 comments
Labels
1.Type - Defect Reported issue is a defect. 1.Type - Duplicate Reported issue is a duplicate. 3.Component - FAHControl Reported issue relates to FAHControl. 4.OS - Fedora Reported issue occurs on Fedora based OS (Fedora, Red Hat, CentOS).

Comments

@abitrolly
Copy link

abitrolly commented Apr 26, 2020

The official control app from https://foldingathome.org/start-folding/ that I've installed on Fedora 31 starts to fail.

~ FAHControl                
Traceback (most recent call last):
  File "/usr/bin/FAHControl", line 25, in <module>
    from fah import FAHControl, load_fahcontrol_db
ModuleNotFoundError: No module named 'fah'
~ sudo rpm -q fahcontrol
fahcontrol-7.6.9-1.noarch

This happens, because the default Python on Fedora 31 is not Python 2. This can be proven with successfully running the app with the full path to python2.

python2 `which FAHControl`

I already reported the finding here - FoldingAtHome/fah-control#61 (comment) - but this tracker seems more appropriate. The solution is to fix .rpm packaging with explicit dependency on Python 2. This may work - FoldingAtHome/fah-control#77

@shorttack shorttack added 1.Type - Duplicate Reported issue is a duplicate. Linux labels May 2, 2020
@PantherX PantherX added 4.OS - Fedora Reported issue occurs on Fedora based OS (Fedora, Red Hat, CentOS). and removed Linux labels May 22, 2020
@PantherX PantherX added 1.Type - Defect Reported issue is a defect. 3.Component - FAHControl Reported issue relates to FAHControl. labels Jun 7, 2020
@amminadabz
Copy link

Has any progress been made on this? Still having the same problem with fahcontrol 7.6.21 on Fedora 36.

@abitrolly
Copy link
Author

With no commits for more than a year I am afraid this project is dead.

@joe-h-fah
Copy link

Development of V7 ended shortly after the release of 7.6.21, they are working on V8 now. Another person took the open source FAHControl code and updated it to work under Python 3. You can find it here - https://github.com/cdberkstresser/fah-control. I have seen reports the latest update to Python 3 has removed a function used in this version, but it does work with earlier Python 3 libraries.

Other workarounds are out there include a Snap packaged F@h download.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1.Type - Defect Reported issue is a defect. 1.Type - Duplicate Reported issue is a duplicate. 3.Component - FAHControl Reported issue relates to FAHControl. 4.OS - Fedora Reported issue occurs on Fedora based OS (Fedora, Red Hat, CentOS).
Projects
None yet
Development

No branches or pull requests

5 participants