Skip to content
This repository has been archived by the owner on Sep 11, 2019. It is now read-only.

nothing is written exception when pasting code inside kosmos #766

Open
zaibon opened this issue Aug 9, 2019 · 0 comments
Open

nothing is written exception when pasting code inside kosmos #766

zaibon opened this issue Aug 9, 2019 · 0 comments
Labels

Comments

@zaibon
Copy link
Contributor

zaibon commented Aug 9, 2019

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")
@zaibon zaibon added the type_bug label Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant