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

Input Remapper crashes when I click Editor #886

Open
checksumHashi opened this issue May 7, 2024 · 1 comment
Open

Input Remapper crashes when I click Editor #886

checksumHashi opened this issue May 7, 2024 · 1 comment

Comments

@checksumHashi
Copy link

" To help people understand your problems, run sudo pkill -f input-remapper && input-remapper-gtk -d, reproduce the problem and then share the output here. "

When I enter the app, and click on the Editor button or go into Presets and click on a preset, the app freezes and crashes.

BUT, if I use the command input-remapper-gtk -d, or use the full command written in the first line, everything runs as I expected it to run, but it then doesn't save anything.

Here are my specs if that helps anything:
OS: Ubuntu 23.10 mantic
Kernel: x86_64 Linux 6.5.0-28-generic
Uptime: 41m
Packages: 2573
Shell: bash 5.2.15
Resolution: 1920x1080
DE: GNOME 45.0
WM: Mutter
WM Theme: Yaru-prussiangreen-dark
GTK Theme: Yaru-viridian-dark [GTK2/3]
Icon Theme: Yaru-viridian
Font: Ubuntu 11
Disk: 173G / 234G (79%)
CPU: AMD Ryzen 5 3450U with Radeon Vega Mobile Gfx @ 8x 2.1GHz
GPU: AMD Radeon Vega 8 Graphics (raven, LLVM 15.0.7, DRM 3.54, 6.5.0-28-generic)
RAM: 2652MiB / 5799MiB

Heres the output of the full command when i just clicked Editor, and pressed the X button to close the app:

