stash icon indicating copy to clipboard operation
stash copied to clipboard

ssh cannot work with TypeError

Open NatLee opened this issue 5 years ago • 0 comments

Hi

I use stash with ssh and get the error.

Exception in thread Thread-27:
Traceback (most recent call last):
  File "/var/containers/Bundle/Application/B9BBE5BD-3888-4C4A-95A4-D25BC61C78C7/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/var/containers/Bundle/Application/B9BBE5BD-3888-4C4A-95A4-D25BC61C78C7/Pythonista3.app/Frameworks/Py3Kit.framework/pylib/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "site-packages/stash/bin/ssh.py", line 135, in stdout_thread
    self.update_screen()
  File "site-packages/stash/bin/ssh.py", line 142, in update_screen
    _stash.main_screen.load_pyte_screen(self.screen)
  File "/private/var/mobile/Containers/Shared/AppGroup/836D81FB-627A-4A1A-835B-EE5EBC2093B4/Pythonista3/Documents/site-packages/stash/system/shscreens.py", line 579, in load_pyte_screen
    c = pyte_screen.buffer[idx_line][idx_column]
TypeError: list indices must be integers or slices, not float

NatLee avatar Jan 27 '20 07:01 NatLee