Page 1 of 1

running FAH (version 7) on Rocky Linux 9.2

Posted: Thu Jun 08, 2023 2:59 pm
by fred39fredex
Hi all!

I have a fresh installation of Rocky Linux (clone of Centos/etc) and want to run FAH on it. I've downloaded the installation package and it ran without apparent problems.

Trouble is, modern Linux distros don't include Python-2.x anymore. I've tried to get FAHControl running but have failed.

I found a posting here on the FAH forums that gave a URL for an unreleased version thereof for Python3 and downloaded it and it doesn't run either. It complains about some missing items, "db" and one other whose name escapes me at the moment. They are in the group of files with the python3 FAHControl, but either the whole thing in fact does not work, or I've done something wrong in how I placed the files on my computer, as it still complains it can't find those packages.

I'd be eternally grateful (well, y'know... ;-)) of advice on how to get this working on a python3-only system.

Thanks in advance!

Fred
[email protected]

Re: running FAH (version 7) on Rocky Linux 9.2

Posted: Thu Jun 08, 2023 3:28 pm
by Joe_H
See this response in another topic about the dependencies to see if that helps - viewtopic.php?p=360331#p360331.

Re: running FAH (version 7) on Rocky Linux 9.2

Posted: Thu Jun 08, 2023 6:22 pm
by fred39fredex
thanks. those two dependencies are already installed.

here is what I get when I try to run FAHControl:
$ sudo python ./FAHControl.py
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/fah/./FAHControl.py", line 22, in <module>
from fah.util import *
File "/usr/lib64/python3.9/site-packages/fah/__init__.py", line 24, in <module>
import db
File "/usr/lib/python3.9/site-packages/fah/db/__init__.py", line 24, in <module>
from Column import *
ModuleNotFoundError: No module named 'Column'
Might the problem be that I installed in .../python3.9/site-packages/fah/... instad of .../python/site-packages/fah... with a symlink to it?

here is what exists in /usr/lib/python3.9/site-packages/fah:
[fredex@MSI-box fah]$ ls
ClientConfig.py FAHControl.glade __init__.py Version.py
Client.py FAHControl_glade.py __pycache__ WidgetMap.py
Connection.py FAHControl.py SlotConfig.py wraplabel.py
db Icon.py util
and just for insurance I put the same things under /usr/lib64 as well.

I do not see any python modules containing the word column being available in any dnf package.

thanks for the response!

Fred

Re: running FAH (version 7) on Rocky Linux 9.2

Posted: Fri Jun 09, 2023 3:09 pm
by Joe_H
The only thing I can think of is that there was a modification made to this FAHControl release to handle a change made in Python 3.10. It is mentioned in one of the closed issues - https://github.com/cdberkstresser/fah-control/issues/22. That may be related to what you are seeing, but I haven't followed this enough to know if that is the case.