JoystickGremlin icon indicating copy to clipboard operation
JoystickGremlin copied to clipboard

Uncaught exception on line 274

Open BriggsW opened this issue 2 years ago • 9 comments

Whether I select Remap, Macro, Map to Keyboard, or any other option and press add, I get the following exception

Traceback (most recent call last): File "gremlin\ui\device_tab.py", line 274, in redraw File "container_plugins\basic_init_.py", line 35, in init super().init(profile_data, parent) File "gremlin\ui\input_item.py", line 635, in init File "gremlin\ui\input_item.py", line 654, in create_action_tab File "container_plugins\basic_init.py", line 49, in create_action_ui widget.redraw() File "gremlin\ui\input_item.py", line 383, in redraw File "C:\Program Files (x86)\H2ik\Joystick Gremlin\action_plugins\remap_init.py", line 60, in init super().init(action_data, parent=parent) File "gremlin\ui\input_item.py", line 822, in init File "C:\Program Files (x86)\H2ik\Joystick Gremlin\action_plugins\remap_init_.py", line 130, in _populate_ui input_name = self.type_to_name_map[input_type].lower() KeyError: None

If I then unselect and then select the button, axis, or hat I tried to add to, I get this error

2023-07-08 00:10:33 ERROR Uncaught exception: Traceback (most recent call last): File "gremlin\ui\device_tab.py", line 393, in input_item_selected_cb File "gremlin\ui\device_tab.py", line 61, in init File "gremlin\ui\device_tab.py", line 274, in redraw File "container_plugins\basic_init_.py", line 35, in init super().init(profile_data, parent) File "gremlin\ui\input_item.py", line 635, in init File "gremlin\ui\input_item.py", line 654, in create_action_tab File "container_plugins\basic_init.py", line 49, in create_action_ui widget.redraw() File "gremlin\ui\input_item.py", line 383, in redraw File "C:\Program Files (x86)\H2ik\Joystick Gremlin\action_plugins\remap_init.py", line 60, in init super().init(action_data, parent=parent) File "gremlin\ui\input_item.py", line 822, in init File "C:\Program Files (x86)\H2ik\Joystick Gremlin\action_plugins\remap_init_.py", line 130, in _populate_ui input_name = self.type_to_name_map[input_type].lower() KeyError: None

I've installed and uninstalled vJoy and Joystick Gemlin multiple times using the msi and zip file to no affect and will happen regardless of the vJoy config. I've repaired and reinstalled the x86 versions of vc2010 and vc2013 and have been unable to break this pattern

BriggsW avatar Jul 08 '23 07:07 BriggsW

Which version of Gremlin are you using, and what does the vJoy configuration look like? The error you're getting should not be possible as that particular failure mode is guarded against in the code.

WhiteMagic avatar Jul 12 '23 07:07 WhiteMagic

Im getting the exact same error on version 13.3

GregShiner avatar Aug 30 '23 03:08 GregShiner

Are you using 13.3 or 13.3 Debug? The latter is the one with code addressing that kind of issue.

WhiteMagic avatar Aug 30 '23 10:08 WhiteMagic

13.3. I guess that would do it lol

GregShiner avatar Aug 30 '23 15:08 GregShiner

Well I have this error too. Have anyone found a solution ?

jfjago avatar Jun 04 '24 13:06 jfjago