[Slackbuilds-users] Solaar gui fails to run

KB_SBo sbo at linuxgalaxy.org
Mon Jun 19 02:46:26 UTC 2023


Hello all,

I'm trying to an old logitech keyboard paired to another receiver - lost 
the original.  When running the GUI version the negative result is

$ solaar
solaar: error: Traceback (most recent call last):
   File "/usr/lib64/python3.9/site-packages/solaar/gtk.py", line 165, in 
main
     import solaar.listener as listener
   File "/usr/lib64/python3.9/site-packages/solaar/listener.py", line 
34, in <module>
     from logitech_receiver import notifications as _notifications
   File 
"/usr/lib64/python3.9/site-packages/logitech_receiver/notifications.py", 
line 27, in <module>
     from . import diversion as _diversion
   File 
"/usr/lib64/python3.9/site-packages/logitech_receiver/diversion.py", 
line 33, in <module>
     import psutil
   File "/usr/lib64/python3.9/site-packages/psutil/__init__.py", line 
102, in <module>
     from . import _pslinux as _psplatform
   File "/usr/lib64/python3.9/site-packages/psutil/_pslinux.py", line 
87, in <module>
     PAGESIZE = cext_posix.getpagesize()
AttributeError: module 'psutil._psutil_posix' has no attribute 'getpagesize'


I used 'slpkg' and it looks like all was built in the right order 
(unless I missed something):

   • python3-flit_core.SlackBuild ✔️
   • python3-flit_core-3.9.0-x86_64-1_SBo.tgz ✔️
   • python3-installer.SlackBuild ✔️
   • python3-installer-0.7.0-x86_64-1_SBo.tgz ✔️
   • python3-pyproject-hooks.SlackBuild ✔️
   • python3-pyproject-hooks-1.0.0-x86_64-1_SBo.tgz ✔️
   • python3-wheel.SlackBuild ✔️
   • python3-wheel-0.40.0-x86_64-1_SBo.tgz ✔️
   • python3-build.SlackBuild ✔️
   • python3-build-0.10.0-x86_64-1_SBo.tgz ✔️
   • python3-psutil.SlackBuild ✔️
   • python3-psutil-5.9.5-x86_64-1_SBo.tgz ✔️
   • python3-xlib.SlackBuild ✔️
   • python3-xlib-0.33-x86_64-1_SBo.tgz ✔️
   • pyudev.SlackBuild ✔️
   • pyudev-0.24.1-x86_64-1_SBo.tgz ✔️
   • python-evdev.SlackBuild ✔️
   • python-evdev-1.6.1-x86_64-1_SBo.tgz ✔️
   • Solaar.SlackBuild ✔️
   • Solaar-1.1.9-x86_64-1_SBo.tgz ✔️

Command line work exit for "pair" (did not test "config")

$ solaar pair
solaar: error: Traceback (most recent call last):
   File "/usr/lib64/python3.9/site-packages/solaar/cli/__init__.py", 
line 208, in run
     m = import_module('.' + action, package=__name__)
   File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in 
import_module
     return _bootstrap._gcd_import(name[level:], package, level)
   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
   File "<frozen importlib._bootstrap>", line 986, in 
_find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
   File "<frozen importlib._bootstrap_external>", line 850, in exec_module
   File "<frozen importlib._bootstrap>", line 228, in 
_call_with_frames_removed
   File "/usr/lib64/python3.9/site-packages/solaar/cli/pair.py", line 
23, in <module>
     from logitech_receiver import notifications as _notifications
   File 
"/usr/lib64/python3.9/site-packages/logitech_receiver/notifications.py", 
line 27, in <module>
     from . import diversion as _diversion
   File 
"/usr/lib64/python3.9/site-packages/logitech_receiver/diversion.py", 
line 33, in <module>
     import psutil
   File "/usr/lib64/python3.9/site-packages/psutil/__init__.py", line 
102, in <module>
     from . import _pslinux as _psplatform
   File "/usr/lib64/python3.9/site-packages/psutil/_pslinux.py", line 
87, in <module>
     PAGESIZE = cext_posix.getpagesize()
AttributeError: module 'psutil._psutil_posix' has no attribute 'getpagesize'

-kb









More information about the SlackBuilds-users mailing list