Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter notebook current working directory is the $HOME directory, rather than the file directory or the workspace directory. #16430

Open
1 of 2 tasks
kheuton opened this issue Feb 7, 2025 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel)

Comments

@kheuton
Copy link

kheuton commented Feb 7, 2025

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

Recently my notebooks using relative imports stopped working. When investigating why, I found that the notebooks were working inside my home directory, not the file directory or workspace directory (the same, in this case). These same imports worked a few weeks prior to June 2024

What I expected to happen:
Relative imports should work without modifying the path when both the notebook and the module being imported are in the same directory, and that directory is also the workspace root.

What actually happened:
Relative imports failed due to not finding the module

VS Code Version

Version: 1.96.2 (user setup) Commit: fabdb6a30b49f79a7aba0f2ad9df9b399473380f Date: 2024-12-19T10:22:47.216Z Electron: 32.2.6 ElectronBuildId: 10629634 Chromium: 128.0.6613.186 Node.js: 20.18.1 V8: 12.8.374.38-electron.0 OS: Windows_NT x64 10.0.22635

Jupyter Extension Version

2025.1.0

Jupyter logs

22:16:33.670 [debug] Restart kernel command handler for ~/code/play-with-learning-army/scratch.ipynb
22:16:36.026 [debug] restart the kernel, options.disableUI=false for ~/code/play-with-learning-army/scratch.ipynb
22:16:36.026 [info] Restart requested ~/code/play-with-learning-army/scratch.ipynb
22:16:36.027 [debug] Cancel pending cells
22:16:36.027 [debug] Check if a kernel .jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python.-m#ipykernel_launcher is usable
22:16:36.027 [info] Check & install missing Kernel dependencies for /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python, ui.disabled=false for resource '~/code/play-with-learning-army/scratch.ipynb'
22:16:36.030 [debug] Get Custom Env Variables, Class name = Pm, completed in 1ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army", Arg 2: "RunPythonCode"
22:16:36.031 [debug] Got env vars from Python Ext in 2ms for /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python, with env var count 105.
22:16:36.031 [trace] Prepend PATH with python bin for /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python
22:16:36.031 [debug] Getting activated env variables, Class name = Sd, completed in 2ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army", Arg 2: "/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python", Arg 3: undefined
22:16:36.038 [info] Process Execution: /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python -c "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"
22:16:36.953 [debug] Checking if product is installed, Class name = Hx, completed in 925ms, has a truthy return value, Arg 1: 19, Arg 2: undefined, Return Value: true
22:16:36.954 [debug] Are Dependencies Installed, Class name = ep, completed in 927ms, has a truthy return value, Arg 1: ".jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python.-m#ipykernel_launcher", Arg 2: {"a":false,"b":{"z":0}}, Arg 3: true, Return Value: true
22:16:36.954 [debug] Install Missing Dependencies, Class name = ep, completed in 927ms, has a falsy return value, Arg 1: {"resource":{"$mid":1,"fsPath":"/cluster/home/~/code/play-with-learning-army/scratch.ipynb","external":"file:///cluster/home/~/code/play-with-learning-army/scratch.ipynb","path":"/cluster/home/~/code/play-with-learning-army/scratch.ipynb","scheme":"file"},"kernelConnection":{"id":".jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python.-m#ipykernel_launcher","kernelSpec":{"specFile":"/cluster/home/~/.vscode-server/data/User/globalStorage/ms-toolsai.jupyter/version-2024.11.0/jupyter/kernels/python31111jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f/kernel.json","interpreterPath":"/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"python31111jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"python","display_name":"learningarmy","metadata":{"interpreter":{"id":"/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python","uri":{"$mid":1,"fsPath":"/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python","external":"file:///cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python","path":"/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python","scheme":"file"}}},"env":{}},"interpreter":{"id":"/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python","path":"/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python"},"kind":"startUsingPythonInterpreter"},"ui":{"_event":{"z":0},"_disableUI":false},"token":{"a":false,"b":{"z":0}},"ignoreCache":true,"cannotChangeKernels":false}, Return Value: 0
22:16:36.954 [debug] Updating Kernel Environment for .jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python.-m#ipykernel_launcher for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python
22:16:36.956 [debug] Python KernelSpec argv[0] updated for .jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python.-m#ipykernel_launcher from '/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python' to '/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python'
22:16:36.959 [debug] Get Custom Env Variables, Class name = Pm, completed in 0ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army/scratch.ipynb", Arg 2: "RunPythonCode"
22:16:36.960 [debug] Got env vars from Python Ext in 1ms for /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python, with env var count 105.
22:16:36.960 [trace] Prepend PATH with python bin for /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python
22:16:36.960 [debug] Getting activated env variables, Class name = Sd, completed in 1ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army/scratch.ipynb", Arg 2: "/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python", Arg 3: undefined
22:16:36.966 [debug] Updated kernel spec for .jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python.-m#ipykernel_launcher with environment variables for ~/.vscode-server/data/User/globalStorage/ms-toolsai.jupyter/version-2024.11.0/jupyter/kernels/python31111jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f/kernel.json
22:16:37.198 [debug] [I 2025-02-06 22:16:37.198 ServerApp] Kernel restarted: 64be92d1-7279-41a5-a3c8-137d43d3b801
22:16:37.204 [debug] [I 2025-02-06 22:16:37.202 ServerApp] Starting buffering for 64be92d1-7279-41a5-a3c8-137d43d3b801:c6b98e2d-e544-4954-bbed-06a9c546de37
22:16:37.210 [info] Restarted 64be92d1-7279-41a5-a3c8-137d43d3b801
22:16:37.210 [trace] Executing silently Code (unknown) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
22:16:37.211 [debug] [I 2025-02-06 22:16:37.209 ServerApp] Connecting to kernel 64be92d1-7279-41a5-a3c8-137d43d3b801.
    [I 2025-02-06 22:16:37.209 ServerApp] Restoring connection for 64be92d1-7279-41a5-a3c8-137d43d3b801:c6b98e2d-e544-4954-bbed-06a9c546de37
22:16:37.267 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_onRestartKernel
22:16:37.273 [trace] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
22:16:37.274 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
22:16:38.378 [trace] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
22:16:38.378 [trace] Started running kernel initialization for ~/code/play-with-learning-army/scratch.ipynb
22:16:38.378 [trace] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
22:16:38.458 [trace] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 1 output(s)
22:16:38.458 [trace] Determined IPyWidgets Version as 8
22:16:38.458 [trace] Executing silently Code (idle) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None):
22:16:38.509 [trace] Executing silently Code (completed) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None): with 0 output(s)
22:16:38.509 [debug] Requesting Kernel info
22:16:38.509 [trace] Got Kernel info
22:16:38.509 [trace] End running kernel initialization, now waiting for idle
22:16:38.509 [trace] Waiting for idle on (kernel): 64be92d1-7279-41a5-a3c8-137d43d3b801 -> idle
22:16:38.510 [trace] Finished waiting for idle on (kernel): 64be92d1-7279-41a5-a3c8-137d43d3b801 -> idle
22:16:38.510 [trace] End running kernel initialization, session is idle
22:16:38.510 [trace] Registering commtarget jupyter.widget
22:17:09.274 [debug] Handle Execution of Cells 0 for ~/code/play-with-learning-army/scratch.ipynb
22:17:09.274 [trace] Execute Notebook ~/code/play-with-learning-army/scratch.ipynb. Step 1
22:17:09.275 [trace] Connect to Kernel ~/code/play-with-learning-army/scratch.ipynb. Step 2
22:17:09.275 [trace] Connected to Kernel ~/code/play-with-learning-army/scratch.ipynb. Step 3
22:17:09.275 [trace] executeCell 0. Step 4
22:17:09.275 [trace] Cell Index:0 sent to kernel
22:17:09.282 [trace] Start cell 0 execution @ 1738898229282 (clear output)
22:17:09.282 [debug] Kernel acknowledged execution of cell 0 @ 1738898229282
22:17:09.428 [warn] Cell completed with errors iu [Error]: No module named 'data_loader'
    at n.execute (/cluster/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.11.0-linux-x64/dist/extension.node.js:297:4958)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  ename: 'ModuleNotFoundError',
  evalue: "No module named 'data_loader'",
  traceback: [
    '\x1B[0;31m---------------------------------------------------------------------------\x1B[0m',
    '\x1B[0;31mModuleNotFoundError\x1B[0m                       Traceback (most recent call last)',
    'Cell \x1B[0;32mIn[1], line 8\x1B[0m\n' +
      "\x1B[1;32m      2\x1B[0m get_ipython()\x1B[38;5;241m.\x1B[39mrun_line_magic(\x1B[38;5;124m'\x1B[39m\x1B[38;5;124mautoreload\x1B[39m\x1B[38;5;124m'\x1B[39m, \x1B[38;5;124m'\x1B[39m\x1B[38;5;124m2\x1B[39m\x1B[38;5;124m'\x1B[39m)\n" +
      '\x1B[1;32m      4\x1B[0m \x1B[38;5;66;03m# add src to path\x1B[39;00m\n' +
      '\x1B[1;32m      5\x1B[0m \x1B[38;5;66;03m#import sys\x1B[39;00m\n' +
      "\x1B[1;32m      6\x1B[0m \x1B[38;5;66;03m#sys.path.append('/cluster/home/~/code/play-with-learning-army/src')\x1B[39;00m\n" +
      '\x1B[0;32m----> 8\x1B[0m \x1B[38;5;28;01mfrom\x1B[39;00m\x1B[38;5;250m \x1B[39m\x1B[38;5;21;01mdata_loader\x1B[39;00m\x1B[38;5;250m \x1B[39m\x1B[38;5;28;01mimport\x1B[39;00m load_dataset\n',
    "\x1B[0;31mModuleNotFoundError\x1B[0m: No module named 'data_loader'"
  ]
}
22:17:09.429 [trace] Cell 0 completed in 0.146s (start: 1738898229282, end: 1738898229428)
22:17:09.429 [trace] Cell 0 executed with an error

Coding Language and Runtime Version

Python v3.11

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Remote

@kheuton kheuton added the bug Issue identified by VS Code Team member as probable bug label Feb 7, 2025
@DonJayamanne
Copy link
Contributor

DonJayamanne commented Feb 7, 2025

Thank you for reporting this issue and sorry you are running into this.

Please can you share the top part of the logs.
Just reload VS Code and copy the first 10-20 lines of the logs.

@DonJayamanne DonJayamanne self-assigned this Feb 7, 2025
@DonJayamanne DonJayamanne added info-needed Issue requires more information from poster notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) labels Feb 7, 2025
@DonJayamanne
Copy link
Contributor

at n.execute (/cluster/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.11.0-linux-x64/dist/extension.node.js:297:4958)

Looks like you still have the 2024.11.0 version installed, you might want to re-load VS Code (or just re-start the extensions) if you did install 2025.1.0.

@kheuton
Copy link
Author

kheuton commented Feb 7, 2025

Here is the top part of the logs

