-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stuck When used #23
Comments
Hi @flaming-archer, Glad to here you like polysh. Do you have steps to reproduce this issue ? I tried connecting to a few hundreds hosts and ran a few commands and had no luck seeing it burn CPU and getting stuck. Information about your environment like Python version and OS could be helpful too. |
Terminal emulator and version would also be interesting. |
Python 3.8.10 I doubt whether ssh stable should stuck. For example, when ssh suddenly lost connection or connect need too much time. |
Hey @flaming-archer, I am able to reproduce as similar behaviour on Mac OS. It seems not to happen on my daily Linux OS. I'll try to debug it on my private Mac when I have some time. |
FWIF I think there were always issues with polysh on macos. One issue was that apples patched ssh agent was slow and would sometimes randomly fail when connecting to too many hosts at once. CC @Woellchen who maybe remembers more as he actually used this at work. |
hi, @kofrezo @HerrSpace . I have the some problem in wsl( with ubuntu)
my environments is:
|
Hi @shuosiw, I will try to have another look at it when I have some spare time. |
I like polysh very much.
But recently I found polysh is easy to stuck.
The cpu is 100%
When i ctrl + c, then display
suTraceback (most recent call last):
File "/xxxxx/polysh/run.py", line 22, in
run()
File "/xxxxx/polysh/main.py", line 277, in run
loop(args.interactive)
File "/xxxxx/polysh/main.py", line 169, in loop
console_output(b'')
File "/xxxxx/polysh/console.py", line 47, in console_output
the_stdin_thread.no_raw_input()
File "/xxxxx/polysh/stdin.py", line 266, in no_raw_input
interrupt_stdin_thread()
File "/xxxxx/polysh/polysh/stdin.py", line 191, in interrupt_stdin_thread
assert not the_stdin_thread.interrupt_asked # Sanity check
AssertionError
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/xxxxx/polysh/main.py", line 219, in
atexit.register(lambda: termios.tcsetattr(fd, termios.TCSADRAIN, old))
termios.error: (25, 'Inappropriate ioctl for device')
The text was updated successfully, but these errors were encountered: