prompt-toolkit / pymux

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

Crash #68

Open MakinWavz opened 7 years ago

MakinWavz commented 7 years ago

Traceback (most recent call last): File "/home/chris/code/intacct_env/tornado/lib/python3.5/site-packages/pymux/main.py", line 538, in run_server PipeInput(), DummyCallbacks()) File "/home/chris/code/intacct_env/tornado/lib/python3.5/site-packages/prompt_toolkit/eventloop/posix.py", line 164, in run t() File "/home/chris/code/intacct_env/tornado/lib/python3.5/site-packages/pymux/server.py", line 70, in _recv self._process(self._recv_buffer[:pos]) File "/home/chris/code/intacct_env/tornado/lib/python3.5/site-packages/pymux/server.py", line 113, in _process self._create_cli(true_color=true_color, ansi_colors_only=ansi_colors_only, term=term) File "/home/chris/code/intacct_env/tornado/lib/python3.5/site-packages/pymux/server.py", line 157, in _create_cli self.cli = self.pymux.create_cli(self, output, input) File "/home/chris/code/intacct_env/tornado/lib/python3.5/site-packages/pymux/main.py", line 459, in create_cli self.create_window(cli, command=self.startup_command) File "/home/chris/code/intacct_env/tornado/lib/python3.5/site-packages/pymux/main.py", line 311, in create_window pane = self._create_pane(None, command, start_directory=start_directory) File "/home/chris/code/intacct_env/tornado/lib/python3.5/site-packages/pymux/main.py", line 283, in _create_pane has_priority=has_priority) File "/home/chris/code/intacct_env/tornado/lib/python3.5/site-packages/pymux/process.py", line 119, in from_command has_priority=has_priority) File "/home/chris/code/intacct_env/tornado/lib/python3.5/site-packages/pymux/process.py", line 85, in init self.stream = BetterStream(self.screen) File "/home/chris/code/intacct_env/tornado/lib/python3.5/site-packages/pymux/stream.py", line 36, in init self._validate_screen() File "/home/chris/code/intacct_env/tornado/lib/python3.5/site-packages/pymux/stream.py", line 56, in _validate_screen for d in [self.basic, self.escape, self.sharp, self.percent, self.csi]: AttributeError: 'BetterStream' object has no attribute 'percent'

dmvass commented 6 years ago

Hi @MakinWavz, attribute percent was remove from Stream class in this commit and released in pyte 0.6.0 version. You should check you installed pyte version and must be pyte>=0.5.1,<0.6.0.