Hi Samuel

Samuel Thibault schrieb am 29.05.2025, 14:57 +0200:
>Sebastian Humenda, le mar. 27 mai 2025 17:08:27 +0200, a ecrit:
>> Hi
>> 
>> Samuel Thibault schrieb am 23.05.2025,  0:42 +0200:
>> >Sebastian Humenda, le jeu. 22 mai 2025 18:36:34 +0200, a ecrit:
>> >> >> >> I've tried a new user and it is indeed gone. I've purged the 
>> >> >> >> configurations
>> >> >> >> of orca (~/.local/share/orca) and firefox (~/.mozilla). For the 
>> >> >> >> "old" user,
>> >> >> >> the problem persists.
>> […]
>> >> >> Traceback (most recent call last):
>> >> >>   File "/usr/lib/python3/dist-packages/orca/input_event_manager.py", 
>> >> >> line 239, in process_keyboard_event
>> >> >>     event = input_event.KeyboardEvent(pressed, keycode, keysym, 
>> >> >> modifiers, text)
>> >> >>   File "/usr/lib/python3/dist-packages/orca/input_event.py", line 137, 
>> >> >> in __init__
>> >> >>     if self.keyval_name.startswith("KP"):
>> >> >>        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> >> >> AttributeError: 'NoneType' object has no attribute 'startswith'
>> >> >
>> >> >Perhaps that could be related to your keyboard layout?
>> >> 
>> >> Plain German layout, no modifications.
>> >
>> >Is that the same in your fresh account? Does it get the same
>> >AttributeError?
>> 
>> It is German and I didn't configure anything. I wasn't able to reproduce this
>> error, though.
>
>So there could still be something different somehow in the keyboard
>event content that triggers this error. Perhaps you can add before that
>if:
>
>if self.keyval_name is None:
>   self.keyval_name = "Unknown"
>
>to avoid that error in particular?

This particular issue is gone, i.e. no traceback. The original issue isn't.
Thanks
Sebastian

Attachment: signature.asc
Description: PGP signature

Reply via email to