Skip to content

Arch update broke the 'uinput' #42

@lesu1

Description

@lesu1

Hi,
Not sure what did break the system (new Python update?), but I have some logs to share. I hope they will be helpful to understand.

System:

  • Arch, 6.3.1-zen1-1-zen
  • Python 3.11.3
  • Keyboard G910

05.05.2023 05:52 systemd Started Keyboard Center.
05.05.2023 05:52 plasmashell Traceback (most recent call last):
05.05.2023 05:52 plasmashell File "/usr/lib/keyboard-center/main.py", line 8, in
05.05.2023 05:52 plasmashell from mainUi import MainWindow
05.05.2023 05:52 plasmashell File "/usr/lib/keyboard-center/mainUi.py", line 23, in
05.05.2023 05:52 plasmashell from devices.keyboard import SUPPORTED_DEVICES, KeyboardInterface
05.05.2023 05:52 plasmashell File "/usr/lib/keyboard-center/devices/keyboard.py", line 1, in
05.05.2023 05:52 plasmashell import uinput
05.05.2023 05:52 plasmashell ModuleNotFoundError: No module named 'uinput'

So I see that 'uinput' module is not found.
I've tried to install it via: pip install python-uinput

And here's the log after that:
05.05.2023 05:55 systemd Started Keyboard Center.
05.05.2023 05:55 plasmashell Traceback (most recent call last):
05.05.2023 05:55 plasmashell File "/usr/lib/keyboard-center/main.py", line 8, in
05.05.2023 05:55 plasmashell from mainUi import MainWindow
05.05.2023 05:55 plasmashell File "/usr/lib/keyboard-center/mainUi.py", line 23, in
05.05.2023 05:55 plasmashell from devices.keyboard import SUPPORTED_DEVICES, KeyboardInterface
05.05.2023 05:55 plasmashell File "/usr/lib/keyboard-center/devices/keyboard.py", line 1, in
05.05.2023 05:55 plasmashell import uinput
05.05.2023 05:55 plasmashell File "/home/jk/.local/lib/python3.11/site-packages/uinput/init.py", line 86, in
05.05.2023 05:55 plasmashell _libsuinput_path = os.path.abspath(os.path.join(os.path.dirname(file), "..", "_libsuinput" + sysconfig.get_config_var("SO")))
05.05.2023 05:55 plasmashell ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
05.05.2023 05:55 plasmashell TypeError: can only concatenate str (not "NoneType") to str

At this stage, my *nix knowledge is over. Let me know if I can help somehow.
But for now, it's a great time for a timemachine. :-)

Thanks, lesu1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions