question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Jupyter notebook cannot be saved. Cell execution freezes.

See original GitHub issue

Bug: Notebook Editor, Interactive Window, Editor cells

Happened randomly twice. Same notebook, no major changes both in code and extensions. Lost hours of my work because of this.

Steps to cause the bug to occur

Unknown.

Actual behavior

Notebook cannot be saved (neither with cmd + s nor after closing. it will prompt if I want to save it but it does not work). Cell execution freezes, but other cells could be executed.

Expected behavior

Notebook saved. Cell runs normally.

Jul-01-2020 4-07-35 PM

Your Jupyter and/or Python environment

  • Jupyter server running: Local
  • Extension version: 2020.6.91350
  • VS Code version: 1.46.1
  • Setting python.jediEnabled: default
  • Setting python.languageServer: default
  • Python version: 3.6.8
  • OS: Mac
  • Virtual environment: venv

Developer Tools Console Output

Spoiler 1
 [Extension Host] Info Python Extension: 2020-07-01 15:33:45: Finished executing cell 5ee9c499-3970-4c48-a14e-1291ef760365
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:55: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (12) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:55: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (13) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:56: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (15) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:57: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (16) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:57: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (17) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:57: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (19) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:58: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (21) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:58: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (22) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:58: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (24) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:58: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (25) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:59: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (28) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:59: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (27) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:33:59: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (25) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:00: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (27) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:00: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (28) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:01: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (27) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:01: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (28) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:02: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (29) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:02: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (31) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:02: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (32) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:03: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (33) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:03: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (36) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Error Python Extension: 2020-07-01 15:34:03: stderr jediProxy Error (stderr) Traceback (most recent call last):  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch    response = self._process_request(rq)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request    return self._serialize_arguments(script, request["id"])  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments    {"id": identifier, "results": self._get_call_signatures_with_args(script)}  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args    call_signatures = script.call_signatures()  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures    return self.get_signatures(*self._pos)  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper    column, line_len, line, line_string))ValueError: `column` parameter (37) is not in a valid range (0-9) for line 4 ('import os\n').
t.log @ console.ts:137
console.ts:137 [Extension Host] Info Python Extension: 2020-07-01 15:34:20: Python Daemon (pid: 5673): write to stderr: [I 15:34:20.570 NotebookApp] Kernel interrupted: fbe56e60-854f-42fb-970e-8d2ca4acf180
console.ts:137 [Extension Host] Info Python Extension: 2020-07-01 15:34:20: Python Daemon (pid: 5673): write to stderr: 
console.ts:137 [Extension Host] Info Python Extension: 2020-07-01 15:34:21: Python Daemon (pid: 5673): write to stderr: [I 15:34:21.540 NotebookApp] Kernel interrupted: fbe56e60-854f-42fb-970e-8d2ca4acf180
console.ts:137 [Extension Host] Info Python Extension: 2020-07-01 15:34:21: Python Daemon (pid: 5673): write to stderr: 
console.ts:137 [Extension Host] Info Python Extension: 2020-07-01 15:34:23: Python Daemon (pid: 5673): write to stderr: [I 15:34:23.429 NotebookApp] Kernel interrupted: fbe56e60-854f-42fb-970e-8d2ca4acf180
console.ts:137 [Extension Host] Info Python Extension: 2020-07-01 15:34:23: Python Daemon (pid: 5673): write to stderr: 

I have extracted repeating error for you in a readable format:

Spoiler 2
[Extension Host]
Error Python Extension: 2020-07-01 15:33:55: stderr jediProxy Error (stderr) Traceback (most recent call last):
  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 661, in watch
    response = self._process_request(rq)
  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 633, in _process_request
    return self._serialize_arguments(script, request["id"])
  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 304, in _serialize_arguments
    {"id": identifier, "results": self._get_call_signatures_with_args(script)}
  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/completion.py", line 145, in _get_call_signatures_with_args
    call_signatures = script.call_signatures()
  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/__init__.py", line 522, in call_signatures
    return self.get_signatures(*self._pos)
  File "/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/lib/python/jedi/api/helpers.py", line 464, in wrapper
    column, line_len, line, line_string))
