Skip to content
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

Tab completion unresponsive, raising Exception in thread Thread-4 after four times pressing tab. #47

Open
zenzjtech opened this issue Jun 9, 2017 · 2 comments

Comments

@zenzjtech
Copy link

zenzjtech commented Jun 9, 2017

Below are are the error message of testing auto-completion feature. Date. does not pop up suggestion expected.
For more information on my platforms:
Node version: 7.9.0
python3 versio: 3.5.2
OS: Linux mint 18.3

Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.5/dist-packages/prompt_toolkit/interface.py", line 860, in run
    completions = list(buffer.completer.get_completions(document, complete_event))
  File "/usr/local/lib/python3.5/dist-packages/jupyter_console/ptshell.py", line 110, in get_completions
    cursor_pos=document.cursor_position
  File "/usr/local/lib/python3.5/dist-packages/jupyter_console/completer.py", line 39, in complete_request
    msg = self.client.shell_channel.get_msg(timeout=self.timeout)
  File "/usr/local/lib/python3.5/dist-packages/jupyter_client/blocking/channels.py", line 57, in get_msg
    raise Empty
queue.Empty```
@uscmule
Copy link

uscmule commented Nov 3, 2017

Similar issue here

$ python3 --version
Python 3.5.2

$ npm -v
5.5.1

$ node -v
v8.9.0

$ uname -a
Linux ubuntu 4.10.0-35-generic #39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ git log
commit 1388e19

$ jupyter console --kernel nodejs
Jupyter console 5.2.0

NodeJS For your Jupyter experience!

In [1]: Date.Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.5/dist-packages/prompt_toolkit/interface.py", line 865, in run
completions = list(buffer.completer.get_completions(document, complete_event))
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/ptshell.py", line 111, in get_completions
cursor_pos=document.cursor_position
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/completer.py", line 39, in complete_request
msg = self.client.shell_channel.get_msg(timeout=self.timeout)
File "/usr/local/lib/python3.5/dist-packages/jupyter_client/blocking/channels.py", line 57, in get_msg
raise Empty
queue.Empty

@leonprou
Copy link

Yes I have the same error on Mac OS. But autocompletion for some words is working, like for Number and console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants