Page 1 of 1

ImportError: cannot import name SlotConfig

Posted: Sun Mar 15, 2020 10:40 pm
by Xzorandar
Good day, Trying to get FAHControl up and running on Fedora 31. I installed python 2.7 and did the python 2 workaround and added the 2 to the shebang in the FAHControl file.
I am now getting this error. Any recommendations?

Code: Select all

Traceback (most recent call last):
  File "./FAHControl", line 25, in <module>
    from fah import FAHControl, load_fahcontrol_db
  File "/usr/lib/python2.7/site-packages/fah/__init__.py", line 26, in <module>
    from SlotConfig import *
  File "/usr/lib/python2.7/site-packages/fah/SlotConfig.py", line 23, in <module>
    from fah.util import parse_bool
  File "/usr/lib/python2.7/site-packages/fah/fah/__init__.py", line 27, in <module>
    from ClientConfig import *
  File "/usr/lib/python2.7/site-packages/fah/fah/ClientConfig.py", line 29, in <module>
    from fah import SlotConfig
ImportError: cannot import name SlotConfig

Re: ImportError: cannot import name SlotConfig

Posted: Tue Mar 17, 2020 11:05 am
by foldy
I don't know this error but you can run FAHclient without FAHcontrol