Code Monkey home page Code Monkey logo

Comments (4)

jokimina avatar jokimina commented on September 6, 2024
Exception in thread Thread-8:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/xxxxxx-jumpserver-coco/coco/sshd.py", line 100, in handle_chan
    self.dispatch(client)
  File "/opt/xxxxxx-jumpserver-coco/coco/sshd.py", line 107, in dispatch
    InteractiveServer(self.app, client).interact()
  File "/opt/xxxxxx-jumpserver-coco/coco/interactive.py", line 321, in interact
    rv = self.dispatch(opt)
  File "/opt/xxxxxx-jumpserver-coco/coco/interactive.py", line 149, in dispatch
    self.search_and_proxy(opt)
  File "/opt/xxxxxx-jumpserver-coco/coco/interactive.py", line 304, in search_and_proxy
    self.proxy(asset)
  File "/opt/xxxxxx-jumpserver-coco/coco/interactive.py", line 314, in proxy
    forwarder.proxy(asset, system_user)
  File "/opt/xxxxxx-jumpserver-coco/coco/proxy.py", line 49, in proxy
    session.bridge()
  File "/opt/xxxxxx-jumpserver-coco/coco/session.py", line 148, in bridge
    self.server.send(data)
  File "/opt/xxxxxx-jumpserver-coco/coco/models.py", line 163, in send
    self.parse(b)
  File "/opt/xxxxxx-jumpserver-coco/coco/models.py", line 149, in parse
    self._output = self._parse_output()
  File "/opt/xxxxxx-jumpserver-coco/coco/models.py", line 199, in _parse_output
    return parser.parse_output(self.output_data)
  File "/opt/xxxxxx-jumpserver-coco/coco/utils.py", line 110, in parse_output
    self.stream.feed(d)
  File "/opt/py3/lib/python3.6/site-packages/pyte/streams.py", line 378, in feed
    return super(ByteStream, self).feed(chars)
  File "/opt/py3/lib/python3.6/site-packages/pyte/streams.py", line 166, in feed
    send(char)
  File "/opt/py3/lib/python3.6/site-packages/pyte/streams.py", line 318, in _parser_fsm
    dispatch("draw", char)
  File "/opt/py3/lib/python3.6/site-packages/pyte/streams.py", line 215, in dispatch
    handler(*args, **kwargs)
  File "/opt/py3/lib/python3.6/site-packages/pyte/screens.py", line 448, in draw
    line[self.cursor.x + 1] = self.cursor.attrs._replace(data=" ")
IndexError: list assignment index out of range

from coco.

jokimina avatar jokimina commented on September 6, 2024

selectel/pyte#59

原来是已知问题.....

不过是以前connect.py的时候, 我目前用coco的1.3.1版本, 不知道这个是如何处理的.

from coco.

ibuler avatar ibuler commented on September 6, 2024

升级 pyte版本可以解决,在 1.3.3中已经升级了

from coco.

jokimina avatar jokimina commented on September 6, 2024

pyte==0.8.0
感谢, 升级后正常了

from coco.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.