Show Logs
Visual Studio Code (1.96.2, tunnel, desktop)
Jupyter Extension Version: 2024.11.0.
Python Extension Version: 2025.0.0.
Pylance Extension Version: 2025.2.1.
Platform: linux (x64).
Temp Storage folder ~/.vscode-server/data/User/globalStorage/ms-toolsai.jupyter/version-2024.11.0
Workspace folder ~/code/play-with-learning-army, Home = /cluster/home/kheuto01
22:45:29.868 [warn] Exception while attempting zmq : /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /cluster/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.11.0-linux-x64/dist/node_modules/zeromq/prebuilds/linux-x64/node.napi.glibc.node)
22:45:29.868 [warn] Exception while attempting zmq (fallback) : /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /cluster/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.11.0-linux-x64/dist/node_modules/zeromqold/prebuilds/linux-x64/node.napi.glibc.node)
22:45:30.141 [info] Attempting to start a server because of preload conditions ...
22:45:30.142 [trace] Checking for server usability.
22:45:30.144 [debug] Start refreshing Kernel Picker (1738899930144)
22:45:30.601 [debug] creating new code watcher with matching document file:///cluster/home/~/code/play-with-learning-army/src/model_training.py
22:45:31.086 [trace] Search for KernelSpecs in Interpreter /bin/python3
22:45:31.087 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python
22:45:31.087 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/bin/python
22:45:31.087 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/R-4.3.1/bin/python
22:45:31.087 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/clone_anon/bin/python
22:45:31.087 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/diff_const_learn/bin/python
22:45:31.087 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/flask_quiz_env/bin/python
22:45:31.087 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/k3_diff_const_learn/bin/python
22:45:31.087 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/marksR/bin/python
22:45:31.087 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/mnar-cru/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/nlp4ori/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k3/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/pixtral/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/prob_diff_topk/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/spr_2024s_env/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/bape/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/bauer_r/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/brits/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/comp135_2020f_env/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/dota/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/eicu_extract/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/fresh_opioid/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/geopanas/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/grud_baselines/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/grud_baselines_tf23/bin/python
22:45:31.088 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/hashtopolis/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/hirid/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/mimic_data_extraction/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/modern_zigp/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/mwoj/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/opioid/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/opioid_gp/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/ptopk/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/ptopk_tf/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/ptopk_tf_again/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/pypots/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/pytorch_a100_clone_Aug16/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/second_opioid/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/tf-gpu/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/tf_covid_env/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/third_opioid/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/vat/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/zigp_36/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/shared/envs/mwpg/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/kylebreaksit/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/GAGAvatar/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/OpenSTL/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/ezlstm/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/zoommil/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /usr/bin/python
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /usr/bin/python3
22:45:31.089 [trace] Search for KernelSpecs in Interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python
22:45:31.094 [trace] No Kernels found in interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/chromium/bin/python
22:45:31.095 [trace] No Kernels found in interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/datalabel/bin/python
22:45:31.095 [debug] Get Custom Env Variables, Class name = Pm, completed in 952ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
22:45:31.095 [debug] Jupyter Paths /kernels: 
22:45:31.095 [debug] Kernel Spec Root Paths, /usr/share/jupyter/kernels, /usr/local/share/jupyter/kernels, ~/.local/share/jupyter/kernels
22:45:31.120 [debug] Get Custom Env Variables, Class name = Pm, completed in 0ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army", Arg 2: "RunPythonCode"
22:45:31.411 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/mambaforge/envs/k3_diff_const_learn/bin/python for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/k3_diff_const_learn/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/mambaforge/envs/k3_diff_const_learn/share/jupyter/kernels/python3/kernel.json)
22:45:31.412 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/mambaforge/envs/diff_const_learn/bin/python for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/diff_const_learn/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/mambaforge/envs/diff_const_learn/share/jupyter/kernels/python3/kernel.json)
22:45:31.412 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/mambaforge/envs/spr_2024s_env/bin/python for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/spr_2024s_env/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/mambaforge/envs/spr_2024s_env/share/jupyter/kernels/python3/kernel.json)
22:45:31.412 [trace] Hiding default KernelSpec /python for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/share/jupyter/kernels/python3/kernel.json)
22:45:31.416 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/mambaforge/envs/R-4.3.1/bin/python for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/R-4.3.1/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/mambaforge/envs/R-4.3.1/share/jupyter/kernels/python3/kernel.json)
22:45:31.416 [trace] Kernels for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/R-4.3.1/bin/python are .jvsc74a57bd0f4091a9b4ad1e6ddcff0cd5d5e83d150a02af80d108f5e68c64a38f2b4d7cd75#ir./cluster/tufts/hugheslab/~/mambaforge/envs/R-4.3.1/python./.r#--slave#-e#irkernel::main()#--args#{connection_file}, .jvsc74a57bd0f4091a9b4ad1e6ddcff0cd5d5e83d150a02af80d108f5e68c64a38f2b4d7cd75./cluster/tufts/hugheslab/~/mambaforge/envs/R-4.3.1/python./cluster/tufts/hugheslab/~/mambaforge/envs/R-4.3.1/python.-m#ipykernel_launcher
22:45:31.417 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/mambaforge/envs/flask_quiz_env/bin/python for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/flask_quiz_env/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/mambaforge/envs/flask_quiz_env/share/jupyter/kernels/python3/kernel.json)
22:45:31.417 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/comp135_2020f_env/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/comp135_2020f_env/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/comp135_2020f_env/share/jupyter/kernels/python3/kernel.json)
22:45:31.417 [trace] Hiding default KernelSpec /python for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/mnar-cru/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/mambaforge/envs/mnar-cru/share/jupyter/kernels/python3/kernel.json)
22:45:31.417 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/mambaforge/envs/nlp4ori/bin/python for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/nlp4ori/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/mambaforge/envs/nlp4ori/share/jupyter/kernels/python3/kernel.json)
22:45:31.420 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/grud_baselines/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/grud_baselines/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/grud_baselines/share/jupyter/kernels/python3/kernel.json)
22:45:31.420 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/hirid/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/hirid/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/hirid/share/jupyter/kernels/python3/kernel.json)
22:45:31.420 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/mambaforge/envs/marksR/bin/python for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/marksR/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/mambaforge/envs/marksR/share/jupyter/kernels/python3/kernel.json)
22:45:31.420 [trace] Kernels for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/marksR/bin/python are .jvsc74a57bd04395b79f29bf60b773ea0201fcbc40c1adc330560f265ca9d0dc7486bd02810e#ir./cluster/tufts/hugheslab/~/mambaforge/envs/marksR/python./.r#--slave#-e#irkernel::main()#--args#{connection_file}, .jvsc74a57bd04395b79f29bf60b773ea0201fcbc40c1adc330560f265ca9d0dc7486bd02810e./cluster/tufts/hugheslab/~/mambaforge/envs/marksR/python./cluster/tufts/hugheslab/~/mambaforge/envs/marksR/python.-m#ipykernel_launcher
22:45:31.421 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/grud_baselines_tf23/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/grud_baselines_tf23/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/grud_baselines_tf23/share/jupyter/kernels/python3/kernel.json)
22:45:31.421 [trace] Hiding default KernelSpec /python for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/pixtral/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/mambaforge/envs/pixtral/share/jupyter/kernels/python3/kernel.json)
22:45:31.421 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/bape/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/bape/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/bape/share/jupyter/kernels/python3/kernel.json)
22:45:31.421 [trace] Hiding default KernelSpec /python for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k3/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k3/share/jupyter/kernels/python3/kernel.json)
22:45:31.421 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/mambaforge/envs/prob_diff_topk/bin/python for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/prob_diff_topk/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/mambaforge/envs/prob_diff_topk/share/jupyter/kernels/python3/kernel.json)
22:45:31.424 [trace] Hiding default KernelSpec /python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/ptopk_tf_again/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/ptopk_tf_again/share/jupyter/kernels/python3/kernel.json)
22:45:31.425 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/geopanas/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/geopanas/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/geopanas/share/jupyter/kernels/python3/kernel.json)
22:45:31.425 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/dota/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/dota/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/dota/share/jupyter/kernels/python3/kernel.json)
22:45:31.425 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/bauer_r/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/bauer_r/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/bauer_r/share/jupyter/kernels/python3/kernel.json)
22:45:31.425 [trace] Kernels for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/bauer_r/bin/python are .jvsc74a57bd073e1e82a779c02b2a0d1fdf2f74730095f58698a771c747ba46e5eb013ae17b9#ir./cluster/tufts/hugheslab/~/miniconda3/envs/bauer_r/python./.r#--slave#-e#irkernel::main()#--args#{connection_file}, .jvsc74a57bd073e1e82a779c02b2a0d1fdf2f74730095f58698a771c747ba46e5eb013ae17b9./cluster/tufts/hugheslab/~/miniconda3/envs/bauer_r/python./cluster/tufts/hugheslab/~/miniconda3/envs/bauer_r/python.-m#ipykernel_launcher
22:45:31.425 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/mimic_data_extraction/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/mimic_data_extraction/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/mimic_data_extraction/share/jupyter/kernels/python3/kernel.json)
22:45:31.425 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/hashtopolis/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/hashtopolis/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/hashtopolis/share/jupyter/kernels/python3/kernel.json)
22:45:31.426 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/eicu_extract/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/eicu_extract/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/eicu_extract/share/jupyter/kernels/python3/kernel.json)
22:45:31.426 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/modern_zigp/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/modern_zigp/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/modern_zigp/share/jupyter/kernels/python3/kernel.json)
22:45:31.426 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/vat/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/vat/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/vat/share/jupyter/kernels/python3/kernel.json)
22:45:31.426 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/pytorch_a100_clone_Aug16/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/pytorch_a100_clone_Aug16/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/pytorch_a100_clone_Aug16/share/jupyter/kernels/python3/kernel.json)
22:45:31.426 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/opioid_gp/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/opioid_gp/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/opioid_gp/share/jupyter/kernels/python3/kernel.json)
22:45:31.426 [trace] Hiding default KernelSpec /python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/zigp_36/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/zigp_36/share/jupyter/kernels/python3/kernel.json)
22:45:31.426 [trace] Hiding default KernelSpec /python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/pypots/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/pypots/share/jupyter/kernels/python3/kernel.json)
22:45:31.430 [trace] Hiding default KernelSpec /python for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/kylebreaksit/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/mambaforge/envs/kylebreaksit/share/jupyter/kernels/python3/kernel.json)
22:45:31.430 [trace] Hiding default KernelSpec /python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/ptopk_tf/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/ptopk_tf/share/jupyter/kernels/python3/kernel.json)
22:45:31.430 [trace] Hiding default KernelSpec /python for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/share/jupyter/kernels/python3/kernel.json)
22:45:31.434 [trace] Hiding default KernelSpec /python for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/ezlstm/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/mambaforge/envs/ezlstm/share/jupyter/kernels/python3/kernel.json)
22:45:31.434 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/tf-gpu/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/tf-gpu/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/tf-gpu/share/jupyter/kernels/python3/kernel.json)
22:45:31.434 [trace] Hiding default KernelSpec /cluster/tufts/hugheslab/~/miniconda3/envs/tf_covid_env/bin/python for interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/tf_covid_env/bin/python (KernelSpec file /cluster/tufts/hugheslab/~/miniconda3/envs/tf_covid_env/share/jupyter/kernels/python3/kernel.json)
22:45:31.434 [debug] End refreshing Kernel Picker (1738899930144)
22:45:31.497 [info] Attempting to start a server because of preload conditions ...
22:45:31.497 [debug] Start refreshing Interpreter Kernel Picker
22:45:31.498 [debug] Start refreshing Kernel Picker (1738899931498)
22:45:31.593 [trace] No controller, hence notebook communications cannot be initialized for editor ~/code/play-with-learning-army/scratch.ipynb
22:45:31.617 [trace] Python API env change detected, add => 'D:\anaconda3\python.exe'
22:45:31.620 [trace] No Kernels found in interpreter D:\anaconda3\python.exe
22:45:31.764 [debug] KernelProvider switched kernel to id = .jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python.-m#ipykernel_launcher
22:45:31.765 [debug] start the kernel, options.disableUI=true for ~/code/play-with-learning-army/scratch.ipynb
22:45:31.804 [trace] Registering commtarget jupyter.widget
22:45:31.805 [debug] Controller selection change completed
22:45:31.811 [debug] Get Custom Env Variables, Class name = Pm, completed in 0ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army", Arg 2: "RunPythonCode"
22:45:31.811 [info] Starting Kernel (Python Path: /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python, Conda, 3.11.11) for '~/code/play-with-learning-army/scratch.ipynb' (disableUI=true)
22:45:34.128 [trace] Conda file is conda
22:45:34.498 [trace] Detected change in Active Python environment via Python API
22:45:34.500 [trace] Detected change in Active Python environment via Python API
22:45:34.503 [debug] Controller startUsingPythonInterpreter:'.jvsc74a57bd0a304f1d4008e0f20ff3a8a077570ba29fe9fcbeb1e88d6b88d19f0e4e4c3be5b.d:\anaconda3\python.exe.d:\anaconda3\python.exe.-m#ipykernel_launcher' for view = 'jupyter-notebook' is no longer a valid
22:45:34.503 [debug] Controller startUsingPythonInterpreter:'.jvsc74a57bd0a304f1d4008e0f20ff3a8a077570ba29fe9fcbeb1e88d6b88d19f0e4e4c3be5b.d:\anaconda3\python.exe.d:\anaconda3\python.exe.-m#ipykernel_launcher (Interactive)' for view = 'interactive' is no longer a valid
22:45:34.503 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd0a304f1d4008e0f20ff3a8a077570ba29fe9fcbeb1e88d6b88d19f0e4e4c3be5b.d:\anaconda3\python.exe.d:\anaconda3\python.exe.-m#ipykernel_launcher' for view = 'jupyter-notebook'
22:45:34.503 [debug] Disposing controller .jvsc74a57bd0a304f1d4008e0f20ff3a8a077570ba29fe9fcbeb1e88d6b88d19f0e4e4c3be5b.d:\anaconda3\python.exe.d:\anaconda3\python.exe.-m#ipykernel_launcher associated with connection .jvsc74a57bd0a304f1d4008e0f20ff3a8a077570ba29fe9fcbeb1e88d6b88d19f0e4e4c3be5b.d:\anaconda3\python.exe.d:\anaconda3\python.exe.-m#ipykernel_launcher 
22:45:34.517 [trace] Deleting controller '.jvsc74a57bd0a304f1d4008e0f20ff3a8a077570ba29fe9fcbeb1e88d6b88d19f0e4e4c3be5b.d:\anaconda3\python.exe.d:\anaconda3\python.exe.-m#ipykernel_launcher' associated with view jupyter-notebook from registration as it was disposed
22:45:34.518 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd0a304f1d4008e0f20ff3a8a077570ba29fe9fcbeb1e88d6b88d19f0e4e4c3be5b.d:\anaconda3\python.exe.d:\anaconda3\python.exe.-m#ipykernel_launcher (Interactive)' for view = 'interactive'
22:45:34.518 [debug] Disposing controller .jvsc74a57bd0a304f1d4008e0f20ff3a8a077570ba29fe9fcbeb1e88d6b88d19f0e4e4c3be5b.d:\anaconda3\python.exe.d:\anaconda3\python.exe.-m#ipykernel_launcher (Interactive) associated with connection .jvsc74a57bd0a304f1d4008e0f20ff3a8a077570ba29fe9fcbeb1e88d6b88d19f0e4e4c3be5b.d:\anaconda3\python.exe.d:\anaconda3\python.exe.-m#ipykernel_launcher 
22:45:34.520 [trace] Deleting controller '.jvsc74a57bd0a304f1d4008e0f20ff3a8a077570ba29fe9fcbeb1e88d6b88d19f0e4e4c3be5b.d:\anaconda3\python.exe.d:\anaconda3\python.exe.-m#ipykernel_launcher (Interactive)' associated with view interactive from registration as it was disposed
22:45:34.521 [trace] Python API env change detected, remove => 'D:\anaconda3\python.exe'
22:45:36.372 [debug] Interpreter removed D:\anaconda3\python.exe
22:45:36.389 [debug] Got env vars from Python Ext in 5269ms for /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python, with env var count 105.
22:45:36.389 [trace] Prepend PATH with python bin for /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python
22:45:36.389 [debug] Getting activated env variables, Class name = Sd, completed in 5269ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army", Arg 2: "/cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python", Arg 3: undefined
22:45:36.398 [info] Process Execution: /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python -c "import jupyter;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"
22:45:36.408 [info] Process Execution: /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python -c "import notebook;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"
22:45:36.409 [debug] Got env vars from Python Ext in 4598ms for /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python, with env var count 105.
22:45:36.409 [trace] Prepend PATH with python bin for /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python
22:45:36.409 [debug] Getting activated env variables, Class name = Sd, completed in 4598ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army", Arg 2: "/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python", Arg 3: undefined
22:45:36.419 [info] Process Execution: /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python -m pip list
22:45:36.444 [debug] Checking if product is installed, Class name = Hx, completed in 5326ms, has a truthy return value, Arg 1: 18, Arg 2: undefined, Return Value: true
22:45:36.515 [debug] Checking if product is installed, Class name = Hx, completed in 5396ms, has a truthy return value, Arg 1: 20, Arg 2: undefined, Return Value: true
22:45:36.518 [debug] Get Custom Env Variables, Class name = Pm, completed in 1ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army", Arg 2: "RunPythonCode"
22:45:36.519 [debug] Got env vars from Python Ext in 2ms for /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python, with env var count 105.
22:45:36.519 [trace] Prepend PATH with python bin for /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python
22:45:36.519 [debug] Getting activated env variables, Class name = Sd, completed in 2ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army", Arg 2: "/cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python", Arg 3: undefined
22:45:36.523 [info] Process Execution: /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python -m jupyter kernelspec --version
22:45:36.564 [debug] Interpreter for Pylance for Notebook URI "~/code/play-with-learning-army/scratch.ipynb" is /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python
22:45:37.250 [trace] Python API env change detected, add => '/cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/bin/python'
22:45:37.252 [trace] No Kernels found in interpreter /cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/bin/python
22:45:37.306 [debug] Starting notebook server.
22:45:37.306 [debug] Launching server
22:45:37.307 [info] Starting Jupyter Server
22:45:37.309 [debug] Starting Jupyter from /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python with arguments --no-browser --NotebookApp.iopub_data_rate_limit=10000000000.0 --KernelManager.autorestart=False
22:45:37.310 [debug] Get Custom Env Variables, Class name = Pm, completed in 2ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army", Arg 2: "RunPythonCode"
22:45:37.312 [debug] Got env vars from Python Ext in 4ms for /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python, with env var count 105.
22:45:37.312 [trace] Prepend PATH with python bin for /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python
22:45:37.313 [debug] Getting activated env variables, Class name = Sd, completed in 5ms, has a truthy return value, Arg 1: undefined, Arg 2: "/cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python", Arg 3: undefined
22:45:37.313 [debug] Get Custom Env Variables, Class name = Pm, completed in 1ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army", Arg 2: "RunPythonCode"
22:45:37.314 [debug] Got env vars from Python Ext in 2ms for /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python, with env var count 105.
22:45:37.314 [trace] Prepend PATH with python bin for /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python
22:45:37.314 [debug] Getting activated env variables, Class name = Sd, completed in 2ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army", Arg 2: "/cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python", Arg 3: undefined
22:45:37.317 [trace] Start Jupyter Notebook with JUPYTER_PATH=/cluster/home/~/.vscode-server/data/User/globalStorage/ms-toolsai.jupyter/version-2024.11.0/jupyter
22:45:37.317 [trace] Start Jupyter Notebook with PYTHONPATH=
22:45:37.317 [trace] Start Jupyter Notebook with PATH variable. PATH=/cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin:/cluster/home/~/.vscode/cli/servers/Stable-fabdb6a30b49f79a7aba0f2ad9df9b399473380f/server/bin/remote-cli:/cluster/home/~/code/mysql-5.7.36-el7-x86_64/bin:/cluster/tufts/hugheslab/~/bin:/cluster/home/~/code/mysql-5.7.36-el7-x86_64/bin:/cluster/tufts/hugheslab/~/bin:/cluster/home/~/code/mysql-5.7.36-el7-x86_64/bin:/cluster/tufts/hugheslab/~/bin:/cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin:/cluster/tufts/hugheslab/~/mambaforge/condabin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/cluster/home/~/bin:/cluster/home/~/bin
22:45:37.329 [info] Process Execution: /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python -m jupyter notebook --no-browser --NotebookApp.iopub_data_rate_limit=10000000000.0 --KernelManager.autorestart=False 
22:45:37.329 [debug] Waiting for Jupyter Notebook
22:45:40.749 [debug] [I 2025-02-06 22:45:40.544 ServerApp] Extension package jupyter_lsp took 0.1649s to import
22:45:40.749 [trace] [I 2025-02-06 22:45:40.544 ServerApp] Extension package jupyter_lsp took 0.1649s to import

22:45:43.515 [debug] [W 2025-02-06 22:45:43.514 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
22:45:43.515 [trace] [W 2025-02-06 22:45:43.514 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.

22:45:43.518 [debug] [I 2025-02-06 22:45:43.517 ServerApp] jupyter_lsp | extension was successfully linked.
22:45:43.518 [trace] [I 2025-02-06 22:45:43.517 ServerApp] jupyter_lsp | extension was successfully linked.

22:45:43.535 [debug] [I 2025-02-06 22:45:43.530 ServerApp] jupyter_server_terminals | extension was successfully linked.
    [W 2025-02-06 22:45:43.533 LabApp] 'iopub_data_rate_limit' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
22:45:43.535 [trace] [I 2025-02-06 22:45:43.530 ServerApp] jupyter_server_terminals | extension was successfully linked.
[W 2025-02-06 22:45:43.533 LabApp] 'iopub_data_rate_limit' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.

22:45:43.537 [debug] [W 2025-02-06 22:45:43.537 ServerApp] ServerApp.iopub_data_rate_limit config is deprecated in 2.0. Use ZMQChannelsWebsocketConnection.iopub_data_rate_limit.
    [I 2025-02-06 22:45:43.537 ServerApp] jupyterlab | extension was successfully linked.
22:45:43.537 [trace] [W 2025-02-06 22:45:43.537 ServerApp] ServerApp.iopub_data_rate_limit config is deprecated in 2.0. Use ZMQChannelsWebsocketConnection.iopub_data_rate_limit.
[I 2025-02-06 22:45:43.537 ServerApp] jupyterlab | extension was successfully linked.

22:45:43.558 [debug] [I 2025-02-06 22:45:43.557 ServerApp] notebook | extension was successfully linked.
22:45:43.558 [trace] [I 2025-02-06 22:45:43.557 ServerApp] notebook | extension was successfully linked.

22:45:44.618 [debug] [I 2025-02-06 22:45:44.618 ServerApp] notebook_shim | extension was successfully linked.
22:45:44.618 [trace] [I 2025-02-06 22:45:44.618 ServerApp] notebook_shim | extension was successfully linked.

22:45:44.741 [debug] [I 2025-02-06 22:45:44.724 ServerApp] notebook_shim | extension was successfully loaded.
    [I 2025-02-06 22:45:44.727 ServerApp] jupyter_lsp | extension was successfully loaded.
    [I 2025-02-06 22:45:44.728 ServerApp] jupyter_server_terminals | extension was successfully loaded.
22:45:44.741 [trace] [I 2025-02-06 22:45:44.724 ServerApp] notebook_shim | extension was successfully loaded.
[I 2025-02-06 22:45:44.727 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2025-02-06 22:45:44.728 ServerApp] jupyter_server_terminals | extension was successfully loaded.

22:45:44.753 [debug] [I 2025-02-06 22:45:44.752 LabApp] JupyterLab extension loaded from /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/lib/python3.11/site-packages/jupyterlab
    [I 2025-02-06 22:45:44.752 LabApp] JupyterLab application directory is /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/share/jupyter/lab
22:45:44.753 [trace] [I 2025-02-06 22:45:44.752 LabApp] JupyterLab extension loaded from /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/lib/python3.11/site-packages/jupyterlab
[I 2025-02-06 22:45:44.752 LabApp] JupyterLab application directory is /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/share/jupyter/lab

22:45:44.754 [debug] [I 2025-02-06 22:45:44.754 LabApp] Extension Manager is 'pypi'.
22:45:44.754 [trace] [I 2025-02-06 22:45:44.754 LabApp] Extension Manager is 'pypi'.

22:45:44.757 [debug] [I 2025-02-06 22:45:44.757 ServerApp] jupyterlab | extension was successfully loaded.
22:45:44.757 [trace] [I 2025-02-06 22:45:44.757 ServerApp] jupyterlab | extension was successfully loaded.

22:45:44.767 [debug] [I 2025-02-06 22:45:44.767 ServerApp] notebook | extension was successfully loaded.
22:45:44.767 [trace] [I 2025-02-06 22:45:44.767 ServerApp] notebook | extension was successfully loaded.

22:45:44.768 [debug] [I 2025-02-06 22:45:44.768 ServerApp] Serving notebooks from local directory: /cluster/home/~
22:45:44.768 [trace] [I 2025-02-06 22:45:44.768 ServerApp] Serving notebooks from local directory: /cluster/home/~

22:45:44.768 [debug] [I 2025-02-06 22:45:44.768 ServerApp] Jupyter Server 2.12.5 is running at:
    [I 2025-02-06 22:45:44.768 ServerApp] http://localhost:8888/tree?token=026aa00cf2d02a6487b30b79beda48a881c648a73621946f
    [I 2025-02-06 22:45:44.768 ServerApp]     http://127.0.0.1:8888/tree?token=026aa00cf2d02a6487b30b79beda48a881c648a73621946f
    [I 2025-02-06 22:45:44.768 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
22:45:44.768 [trace] [I 2025-02-06 22:45:44.768 ServerApp] Jupyter Server 2.12.5 is running at:
[I 2025-02-06 22:45:44.768 ServerApp] http://localhost:8888/tree?token=026aa00cf2d02a6487b30b79beda48a881c648a73621946f
[I 2025-02-06 22:45:44.768 ServerApp]     http://127.0.0.1:8888/tree?token=026aa00cf2d02a6487b30b79beda48a881c648a73621946f
[I 2025-02-06 22:45:44.768 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

22:45:44.787 [info] Process Execution: /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python /cluster/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.11.0-linux-x64/pythonFiles/vscode_datascience_helpers/getServerInfo.py
22:45:44.795 [debug] [C 2025-02-06 22:45:44.794 ServerApp]
    To access the server, open this file in a browser:
    file:///cluster/home/~/.local/share/jupyter/runtime/jpserver-48780-open.html
    Or copy and paste one of these URLs:
    http://localhost:8888/tree?token=026aa00cf2d02a6487b30b79beda48a881c648a73621946f
    http://127.0.0.1:8888/tree?token=026aa00cf2d02a6487b30b79beda48a881c648a73621946f
22:45:44.795 [trace] [C 2025-02-06 22:45:44.794 ServerApp] 
    
    To access the server, open this file in a browser:
        file:///cluster/home/~/.local/share/jupyter/runtime/jpserver-48780-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/tree?token=026aa00cf2d02a6487b30b79beda48a881c648a73621946f
        http://127.0.0.1:8888/tree?token=026aa00cf2d02a6487b30b79beda48a881c648a73621946f

22:45:44.814 [info] Process Execution: /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python /cluster/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.11.0-linux-x64/pythonFiles/vscode_datascience_helpers/getServerInfo.py
22:45:44.853 [debug] [I 2025-02-06 22:45:44.853 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
22:45:44.853 [trace] [I 2025-02-06 22:45:44.853 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server

22:45:44.872 [info] Process Execution: /cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python /cluster/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.11.0-linux-x64/pythonFiles/vscode_datascience_helpers/getServerInfo.py
22:45:45.020 [debug] Controller startUsingPythonInterpreter:'.jvsc74a57bd0b83ee439a2684417ed34826a0a27762c20d85a86ee4e8f0c25ef4ac939ee13a7./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python.-m#ipykernel_launcher' for view = 'jupyter-notebook' is no longer a valid
22:45:45.020 [debug] Controller startUsingPythonInterpreter:'.jvsc74a57bd0b83ee439a2684417ed34826a0a27762c20d85a86ee4e8f0c25ef4ac939ee13a7./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python.-m#ipykernel_launcher (Interactive)' for view = 'interactive' is no longer a valid
22:45:45.020 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd0b83ee439a2684417ed34826a0a27762c20d85a86ee4e8f0c25ef4ac939ee13a7./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python.-m#ipykernel_launcher' for view = 'jupyter-notebook'
22:45:45.020 [debug] Disposing controller .jvsc74a57bd0b83ee439a2684417ed34826a0a27762c20d85a86ee4e8f0c25ef4ac939ee13a7./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python.-m#ipykernel_launcher associated with connection .jvsc74a57bd0b83ee439a2684417ed34826a0a27762c20d85a86ee4e8f0c25ef4ac939ee13a7./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python.-m#ipykernel_launcher 
22:45:45.022 [trace] Deleting controller '.jvsc74a57bd0b83ee439a2684417ed34826a0a27762c20d85a86ee4e8f0c25ef4ac939ee13a7./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python.-m#ipykernel_launcher' associated with view jupyter-notebook from registration as it was disposed
22:45:45.022 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd0b83ee439a2684417ed34826a0a27762c20d85a86ee4e8f0c25ef4ac939ee13a7./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python.-m#ipykernel_launcher (Interactive)' for view = 'interactive'
22:45:45.022 [debug] Disposing controller .jvsc74a57bd0b83ee439a2684417ed34826a0a27762c20d85a86ee4e8f0c25ef4ac939ee13a7./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python.-m#ipykernel_launcher (Interactive) associated with connection .jvsc74a57bd0b83ee439a2684417ed34826a0a27762c20d85a86ee4e8f0c25ef4ac939ee13a7./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python.-m#ipykernel_launcher 
22:45:45.024 [trace] Deleting controller '.jvsc74a57bd0b83ee439a2684417ed34826a0a27762c20d85a86ee4e8f0c25ef4ac939ee13a7./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python./cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/python.-m#ipykernel_launcher (Interactive)' associated with view interactive from registration as it was disposed
22:45:45.024 [trace] Python API env change detected, remove => '/cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/bin/python'
22:45:45.042 [trace] Python API env change detected, update => '/bin/python'
22:45:45.044 [trace] Python API env change detected, update => '/bin/python3'
22:45:45.046 [trace] Python API env change detected, update => '/usr/bin/python'
22:45:45.048 [trace] Python API env change detected, update => '/usr/bin/python3'
22:45:45.049 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/bin/python'
22:45:45.052 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/GAGAvatar/bin/python'
22:45:45.054 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/OpenSTL/bin/python'
22:45:45.055 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/R-4.3.1/bin/python'
22:45:45.057 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/clone_anon/bin/python'
22:45:45.059 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/datalabel/bin/python'
22:45:45.060 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/diff_const_learn/bin/python'
22:45:45.062 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/ezlstm/bin/python'
22:45:45.064 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/flask_quiz_env/bin/python'
22:45:45.065 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/k3_diff_const_learn/bin/python'
22:45:45.067 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/kylebreaksit/bin/python'
22:45:45.069 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python'
22:45:45.070 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/marksR/bin/python'
22:45:45.072 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/mnar-cru/bin/python'
22:45:45.073 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/nlp4ori/bin/python'
22:45:45.074 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/pip_k2_tf/bin/python'
22:45:45.076 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/pip_k3/bin/python'
22:45:45.077 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/pixtral/bin/python'
22:45:45.078 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/prob_diff_topk/bin/python'
22:45:45.079 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/spr_2024s_env/bin/python'
22:45:45.081 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/mambaforge/envs/zoommil/bin/python'
22:45:45.082 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/bin/python'
22:45:45.084 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/bape/bin/python'
22:45:45.085 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/bauer_r/bin/python'
22:45:45.086 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/brits/bin/python'
22:45:45.087 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/chromium/bin/python'
22:45:45.089 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/comp135_2020f_env/bin/python'
22:45:45.090 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/dota/bin/python'
22:45:45.113 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/eicu_extract/bin/python'
22:45:45.114 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/fresh_opioid/bin/python'
22:45:45.116 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/geopanas/bin/python'
22:45:45.117 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/grud_baselines/bin/python'
22:45:45.118 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/grud_baselines_tf23/bin/python'
22:45:45.120 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/hashtopolis/bin/python'
22:45:45.121 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/hirid/bin/python'
22:45:45.122 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/mimic_data_extraction/bin/python'
22:45:45.124 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/modern_zigp/bin/python'
22:45:45.125 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/mwoj/bin/python'
22:45:45.127 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/opioid/bin/python'
22:45:45.141 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/opioid_gp/bin/python'
22:45:45.143 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/ptopk/bin/python'
22:45:45.144 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/ptopk_tf/bin/python'
22:45:45.145 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/ptopk_tf_again/bin/python'
22:45:45.147 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/pypots/bin/python'
22:45:45.148 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/pytorch_a100_clone_Aug16/bin/python'
22:45:45.150 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/second_opioid/bin/python'
22:45:45.151 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/tf-gpu/bin/python'
22:45:45.153 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/tf_covid_env/bin/python'
22:45:45.154 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/third_opioid/bin/python'
22:45:45.156 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/vat/bin/python'
22:45:45.171 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/~/miniconda3/envs/zigp_36/bin/python'
22:45:45.172 [trace] Python API env change detected, update => '/cluster/tufts/hugheslab/shared/envs/mwpg/bin/python'
22:45:45.186 [debug] Refreshed Environments
22:45:45.796 [trace] Connection complete server
22:45:45.797 [debug] Check if a kernel .jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python.-m#ipykernel_launcher is usable
22:45:45.797 [info] Check & install missing Kernel dependencies for /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python, ui.disabled=true for resource '~/code/play-with-learning-army/scratch.ipynb'
22:45:45.801 [debug] Get Custom Env Variables, Class name = Pm, completed in 2ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army", Arg 2: "RunPythonCode"
22:45:45.802 [debug] Got env vars from Python Ext in 3ms for /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python, with env var count 105.
22:45:45.802 [trace] Prepend PATH with python bin for /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python
22:45:45.802 [debug] Getting activated env variables, Class name = Sd, completed in 3ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army", Arg 2: "/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python", Arg 3: undefined
22:45:45.817 [info] Process Execution: /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python -c "import ipykernel;print('6af208d0-cb9c-427f-b937-ff563e17efdf')"
22:45:46.026 [debug] Interpreter removed /cluster/tufts/hugheslab/~/miniconda3/envs/hashpy2/bin/python
22:45:46.130 [debug] Checking if product is installed, Class name = Hx, completed in 333ms, has a truthy return value, Arg 1: 19, Arg 2: undefined, Return Value: true
22:45:46.130 [debug] Are Dependencies Installed, Class name = ep, completed in 333ms, has a truthy return value, Arg 1: ".jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python.-m#ipykernel_launcher", Arg 2: {"a":false,"b":{"z":1,"w":{"i":-1,"end":0},"u":[{"id":5860}]}}, Arg 3: true, Return Value: true
22:45:46.131 [debug] Install Missing Dependencies, Class name = ep, completed in 334ms, has a falsy return value, Arg 1: {"resource":{"$mid":1,"fsPath":"/cluster/home/~/code/play-with-learning-army/scratch.ipynb","external":"file:///cluster/home/~/code/play-with-learning-army/scratch.ipynb","path":"/cluster/home/~/code/play-with-learning-army/scratch.ipynb","scheme":"file"},"kernelConnection":{"id":".jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python.-m#ipykernel_launcher","kernelSpec":{"specFile":"/cluster/home/~/.vscode-server/data/User/globalStorage/ms-toolsai.jupyter/version-2024.11.0/jupyter/kernels/python31111jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f/kernel.json","interpreterPath":"/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"python31111jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"python","display_name":"learningarmy","metadata":{"interpreter":{"path":"/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python"}},"env":{}},"interpreter":{"id":"/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python","path":"/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python"},"kind":"startUsingPythonInterpreter"},"ui":{"_event":{"z":4,"w":{"i":-1,"end":0},"u":[{"id":1989},{"id":2005},{"id":2019},{"id":2020}]},"_disableUI":true},"token":{"a":false,"b":{"z":1,"w":{"i":-1,"end":0},"u":[{"id":5860}]}},"ignoreCache":true,"cannotChangeKernels":false}, Return Value: 0
22:45:46.132 [debug] Updating Kernel Environment for .jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python.-m#ipykernel_launcher for interpreter /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python
22:45:46.135 [debug] Python KernelSpec argv[0] updated for .jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python.-m#ipykernel_launcher from '/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python' to '/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python'
22:45:46.139 [debug] Get Custom Env Variables, Class name = Pm, completed in 1ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army/scratch.ipynb", Arg 2: "RunPythonCode"
22:45:46.140 [debug] Got env vars from Python Ext in 2ms for /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python, with env var count 105.
22:45:46.140 [trace] Prepend PATH with python bin for /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python
22:45:46.140 [debug] Getting activated env variables, Class name = Sd, completed in 2ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army/scratch.ipynb", Arg 2: "/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python", Arg 3: undefined
22:45:46.146 [debug] Updated kernel spec for .jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python.-m#ipykernel_launcher with environment variables for ~/.vscode-server/data/User/globalStorage/ms-toolsai.jupyter/version-2024.11.0/jupyter/kernels/python31111jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f/kernel.json
22:45:46.151 [trace] createNewKernelSession .jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python.-m#ipykernel_launcher
22:45:46.185 [debug] End refreshing Kernel Picker (1738899931498)
22:45:46.279 [debug] 0.00s - Debugger warning: It seems that frozen modules are being used, which may
    0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
    0.00s - to python to disable frozen modules.
    0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
22:45:46.522 [debug] [I 2025-02-06 22:45:46.520 ServerApp] Kernel started: 1d81ad7b-38e2-4d67-a900-f91054970579
22:45:46.537 [info] http://localhost:8888: Kernel started: 1d81ad7b-38e2-4d67-a900-f91054970579
22:45:46.537 [trace] Waiting for idle on (kernel): 1d81ad7b-38e2-4d67-a900-f91054970579 -> unknown
22:45:47.435 [debug] [I 2025-02-06 22:45:47.430 ServerApp] Connecting to kernel 1d81ad7b-38e2-4d67-a900-f91054970579.
22:45:47.438 [trace] Got status busy in waitForIdleOnSession
22:45:47.476 [trace] Got status idle in waitForIdleOnSession
22:45:47.476 [trace] Finished waiting for idle on (kernel): 1d81ad7b-38e2-4d67-a900-f91054970579 -> idle
22:45:47.476 [info] Started session for kernel startUsingPythonInterpreter:.jvsc74a57bd042e390694aaa7e21f38b9d65f0ff5aa08dee723697eeffcd6e8924d19bdb915f./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python./cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/python.-m#ipykernel_launcher
22:45:47.478 [trace] Executing silently Code (idle) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
22:45:47.523 [trace] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
22:45:47.523 [trace] Started running kernel initialization for ~/code/play-with-learning-army/scratch.ipynb
22:45:47.524 [trace] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
22:45:47.589 [trace] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 1 output(s)
22:45:47.589 [trace] Determined IPyWidgets Version as 8
22:45:47.589 [trace] Version of IPyWidgets 8 determined after 15.785s
22:45:47.589 [trace] Executing silently Code (idle) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None):
22:45:47.639 [trace] Executing silently Code (completed) = def __VSCODE_inject_module():\ndef __VSCODE_call_function(function, callback, data=None): with 0 output(s)
22:45:47.639 [debug] Requesting Kernel info
22:45:47.639 [trace] Got Kernel info
22:45:47.639 [trace] End running kernel initialization, now waiting for idle
22:45:47.639 [trace] Waiting for idle on (kernel): 1d81ad7b-38e2-4d67-a900-f91054970579 -> idle
22:45:47.640 [trace] Finished waiting for idle on (kernel): 1d81ad7b-38e2-4d67-a900-f91054970579 -> idle
22:45:47.640 [trace] End running kernel initialization, session is idle
22:45:47.642 [trace] Registering Kernel Completion Provider from kernel learningarmy (Python 3.11.11) for language python
22:45:47.643 [trace] IPyWidgetScriptSource.initialize
22:45:47.644 [info] Kernel successfully started
22:45:47.645 [debug] getDataDirsImpl, Class name = Kr (started execution), Arg 1: "~/code/play-with-learning-army/scratch.ipynb", Arg 2: "/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python"
22:45:47.647 [debug] Get Custom Env Variables, Class name = Pm, completed in 1ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
22:45:47.647 [debug] Jupyter Paths : 
22:45:47.660 [info] Process Execution: /cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python /cluster/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.11.0-linux-x64/pythonFiles/printJupyterDataDir.py
22:45:47.684 [debug] getDataDirsImpl, Class name = Kr, completed in 39ms, has a truthy return value, Arg 1: "~/code/play-with-learning-army/scratch.ipynb", Arg 2: "/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/bin/python", Return Value: <Uri:/cluster/home/~/.local/share/jupyter>, <Uri:/cluster/tufts/hugheslab/~/mambaforge/envs/learningarmy/share/jupyter>, <Uri:/usr/local/share/jupyter>, <Uri:/usr/share/jupyter>
22:45:48.165 [trace] Web view is ready to receive widget messages
22:45:48.209 [trace] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
22:45:48.209 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
22:45:48.216 [trace] Widget Message: data-base-url set to https://vscode-remote%2Btunnel-002bpax.vscode-resource.vscode-cdn.net/cluster/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.11.0-linux-x64/temp/scripts/5e9141b35c9a479b0bf7cf15f4a8c76fa4c4402425285aec78abd9582e6a1816/jupyter
22:45:48.216 [trace] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
22:45:48.216 [trace] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
22:45:48.216 [trace] Widget Message: data-base-url set to https://vscode-remote%2Btunnel-002bpax.vscode-resource.vscode-cdn.net/cluster/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.11.0-linux-x64/temp/scripts/5e9141b35c9a479b0bf7cf15f4a8c76fa4c4402425285aec78abd9582e6a1816/jupyter
22:46:18.593 [debug] Handle Execution of Cells 0 for ~/code/play-with-learning-army/scratch.ipynb
22:46:18.595 [trace] Execute Notebook ~/code/play-with-learning-army/scratch.ipynb. Step 1
22:46:18.595 [trace] Connect to Kernel ~/code/play-with-learning-army/scratch.ipynb. Step 2
22:46:18.595 [trace] Connected to Kernel ~/code/play-with-learning-army/scratch.ipynb. Step 3
22:46:18.595 [trace] executeCell 0. Step 4
22:46:18.597 [trace] Cell Index:0 sent to kernel
22:46:18.604 [trace] Start cell 0 execution @ 1738899978604 (clear output)
22:46:18.604 [debug] Kernel acknowledged execution of cell 0 @ 1738899978604
22:46:19.044 [warn] Cell completed with errors iu [Error]: No module named 'data_loader'
    at n.execute (/cluster/home/~/.vscode-server/extensions/ms-toolsai.jupyter-2024.11.0-linux-x64/dist/extension.node.js:297:4958)
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  ename: 'ModuleNotFoundError',
  evalue: "No module named 'data_loader'",
  traceback: [
    '\x1B[0;31m---------------------------------------------------------------------------\x1B[0m',
    '\x1B[0;31mModuleNotFoundError\x1B[0m                       Traceback (most recent call last)',
    'Cell \x1B[0;32mIn[1], line 12\x1B[0m\n' +
      "\x1B[1;32m      2\x1B[0m get_ipython()\x1B[38;5;241m.\x1B[39mrun_line_magic(\x1B[38;5;124m'\x1B[39m\x1B[38;5;124mautoreload\x1B[39m\x1B[38;5;124m'\x1B[39m, \x1B[38;5;124m'\x1B[39m\x1B[38;5;124m2\x1B[39m\x1B[38;5;124m'\x1B[39m)\n" +
      '\x1B[1;32m      4\x1B[0m \x1B[38;5;66;03m# add src to path\x1B[39;00m\n' +
      '\x1B[1;32m      5\x1B[0m \x1B[38;5;66;03m#import sys\x1B[39;00m\n' +
      "\x1B[1;32m      6\x1B[0m \x1B[38;5;66;03m#sys.path.append('/cluster/home/~/code/play-with-learning-army/src')\x1B[39;00m\n" +
      '\x1B[0;32m   (...)\x1B[0m\n' +
      '\x1B[1;32m      9\x1B[0m \x1B[38;5;66;03m#import os\x1B[39;00m\n' +
      "\x1B[1;32m     10\x1B[0m \x1B[38;5;66;03m#os.chdir('/cluster/home/~/code/play-with-learning-army')\x1B[39;00m\n" +
      '\x1B[0;32m---> 12\x1B[0m \x1B[38;5;28;01mfrom\x1B[39;00m\x1B[38;5;250m \x1B[39m\x1B[38;5;21;01mdata_loader\x1B[39;00m\x1B[38;5;250m \x1B[39m\x1B[38;5;28;01mimport\x1B[39;00m load_dataset, to_device\n' +
      '\x1B[1;32m     13\x1B[0m \x1B[38;5;28;01mfrom\x1B[39;00m\x1B[38;5;250m \x1B[39m\x1B[38;5;21;01membedder_registry\x1B[39;00m\x1B[38;5;250m \x1B[39m\x1B[38;5;28;01mimport\x1B[39;00m initialize_embedding, initialize_criteria_embedding, initialize_combiner\n' +
      '\x1B[1;32m     14\x1B[0m \x1B[38;5;28;01mfrom\x1B[39;00m\x1B[38;5;250m \x1B[39m\x1B[38;5;21;01mdomain_models\x1B[39;00m\x1B[38;5;250m \x1B[39m\x1B[38;5;28;01mimport\x1B[39;00m initialize_domain_models\n',
    "\x1B[0;31mModuleNotFoundError\x1B[0m: No module named 'data_loader'"
  ]
}
22:46:19.046 [trace] Cell 0 completed in 0.44s (start: 1738899978604, end: 1738899979044)
22:46:19.046 [trace] Cell 0 executed with an error

@kheuton
Copy link
Author

kheuton commented Feb 7, 2025

And here's the logs after updating to 2025.1.0

logs.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel)
Projects
None yet
Development

No branches or pull requests

2 participants