You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys, thanks for writing Xlib, it's been pretty useful to me recently :)
@kaushalmodi reported the following crash (original issue: nbedos/termtosvg#5). Is the caller of Xlib.display.Display expected to catch AttributeError, or is there something else going on here?
Thanks
km²~/.local/:bin> termtosvg 06/28 1:18pm
Recording started, enter "exit" command or Control-D to end
Traceback (most recent call last):
File "/home/kmodi/.local/lib/python3.7/site-packages/Xlib/display.py", line 224, in __getattr__
function = self.display_extension_methods[attr]
KeyError: 'ge_add_event_data'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/kmodi/.local/bin/termtosvg", line 11, in <module>
sys.exit(main())
File "/home/kmodi/.local/lib/python3.7/site-packages/termtosvg/__main__.py", line 172, in main
columns, lines, system_theme = term.get_configuration(output_fileno)
File "/home/kmodi/.local/lib/python3.7/site-packages/termtosvg/term.py", line 340, in get_configuration
xresources_str = _get_xresources()
File "/home/kmodi/.local/lib/python3.7/site-packages/termtosvg/term.py", line 361, in _get_xresources
d = display.Display()
File "/home/kmodi/.local/lib/python3.7/site-packages/Xlib/display.py", line 127, in __init__
mod.init(self, info)
File "/home/kmodi/.local/lib/python3.7/site-packages/Xlib/ext/xinput.py", line 652, in init
disp.ge_add_event_data(info.major_opcode, device_event, DeviceEventData)
File "/home/kmodi/.local/lib/python3.7/site-packages/Xlib/display.py", line 227, in __getattr__
raise AttributeError(attr)
AttributeError: ge_add_event_data
The text was updated successfully, but these errors were encountered:
Hey guys, thanks for writing Xlib, it's been pretty useful to me recently :)
@kaushalmodi reported the following crash (original issue: nbedos/termtosvg#5). Is the caller of Xlib.display.Display expected to catch AttributeError, or is there something else going on here?
Thanks
The text was updated successfully, but these errors were encountered: