Page 1 of 1

fahcontrol does not work on fedora 32

Posted: Thu Oct 22, 2020 4:34 pm
by nikitastepanov
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'

Re: fahcontrol does not work on fedora 32

Posted: Thu Oct 22, 2020 5:41 pm
by goodyca
Did you change the first line of FAHControl to:

#!/usr/bin/python2 ?

I not, it will try to run using Python 3, while FAHControl is written using Python 2.

Re: fahcontrol does not work on fedora 32

Posted: Fri Oct 23, 2020 8:36 pm
by PantherX
Please note that work is happening to ensure that FAHControl is moved to Python 3 (https://github.com/FoldingAtHome/fah-control/pulls)

Re: fahcontrol does not work on fedora 32

Posted: Sun Nov 01, 2020 6:59 am
by JiiPee
PantherX wrote:Please note that work is happening to ensure that FAHControl is moved to Python 3 (https://github.com/FoldingAtHome/fah-control/pulls)
Should also switch to real systemd based service handling at least in redhat based rpm. rhel6 is coming to EOL and RHEL7 is systemd based, lika all supported fedoras.
There is already well working systemd init made by community what I am using.

https://github.com/FoldingAtHome/fah-issues/issues/1396