19:44:57.385578 17898 GUI DEBUG logger.py:297: Using rich.traceback 19:44:57.385675 17898 GUI INFO logger.py:265: input-remapper-gtk 2.0.1 568f56cdb438f4ad6db9e96b2900d1228ea736ee https://github.com/sezanzeb/input-remapper 19:44:57.385770 17898 GUI INFO logger.py:273: python-evdev 1.6.1 19:44:57.385822 17898 GUI WARNING logger.py:276: Debug level will log all your keystrokes! Do not post this output in the internet if you typed in sensitive or private information with your device! 19:44:57.385872 17898 GUI DEBUG input-remapper-gtk:67: Using locale directory: /usr/share/input-remapper/lang 19:44:57.402961 17898 GUI DEBUG pipe.py:70: Creating new pipe for "/tmp/input-remapper-coffee/reader-results" 19:44:57.403518 17898 GUI DEBUG pipe.py:70: Creating new pipe for "/tmp/input-remapper-coffee/reader-commands" 19:44:57.403833 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.terminate: <function ReaderClient.attach_to_events.<locals>.<lambda> at 0x7d1cc323fd80> 19:44:57.404200 17898 GUI DEBUG reader_service.py:144: Running pkexec input-remapper-control --command start-reader-service -d19:45:01.686218 17912 control DEBUG logger.py:297: Using rich.traceback 19:45:01.686359 17912 control DEBUG input-remapper-control:233: Call for "['/usr/bin/input-remapper-control', '--command', 'start-reader-service', '-d']" 19:45:01.700829 17912 control DEBUG input-remapper-control:215: System is booted 19:45:01.700960 17912 control DEBUG input-remapper-control:178: Runninginput-remapper-reader-service -d &19:45:01.703270 17912 control INFO input-remapper-control:263: Done 19:45:01.785154 17898 GUI INFO daemon.py:234: Starting the service 19:45:01.785262 17898 GUI DEBUG daemon.py:245: Runningpkexec input-remapper-control --command start-daemon -d19:45:01.998701 17931 reader-service DEBUG logger.py:297: Using rich.traceback 19:45:02.033434 17931 reader-service DEBUG data.py:118: Found data at "/usr/share/input-remapper" 19:45:02.045868 17931 reader-service DEBUG pipe.py:87: Using existing pipe for "/tmp/input-remapper-coffee/reader-results" 19:45:02.046083 17931 reader-service DEBUG pipe.py:87: Using existing pipe for "/tmp/input-remapper-coffee/reader-commands" 19:45:02.046523 17931 reader-service DEBUG reader_service.py:154: Discovering initial groups 19:45:02.047019 17931 reader-service DEBUG groups.py:354: Discovering device paths 19:45:02.106617 17931 reader-service DEBUG groups.py:402: Found gamepad "ShanWan PS3/PC Wired GamePad" at "/dev/input/event16", hash "4ad026e451133dbd9afa05e892c50678", key "3_9571_1315_usb-0000:04:00.3-3" 19:45:02.154321 17931 reader-service DEBUG groups.py:402: Found unknown "Dell WMI hotkeys" at "/dev/input/event20", hash "b2929a312ab049787d22a304b1011c35", key "25_0_0_-" 19:45:02.186463 17931 reader-service DEBUG groups.py:402: Found unknown "Dell Privacy Driver" at "/dev/input/event19", hash "28e4ba2a2fb52b16467c67369b3bd5a1", key "25_0_0_-" 19:45:02.218174 17931 reader-service DEBUG groups.py:391: "HD-Audio Generic Headphone Mic" has no useful capabilities 19:45:02.282198 17931 reader-service DEBUG groups.py:391: "HD-Audio Generic HDMI/DP,pcm=3" has no useful capabilities 19:45:02.338182 17931 reader-service DEBUG groups.py:402: Found touchpad "DELL0AB4:00 27C6:0D43 Touchpad" at "/dev/input/event15", hash "2054a71b29ca965f6c9d5ebb7de9ea6a", key "24_10182_3395_i2c-DELL0AB4:00" 19:45:02.358242 17931 reader-service DEBUG groups.py:402: Found mouse "DELL0AB4:00 27C6:0D43 Mouse" at "/dev/input/event6", hash "4833d0bfe5b0557773bb0d8ced8cd3ac", key "24_10182_3395_i2c-DELL0AB4:00" 19:45:02.382129 17931 reader-service DEBUG groups.py:402: Found unknown "DELL Wireless hotkeys" at "/dev/input/event4", hash "68b90640798481d0174bc114fe1453ee", key "25_0_0_dellabce" 19:45:02.402289 17931 reader-service DEBUG groups.py:402: Found keyboard "SONiX USB DEVICE" at "/dev/input/event14", hash "cc96df2b79edbf63de1ec5911e388f40", key "3_1452_591_usb-0000:04:00.3-4" 19:45:02.418208 17931 reader-service DEBUG groups.py:402: Found keyboard "SONiX USB DEVICE" at "/dev/input/event13", hash "b7837a20f4989700a645143ec855107f", key "3_1452_591_usb-0000:04:00.3-4" 19:45:02.442069 17931 reader-service DEBUG groups.py:391: "SONiX USB Keyboard" has no useful capabilities 19:45:02.494307 17931 reader-service DEBUG groups.py:402: Found keyboard "SONiX USB Keyboard" at "/dev/input/event11", hash "897108e2752b3f262a1dd8d1f7bbf7c1", key "3_3141_31494_usb-0000:04:00.4-1" 19:45:02.510083 17931 reader-service DEBUG groups.py:402: Found unknown "SONiX USB Keyboard System Control" at "/dev/input/event10", hash "4f51ba6e3d85ce86b8a65de0f321048e", key "3_3141_31494_usb-0000:04:00.4-1" 19:45:02.526248 17931 reader-service DEBUG groups.py:402: Found unknown "SONiX USB Keyboard Consumer Control" at "/dev/input/event9", hash "9430a39b05ea41bd6539fc40921a9a4e", key "3_3141_31494_usb-0000:04:00.4-1" 19:45:02.558132 17931 reader-service DEBUG groups.py:402: Found mouse "SONiX USB Keyboard" at "/dev/input/event8", hash "4e20aa6fa0fcdfcbabaa0352d8d6d7a6", key "3_3141_31494_usb-0000:04:00.4-1" 19:45:02.578091 17931 reader-service DEBUG groups.py:402: Found unknown "PS/2 Generic Mouse" at "/dev/input/event7", hash "cc05ac157e1fcf55b90d8ca3ebecf45b", key "17_2_1_isa0060" 19:45:02.598219 17931 reader-service DEBUG groups.py:402: Found unknown "Video Bus" at "/dev/input/event5", hash "97ce48b026f7f5a939d64ade3b570921", key "25_0_6_LNXVIDEO" 19:45:02.622185 17931 reader-service DEBUG groups.py:402: Found keyboard "AT Translated Set 2 keyboard" at "/dev/input/event3", hash "650869084d234c8ce49bb632f09ccf3e", key "17_1_1_isa0060" 19:45:02.682052 17931 reader-service DEBUG groups.py:391: "Lid Switch" has no useful capabilities 19:45:02.706529 17931 reader-service INFO groups.py:481: Found "ShanWan PS3/PC Wired GamePad", "Dell WMI hotkeys", "DELL0AB4:00 27C6:0D43 Mouse", "DELL Wireless hotkeys", "SONiX USB DEVICE", "SONiX USB Keyboard", "PS/2 Generic Mouse", "Video Bus", "AT Translated Set 2 keyboard" 19:45:02.706698 17931 reader-service DEBUG reader_service.py:161: Sending groups 19:45:02.706962 17931 reader-service DEBUG reader_service.py:193: Waiting for commands 19:45:06.014644 17936 control DEBUG logger.py:297: Using rich.traceback 19:45:06.014778 17936 control DEBUG input-remapper-control:233: Call for "['/usr/bin/input-remapper-control', '--command', 'start-daemon', '-d']" 19:45:06.030439 17936 control DEBUG input-remapper-control:215: System is booted 19:45:06.030569 17936 control DEBUG input-remapper-control:178: Runninginput-remapper-service --hide-info -d &`
19:45:06.031585 17936 control INFO input-remapper-control:263: Done
19:45:06.259158 17957 service DEBUG logger.py:297: Using rich.traceback
19:45:06.319906 17898 GUI DEBUG daemon.py:255: Attempt 1 to reach the service failed:
19:45:06.320188 17898 GUI DEBUG daemon.py:256: "g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name inputremapper.Control was not provided by any .service files (2)"
19:45:06.342186 17957 service DEBUG data.py:118: Found data at "/usr/share/input-remapper"
19:45:06.357439 17957 service DEBUG daemon.py:196: Creating daemon
19:45:06.357705 17957 service INFO global_config.py:109: Loaded config from "/home/coffee/.config/input-remapper-2/config.json"
19:45:06.357778 17957 service DEBUG shared_dict.py:57: Starting SharedDict process
19:45:06.363447 17958 service DEBUG shared_dict.py:63: SharedDict process started
19:45:06.371362 17957 service DEBUG daemon.py:281: Running daemon
19:45:06.524001 17898 GUI DEBUG daemon.py:264: Telling service about "/home/coffee/.config/input-remapper-2"
19:45:06.527102 17957 service INFO global_config.py:109: Loaded config from "/home/coffee/.config/input-remapper-2/config.json"
19:45:06.527860 17898 GUI DEBUG global_uinputs.py:135: Creating FrontendUInputs
19:45:06.528037 17898 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper keyboard"
19:45:06.528157 17898 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper gamepad"
19:45:06.528266 17898 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper mouse"
19:45:06.528373 17898 GUI DEBUG global_uinputs.py:103: creating fake UInput device: "input-remapper keyboard + mouse"
19:45:06.528639 17898 GUI INFO global_config.py:109: Loaded config from "/home/coffee/.config/input-remapper-2/config.json"
19:45:06.528798 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.groups: <bound method Controller._on_groups_changed of <inputremapper.gui.controller.Controller object at 0x7d1cdc7f2550>>
19:45:06.528925 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method Controller._on_preset_changed of <inputremapper.gui.controller.Controller object at 0x7d1cdc7f2550>>
19:45:06.529037 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.init: <bound method Controller._on_init of <inputremapper.gui.controller.Controller object at 0x7d1cdc7f2550>>
19:45:06.529143 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method Controller._publish_mapping_errors_as_status_msg of <inputremapper.gui.controller.Controller object at 0x7d1cdc7f2550>>
19:45:06.529249 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Controller._publish_mapping_errors_as_status_msg of <inputremapper.gui.controller.Controller object at 0x7d1cdc7f2550>>
19:45:06.529506 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.terminate: <function UserInterface.init.. at 0x7d1cc2e79ee0>
19:45:06.715408 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.groups: <bound method DeviceGroupSelection._on_groups_changed of <inputremapper.gui.components.device_groups.DeviceGroupSelection object at 0x7d1cdc78bcd0>>
19:45:06.715499 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.group: <bound method DeviceGroupSelection._on_group_changed of <inputremapper.gui.components.device_groups.DeviceGroupSelection object at 0x7d1cdc78bcd0>>
19:45:06.715558 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.group: <bound method PresetSelection._on_group_changed of <inputremapper.gui.components.presets.PresetSelection object at 0x7d1cc2e9c490>>
19:45:06.715603 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method PresetSelection._on_preset_changed of <inputremapper.gui.components.presets.PresetSelection object at 0x7d1cc2e9c490>>
19:45:06.715849 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method MappingListBox._on_preset_changed of <inputremapper.gui.components.editor.MappingListBox object at 0x7d1cc2e9c510>>
19:45:06.715897 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method MappingListBox._on_mapping_changed of <inputremapper.gui.components.editor.MappingListBox object at 0x7d1cc2e9c510>>
19:45:06.715956 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.uinputs: <bound method TargetSelection._on_uinputs_changed of <inputremapper.gui.components.editor.TargetSelection object at 0x7d1cc2e9d490>>
19:45:06.715999 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method TargetSelection._on_mapping_loaded of <inputremapper.gui.components.editor.TargetSelection object at 0x7d1cc2e9d490>>
19:45:06.716058 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.group: <bound method Breadcrumbs._on_group_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7d1cc2e9d550>>
19:45:06.716097 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method Breadcrumbs._on_preset_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7d1cc2e9d550>>
19:45:06.716134 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Breadcrumbs._on_mapping_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7d1cc2e9d550>>
19:45:06.716291 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.group: <bound method Breadcrumbs._on_group_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7d1cc2e8ea10>>
19:45:06.716335 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method Breadcrumbs._on_preset_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7d1cc2e8ea10>>
19:45:06.716371 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Breadcrumbs._on_mapping_changed of <inputremapper.gui.components.common.Breadcrumbs object at 0x7d1cc2e8ea10>>
19:45:06.716568 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.do_stack_switch: <bound method Stack._do_stack_switch of <inputremapper.gui.components.main.Stack object at 0x7d1cc2e9dd10>>
19:45:06.716651 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.recording_finished: <bound method RecordingToggle._on_recording_finished of <inputremapper.gui.components.editor.RecordingToggle object at 0x7d1cc2e9dd50>>
19:45:06.716725 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method RequireActiveMapping._on_preset of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7d1cc2e9e4d0>>
19:45:06.716766 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method RequireActiveMapping._on_mapping of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7d1cc2e9e4d0>>
19:45:06.717191 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.status_msg: <bound method StatusBar._on_status_update of <inputremapper.gui.components.main.StatusBar object at 0x7d1cc3871b90>>
19:45:06.717249 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.recording_started: <bound method RecordingStatus._on_recording_started of <inputremapper.gui.components.editor.RecordingStatus object at 0x7d1cc2e9f5d0>>
19:45:06.717290 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.recording_finished: <bound method RecordingStatus._on_recording_finished of <inputremapper.gui.components.editor.RecordingStatus object at 0x7d1cc2e9f5d0>>
19:45:06.717473 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method AutoloadSwitch._on_preset_changed of <inputremapper.gui.components.editor.AutoloadSwitch object at 0x7d1cc2e9f950>>
19:45:06.717535 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method ReleaseCombinationSwitch._on_mapping_changed of <inputremapper.gui.components.editor.ReleaseCombinationSwitch object at 0x7d1cc2e9fe10>>
19:45:06.717584 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method CombinationListbox._on_mapping_changed of <inputremapper.gui.components.editor.CombinationListbox object at 0x7d1cc2e9ff50>>
19:45:06.717623 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.selected_event: <bound method CombinationListbox._on_event_changed of <inputremapper.gui.components.editor.CombinationListbox object at 0x7d1cc2e9ff50>>
19:45:06.717676 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.selected_event: <bound method AnalogInputSwitch._on_event of <inputremapper.gui.components.editor.AnalogInputSwitch object at 0x7d1cc2ea4050>>
19:45:06.718131 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.selected_event: <bound method TriggerThresholdInput._on_event of <inputremapper.gui.components.editor.TriggerThresholdInput object at 0x7d1cc2ea40d0>>
19:45:06.718954 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method RelativeInputCutoffInput._on_mapping_message of <inputremapper.gui.components.editor.RelativeInputCutoffInput object at 0x7d1cc2ea6a10>>
19:45:06.719637 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method OutputAxisSelector._on_mapping_message of <inputremapper.gui.components.editor.OutputAxisSelector object at 0x7d1cc2ea6b10>>
19:45:06.719692 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.uinputs: <bound method OutputAxisSelector._on_uinputs_message of <inputremapper.gui.components.editor.OutputAxisSelector object at 0x7d1cc2ea6b10>>
19:45:06.719756 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method KeyAxisStackSwitcher._on_mapping_message of <inputremapper.gui.components.editor.KeyAxisStackSwitcher object at 0x7d1cc2e97750>>
19:45:06.719831 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method ReleaseTimeoutInput._on_mapping_message of <inputremapper.gui.components.editor.ReleaseTimeoutInput object at 0x7d1cc2ea7e10>>
19:45:06.720003 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method TransformationDrawArea._on_mapping_message of <inputremapper.gui.components.editor.TransformationDrawArea object at 0x7d1cc2ea7f90>>
19:45:06.720891 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Sliders._on_mapping_message of <inputremapper.gui.components.editor.Sliders object at 0x7d1cc2eac290>>
19:45:06.720975 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method RequireActiveMapping._on_preset of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7d1cc2eacc50>>
19:45:06.721017 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method RequireActiveMapping._on_mapping of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7d1cc2eacc50>>
19:45:06.721064 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method RequireActiveMapping._on_preset of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7d1cc2eacd10>>
19:45:06.721108 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method RequireActiveMapping._on_mapping of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7d1cc2eacd10>>
19:45:06.721164 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.preset: <bound method RequireActiveMapping._on_preset of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7d1cc2eace10>>
19:45:06.721203 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method RequireActiveMapping._on_mapping of <inputremapper.gui.components.editor.RequireActiveMapping object at 0x7d1cc2eace10>>
19:45:06.721728 17898 GUI WARNING utils.py:199: HandlerDisabled entry failed: "nothing connected to <bound method CodeEditor._on_gtk_changed of <inputremapper.gui.components.editor.CodeEditor object at 0x7d1cc2eace90>>"
19:45:06.721868 17898 GUI WARNING utils.py:205: HandlerDisabled exit failed: "nothing connected to <bound method CodeEditor._on_gtk_changed of <inputremapper.gui.components.editor.CodeEditor object at 0x7d1cc2eace90>>"
19:45:06.721971 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method CodeEditor._on_mapping_loaded of <inputremapper.gui.components.editor.CodeEditor object at 0x7d1cc2eace90>>
19:45:06.722015 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.recording_finished: <bound method CodeEditor._on_recording_finished of <inputremapper.gui.components.editor.CodeEditor object at 0x7d1cc2eace90>>
19:45:06.723304 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method Autocompletion._on_mapping_changed of <autocompletion.Autocompletion object at 0x7d1cc2eae0c0 (Autocompletion at 0x1d79c70)>>
19:45:06.723361 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.uinputs: <bound method Autocompletion._on_uinputs_changed of <autocompletion.Autocompletion object at 0x7d1cc2eae0c0 (Autocompletion at 0x1d79c70)>>
19:45:06.723666 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.mapping: <bound method UserInterface.update_combination_label of <inputremapper.gui.user_interface.UserInterface object at 0x7d1cc2e8f490>>
19:45:06.723722 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.injector_state: <bound method UserInterface.on_injector_state_msg of <inputremapper.gui.user_interface.UserInterface object at 0x7d1cc2e8f490>>
19:45:06.723762 17898 GUI DEBUG message_broker.py:97: adding new Listener for MessageType.user_confirm_request: <bound method UserInterface._on_user_confirm_request of <inputremapper.gui.user_interface.UserInterface object at 0x7d1cc2e8f490>>
19:45:06.765513 17898 GUI DEBUG reader_client.py:141: received {'type': 'status', 'message': 'ready'}
19:45:06.765634 17898 GUI DEBUG reader_client.py:141: received {'type': 'groups', 'message': '["{\"paths\": [\"/dev/input/event16\"], \"names\": [\"ShanWan PS3/PC Wired GamePad\"], \"types\": [\"gamepad\"], \"key\": \"ShanWan PS3/PC Wired GamePad\"}", "{\"paths\": [\"/dev/input/event20\", \"/dev/input/event19\"], \"names\": [\"Dell WMI hotkeys\", \"Dell Privacy Driver\"], \"types\": [], \"key\": \"Dell WMI hotkeys\"}", "{\"paths\": [\"/dev/input/event15\", \"/dev/input/event6\"], \"names\": [\"DELL0AB4:00 27C6:0D43 Touchpad\", \"DELL0AB4:00 27C6:0D43 Mouse\"], \"types\": [\"mouse\", \"touchpad\"], \"key\": \"DELL0AB4:00 27C6:0D43 Mouse\"}", "{\"paths\": [\"/dev/input/event4\"], \"names\": [\"DELL Wireless hotkeys\"], \"types\": [], \"key\": \"DELL Wireless hotkeys\"}", "{\"paths\": [\"/dev/input/event14\", \"/dev/input/event13\"], \"names\": [\"SONiX USB DEVICE\", \"SONiX USB DEVICE\"], \"types\": [\"keyboard\"], \"key\": \"SONiX USB DEVICE\"}", "{\"paths\": [\"/dev/input/event11\", \"/dev/input/event10\", \"/dev/input/event9\", \"/dev/input/event8\"], \"names\": [\"SONiX USB Keyboard\", \"SONiX USB Keyboard System Control\", \"SONiX USB Keyboard Consumer Control\", \"SONiX USB Keyboard\"], \"types\": [\"keyboard\", \"mouse\"], \"key\": \"SONiX USB Keyboard\"}", "{\"paths\": [\"/dev/input/event7\"], \"names\": [\"PS/2 Generic Mouse\"], \"types\": [], \"key\": \"PS/2 Generic Mouse\"}", "{\"paths\": [\"/dev/input/event5\"], \"names\": [\"Video Bus\"], \"types\": [], \"key\": \"Video Bus\"}", "{\"paths\": [\"/dev/input/event3\"], \"names\": [\"AT Translated Set 2 keyboard\"], \"types\": [\"keyboard\"], \"key\": \"AT Translated Set 2 keyboard\"}"]'}
19:45:06.766429 17898 GUI DEBUG groups.py:354: Discovering device paths
19:45:06.826801 17898 GUI DEBUG groups.py:402: Found gamepad "ShanWan PS3/PC Wired GamePad" at "/dev/input/event16", hash "4ad026e451133dbd9afa05e892c50678", key "3_9571_1315_usb-0000:04:00.3-3"
19:45:06.827514 17898 GUI INFO groups.py:481: Found "ShanWan PS3/PC Wired GamePad"
19:45:06.828116 17898 GUI DEBUG reader_client.py:287: Received 9 devices
19:45:06.829050 17898 GUI DEBUG message_broker.py:76: from reader_client.py:282: Signal=groups: GroupsData(groups={'ShanWan PS3/PC Wired GamePad': [<DeviceType.GAMEPAD: 'gamepad'>], 'Dell WMI hotkeys': [], 'DELL0AB4:00 27C6:0D43 Mouse': [<DeviceType.MOUSE: 'mouse'>, <DeviceType.TOUCHPAD: 'touchpad'>], 'DELL Wireless hotkeys': [], 'SONiX USB DEVICE': [<DeviceType.KEYBOARD: 'keyboard'>], 'SONiX USB Keyboard': [<DeviceType.KEYBOARD: 'keyboard'>, <DeviceType.MOUSE: 'mouse'>], 'PS/2 Generic Mouse': [], 'Video Bus': [], 'AT Translated Set 2 keyboard': [<DeviceType.KEYBOARD: 'keyboard'>]})
19:45:06.830402 17898 GUI INFO data_manager.py:297: Loading group "ShanWan PS3/PC Wired GamePad"
19:45:06.833780 17898 GUI INFO data_manager.py:315: Loading preset "new preset 2"
19:45:06.834010 17898 GUI INFO preset.py:147: Loading preset from "/home/coffee/.config/input-remapper-2/presets/ShanWan PS3_PC Wired GamePad/new preset 2.json"
19:45:06.834164 17898 GUI DEBUG preset.py:284: got empty file
19:45:06.834585 17898 GUI DEBUG device_groups.py:102: adding ShanWan PS3/PC Wired GamePad to device selection
19:45:06.837953 17898 GUI DEBUG device_groups.py:102: adding Dell WMI hotkeys to device selection
19:45:06.839047 17898 GUI DEBUG device_groups.py:102: adding DELL0AB4:00 27C6:0D43 Mouse to device selection
19:45:06.840066 17898 GUI DEBUG device_groups.py:102: adding DELL Wireless hotkeys to device selection
19:45:06.840785 17898 GUI DEBUG device_groups.py:102: adding SONiX USB DEVICE to device selection
19:45:06.841839 17898 GUI DEBUG device_groups.py:102: adding SONiX USB Keyboard to device selection
19:45:06.843662 17898 GUI DEBUG device_groups.py:102: adding PS/2 Generic Mouse to device selection
19:45:06.844709 17898 GUI DEBUG device_groups.py:102: adding Video Bus to device selection
19:45:06.845553 17898 GUI DEBUG device_groups.py:102: adding AT Translated Set 2 keyboard to device selection
19:45:06.847403 17898 GUI DEBUG message_broker.py:76: from data_manager.py:100: Signal=group: GroupData(group_key='ShanWan PS3/PC Wired GamePad', presets=('new preset 2', 'new preset'))
19:45:06.848509 17898 GUI DEBUG message_broker.py:76: from data_manager.py:158: Signal=injector_state: InjectorStateMessage(state='UNKNOWN')
19:45:06.850016 17898 GUI DEBUG message_broker.py:76: from data_manager.py:111: Signal=preset: PresetData(name='new preset 2', mappings=[], autoload=False)
19:45:06.854975 17898 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
19:45:06.855400 17898 GUI DEBUG message_broker.py:76: from controller.py:147: Signal=mapping: {'target_uinput': 'keyboard'}
19:45:06.864992 17898 GUI DEBUG message_broker.py:76: from controller.py:159: Signal=status_msg: StatusData(ctx_id=5, msg=None, tooltip=None)
19:45:06.943092 17898 GUI DEBUG message_broker.py:76: from input-remapper-gtk:98: Signal=init: Signal: MessageType.init
19:45:06.943333 17898 GUI DEBUG message_broker.py:76: from reader_client.py:282: Signal=groups: GroupsData(groups={'ShanWan PS3/PC Wired GamePad': [<DeviceType.GAMEPAD: 'gamepad'>], 'Dell WMI hotkeys': [], 'DELL0AB4:00 27C6:0D43 Mouse': [<DeviceType.MOUSE: 'mouse'>, <DeviceType.TOUCHPAD: 'touchpad'>], 'DELL Wireless hotkeys': [], 'SONiX USB DEVICE': [<DeviceType.KEYBOARD: 'keyboard'>], 'SONiX USB Keyboard': [<DeviceType.KEYBOARD: 'keyboard'>, <DeviceType.MOUSE: 'mouse'>], 'PS/2 Generic Mouse': [], 'Video Bus': [], 'AT Translated Set 2 keyboard': [<DeviceType.KEYBOARD: 'keyboard'>]})
19:45:06.943441 17898 GUI DEBUG controller.py:123: A group is already active
19:45:06.944553 17898 GUI DEBUG device_groups.py:102: adding ShanWan PS3/PC Wired GamePad to device selection
19:45:06.945296 17898 GUI DEBUG device_groups.py:102: adding Dell WMI hotkeys to device selection
19:45:06.945772 17898 GUI DEBUG device_groups.py:102: adding DELL0AB4:00 27C6:0D43 Mouse to device selection
19:45:06.946312 17898 GUI DEBUG device_groups.py:102: adding DELL Wireless hotkeys to device selection
19:45:06.946726 17898 GUI DEBUG device_groups.py:102: adding SONiX USB DEVICE to device selection
19:45:06.947145 17898 GUI DEBUG device_groups.py:102: adding SONiX USB Keyboard to device selection
19:45:06.947576 17898 GUI DEBUG device_groups.py:102: adding PS/2 Generic Mouse to device selection
19:45:06.947968 17898 GUI DEBUG device_groups.py:102: adding Video Bus to device selection
19:45:06.948352 17898 GUI DEBUG device_groups.py:102: adding AT Translated Set 2 keyboard to device selection
19:45:06.949002 17898 GUI DEBUG message_broker.py:76: from data_manager.py:140: Signal=uinputs: UInputsData(uinputs={'keyboard': {1: [0, ... 700]}, 'gamepad': {1: [304, ... 318], 3: [(0, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (1, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (2, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (3, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (4, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (5, AbsInfo(value=0, min=-32768, max=32768, fuzz=0, flat=0, resolution=0)), (16, AbsInfo(value=0, min=-1, max=1, fuzz=0, flat=0, resolution=0)), (17, AbsInfo(value=0, min=-1, max=1, fuzz=0, flat=0, resolution=0))]}, 'mouse': {1: [272, ... 279], 2: [0, ... 12]}, 'keyboard + mouse': {1: [0, ... 279], 2: [0, ... 12]}})
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
19:45:11.139893 17898 GUI DEBUG controller.py:738: Closing Application
19:45:11.140055 17898 GUI DEBUG preset.py:182: Not saving unchanged preset
19:45:11.140209 17898 GUI DEBUG message_broker.py:76: from controller.py:740: Signal=terminate: Signal: MessageType.terminate
19:45:11.140295 17898 GUI DEBUG reader_client.py:120: Sending "terminate" to ReaderService
19:45:11.140405 17898 GUI DEBUG reader_client.py:185: Stopping recorder.
19:45:11.140465 17898 GUI DEBUG reader_client.py:120: Sending "stop-reading" to ReaderService
19:45:11.140548 17898 GUI DEBUG reader_client.py:194: No recording generator existed
19:45:11.140761 17931 reader-service DEBUG reader_service.py:195: Received command "terminate"
19:45:11.140780 17898 GUI DEBUG user_interface.py:375: Closing window
19:45:11.140933 17931 reader-service DEBUG reader_service.py:199: Terminating
19:45:11.141998 17898 GUI DEBUG message_broker.py:76: from reader_client.py:196: Signal=recording_finished: Signal: MessageType.recording_finished
19:45:11.142315 17898 GUI DEBUG controller.py:741: Quitting
19:45:11.159843 17898 GUI DEBUG controller.py:738: Closing Application
19:45:11.160464 17898 GUI DEBUG preset.py:182: Not saving unchanged preset
19:45:11.160628 17898 GUI DEBUG message_broker.py:76: from controller.py:740: Signal=terminate: Signal: MessageType.terminate
19:45:11.160703 17898 GUI DEBUG reader_client.py:120: Sending "terminate" to ReaderService
19:45:11.160795 17898 GUI DEBUG reader_client.py:185: Stopping recorder.
19:45:11.160842 17898 GUI DEBUG reader_client.py:120: Sending "stop-reading" to ReaderService
19:45:11.160911 17898 GUI DEBUG reader_client.py:194: No recording generator existed
19:45:11.161044 17898 GUI DEBUG user_interface.py:375: Closing window
19:45:11.161116 17898 GUI DEBUG message_broker.py:76: from reader_client.py:196: Signal=recording_finished: Signal: MessageType.recording_finished
19:45:11.161202 17898 GUI WARNING utils.py:199: HandlerDisabled entry failed: "nothing connected to <bound method RecordingToggle._on_gtk_toggle of <inputremapper.gui.components.editor.RecordingToggle object at 0x7d1cc2e9dd50>>"
19:45:11.161267 17898 GUI WARNING utils.py:205: HandlerDisabled exit failed: "nothing connected to <bound method RecordingToggle._on_gtk_toggle of <inputremapper.gui.components.editor.RecordingToggle object at 0x7d1cc2e9dd50>>"
19:45:11.161330 17898 GUI DEBUG controller.py:741: Quitting

(input-remapper-gtk:17898): Gtk-CRITICAL **: 19:45:11.161: gtk_main_quit: assertion 'main_loops != NULL' failed
`

PS: I'm not really a Linux superuser, so forgive my lack of linuxness/githubness.

@All3xJ
Copy link

All3xJ commented May 14, 2024

I have the same, expect to the fact that if I wait, it unblocks. But I have to wait few seconds. There are multiple lines saying: TypeError: Couldn't find foreign struct converter for 'cairo.Context'. It lags every thing that I click. But after some seconds/minutes I realize it behave normally without lags. I have Ubuntu 24.04

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

2 participants