Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module missing #895

Open
Axilotl17 opened this issue May 20, 2024 · 8 comments
Open

Module missing #895

Axilotl17 opened this issue May 20, 2024 · 8 comments

Comments

@Axilotl17
Copy link

axilotl@tiramisu ~ [1]> sudo pkill -f input-remapper && input-remapper-gtk -d Traceback (most recent call last): File "/usr/bin/input-remapper-gtk", line 38, in <module> from inputremapper.gui.gettext import _, LOCALE_DIR ModuleNotFoundError: No module named 'inputremapper'

Can't even run suggested command. reinstalled several times, to no effect. Same error when running input-remapper-control.

Using Arch, input-remapper-git on the AUR.

@Virass
Copy link

Virass commented May 21, 2024

I have the same problem. Manjaro, gnome, wayland.

input-remapper-gtk                                                        ─╯
Traceback (most recent call last):
  File "/usr/bin/input-remapper-gtk", line 38, in <module>
    from inputremapper.gui.gettext import _, LOCALE_DIR
ModuleNotFoundError: No module named 'inputremapper'

image

@alexisju
Copy link

Same here (Archlinux/AUR too). Was working before it doesn't :-)

@leonardofmoura
Copy link

leonardofmoura commented May 22, 2024

Same thing here: Arch Linux with Wayland. Usinginput-remapper-git

image

Traceback (most recent call last):
  File "/usr/bin/input-remapper-control", line 30, in <module>
    from inputremapper.logger import logger, update_verbosity, log_info
ModuleNotFoundError: No module named 'inputremapper'

@nicfontaine
Copy link

Same. Manjaro, Gnome, Wayland
image

@Pablokiryu
Copy link

Pablokiryu commented May 24, 2024

i got it to run as root, using sudo, but without it i get :
Gtk-Message: 11:54:18.672: Failed to load module "appmenu-gtk-module" input-remapper-gtk 2.0.1 f5151aab27ae0e7d8b1f0c80ce92a718e3a86e71 https://github.com/sezanzeb/input-remapper python-evdev 1.7.0 pkexec must be setuid root ERROR: Failed to pkexec the reader-service, code 32512
Manjaro, KDE, X11 ( can't get wayland to render anything on my old nvidia gpu)

@meinmycomfycorner
Copy link

systemctl enable input-remapper

no error

systemctl start input-remapper

Job for input-remapper.service failed because the control process exited with error code.
See "systemctl status input-remapper.service" and "journalctl -xeu input-remapper.service" for details.

journalctl -xeu input-remapper.service

Jun 17 11:57:49 input-remapper-service[29694]: ModuleNotFoundError: No module named 'inputremapper'
Jun 17 11:57:49 systemd[1]: input-remapper.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ An ExecStart= process belonging to unit input-remapper.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jun 17 11:57:49 systemd[1]: input-remapper.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ The unit input-remapper.service has entered the 'failed' state with result 'exit-code'.
Jun 17 11:57:49 systemd[1]: Failed to start Service to inject keycodes without the GUI application.
░░ Subject: A start job for unit input-remapper.service has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit input-remapper.service has finished with a failure.
░░
░░ The job identifier is 3805 and the job result is failed.

I've tried yay, manually w/ pip and pacman via git clone installations.

System:

uname -r
6.9.3-3-MANJARO

python -VV
Python 3.11.9 (main, Apr 19 2024, 18:35:38) [GCC 13.2.1 20230801]

@archerindigo
Copy link

archerindigo commented Jun 25, 2024

I have the same issue on Manjaro Gnome

× input-remapper.service - Service to inject keycodes without the GUI application
     Loaded: loaded (/usr/lib/systemd/system/input-remapper.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Tue 2024-06-25 19:01:09 EDT; 20s ago
    Process: 21279 ExecStart=/usr/bin/input-remapper-service (code=exited, status=1/FAILURE)
   Main PID: 21279 (code=exited, status=1/FAILURE)
        CPU: 111ms

Jun 25 19:01:08 terry-manjaro systemd[1]: Starting Service to inject keycodes without the GUI application...
Jun 25 19:01:09 terry-manjaro input-remapper-service[21279]: Traceback (most recent call last):
Jun 25 19:01:09 terry-manjaro input-remapper-service[21279]:   File "/usr/bin/input-remapper-service", line 28, in <module>
Jun 25 19:01:09 terry-manjaro input-remapper-service[21279]:     from inputremapper.logger import update_verbosity, log_info
Jun 25 19:01:09 terry-manjaro input-remapper-service[21279]: ModuleNotFoundError: No module named 'inputremapper'
Jun 25 19:01:09 terry-manjaro systemd[1]: input-remapper.service: Main process exited, code=exited, status=1/FAILURE
Jun 25 19:01:09 terry-manjaro systemd[1]: input-remapper.service: Failed with result 'exit-code'.
Jun 25 19:01:09 terry-manjaro systemd[1]: Failed to start Service to inject keycodes without the GUI application.

System:

uname -a

Linux terry-manjaro 6.1.92-1-MANJARO #1 SMP PREEMPT_DYNAMIC Mon May 27 03:37:00 UTC 2024 x86_64 GNU/Linux

uname -r
6.1.92-1-MANJARO

@archerindigo
Copy link

Resolved. You just need to rebuild the whole package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants