-
Notifications
You must be signed in to change notification settings - Fork 437
Exception occurs on RHEL 6.6 #5
Comments
Hi, thanks for reporting the issue! Even if your OS is old, termtosvg should not crash this way. I've asked the folks over at Xlib about it (python-xlib/python-xlib#117). Could you please watch the issue and provide them with more info about your setup if needed? In the meantime you can bypass the call that makes termtosvg crash by supplying the theme option: |
Will do. Thanks.
Sorry. I still get the exact same backtrace.
|
Oops, I did not think this through, sorry! I thought getting color information from the Xserver would be useful but it may not be such a great idea after all. We'll see what the Xlib devs say about the crash. I will probably make the calls to Xlib optional, or maybe remove them completely, depending on the solution chosen to implement the font option (#3). |
Hi, I've modified termtosvg so that is uses a basic configuration file instead of Xresources. This means no more dependency on Xlib and no more crash for you, hopefully! I have not released this version to the production pypi server yet, but you can dowload it from the test server:
The updated README is available here: https://github.com/nbedos/termtosvg/tree/release/0.3.0 |
@nbedos This works great now. Thanks! I'll close this issue there as the ball's in the court of python-xlib now. |
Hello,
My OS is RHEL 6.6.
pip3 install --user termtosvg
worked fine, but when I ran the application usingtermtosvg
, I got this exception:Probably my OS is too old?
The text was updated successfully, but these errors were encountered: