Page 1 of 1

FAHControl broken with Manjaro update

Posted: Sun Apr 16, 2023 6:36 pm
by pcwolf
Edit: moved topic to v7.6 pubic release forum from Beta test of v8 -j

Greetings:

Many years folding, updates to kernel series 6. suddenly FAHControl launch from icon is broken. Processor status shows FAH threads running and reporting results normally. Click on icon does nothing.

Running FAHControl from command line provides the following error results:

pcwolf@B550:[/usr/bin]$ FAHControl
Traceback (most recent call last):
File "/usr/bin/FAHControl", line 25, in <module>
from fah import FAHControl, load_fahcontrol_db
File "/usr/lib/python2.7/site-packages/fah/__init__.py", line 25, in <module>
import util
File "/usr/lib/python2.7/site-packages/fah/util/__init__.py", line 26, in <module>
import gtk
File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
from gtk import _gtk
File "/usr/lib/python2.7/site-packages/cairo/__init__.py", line 1, in <module>
from ._cairo import * # noqa: F401,F403
ImportError: /usr/lib/python2.7/site-packages/cairo/_cairo.so: undefined symbol: cairo_tee_surface_index

Any clues on what broken and how to repair?
Thanks in advance
-Phil

Re: FAHControl broken with Manjaro update

Posted: Sun Apr 16, 2023 8:04 pm
by Joe_H
It looks like this updated version of Manjaro has removed support for Python 2.7. Some distros have that version of Python available as a legacy install, don't know if that is an option for you.

An option that exists for newer versions of Linux with only support for Python 3 is - https://github.com/cdberkstresser/fah-control. They took the open source for FAHControl and recoded it to work with Python 3.

Re: FAHControl broken with Manjaro update

Posted: Sun Apr 16, 2023 8:15 pm
by pcwolf
Solved by rebuilding python2-cairo from AUR.