running FAH (version 7) on Rocky Linux 9.2

Moderators: Site Moderators, FAHC Science Team

Post Reply
fred39fredex
Posts: 2
Joined: Sat Jun 03, 2023 8:09 pm

running FAH (version 7) on Rocky Linux 9.2

Post 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]
Joe_H
Site Admin
Posts: 7926
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

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

Post by Joe_H »

See this response in another topic about the dependencies to see if that helps - viewtopic.php?p=360331#p360331.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
fred39fredex
Posts: 2
Joined: Sat Jun 03, 2023 8:09 pm

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

Post 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
Joe_H
Site Admin
Posts: 7926
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

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

Post 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.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Post Reply