-
Notifications
You must be signed in to change notification settings - Fork 342
Closed
Description
Environment data
- VS Code version: 1.37.1
- Extension version (available under the Extensions sidebar): 2019.8.30787
- OS and version: Windows 10 1903
- Python version (& distribution if applicable, e.g. Anaconda): 3.8.0b1
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
- Relevant/affected Python packages and their versions: N/A
- Jedi or Language Server? (i.e. what is
"python.jediEnabled"
set to; more info How to update the language server to the latest stable version vscode-python#3977): Language Server
Expected behaviour
Launching interactive window should launch and connect to a Jupyter server.
Actual behaviour
Jupyter server is crashing.
Steps to reproduce:
- Launch interactive window
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
User belongs to experiment group 'ShowPlayIcon - runFile'
Starting Microsoft Python language server.
[Info - 11:09:53 AM] Analysis cache path: C:\Users\rafaci\AppData\Local\Microsoft\Python Language Server
[Info - 11:09:53 AM] GetCurrentSearchPaths e:\sandbox\vscodebug\venv\Scripts\python.exe
[Info - 11:09:53 AM] Interpreter search paths:
[Info - 11:09:53 AM] c:\users\rafaci\appdata\local\programs\python\python38\dlls
[Info - 11:09:53 AM] c:\users\rafaci\appdata\local\programs\python\python38\lib
[Info - 11:09:53 AM] c:\users\rafaci\appdata\local\programs\python\python38
[Info - 11:09:53 AM] e:\sandbox\vscodebug\venv
[Info - 11:09:53 AM] e:\sandbox\vscodebug\venv\lib\site-packages
[Info - 11:09:53 AM] User search paths:
[Info - 11:09:55 AM] Microsoft Python Language Server version 0.3.66.0
[Info - 11:09:55 AM] Initializing for e:\sandbox\vscodebug\venv\Scripts\python.exe
Output from Console
under the Developer Tools
panel (toggle Developer Tools on under Help
; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging
)
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:01: Loading web panel. Panel is notset
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:01: Loading web view...
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:01: Web view created.
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:01: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:02: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:02: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Request for onigasm file at C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\onigasm\lib\onigasm.wasm
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Searching for token colors ...
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Attempting search for colors ...
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Searching for token colors ...
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Attempting search for colors ...
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Loading colors from c:\Users\rafaci\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Loading colors from c:\Users\rafaci\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Attempting search for colors ...
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Loading base colors from c:\Users\rafaci\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Attempting search for colors ...
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Loading base colors from c:\Users\rafaci\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Using colors to generate CSS ...
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Using colors to generate CSS ...
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Getting jupyter server options ...
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Connecting to jupyter server ...
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Connecting to history server
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:03: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:04: Launching history server
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:04: Generating custom default config at C:\Users\rafaci\AppData\Local\Temp\54ff02c9-7cfc-444e-b659-a3a3522a9417\jupyter_notebook_config.py
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:05: Request for tmlanguage file.
webviewElement.ts:342 [Embedded Page] Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/Microsoft/monaco-editor#faq
webviewElement.ts:342 [Embedded Page] Failed to construct 'Worker': Script at 'vscode-resource:/c%3A/Users/rafaci/.vscode/extensions/ms-python.python-2019.6.24221/out/datascience-ui/history-react/editor.worker.js' cannot be accessed from origin 'null'.
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:08: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:08: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:10: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:10: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: [I 10:32:16.900 NotebookApp] JupyterLab extension loaded from C:\Users\rafaci\AppData\Local\Continuum\anaconda3\lib\site-packages\jupyterlab
[I 10:32:16.900 NotebookApp] JupyterLab application directory is C:\Users\rafaci\AppData\Local\Continuum\anaconda3\share\jupyter\lab
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: [I 10:32:16.920 NotebookApp] Serving notebooks from local directory: C:\Users\rafaci\AppData\Local\Temp\54ff02c9-7cfc-444e-b659-a3a3522a9417
[I 10:32:16.920 NotebookApp] The Jupyter Notebook is running at:
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16:
[I 10:32:16.920 NotebookApp] http://localhost:8888/?token=87aa8d0bdb3004718ce563da816b2f321e24d3fff14d0b7b
[I 10:32:16.920 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: Activation Commands received e:/sandbox/vscodebug/venv/Scripts/activate.bat for shell cmd
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: Has Custom Env Vars
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: Activating Environment to capture Environment variables, e:/sandbox/vscodebug/venv/Scripts/activate.bat && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python C:/Users/rafaci/.vscode/extensions/ms-python.python-2019.6.24221/pythonFiles/printEnvVariables.py
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: [C 10:32:16.939 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=87aa8d0bdb3004718ce563da816b2f321e24d3fff14d0b7b
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: Activation Commands received e:/sandbox/vscodebug/venv/Scripts/activate.bat for shell cmd
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: Has Custom Env Vars
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: Activating Environment to capture Environment variables, e:/sandbox/vscodebug/venv/Scripts/activate.bat && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python C:/Users/rafaci/.vscode/extensions/ms-python.python-2019.6.24221/pythonFiles/printEnvVariables.py
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:16: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:17: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:17: parseEnvironmentOutput, Class name = b, completed in 0ms
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:17: getActivatedEnvironmentVariables, Class name = b, completed in 395ms, Arg 1: undefined, Arg 2: {"architecture":3,"path":"e:\\sandbox\\vscodebug\\venv\\Scripts\\python.exe","version":{"raw":"3.8.0-beta","major":3,"minor":8,"patch":0,"prerelease":["beta"],"build":[],"version":"3.8.0-beta"},"sysPrefix":"e:\\sandbox\\vscodebug\\venv","fileHash":"1f21caac4ff95355bc2650b48b8eb88999da99a35037f7882aa300df1d4d0378781f13e6fac8e3b8a521084876221eb8e25fd536e6acfd168dccadfa1bdcc981","type":"Venv","envName":"venv","displayName":"Python 3.8.0 64-bit ('venv': venv)"}, Arg 3: true
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:17: parseEnvironmentOutput, Class name = b, completed in 0ms
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:17: getActivatedEnvironmentVariables, Class name = b, completed in 420ms, Arg 1: undefined, Arg 2: {"architecture":3,"path":"e:\\sandbox\\vscodebug\\venv\\Scripts\\python.exe","version":{"raw":"3.8.0-beta","major":3,"minor":8,"patch":0,"prerelease":["beta"],"build":[],"version":"3.8.0-beta"},"sysPrefix":"e:\\sandbox\\vscodebug\\venv","fileHash":"1f21caac4ff95355bc2650b48b8eb88999da99a35037f7882aa300df1d4d0378781f13e6fac8e3b8a521084876221eb8e25fd536e6acfd168dccadfa1bdcc981","type":"Venv","envName":"venv","displayName":"Python 3.8.0 64-bit ('venv': venv)"}, Arg 3: true
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:17: Connecting to process for history server
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:17: Connecting server 24c63cb0-5977-4630-8f20-e38a2cf011ab
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:17: [I 10:32:17.542 NotebookApp] Creating new notebook in /
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:17: [I 10:32:17.835 NotebookApp] Kernel started: a4315214-0d98-4c7b-b023-06aa4dfa960a
console.ts:137 [Extension Host] Starting WebSocket: ws://localhost:8888/api/kernels/a4315214-0d98-4c7b-b023-06aa4dfa960a
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:17: Started session 24c63cb0-5977-4630-8f20-e38a2cf011ab
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:17: Waiting for idle 24c63cb0-5977-4630-8f20-e38a2cf011ab
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:17: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:17: [I 10:32:17.849 NotebookApp] Creating new notebook in /
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:17: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:17: [I 10:32:17.991 NotebookApp] Kernel started: f19a329e-119f-463f-bade-41930ba12898
console.ts:137 [Extension Host] Starting WebSocket: ws://localhost:8888/api/kernels/f19a329e-119f-463f-bade-41930ba12898
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:18: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:18: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:18: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:18: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:18: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:18: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:18: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:18: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:18: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:18: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:18: Traceback (most recent call last):
File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:18: File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel_launcher.py", line 16, in <module>
app.launch_new_instance()
File "e:\sandbox\vscodebug\venv\lib\site-packages\traitlets\config\application.py", line 657, in launch_instance
app.initialize(argv)
File "<e:\sandbox\vscodebug\venv\lib\site-packages\decorator.py:decorator-gen-125>", line 2, in initialize
File "e:\sandbox\vscodebug\venv\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 527, in initialize
self.init_sockets()
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 287, in init_sockets
self.init_iopub(context)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 295, in init_iopub
self.iopub_thread = IOPubThread(self.iopub_socket, pipe=True)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\iostream.py", line 68, in __init__
self._setup_pipe_in()
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\iostream.py", line 141, in _setup_pipe_in
self._pipe_in = ZMQStream(pipe_in, self.io_loop)
File "e:\sandbox\vscodebug\venv\lib\site-packages\zmq\eventloop\zmqstream.py", line 127, in __init__
self._init_io_state()
File "e:\sandbox\vscodebug\venv\lib\site-packages\zmq\eventloop\zmqstream.py", line 546, in _init_io_state
self.io_loop.add_handler(self.socket, self._handle_events, self.io_loop.READ)
File "e:\sandbox\vscodebug\venv\lib\site-packages\tornado\platform\asyncio.py", line 99, in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)
File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 501, in add_reader
raise NotImplementedError
NotImplementedError
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:19: Traceback (most recent call last):
File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel_launcher.py", line 16, in <module>
app.launch_new_instance()
File "e:\sandbox\vscodebug\venv\lib\site-packages\traitlets\config\application.py", line 657, in launch_instance
app.initialize(argv)
File "<e:\sandbox\vscodebug\venv\lib\site-packages\decorator.py:decorator-gen-125>", line 2, in initialize
File "e:\sandbox\vscodebug\venv\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 527, in initialize
self.init_sockets()
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 287, in init_sockets
self.init_iopub(context)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 295, in init_iopub
self.iopub_thread = IOPubThread(self.iopub_socket, pipe=True)
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:19: File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\iostream.py", line 68, in __init__
self._setup_pipe_in()
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\iostream.py", line 141, in _setup_pipe_in
self._pipe_in = ZMQStream(pipe_in, self.io_loop)
File "e:\sandbox\vscodebug\venv\lib\site-packages\zmq\eventloop\zmqstream.py", line 127, in __init__
self._init_io_state()
File "e:\sandbox\vscodebug\venv\lib\site-packages\zmq\eventloop\zmqstream.py", line 546, in _init_io_state
self.io_loop.add_handler(self.socket, self._handle_events, self.io_loop.READ)
File "e:\sandbox\vscodebug\venv\lib\site-packages\tornado\platform\asyncio.py", line 99, in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)
File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 501, in add_reader
raise NotImplementedError
NotImplementedError
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:19: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:32:19: Waiting for idle: unknown
<...Truncated Repeated Lines...>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:17: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:17: Killing server because of error
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:17: Shutting down 24c63cb0-5977-4630-8f20-e38a2cf011ab
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:20: Retry because of wait for idle problem.
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:20: Launching history server
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:20: Generating custom default config at C:\Users\rafaci\AppData\Local\Temp\d116720d-fe73-421f-bb97-06c1752b3994\jupyter_notebook_config.py
console.ts:137 [Extension Host] rejected promise not handled within 1 second: TypeError: request to http://localhost:8888/api/kernelspecs?1567099998512 failed, reason: read ECONNRESET
t.log @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:38
_doInvokeHandler @ rpcProtocol.ts:394
_invokeHandler @ rpcProtocol.ts:379
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:572
a @ ipc.net.ts:421
e @ ipc.net.ts:428
fire @ event.ts:572
_receiveMessage @ ipc.net.ts:715
S._socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:578
fire @ event.ts:572
acceptChunk @ ipc.net.ts:236
_register._socket.onData.e @ ipc.net.ts:197
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
console.ts:137 [Extension Host] stack trace: n: request to http://localhost:8888/api/kernelspecs?1567099998512 failed, reason: read ECONNRESET at ClientRequest.<anonymous> (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:671198) at ClientRequest.emit (events.js:182:13) at Socket.socketErrorListener (_http_client.js:391:9) at Socket.emit (events.js:182:13) at emitErrorNT (internal/streams/destroy.js:82:8) at emitErrorAndCloseNT (internal/streams/destroy.js:50:3) at process._tickCallback (internal/process/next_tick.js:63:19)
t.log @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:38
_doInvokeHandler @ rpcProtocol.ts:394
_invokeHandler @ rpcProtocol.ts:379
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:572
a @ ipc.net.ts:421
e @ ipc.net.ts:428
fire @ event.ts:572
_receiveMessage @ ipc.net.ts:715
S._socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:578
fire @ event.ts:572
acceptChunk @ ipc.net.ts:236
_register._socket.onData.e @ ipc.net.ts:197
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
log.ts:173 ERR request to http://localhost:8888/api/kernelspecs?1567099998512 failed, reason: read ECONNRESET: n: request to http://localhost:8888/api/kernelspecs?1567099998512 failed, reason: read ECONNRESET
at ClientRequest.<anonymous> (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:671198)
at ClientRequest.emit (events.js:182:13)
at Socket.socketErrorListener (_http_client.js:391:9)
at Socket.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:23: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:23: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:25: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:25: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:28: [I 10:33:28.791 NotebookApp] JupyterLab extension loaded from C:\Users\rafaci\AppData\Local\Continuum\anaconda3\lib\site-packages\jupyterlab
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:28: [I 10:33:28.792 NotebookApp] JupyterLab application directory is C:\Users\rafaci\AppData\Local\Continuum\anaconda3\share\jupyter\lab
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:28: [I 10:33:28.799 NotebookApp] Serving notebooks from local directory: C:\Users\rafaci\AppData\Local\Temp\d116720d-fe73-421f-bb97-06c1752b3994
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:28: [I 10:33:28.799 NotebookApp] The Jupyter Notebook is running at:
[I 10:33:28.800 NotebookApp] http://localhost:8888/?token=f30cc8f564a61c71270c362c217451677f79f3af3681b61d
[I 10:33:28.800 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:28: Cached data exists ActivatedEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:28: getActivatedEnvironmentVariables, Class name = b, completed in 3ms, Arg 1: undefined, Arg 2: {"architecture":3,"path":"e:\\sandbox\\vscodebug\\venv\\Scripts\\python.exe","version":{"raw":"3.8.0-beta","major":3,"minor":8,"patch":0,"prerelease":["beta"],"build":[],"version":"3.8.0-beta"},"sysPrefix":"e:\\sandbox\\vscodebug\\venv","fileHash":"1f21caac4ff95355bc2650b48b8eb88999da99a35037f7882aa300df1d4d0378781f13e6fac8e3b8a521084876221eb8e25fd536e6acfd168dccadfa1bdcc981","type":"Venv","envName":"venv","displayName":"Python 3.8.0 64-bit ('venv': venv)"}, Arg 3: true
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:28: [C 10:33:28.817 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=f30cc8f564a61c71270c362c217451677f79f3af3681b61d
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:28: Cached data exists ActivatedEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:28: getActivatedEnvironmentVariables, Class name = b, completed in 1ms, Arg 1: undefined, Arg 2: {"architecture":3,"path":"e:\\sandbox\\vscodebug\\venv\\Scripts\\python.exe","version":{"raw":"3.8.0-beta","major":3,"minor":8,"patch":0,"prerelease":["beta"],"build":[],"version":"3.8.0-beta"},"sysPrefix":"e:\\sandbox\\vscodebug\\venv","fileHash":"1f21caac4ff95355bc2650b48b8eb88999da99a35037f7882aa300df1d4d0378781f13e6fac8e3b8a521084876221eb8e25fd536e6acfd168dccadfa1bdcc981","type":"Venv","envName":"venv","displayName":"Python 3.8.0 64-bit ('venv': venv)"}, Arg 3: true
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: Connecting to process for history server
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: Connecting server c251c6ea-dce5-461b-b02e-a05b7030d4c8
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: [I 10:33:29.036 NotebookApp] Creating new notebook in /
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: [I 10:33:29.255 NotebookApp] Kernel started: b0fc14a5-3cbb-4145-aa2c-c68b112469cd
console.ts:137 [Extension Host] Starting WebSocket: ws://localhost:8888/api/kernels/b0fc14a5-3cbb-4145-aa2c-c68b112469cd
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: Started session c251c6ea-dce5-461b-b02e-a05b7030d4c8
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: Waiting for idle c251c6ea-dce5-461b-b02e-a05b7030d4c8
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: [I 10:33:29.268 NotebookApp] Creating new notebook in /
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: [I 10:33:29.392 NotebookApp] Kernel started: e26e098d-c8b0-4a14-bbbe-fe7cba08f096
console.ts:137 [Extension Host] Starting WebSocket: ws://localhost:8888/api/kernels/e26e098d-c8b0-4a14-bbbe-fe7cba08f096
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:29: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:30: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:30: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:30: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:30: Traceback (most recent call last):
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:30: File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel_launcher.py", line 16, in <module>
app.launch_new_instance()
File "e:\sandbox\vscodebug\venv\lib\site-packages\traitlets\config\application.py", line 657, in launch_instance
app.initialize(argv)
File "<e:\sandbox\vscodebug\venv\lib\site-packages\decorator.py:decorator-gen-125>", line 2, in initialize
File "e:\sandbox\vscodebug\venv\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 527, in initialize
self.init_sockets()
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 287, in init_sockets
self.init_iopub(context)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 295, in init_iopub
self.iopub_thread = IOPubThread(self.iopub_socket, pipe=True)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\iostream.py", line 68, in __init__
self._setup_pipe_in()
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\iostream.py", line 141, in _setup_pipe_in
self._pipe_in = ZMQStream(pipe_in, self.io_loop)
File "e:\sandbox\vscodebug\venv\lib\site-packages\zmq\eventloop\zmqstream.py", line 127, in __init__
self._init_io_state()
File "e:\sandbox\vscodebug\venv\lib\site-packages\zmq\eventloop\zmqstream.py", line 546, in _init_io_state
self.io_loop.add_handler(self.socket, self._handle_events, self.io_loop.READ)
File "e:\sandbox\vscodebug\venv\lib\site-packages\tornado\platform\asyncio.py", line 99, in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)
File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 501, in add_reader
raise NotImplementedError
NotImplementedError
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:30: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:30: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:30: Traceback (most recent call last):
File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel_launcher.py", line 16, in <module>
app.launch_new_instance()
File "e:\sandbox\vscodebug\venv\lib\site-packages\traitlets\config\application.py", line 657, in launch_instance
app.initialize(argv)
File "<e:\sandbox\vscodebug\venv\lib\site-packages\decorator.py:decorator-gen-125>", line 2, in initialize
File "e:\sandbox\vscodebug\venv\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 527, in initialize
self.init_sockets()
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 287, in init_sockets
self.init_iopub(context)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 295, in init_iopub
self.iopub_thread = IOPubThread(self.iopub_socket, pipe=True)
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:30: File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\iostream.py", line 68, in __init__
self._setup_pipe_in()
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\iostream.py", line 141, in _setup_pipe_in
self._pipe_in = ZMQStream(pipe_in, self.io_loop)
File "e:\sandbox\vscodebug\venv\lib\site-packages\zmq\eventloop\zmqstream.py", line 127, in __init__
self._init_io_state()
File "e:\sandbox\vscodebug\venv\lib\site-packages\zmq\eventloop\zmqstream.py", line 546, in _init_io_state
self.io_loop.add_handler(self.socket, self._handle_events, self.io_loop.READ)
File "e:\sandbox\vscodebug\venv\lib\site-packages\tornado\platform\asyncio.py", line 99, in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)
File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 501, in add_reader
raise NotImplementedError
NotImplementedError
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:30: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:30: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:33:30: Waiting for idle: unknown
<...Truncated Repeated Lines...>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:28: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:29: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:29: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:29: [W 10:34:29.266 NotebookApp] Timeout waiting for kernel_info reply from b0fc14a5-3cbb-4145-aa2c-c68b112469cd
console.ts:137 [Extension Host] Kernel: connected (b0fc14a5-3cbb-4145-aa2c-c68b112469cd)
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:29: Killing server because of error
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:29: Shutting down c251c6ea-dce5-461b-b02e-a05b7030d4c8
console.ts:137 [Extension Host] rejected promise not handled within 1 second: Error: Canceled
t.log @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:38
_doInvokeHandler @ rpcProtocol.ts:394
_invokeHandler @ rpcProtocol.ts:379
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:572
a @ ipc.net.ts:421
e @ ipc.net.ts:428
fire @ event.ts:572
_receiveMessage @ ipc.net.ts:715
S._socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:578
fire @ event.ts:572
acceptChunk @ ipc.net.ts:236
_register._socket.onData.e @ ipc.net.ts:197
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
console.ts:137 [Extension Host] stack trace: Error: Canceled at module.exports.t.KernelFutureHandler.dispose (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:660321) at module.exports._clearState._futures.forEach.e (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:650597) at Map.forEach (<anonymous>) at g._clearState (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:650583) at g.dispose (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:645185) at c.dispose (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:687528) at module.exports.t.JupyterSession.shutdownSession (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\extension.js:75:576385)
t.log @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:38
_doInvokeHandler @ rpcProtocol.ts:394
_invokeHandler @ rpcProtocol.ts:379
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:572
a @ ipc.net.ts:421
e @ ipc.net.ts:428
fire @ event.ts:572
_receiveMessage @ ipc.net.ts:715
S._socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:578
fire @ event.ts:572
acceptChunk @ ipc.net.ts:236
_register._socket.onData.e @ ipc.net.ts:197
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
log.ts:173 ERR Canceled: Error: Canceled
at module.exports.t.KernelFutureHandler.dispose (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:660321)
at module.exports._clearState._futures.forEach.e (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:650597)
at Map.forEach (<anonymous>)
at g._clearState (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:650583)
at g.dispose (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:645185)
at c.dispose (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:687528)
at module.exports.t.JupyterSession.shutdownSession (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\extension.js:75:576385)
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:31: Retry because of wait for idle problem.
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:31: Launching history server
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:31: Generating custom default config at C:\Users\rafaci\AppData\Local\Temp\86b062dd-f69f-41a0-81e1-c25e21ce7741\jupyter_notebook_config.py
console.ts:137 [Extension Host] rejected promise not handled within 1 second: TypeError: request to http://localhost:8888/api/kernelspecs?1567100070030 failed, reason: read ECONNRESET
t.log @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:38
_doInvokeHandler @ rpcProtocol.ts:394
_invokeHandler @ rpcProtocol.ts:379
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:572
a @ ipc.net.ts:421
e @ ipc.net.ts:428
fire @ event.ts:572
_receiveMessage @ ipc.net.ts:715
S._socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:578
fire @ event.ts:572
acceptChunk @ ipc.net.ts:236
_register._socket.onData.e @ ipc.net.ts:197
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
console.ts:137 [Extension Host] stack trace: n: request to http://localhost:8888/api/kernelspecs?1567100070030 failed, reason: read ECONNRESET at ClientRequest.<anonymous> (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:671198) at ClientRequest.emit (events.js:182:13) at Socket.socketErrorListener (_http_client.js:391:9) at Socket.emit (events.js:182:13) at emitErrorNT (internal/streams/destroy.js:82:8) at emitErrorAndCloseNT (internal/streams/destroy.js:50:3) at process._tickCallback (internal/process/next_tick.js:63:19)
t.log @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:38
_doInvokeHandler @ rpcProtocol.ts:394
_invokeHandler @ rpcProtocol.ts:379
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:572
a @ ipc.net.ts:421
e @ ipc.net.ts:428
fire @ event.ts:572
_receiveMessage @ ipc.net.ts:715
S._socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:578
fire @ event.ts:572
acceptChunk @ ipc.net.ts:236
_register._socket.onData.e @ ipc.net.ts:197
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
log.ts:173 ERR request to http://localhost:8888/api/kernelspecs?1567100070030 failed, reason: read ECONNRESET: n: request to http://localhost:8888/api/kernelspecs?1567100070030 failed, reason: read ECONNRESET
at ClientRequest.<anonymous> (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:671198)
at ClientRequest.emit (events.js:182:13)
at Socket.socketErrorListener (_http_client.js:391:9)
at Socket.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:34: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:34: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:36: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:36: Cached data exists getEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: [I 10:34:40.035 NotebookApp] JupyterLab extension loaded from C:\Users\rafaci\AppData\Local\Continuum\anaconda3\lib\site-packages\jupyterlab
[I 10:34:40.036 NotebookApp] JupyterLab application directory is C:\Users\rafaci\AppData\Local\Continuum\anaconda3\share\jupyter\lab
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: [I 10:34:40.039 NotebookApp] Serving notebooks from local directory: C:\Users\rafaci\AppData\Local\Temp\86b062dd-f69f-41a0-81e1-c25e21ce7741
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: [I 10:34:40.040 NotebookApp] The Jupyter Notebook is running at:
[I 10:34:40.040 NotebookApp] http://localhost:8888/?token=377173f611aeb2e2bb657051b11ebbfbc18532529ccd60af
[I 10:34:40.040 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: Cached data exists ActivatedEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: getActivatedEnvironmentVariables, Class name = b, completed in 1ms, Arg 1: undefined, Arg 2: {"architecture":3,"path":"e:\\sandbox\\vscodebug\\venv\\Scripts\\python.exe","version":{"raw":"3.8.0-beta","major":3,"minor":8,"patch":0,"prerelease":["beta"],"build":[],"version":"3.8.0-beta"},"sysPrefix":"e:\\sandbox\\vscodebug\\venv","fileHash":"1f21caac4ff95355bc2650b48b8eb88999da99a35037f7882aa300df1d4d0378781f13e6fac8e3b8a521084876221eb8e25fd536e6acfd168dccadfa1bdcc981","type":"Venv","envName":"venv","displayName":"Python 3.8.0 64-bit ('venv': venv)"}, Arg 3: true
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: [C 10:34:40.051 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=377173f611aeb2e2bb657051b11ebbfbc18532529ccd60af
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: Cached data exists ActivatedEnvironmentVariables, <No Resource>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: getActivatedEnvironmentVariables, Class name = b, completed in 1ms, Arg 1: undefined, Arg 2: {"architecture":3,"path":"e:\\sandbox\\vscodebug\\venv\\Scripts\\python.exe","version":{"raw":"3.8.0-beta","major":3,"minor":8,"patch":0,"prerelease":["beta"],"build":[],"version":"3.8.0-beta"},"sysPrefix":"e:\\sandbox\\vscodebug\\venv","fileHash":"1f21caac4ff95355bc2650b48b8eb88999da99a35037f7882aa300df1d4d0378781f13e6fac8e3b8a521084876221eb8e25fd536e6acfd168dccadfa1bdcc981","type":"Venv","envName":"venv","displayName":"Python 3.8.0 64-bit ('venv': venv)"}, Arg 3: true
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: Connecting to process for history server
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: Connecting server 25ecc7bd-bb97-455a-99c4-48326ec07ad4
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: [I 10:34:40.262 NotebookApp] Creating new notebook in /
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: [I 10:34:40.474 NotebookApp] Kernel started: cba3ad24-17ee-42d7-9e82-9ab682d75e89
console.ts:137 [Extension Host] Starting WebSocket: ws://localhost:8888/api/kernels/cba3ad24-17ee-42d7-9e82-9ab682d75e89
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: Started session 25ecc7bd-bb97-455a-99c4-48326ec07ad4
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: Waiting for idle 25ecc7bd-bb97-455a-99c4-48326ec07ad4
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: [I 10:34:40.480 NotebookApp] Creating new notebook in /
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: [I 10:34:40.619 NotebookApp] Kernel started: d6eceb41-2c2f-4a79-906a-77cc7ddf4a8f
console.ts:137 [Extension Host] Starting WebSocket: ws://localhost:8888/api/kernels/d6eceb41-2c2f-4a79-906a-77cc7ddf4a8f
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:40: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:41: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:41: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:41: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:41: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:41: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:41: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:41: Traceback (most recent call last):
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:41: File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel_launcher.py", line 16, in <module>
app.launch_new_instance()
File "e:\sandbox\vscodebug\venv\lib\site-packages\traitlets\config\application.py", line 657, in launch_instance
app.initialize(argv)
File "<e:\sandbox\vscodebug\venv\lib\site-packages\decorator.py:decorator-gen-125>", line 2, in initialize
File "e:\sandbox\vscodebug\venv\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 527, in initialize
self.init_sockets()
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 287, in init_sockets
self.init_iopub(context)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 295, in init_iopub
self.iopub_thread = IOPubThread(self.iopub_socket, pipe=True)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\iostream.py", line 68, in __init__
self._setup_pipe_in()
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\iostream.py", line 141, in _setup_pipe_in
self._pipe_in = ZMQStream(pipe_in, self.io_loop)
File "e:\sandbox\vscodebug\venv\lib\site-packages\zmq\eventloop\zmqstream.py", line 127, in __init__
self._init_io_state()
File "e:\sandbox\vscodebug\venv\lib\site-packages\zmq\eventloop\zmqstream.py", line 546, in _init_io_state
self.io_loop.add_handler(self.socket, self._handle_events, self.io_loop.READ)
File "e:\sandbox\vscodebug\venv\lib\site-packages\tornado\platform\asyncio.py", line 99, in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)
File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 501, in add_reader
raise NotImplementedError
NotImplementedError
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:41: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:41: Traceback (most recent call last):
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:41: File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel_launcher.py", line 16, in <module>
app.launch_new_instance()
File "e:\sandbox\vscodebug\venv\lib\site-packages\traitlets\config\application.py", line 657, in launch_instance
app.initialize(argv)
File "<e:\sandbox\vscodebug\venv\lib\site-packages\decorator.py:decorator-gen-125>", line 2, in initialize
File "e:\sandbox\vscodebug\venv\lib\site-packages\traitlets\config\application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 527, in initialize
self.init_sockets()
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 287, in init_sockets
self.init_iopub(context)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\kernelapp.py", line 295, in init_iopub
self.iopub_thread = IOPubThread(self.iopub_socket, pipe=True)
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\iostream.py", line 68, in __init__
self._setup_pipe_in()
File "e:\sandbox\vscodebug\venv\lib\site-packages\ipykernel\iostream.py", line 141, in _setup_pipe_in
self._pipe_in = ZMQStream(pipe_in, self.io_loop)
File "e:\sandbox\vscodebug\venv\lib\site-packages\zmq\eventloop\zmqstream.py", line 127, in __init__
self._init_io_state()
File "e:\sandbox\vscodebug\venv\lib\site-packages\zmq\eventloop\zmqstream.py", line 546, in _init_io_state
self.io_loop.add_handler(self.socket, self._handle_events, self.io_loop.READ)
File "e:\sandbox\vscodebug\venv\lib\site-packages\tornado\platform\asyncio.py", line 99, in add_handler
self.asyncio_loop.add_reader(fd, self._handle_events, fd, IOLoop.READ)
File "C:\Users\rafaci\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 501, in add_reader
raise NotImplementedError
NotImplementedError
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:41: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:34:41: Waiting for idle: unknown
<...Truncated Repeated Lines...>
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:35:40: Waiting for idle: unknown
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:35:40: [W 10:35:40.548 NotebookApp] Timeout waiting for kernel_info reply from cba3ad24-17ee-42d7-9e82-9ab682d75e89
console.ts:137 [Extension Host] Kernel: connected (cba3ad24-17ee-42d7-9e82-9ab682d75e89)
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:35:40: Killing server because of error
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:35:40: Shutting down 25ecc7bd-bb97-455a-99c4-48326ec07ad4
console.ts:137 [Extension Host] rejected promise not handled within 1 second: Error: Canceled
t.log @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:38
_doInvokeHandler @ rpcProtocol.ts:394
_invokeHandler @ rpcProtocol.ts:379
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:572
a @ ipc.net.ts:421
e @ ipc.net.ts:428
fire @ event.ts:572
_receiveMessage @ ipc.net.ts:715
S._socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:578
fire @ event.ts:572
acceptChunk @ ipc.net.ts:236
_register._socket.onData.e @ ipc.net.ts:197
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
console.ts:137 [Extension Host] stack trace: Error: Canceled at module.exports.t.KernelFutureHandler.dispose (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:660321) at module.exports._clearState._futures.forEach.e (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:650597) at Map.forEach (<anonymous>) at g._clearState (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:650583) at g.dispose (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:645185) at c.dispose (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:687528) at module.exports.t.JupyterSession.shutdownSession (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\extension.js:75:576385)
t.log @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:38
_doInvokeHandler @ rpcProtocol.ts:394
_invokeHandler @ rpcProtocol.ts:379
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:572
a @ ipc.net.ts:421
e @ ipc.net.ts:428
fire @ event.ts:572
_receiveMessage @ ipc.net.ts:715
S._socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:578
fire @ event.ts:572
acceptChunk @ ipc.net.ts:236
_register._socket.onData.e @ ipc.net.ts:197
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
log.ts:173 ERR Canceled: Error: Canceled
at module.exports.t.KernelFutureHandler.dispose (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:660321)
at module.exports._clearState._futures.forEach.e (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:650597)
at Map.forEach (<anonymous>)
at g._clearState (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:650583)
at g.dispose (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:645185)
at c.dispose (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:687528)
at module.exports.t.JupyterSession.shutdownSession (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\extension.js:75:576385)
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:35:42: Retry because of wait for idle problem.
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:35:42: Connected to jupyter server.
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:35:42: Adding sys info for b741acbd-44a7-4c81-947e-91c00b0a480a 0
console.ts:137 [Extension Host] Info Python Extension: 2019-08-29 10:35:42: Sys info for b741acbd-44a7-4c81-947e-91c00b0a480a 0 complete
console.ts:137 [Extension Host] rejected promise not handled within 1 second: TypeError: request to http://localhost:8888/api/kernelspecs?1567100141246 failed, reason: read ECONNRESET
t.log @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:38
_doInvokeHandler @ rpcProtocol.ts:394
_invokeHandler @ rpcProtocol.ts:379
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:572
a @ ipc.net.ts:421
e @ ipc.net.ts:428
fire @ event.ts:572
_receiveMessage @ ipc.net.ts:715
S._socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:578
fire @ event.ts:572
acceptChunk @ ipc.net.ts:236
_register._socket.onData.e @ ipc.net.ts:197
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
console.ts:137 [Extension Host] stack trace: n: request to http://localhost:8888/api/kernelspecs?1567100141246 failed, reason: read ECONNRESET at ClientRequest.<anonymous> (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:671198) at ClientRequest.emit (events.js:182:13) at Socket.socketErrorListener (_http_client.js:391:9) at Socket.emit (events.js:182:13) at emitErrorNT (internal/streams/destroy.js:82:8) at emitErrorAndCloseNT (internal/streams/destroy.js:50:3) at process._tickCallback (internal/process/next_tick.js:63:19)
t.log @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:38
_doInvokeHandler @ rpcProtocol.ts:394
_invokeHandler @ rpcProtocol.ts:379
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
_protocol.onMessage.e @ rpcProtocol.ts:101
fire @ event.ts:572
a @ ipc.net.ts:421
e @ ipc.net.ts:428
fire @ event.ts:572
_receiveMessage @ ipc.net.ts:715
S._socketDisposables.push._socketReader.onMessage.e @ ipc.net.ts:578
fire @ event.ts:572
acceptChunk @ ipc.net.ts:236
_register._socket.onData.e @ ipc.net.ts:197
t @ ipc.net.ts:28
emit @ events.js:182
addChunk @ _stream_readable.js:283
readableAddChunk @ _stream_readable.js:264
Readable.push @ _stream_readable.js:219
onStreamRead @ internal/stream_base_commons.js:94
log.ts:173 ERR request to http://localhost:8888/api/kernelspecs?1567100141246 failed, reason: read ECONNRESET: n: request to http://localhost:8888/api/kernelspecs?1567100141246 failed, reason: read ECONNRESET
at ClientRequest.<anonymous> (C:\Users\rafaci\.vscode\extensions\ms-python.python-2019.6.24221\out\client\node_modules\@jupyterlab\services.js:1:671198)
at ClientRequest.emit (events.js:182:13)
at Socket.socketErrorListener (_http_client.js:391:9)
at Socket.emit (events.js:182:13)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
x-strong
Metadata
Metadata
Assignees
Labels
No labels