I often get the following error when I'm playing inside kosmos.
It gets trigger when I past a piece of code in the shell and press enter. The error is raised, but it seems the code is still executed.
Unhandled exception in event loop:
File "/root/.local/lib/python3.6/site-packages/prompt_toolkit/eventloop/utils.py", line 33, in run
result = self.target()
File "/root/.local/lib/python3.6/site-packages/prompt_toolkit/eventloop/async_generator.py", line 62, in runner
for item in get_iterable():
File "/sandbox/lib/jumpscale/Jumpscale/core/KosmosShell.py", line 444, in custom_get_completions
_, _, prefix = get_current_line(document)
File "/sandbox/lib/jumpscale/Jumpscale/core/KosmosShell.py", line 141, in get_current_line
raise j.exceptions.Value("nothing is written")
I often get the following error when I'm playing inside kosmos. It gets trigger when I past a piece of code in the shell and press enter. The error is raised, but it seems the code is still executed.