Update stopped input-remapper

Input Re-mapper fails to engage on start-up.
Redoing “systemctl enable input-remapper” fails to reinitiate.

Hi @eddier,

When a systemd service fails to initialize, it should give you hints about where you can find out why. I’m guessing the 2 commands it gave you were:

systemctl status input-remapper.service

and

journalctl -xeu input-remapper.service

Please provide the output of those commands.


:bangbang: Tip: :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Maybe I should point out that the GUI will not load.
‘’’
systemctl status input-remapper.service  1 ✘
× 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 Wed 2023-10-04 17:59:15 BST; 11min ago
Process: 453 ExecStart=/usr/bin/input-remapper-service (code=exited, status=1/FAILURE)
Main PID: 453 (code=exited, status=1/FAILURE)
CPU: 265ms

Oct 04 17:59:15 merlin-pc input-remapper-service[453]: File "/usr/lib/python3.11/site-packages/pydantic/dep>
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: return root_validator()(*__args) # type: ignore
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: ^^^^^^^^^^^^^^^^
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: File "/usr/lib/python3.11/site-packages/pydantic/dep>
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: raise PydanticUserError(
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: pydantic.errors.PydanticUserError: If you use `@root_v>
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: For further information visit https://errors.pydantic.>
Oct 04 17:59:15 merlin-pc systemd[1]: input-remapper.service: Main process exited, code=exited, status=1/FAIL>
Oct 04 17:59:15 merlin-pc systemd[1]: input-remapper.service: Failed with result ‘exit-code’.
Oct 04 17:59:15 merlin-pc systemd[1]: Failed to start Service to inject keycodes without the GUI application.
lines 1-17/17 (END)
‘’’
And.

‘’’
journalctl -xeu input-remapper.service  :heavy_check_mark:
░░ The job identifier is 121.
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: Traceback (most recent call last):
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: File “/usr/bin/input-remapper-service”, line 47, in >
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: from inputremapper.daemon import Daemon
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: File "/usr/lib/python3.11/site-packages/inputremappe>
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: from inputremapper.injection.injector import Injec>
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: File "/usr/lib/python3.11/site-packages/inputremappe>
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: from inputremapper.configs.input_config import Inp>
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: File "/usr/lib/python3.11/site-packages/inputremappe>
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: class InputConfig(BaseModel):
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: File "/usr/lib/python3.11/site-packages/inputremappe>
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: @root_validator
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: ^^^^^^^^^^^^^^
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: File "/usr/lib/python3.11/site-packages/pydantic/dep>
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: return root_validator()(*__args) # type: ignore
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: ^^^^^^^^^^^^^^^^
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: File "/usr/lib/python3.11/site-packages/pydantic/dep>
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: raise PydanticUserError(
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: pydantic.errors.PydanticUserError: If you use `@root_v>
Oct 04 17:59:15 merlin-pc input-remapper-service[453]: For further information visit https://errors.pydantic.>
Oct 04 17:59:15 merlin-pc systemd[1]: input-remapper.service: Main process exited, code=exited, status=1/FAIL>
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: Support - Manjaro Linux Forum
░░
░░ An ExecStart= process belonging to unit input-remapper.service has exited.
░░
░░ The process’ exit code is ‘exited’ and its exit status is 1.
Oct 04 17:59:15 merlin-pc systemd[1]: input-remapper.service: Failed with result ‘exit-code’.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: Support - Manjaro Linux Forum
░░
░░ The unit input-remapper.service has entered the ‘failed’ state with result ‘exit-code’.
Oct 04 17:59:15 merlin-pc 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: Support - Manjaro Linux Forum
░░
░░ A start job for unit input-remapper.service has finished with a failure.
░░
░░ The job identifier is 121 and the job result is failed.
lines 8-49/49 (END)
‘’’
For the moment using old (rickety) Mouse.

After some head scratching. Removed and reinstalled. Working again.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.