Error popup about a programmation error getting the keycode pressed.
Bug description
Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/gajim/chat_control.py", line 659, in _conv_textview_key_press_event keycode = keymap.get_entries_for_keyval(event.keyval)[0][0] TypeError: 'NoneType' object has no attribute 'getitem'
Steps to reproduce
No idea at all, happens from time to time
Software versions
OS version: Gentoo GTK version: 2.24.29 PyGTK version: 2.24.0
I patched chat_control.py at line 659 to enclose the keycode = ... in a try/catch like that:
try:
keycode = keymap.get_entries_for_keyval(event.keyval)[0][0]
except:
log.warn('Error getting keycode')
return False
No more issues :)