Created
February 7, 2021 19:22
-
-
Save tejasvi/7927e7c93a56083f28f53de7172b158f to your computer and use it in GitHub Desktop.
konsh vi mode error with async prompt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/home/u/miniconda3/lib/python3.9/site-packages/xonsh/__amalgam__.py", line 22429, in main | |
sys.exit(main_xonsh(args)) | |
File "/home/u/miniconda3/lib/python3.9/site-packages/xonsh/__amalgam__.py", line 22467, in main_xonsh | |
shell.shell.cmdloop() | |
File "/home/u/miniconda3/lib/python3.9/site-packages/xonsh/ptk_shell/shell.py", line 338, in cmdloop | |
line = self.singleline(auto_suggest=auto_suggest) | |
File "/home/u/miniconda3/lib/python3.9/site-packages/xonsh/ptk_shell/shell.py", line 307, in singleline | |
line = self.prompter.prompt(**prompt_args) | |
File "/home/u/miniconda3/lib/python3.9/site-packages/prompt_toolkit/shortcuts/prompt.py", line 1013, in prompt | |
return self.app.run(set_exception_handler=set_exception_handler) | |
File "/home/u/miniconda3/lib/python3.9/site-packages/prompt_toolkit/application/application.py", line 825, in run | |
return loop.run_until_complete( | |
File "/home/u/miniconda3/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete | |
return future.result() | |
File "/home/u/miniconda3/lib/python3.9/site-packages/prompt_toolkit/application/application.py", line 792, in run_async | |
return await _run_async2() | |
File "/home/u/miniconda3/lib/python3.9/site-packages/prompt_toolkit/application/application.py", line 774, in _run_async2 | |
result = await _run_async() | |
File "/home/u/miniconda3/lib/python3.9/site-packages/prompt_toolkit/application/application.py", line 652, in _run_async | |
self._pre_run(pre_run) | |
File "/home/u/miniconda3/lib/python3.9/site-packages/prompt_toolkit/application/application.py", line 610, in _pre_run | |
c() | |
File "/home/u/miniconda3/lib/python3.9/site-packages/prompt_toolkit/shortcuts/prompt.py", line 1202, in pre_run2 | |
pre_run() | |
File "/home/u/miniconda3/lib/python3.9/site-packages/xonsh/ptk_shell/formatter.py", line 69, in start_update | |
self.updator.start() | |
AttributeError: 'PTKPromptFormatter' object has no attribute 'updator' | |
Xonsh encountered an issue during launch | |
Failback to /bin/bash | |
u@pc:~$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment