Run some code in my Jupyter notebook (using pandas, numpy)
Click on "Show variables active in Jupyter kernel" button
All variables defined in my Jupyter python code appears
Click on "Show variable in data viewer" for any of the variables
New tab in VS Code opens displaying all the contents of the panda dataframe variable
Note: This works if I select "Default - VS Code will automatically start a server for you on localhost"
When I run the same notebook against a Docker image based on jupyter/scipy-notebook, I get this behavior:
1) Run some code in my Jupyter notebook (using pandas, numpy)
2) Click on "Show variables active in Jupyter kernel" button
3) Only 5 variables defined in my Jupyter python code appears in the window; the rest of the variables display as "Loading..." message
4) Click on "Show variable in data viewer" for any of the variables
5) New tab in VS Code opens briefly but then closes, displaying an error message " '_VSCODE_InfoImport' is not defined"
import pandas as pd
data = [['tom', 10], ['nick', 15], ['juli', 14]]
df = pd.DataFrame(data, columns = ['Name', 'Age'])
df
http://127.0.0.1:8888/: Kernel started: 6cc2ad2e-f162-4195-b095-c01b1a587890
http://127.0.0.1:8888/: Creating new notebook
http://127.0.0.1:8888/: Kernel started: 4cf9f902-4c26-45bf-a012-416193e63312
Error 2020-11-23 11:41:18: Failure during variable extraction:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-2-ab305b61bf02> in <module>
----> 1 print(_VSCODE_VariableImport._VSCODE_getVariableInfo(df))
NameError: name '_VSCODE_VariableImport' is not defined
The logs below use the variable names I created: credentials_df, all_tweets_df.
Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)
Error 2020-11-23 11:03:59: Failure during variable extraction:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-9-9b1fd824018c> in <module>
----> 1 print(_VSCODE_VariableImport._VSCODE_getVariableInfo(credentials_df))
NameError: name '_VSCODE_VariableImport' is not defined
rror 2020-11-23 11:34:41: Failure during variable extraction:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-9-587618beb4a5> in <module>
----> 1 print(_VSCODE_InfoImport._VSCODE_getDataFrameInfo(all_tweets_df))
NameError: name '_VSCODE_InfoImport' is not defined
Error 2020-11-23 11:34:41: [Error: Failure during variable extraction:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-9-587618beb4a5> in <module>
----> 1 print(_VSCODE_InfoImport._VSCODE_getDataFrameInfo(all_tweets_df))
NameError: name '_VSCODE_InfoImport' is not defined
at E.extractJupyterResultText (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:575871)
at E.deserializeJupyterResult (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:575990)
at E.getDataFrameInfo (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:573972)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:94:5)
at async r.ensureInitialized (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:216750)
at async r.getDataFrameInfo (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:215836)
at async E.prepDataFrameInfo (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:205181)
at async E.showData (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:204504)
at async l.create (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:214578)
at async f.showDataViewer (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:32:570651)]
Hm @jlharri I'm having trouble setting this up for a repro. If I pull the jupyter/scipy-notebook image and run it, I see that it starts a kernel on localhost but I'm unable to connect to the running kernel even in my browser. Just to confirm, you are connecting to the jupyter server in your Docker container by selecting 'Juypter: Specify local or remote Jupyter server for connections', correct?
Correct. I did have some trouble with these images. Try the following URLs
in your browser:
http://localhost:8888/
http://0.0.0.0:32768
You'll need a token and can find that in the log of the Docker image.
Jerry
On Mon, Nov 23, 2020 at 4:07 PM Joyce Er notifications@github.com wrote:
Hm @jlharri https://github.com/jlharri I'm having trouble setting this
up for a repro. If I pull the jupyter/scipy-notebook image and run it, I
see that it starts a kernel on localhost but I'm unable to connect to the
running kernel even in my browser. Just to confirm, you are connecting to
the jupyter server in your Docker container by selecting 'Juypter: Specify
local or remote Jupyter server for connections', correct?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-jupyter/issues/4006#issuecomment-732426195,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIFY4ERMVZLXHIUKWR57A3SRLFHXANCNFSM4T7XNWAA
.
Unfortunately neither of those work 😟 @DonJayamanne @IanMatthewHuff @DavidKutu any chance one of you can repro?
We run Python scripts in the Jupyter kernel to fetch variable information, and that error message suggests that we failed to import our Python scripts into the kernel. Could you do me a favor and turn on debug logging for the extension? In your settings.json, you would set 'jupyter.logging.level' to 'debug', reload VSCode, and repeat your repro steps. Then copy and paste the output that you get. I'd expect to see more log messages which might help us diagnose the problem.
Note for devs: I confirmed that viewing variables in the data viewer works for a Jupyter server that I start locally with jupyter notebook and connect to as a remote server, so if there is a problem here it would likely be Docker specific, though not sure what the problem would be as I'd think the mechanism for variable info fetching would work for any remote server.
@jlharri and @joyceerhl Yeah, I think getting more of the logs would help here. If you save off the log contents from the jupyter tab with logging turned to debug we should have much more in the log. My mild suspicion is maybe our scripts import is failing due to a paths issue when running in Docker.
@IanMatthewHuff I believe the user is running VSCode on Mac and connecting to a Jupyter server that is running from a local Docker container. Please correct me if I'm mistaken @jlharri
Yes, that is correct. I have Docker running on my Mac and am running the
jupyter/scipy-notebook image on it. Everything is local to my computer.
I have found it works best if I launch the docker image from the command
line in the directory with my notebook files:
docker run -dp 8888:8888 -w /app -v "$PWD":/app jupyter/scipy-notebook
I use Docker Desktop to examine the logs to pick up the Jupyter token of
the running image. The URL I use in VS Code looks something like this:
http://127.0.0.1:8888/?token=3d1af35c067dbd681520e6f65817c3305aaa22c6f4721fea
[image: image.png]
I'm not sure what additional log messages you'd like or how to turn them
on. I'm attaching another copy of the log messages I got today. The errors
occurred when I clicked on the "Show variables active in Jupyter kernel"
button.
btw, I have to say, I absolutely love the Jupyter integration into VS Code.
It's so much easier to use than the browser-based interface. I asked a few
of my friends who are doing more hard-core data science work than I am and
they all said the same. If you are the team responsible for this, thank
you!
Jerry
On Tue, Nov 24, 2020 at 11:59 AM Joyce Er notifications@github.com wrote:
@IanMatthewHuff https://github.com/IanMatthewHuff I believe the user is
running VSCode on Mac and connecting to a Jupyter server that is running
from a local Docker container. Please correct me if I'm mistaken @jlharri
https://github.com/jlharri—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-jupyter/issues/4006#issuecomment-733109449,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIFY4BP7S7P7IW33E2ZSFTSRPRA3ANCNFSM4T7XNWAA
.
Connecting to Jupyter server at http://127.0.0.1:8888/
http://127.0.0.1:8888/: Kernel started: 7a72f44b-c468-484b-8ac2-2c360643948c
~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
http://127.0.0.1:8888/: Kernel started: 2677775d-b79a-45a2-ae6d-903d93f99cbe
http://127.0.0.1:8888/: Kernel started: 5e7a438a-9f6b-4fef-b2f8-2e5b07baa7a6
http://127.0.0.1:8888/: Creating new notebook
http://127.0.0.1:8888/: Kernel started: 3b7b2d3e-05fd-4ea8-a4d2-af302df8b754
http://127.0.0.1:8888/: Creating new notebook
http://127.0.0.1:8888/: Kernel started: e15ac190-396d-440a-b00e-1009b90f69cc
http://127.0.0.1:8888/: Kernel started: 9173130a-df81-4c3e-861d-b85159cff96d
http://127.0.0.1:8888/: Creating new notebook
http://127.0.0.1:8888/: Kernel started: e7c35b84-26a9-422f-b054-7f37fa62e51cError 2020-11-24 12:07:21: Failure during variable extraction:
NameError Traceback (most recent call last)
----> 1 print(_VSCODE_VariableImport._VSCODE_getVariableInfo(df))
NameError: name '_VSCODE_VariableImport' is not defined
NameError Traceback (most recent call last)
----> 1 print(_VSCODE_VariableImport._VSCODE_getVariableInfo(df))
NameError: name '_VSCODE_VariableImport' is not defined
NameError Traceback (most recent call last)
----> 1 print(_VSCODE_VariableImport._VSCODE_getVariableInfo(df))
NameError: name '_VSCODE_VariableImport' is not defined
at E.extractJupyterResultText (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:575871)
at E.deserializeJupyterResult (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:575990)
at E.getFullVariable (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:575072)
at runMicrotasks (
at processTicksAndRejections (internal/process/task_queues.js:94:5)
at async E.getVariableValueFromKernel (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:578461)
at async L.getVariableHover (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:276747)
at async Promise.all (index 2)
at async L.provideHover (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:267890)]
NameError Traceback (most recent call last)
----> 1 print(_VSCODE_VariableImport._VSCODE_getVariableInfo(df))
NameError: name '_VSCODE_VariableImport' is not defined
NameError Traceback (most recent call last)
----> 1 print(_VSCODE_VariableImport._VSCODE_getVariableInfo(df))
NameError: name '_VSCODE_VariableImport' is not defined
at E.extractJupyterResultText (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:575871)
at E.deserializeJupyterResult (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:575990)
at E.getFullVariable (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:575072)
at runMicrotasks (
at processTicksAndRejections (internal/process/task_queues.js:94:5)
at async E.getVariableValueFromKernel (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:578461)
at async L.getVariableHover (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:276747)
at async Promise.all (index 2)
at async L.provideHover (/Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/extension.js:49:267890)]
@jlharri My apologies, for some reason I though that the logs had been mentioned already.
I'm not sure what additional log messages you'd like or how to turn them
on. I'm attaching another copy of the log messages I got today. The errors
occurred when I clicked on the "Show variables active in Jupyter kernel"
button.
In the vscode settings change Jupyter->Logging->Level to "debug". Then rerun your scenario. Then in the Output tab of vscode look for what is in the "Jupyter" section in the dropdown. There should be a ton of logging output there, it's all of our extra diagnostic output. If you save off that output into a file and then attach that file to a comment here it would give us more information to investigate with.
btw, I have to say, I absolutely love the Jupyter integration into VS Code.
It's so much easier to use than the browser-based interface. I asked a few
of my friends who are doing more hard-core data science work than I am and
they all said the same. If you are the team responsible for this, thank
you!
Thanks :). We're working hard on it.
I've attached the extra logging. Hope it helps.
Jerry
On Tue, Nov 24, 2020 at 12:37 PM Ian Huff notifications@github.com wrote:
@jlharri https://github.com/jlharri My apologies, for some reason I
though that the logs had been mentioned already.I'm not sure what additional log messages you'd like or how to turn them
on. I'm attaching another copy of the log messages I got today. The errors
occurred when I clicked on the "Show variables active in Jupyter kernel"
button.In the vscode settings change Jupyter->Logging->Level to "debug". Then
rerun your scenario. Then in the Output tab of vscode look for what is in
the "Jupyter" section in the dropdown. There should be a ton of logging
output there, it's all of our extra diagnostic output. If you save off that
output into a file and then attach that file to a comment here it would
give us more information to investigate with.btw, I have to say, I absolutely love the Jupyter integration into VS Code.
It's so much easier to use than the browser-based interface. I asked a few
of my friends who are doing more hard-core data science work than I am and
they all said the same. If you are the team responsible for this, thank
you!Thanks :). We're working hard on it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-jupyter/issues/4006#issuecomment-733130865,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIFY4HI2WOOBOPOF5E6L3TSRPVONANCNFSM4T7XNWAA
.
Info 2020-11-24 16:09:38: id is 847e1580-284d-46d2-ba67-a53084cbfee1
Info 2020-11-24 16:09:38: Attempting to start a server because of preload conditions ...
Info 2020-11-24 16:09:38: Checking for server existence.
Info 2020-11-24 16:09:38: Checking for server usability.
Info 2020-11-24 16:09:38: Starting notebook server.
Info 2020-11-24 16:09:38: Connecting to history server
Info 2020-11-24 16:09:38: Creating jupyter server: 1199c8be-f51c-42f0-ad9d-0bf6c5d5827a
Info 2020-11-24 16:09:38: Creating server with settings : {"baseUrl":"http://127.0.0.1:8888/","appUrl":"","wsUrl":"ws://127.0.0.1:8888/","token":"3d1af35c067dbd681520e6f65817c3305aaa22c6f4721fea","init":{"cache":"no-store","credentials":"same-origin"}}
Info 2020-11-24 16:09:38: Enumerating kernel specs...
Info 2020-11-24 16:09:39: Found 1 kernelspecs
Info 2020-11-24 16:09:39: Loading web panel for file:///Users/jerryharris/Develop/Jupyter/test-jupyter/test.ipynb
Info 2020-11-24 16:09:39: Loading web panel. Panel is notset
Info 2020-11-24 16:09:39: Attempting to start a server because of preload conditions ...
Info 2020-11-24 16:09:39: Loading web view...
Info 2020-11-24 16:09:39: Web view created.
Info 2020-11-24 16:09:40: Disposing session manager
Info 2020-11-24 16:09:40: SessionManager - dispose contents manager
Info 2020-11-24 16:09:40: ShutdownSessionAndConnection - dispose session manager
Info 2020-11-24 16:09:40: Finished disposing jupyter session manager
Info 2020-11-24 16:09:40: Connecting to process for history server
Info 2020-11-24 16:09:40: Connecting server 1199c8be-f51c-42f0-ad9d-0bf6c5d5827a kernelSpec Python 3
Connecting to Jupyter server at http://127.0.0.1:8888/
Info 2020-11-24 16:09:40: Creating server with settings : {"baseUrl":"http://127.0.0.1:8888/","appUrl":"","wsUrl":"ws://127.0.0.1:8888/","token":"3d1af35c067dbd681520e6f65817c3305aaa22c6f4721fea","init":{"cache":"no-store","credentials":"same-origin"}}
http://127.0.0.1:8888/: Kernel started: 370c8cd5-8440-4021-84d0-495de90ffaa5
Info 2020-11-24 16:09:41: Waiting for idle on (kernel): 370c8cd5-8440-4021-84d0-495de90ffaa5 -> unknown
Info 2020-11-24 16:09:42: Web view react rendered
Info 2020-11-24 16:09:42: Searching for token colors ...
Info 2020-11-24 16:09:42: Attempting search for colors ...
Info 2020-11-24 16:09:43: Request for onigasm file at /Users/jerryharris/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/out/client/node_modules/onigasm/lib/onigasm.wasm
Info 2020-11-24 16:09:43: Request for tmlanguage file.
Info 2020-11-24 16:09:43: Searching for token colors ...
Info 2020-11-24 16:09:43: Attempting search for colors ...
Info 2020-11-24 16:09:43: Searching for token colors ...
Info 2020-11-24 16:09:43: Attempting search for colors ...
Info 2020-11-24 16:09:43: Searching for token colors ...
Info 2020-11-24 16:09:43: Attempting search for colors ...
Info 2020-11-24 16:09:43: > ~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py -c "import notebook"
Info 2020-11-24 16:09:43: > ~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py -c "import jupyter"
Info 2020-11-24 16:09:43: Finished waiting for idle on (kernel): 370c8cd5-8440-4021-84d0-495de90ffaa5 -> idle
Info 2020-11-24 16:09:43: Waiting for idle on (kernel): 370c8cd5-8440-4021-84d0-495de90ffaa5 -> idle
Info 2020-11-24 16:09:43: Finished waiting for idle on (kernel): 370c8cd5-8440-4021-84d0-495de90ffaa5 -> idle
Info 2020-11-24 16:09:43: Connection complete for history server
Info 2020-11-24 16:09:43: Server started.
Info 2020-11-24 16:09:43: Enumerating kernel specs...
Info 2020-11-24 16:09:43: Found 1 kernelspecs
Info 2020-11-24 16:09:43: > ~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py jupyter kernelspec --version
http://127.0.0.1:8888/: Kernel started: 283557d2-5f82-4998-9a85-dd4141a3b696
Info 2020-11-24 16:09:44: Waiting for idle on (kernel): 283557d2-5f82-4998-9a85-dd4141a3b696 -> unknown
Info 2020-11-24 16:09:44: Searching for token colors ...
Info 2020-11-24 16:09:44: Attempting search for colors ...
Info 2020-11-24 16:09:44: Loading colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:44: Attempting search for colors ...
Info 2020-11-24 16:09:44: Loading base colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:44: Using colors to generate CSS ...
Info 2020-11-24 16:09:44: > ~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2020-11-24 16:09:44: > ~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2020-11-24 16:09:44: > ~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
~/anaconda3/bin/python ~/.vscode/extensions/ms-toolsai.jupyter-2020.11.372831992/pythonFiles/pyvsc-run-isolated.py vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.jupyter_daemon -v
Info 2020-11-24 16:09:45: Loading colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:45: Searching for token colors ...
Info 2020-11-24 16:09:45: Attempting search for colors ...
Info 2020-11-24 16:09:45: Loading colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:45: Searching for token colors ...
Info 2020-11-24 16:09:45: Attempting search for colors ...
Info 2020-11-24 16:09:45: Loading colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:45: Loading colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:45: Searching for token colors ...
Info 2020-11-24 16:09:45: Attempting search for colors ...
Info 2020-11-24 16:09:45: Loading colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:45: Loading colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:45: Loading colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:45: Attempting search for colors ...
Info 2020-11-24 16:09:45: Loading base colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:45: Attempting search for colors ...
Info 2020-11-24 16:09:45: Loading base colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:45: Attempting search for colors ...
Info 2020-11-24 16:09:45: Loading base colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:45: Attempting search for colors ...
Info 2020-11-24 16:09:45: Loading base colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:45: Attempting search for colors ...
Info 2020-11-24 16:09:45: Loading base colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:45: Attempting search for colors ...
Info 2020-11-24 16:09:45: Loading base colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:45: Attempting search for colors ...
Info 2020-11-24 16:09:45: Loading base colors from /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json ...
Info 2020-11-24 16:09:45: Using colors to generate CSS ...
Info 2020-11-24 16:09:45: Using colors to generate CSS ...
Info 2020-11-24 16:09:45: Using colors to generate CSS ...
Info 2020-11-24 16:09:45: Using colors to generate CSS ...
Info 2020-11-24 16:09:45: Using colors to generate CSS ...
Info 2020-11-24 16:09:45: Using colors to generate CSS ...
Info 2020-11-24 16:09:45: Using colors to generate CSS ...
Info 2020-11-24 16:09:46: Finished waiting for idle on (kernel): 283557d2-5f82-4998-9a85-dd4141a3b696 -> idle
Info 2020-11-24 16:09:46: Started session 1199c8be-f51c-42f0-ad9d-0bf6c5d5827a
Info 2020-11-24 16:09:46: Waiting for idle (session) 1199c8be-f51c-42f0-ad9d-0bf6c5d5827a
Info 2020-11-24 16:09:46: Waiting for idle on (kernel): 283557d2-5f82-4998-9a85-dd4141a3b696 -> idle
Info 2020-11-24 16:09:46: Finished waiting for idle on (kernel): 283557d2-5f82-4998-9a85-dd4141a3b696 -> idle
Info 2020-11-24 16:09:46: Initial setup for file:///Users/jerryharris/Develop/Jupyter/test-jupyter/test.ipynb starting ...
Info 2020-11-24 16:09:46: Initialize config for plots for file:///Users/jerryharris/Develop/Jupyter/test-jupyter/test.ipynb
Info 2020-11-24 16:09:46: Kernel switching to busy
Info 2020-11-24 16:09:46: Kernel switching to idle
Info 2020-11-24 16:09:46: Initial setup complete for file:///Users/jerryharris/Develop/Jupyter/test-jupyter/test.ipynb
Info 2020-11-24 16:09:46: Finished connecting 1199c8be-f51c-42f0-ad9d-0bf6c5d5827a
http://127.0.0.1:8888/: Creating new notebook
Info 2020-11-24 16:09:46: Registering commtarget jupyter.widget
http://127.0.0.1:8888/: Kernel started: 5b22368d-a5f1-432b-845d-59c7cd4c84da
Info 2020-11-24 16:09:46: Waiting for idle on (kernel): 5b22368d-a5f1-432b-845d-59c7cd4c84da -> unknown
Info 2020-11-24 16:09:47: Kernel switching to busy
Info 2020-11-24 16:09:47: Kernel switching to idle
Info 2020-11-24 16:09:47: Finished waiting for idle on (kernel): 5b22368d-a5f1-432b-845d-59c7cd4c84da -> idle
Info 2020-11-24 16:09:48: Executing cell NotebookImport#0
Info 2020-11-24 16:09:48: Waiting for jupyter server and web panel ...
Info 2020-11-24 16:09:48: Submitting code for 61ca57ce-184a-4b53-8e95-f90c383461ad
Info 2020-11-24 16:09:48: Kernel switching to busy
Info 2020-11-24 16:09:49: Kernel switching to idle
Info 2020-11-24 16:09:49: Finished execution for NotebookImport#0
Info 2020-11-24 16:09:49: Finished executing cell NotebookImport#0
Info 2020-11-24 16:09:49: Wrote trust for file:///Users/jerryharris/Develop/Jupyter/test-jupyter/test.ipynb to /Users/jerryharris/Library/Application Support/Code/User/globalStorage/ms-toolsai.jupyter/nbsignatures/b99af84d28c7d9689b69a1c92ea2b321ee0e5b403fba90050f50c622c0cc7508
Info 2020-11-24 16:09:49: Kernel switching to busy
Info 2020-11-24 16:09:49: Kernel switching to idle
Info 2020-11-24 16:09:51: Kernel switching to busy
Info 2020-11-24 16:09:51: Kernel switching to idle
Info 2020-11-24 16:09:51: Kernel switching to busy
Info 2020-11-24 16:09:51: Kernel switching to idle
Info 2020-11-24 16:09:51: Kernel switching to busyError 2020-11-24 16:09:51: Failure during variable extraction:
NameError Traceback (most recent call last)
----> 1 print(_VSCODE_VariableImport._VSCODE_getVariableInfo(df))
NameError: name '_VSCODE_VariableImport' is not defined
Info 2020-11-24 16:09:51: Kernel switching to idle
Info 2020-11-24 16:10:55: Kernel switching to busy
Info 2020-11-24 16:10:55: Kernel switching to idle
@jlharri and @joyceerhl No solution yet, but just wanted to note that I was able to set that docker image up locally and I can repro the issue. So I'm investigating on that now.
Thanks for the update Ian. There’s no urgency on my part.
Jerry
On Tue, Nov 24, 2020 at 7:32 PM Ian Huff notifications@github.com wrote:
@jlharri https://github.com/jlharri and @joyceerhl
https://github.com/joyceerhl No solution yet, but just wanted to note
that I was able to set that docker image up locally and I can repro the
issue. So I'm investigating on that now.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-jupyter/issues/4006#issuecomment-733366250,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIFY4FM6WXULGLBBX4EBFDSRRGDTANCNFSM4T7XNWAA
.
Validating. In order to get this to work I had to do this:
This makes the image open port 8888
Then open the CLI for the image from the docker dashboard and run jupyter notebook list. This will give back something like so:
http://0.0.0.0:8888/?token=c75df51b7451312cbea6affd1572c79b931d6e9786519698
When setting in our stuff, translate the 0.0.0.0 to localhost.
Found another issue (and fixed) with this so hopefully somebody besides Ian or I can validate?
I have another Jupyter notebook that has a set of variables - some of which
show up in the variable window and some which don't. If you tell me how to
install a beta version of the plugin, I can test it on my notebook.
Jerry
On Wed, Dec 2, 2020 at 5:18 PM Rich Chiodo notifications@github.com wrote:
Found another issue (and fixed) with this so hopefully somebody besides
Ian or I can validate?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-jupyter/issues/4006#issuecomment-737529567,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIFY4DNYB5J2RVFAXXE63TSS24KPANCNFSM4T7XNWAA
.
Here's a link to build output from a run on the main branch (hopefully you have access to this):
https://github.com/microsoft/vscode-jupyter/suites/1599679515/artifacts/29160425
That has both Ian's and my fixes in it.
Most helpful comment
@jlharri and @joyceerhl No solution yet, but just wanted to note that I was able to set that docker image up locally and I can repro the issue. So I'm investigating on that now.