prompt-toolkit / pymux

A terminal multiplexer (like tmux) in Python
BSD 3-Clause "New" or "Revised" License
1.44k stars 82 forks source link

AttributeError: 'BetterScreen' object has no attribute 'report_device_status' #35

Closed kjelly closed 8 years ago

kjelly commented 8 years ago

Crash when running vim

Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pymux/main.py", line 500, in run_server PipeInput(), DummyCallbacks()) File "/usr/local/lib/python2.7/dist-packages/prompt_toolkit/eventloop/posix.py", line 150, in run t() File "/usr/local/lib/python2.7/dist-packages/pymux/process.py", line 280, in _read process() File "/usr/local/lib/python2.7/dist-packages/pymux/process.py", line 274, in process self.stream.feed(d) File "/usr/local/lib/python2.7/dist-packages/pymux/stream.py", line 51, in feed send(c) File "/usr/local/lib/python2.7/dist-packages/pymux/stream.py", line 157, in _parser_generator dispatch(csi[char], _params) File "/usr/local/lib/python2.7/dist-packages/pymux/stream.py", line 91, in dispatch getattr(listener, event)(_args, **flags) AttributeError: 'BetterScreen' object has no attribute 'report_device_status'

jonathanslenders commented 8 years ago

Hi @ya790206, Thanks for reporting! This went wrong after the last release of pyte. I'll fix it asap. Jonathan

jonathanslenders commented 8 years ago

Hi @ya790206, This was fixed 8 days ago in https://github.com/jonathanslenders/pymux/commit/df949504b28fb73621a39552cd0fda3bdacafe10 I will do a new release soon.

jonathanslenders commented 8 years ago

(Don't hesitate to create a new issue if you find other bugs.)