fahcontrol does not work on fedora 32

Moderators: Site Moderators, FAHC Science Team

Post Reply
nikitastepanov
Posts: 9
Joined: Fri Oct 09, 2020 5:37 am

fahcontrol does not work on fedora 32

Post 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'
goodyca
Posts: 187
Joined: Sun Dec 02, 2007 12:36 pm

Re: fahcontrol does not work on fedora 32

Post 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.
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: fahcontrol does not work on fedora 32

Post by PantherX »

Please note that work is happening to ensure that FAHControl is moved to Python 3 (https://github.com/FoldingAtHome/fah-control/pulls)
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
JiiPee
Posts: 59
Joined: Sun Mar 09, 2008 4:09 pm
Location: FINLAND

Re: fahcontrol does not work on fedora 32

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