w3m crashes in pyte
ruapotato opened this issue · comments
ruapotato commented
When you use any key in w3m running through pyte I see the following crash:
Exception in thread Thread-204: News GmaSearch Images Maps Play YouTube News Gma
Traceback (most recent call last): Web History | Settings | Sign in
File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
self.run() Goog Goog
File "/usr/lib64/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs) [
File "<string>", line 109, in bashScreenRef
File "/usr/lib/python3.6/site-packages/pyte/streams.py", line 392, in feedh][I
super(ByteStream, self).feed(data)
File "/usr/lib/python3.6/site-packages/pyte/streams.py", line 196, in feedess
taking_plain_text = send(data[offset:offset + 1])
File "/usr/lib/python3.6/site-packages/pyte/streams.py", line 323, in _parser_fsm
csi_dispatch[char](*params, private=True)
TypeError: set_margins() got an unexpected keyword argument 'private'
Posible fix:
ruapotato@2f91353
I also see a crash looking at config files on extream switches.
Possible workaground:
ruapotato@b24f60d
Sergei Lebedev commented
This is likely because your TERM
is xterm*
instead of vt220
or linux
. Which TERM
variable are you using?