ValueError: `column` parameter (12) is not in a valid range (0-9) for line 4 ('import os\n').
Spoiler 3
Extension Host
extensionHost.ts:223
follow-redirects options {
  protocol: 'https:',
  maxRedirects: 21,
  maxBodyLength: 10485760,
  path: '/vscode/ab',
  method: 'GET',
  headers: {    Accept: 'application/json, text/plain, */*',
    'X-MSEdge-Market': '',
    'X-FD-Corpnet': '',
    'X-VSCode-AppVersion': '1.46.1',
    'X-VSCode-Build': 'Visual Studio Code',
    'X-MSEdge-ClientId': 'e423f49e59735329bd9e5747c819ff0d55c608ec5902a103b2692721af686dd5',
    'X-VSCode-ExtensionName': 'ms-python.python',
    'X-VSCode-ExtensionVersion': '2020.6.91350',
    'X-VSCode-TargetPopulation': 'public',
    'User-Agent': 'axios/0.19.2'
  },
  agent: undefined,
  agents: { http: undefined, https: undefined },
  auth: undefined,
  hostname: 'default.exp-tas.com',
  port: null,
  nativeProtocols: {
    'http:': {
      _connectionListener: [Function: connectionListener],
      METHODS: [Array],
      STATUS_CODES: [Object],
      Agent: [Function],
      ClientRequest: [Function: ClientRequest],
      IncomingMessage: [Function: IncomingMessage],
      OutgoingMessage: [Function: OutgoingMessage],
      Server: [Function: Server],
      ServerResponse: [Function: ServerResponse],
      createServer: [Function: createServer],
      get: [Function],
      request: [Function],
      maxHeaderSize: 8192,
      globalAgent: [Agent]
    },
    'https:': {
      Agent: [Function: Agent],
      globalAgent: [Agent],
      Server: [Function: Server],
      createServer: [Function: createServer],
      get: [Function],
      request: [Function]
    }
  }
}
[Embedded Page] Failed to construct 'Worker': Script at 'vscode-resource://file///Volumes/BPro_HFS/GoogleDrive/code/TCDF-mod/jupyter-notebooks/editor.worker.js' cannot be accessed from origin 'null'.
ERR No application in the Launch Services database matches the input criteria.: Error: No application in the Launch Services database matches the input criteria.

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rchiodocommented, Aug 30, 2021

This was the error when saving:

workbench.desktop.main.js:sourcemap:266 [Extension Host] Error Python Extension: 2020-07-10 12:42:20: Error writing storage for /Users/arx/Library/Application Support/Code/User/globalStorage/ms-python.python/32928622.ipynb:  [EntryNotFound (FileSystemError): Unable to delete non-existing file '/Users/arx/Library/Application Support/Code/User/globalStorage/ms-python.python/32928622.ipynb'	at _handleError (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:657:25)	at runMicrotasks (<anonymous>)	at processTicksAndRejections (internal/process/task_queues.js:85:5)	at async r.writeToStorage (/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/out/client/extension.js:1:476706)	at async r.clearHotExit (/Users/arx/.vscode/extensions/ms-python.python-2020.6.91350/out/client/extension.js:1:476419)] {  code: 'FileNotFound',  name: 'EntryNotFound (FileSystemError)'}

But we don’t use this code anymore. Closing.

0reactions
satasetcommented, Jul 10, 2020

Providing full log after cell freeze.

-1594377801068.log

Confirming that the save issue is not related to this problem (at least on the last version of extension).

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to freeze a cell alone with its outputs on a jupyter ...
The way I freeze a cell with its output : (1) Pull down menu > File > Download as > Markdown , save...
Read more >
Freeze — jupyter_contrib_nbextensions 0.5.0 documentation
This extension allows to make cells read-only or frozen. It provides three buttons: ... For code-cells: read-only: it can be executed, but its...
Read more >
HALP! Cannot save Jupyter Notebooks after running cells. ...
I can keep executing other notebook cells and active terminals continue to operate fine but the Jupyter UI itself become non-responsive.
Read more >
Run Jupyter notebooks in your workspace - Azure
Learn how run a Jupyter notebook without leaving your workspace in Azure Machine ... Comments are saved into the code cell's metadata.
Read more >
The dreaded Jupyter * error — what it is, and how to fix it
Jupyter sometimes gets stuck, or wedged, with a * between the [] to the left of a cell. ... Your browser can't play...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found