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

ipykernel 6.0.1 breaks interactive debugger #6534

Closed
HDavidEspinosa opened this issue Jul 5, 2021 · 13 comments
Closed

ipykernel 6.0.1 breaks interactive debugger #6534

HDavidEspinosa opened this issue Jul 5, 2021 · 13 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s)

Comments

@HDavidEspinosa
Copy link

Issue Type: Bug

I am working with anaconda as my Python distro and in my environment I updated ipykernel to the 6.0.1 version today.

As soon as I did this the interactive debbugger started popping out the following error:
Could not load source 'c:\Users\david\AppData\Local\Temp\ipykernel_17508\2969028694.py': Unable to retrieve source for C:\Users\david\AppData\Local\Temp\ipykernel_17508\2969028694.py.

Downgraded ipykernel to 5.5.5 all went back to normal.

Something in this upgrade is breaking the debugger when running through the interactive interpreter.

Extension version: 2021.6.999662501
VS Code version: Code 1.57.1 (507ce72a4466fbb27b715c3722558bb15afa9f48, 2021-06-17T13:28:07.755Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.82GB (7.02GB free)
Process Argv . --crash-reporter-id b5fdfc3b-a477-44a1-8dbc-9ec2aadb185b
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt700cf:30270857
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30311713
vspre833:30321513
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158:30321503
pythonvsuse255:30323308
vscorehov:30309549
vscod805cf:30301675
pythonvspyt200cf:30331938
vscextlangct:30333562
binariesv615:30325510
aatestflight:30331711
bridge0702cf:30333156

@IanMatthewHuff
Copy link
Member

Looking into this. I'm currently seeing slightly different behavior. Looks to me like it's matching against a temp file and not against the actual .py file that I started the debug with.
image
@HDavidEspinosa just to check you are talking about the "Debug Cell" feature of the Interactive Window like I have pictured here?

Also could you pull the output from the "Jupyter" section of the output window? If you save that in a file and attach it here I can look it over.

@IanMatthewHuff IanMatthewHuff added bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster labels Jul 6, 2021
@HDavidEspinosa
Copy link
Author

@IanMatthewHuff yes, exactly. It happens with the debug cell feature. As far as I can tell cell runs normally when not using this feature.

@IanMatthewHuff
Copy link
Member

@HDavidEspinosa Thanks, just making sure that we had the same scenario. Could you grab those logs from the Jupyter output section? I think that would need to see those next, since the repro that I currently see is different.

@joyceerhl
Copy link
Contributor

FYI @IanMatthewHuff I can reproduce the behavior described and @rebornix can reproduce the behavior that you're seeing 🙃 we just ran into this issue as well.

Dumping the Jupyter output log in case it's helpful to whoever picks this bug up


User belongs to experiment group 'pythonJediLSP'
User belongs to experiment group 'jupyterTest'
User belongs to experiment group 'pythonDiscoveryModuleWithoutWatcher'
User belongs to experiment group 'pythonSurveyNotificationcf'
User belongs to experiment group 'jupyterEnhancedDataViewer'
User belongs to experiment group 'pythonDeprecatePythonPathcf'
User belongs to experiment group 'NativeNotebookEditor'
Info 2021-07-06 15:03:02: ZMQ install verified.
Info 2021-07-06 15:03:02: Attempting to start a server because of preload conditions ...
Info 2021-07-06 17:21:55: Loading webview. View is notset
Info 2021-07-06 17:21:55: Loading web view...
Info 2021-07-06 17:21:55: Webview panel created.
Info 2021-07-06 17:21:55: Waiting for jupyter server and web panel ...
Info 2021-07-06 17:21:55: Creating raw notebook for history://0a87edaf-2a3c-49a9-acfc-6aaf8a5df5ef
Info 2021-07-06 17:21:55: Getting preferred kernel for history://0a87edaf-2a3c-49a9-acfc-6aaf8a5df5ef
Info 2021-07-06 17:21:55: initialize CommonMessageCoordinator
Info 2021-07-06 17:21:56: Search all interpreters C:\Users\huer\AppData\Local\Programs\Python\Python38\python.exe, C:\Users\huer\Anaconda3\python.exe, C:\Users\huer\Anaconda3\envs\myenv\python.exe
Info 2021-07-06 17:21:56: Loading kernelspec from C:\Users\huer\AppData\Local\Programs\Python\Python38\share\jupyter\kernels\python3\kernel.json for C:\Users\huer\AppData\Local\Programs\Python\Python38\python.exe
Info 2021-07-06 17:21:56: Loading kernelspec from C:\Users\huer\Anaconda3\share\jupyter\kernels\python3\kernel.json for C:\Users\huer\Anaconda3\python.exe
Info 2021-07-06 17:21:56: Loading kernelspec from C:\Users\huer\Anaconda3\envs\myenv\share\jupyter\kernels\python3\kernel.json for C:\Users\huer\Anaconda3\envs\myenv\python.exe
Info 2021-07-06 17:21:56: Kernel python388jvsc74a57bd060037044f5f92c2dafe0b9a6c7494b212abd44c28e1761e0c3087384f4a15460 matches Python 3.8.8 64-bit based on interpreter path.
Info 2021-07-06 17:21:56: Kernel python388jvsc74a57bd0c48546b7b539750e2c5ee0d0cacf841c5fb9a5b1818d7745fb7d32bef2959b6e matches Python 3.8.8 64-bit ('base': conda) based on path in argv.
Info 2021-07-06 17:21:56: Kernel python395jvsc74a57bd0fa36b0471f23d7887e54391453ff4a93b8ceb68f2b2d581d13ee507fafabfc0b matches Python 3.9.5 64-bit ('myenv': conda) based on path in argv.
Info 2021-07-06 17:21:56: findKernel found Python 3.8.8 64-bit
Info 2021-07-06 17:21:56: Find kernel spec, Class name = T, completed in 841ms, has a truthy return value, Arg 1: <Uri:c:\Users\huer\Desktop\Demos\InteractiveWindow\demo.py>, Arg 2: undefined, Arg 3: undefined, Return Value: {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\share\\jupyter\\kernels\\python3\\kernel.json","interpreterPath":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe","name":"python388jvsc74a57bd060037044f5f92c2dafe0b9a6c7494b212abd44c28e1761e0c3087384f4a15460","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"python","display_name":"Python 3.8.8 64-bit","metadata":{"debugger":true}},"interpreter":{"sysPrefix":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38","envType":"Unknown","envName":"","envPath":"","path":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe","architecture":3,"sysVersion":"3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)]","version":{"raw":"3.8.8","major":3,"minor":8,"patch":8,"build":[],"prerelease":["final","0"]},"companyDisplayName":"PythonCore","displayName":"Python 3.8.8 64-bit"},"id":".jvsc74a57bd060037044f5f92c2dafe0b9a6c7494b212abd44c28e1761e0c3087384f4a15460.C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe.C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe"}
Info 2021-07-06 17:21:56: Computing working directory history://0a87edaf-2a3c-49a9-acfc-6aaf8a5df5ef
Info 2021-07-06 17:21:56: Connecting to raw session for history://0a87edaf-2a3c-49a9-acfc-6aaf8a5df5ef with connection {"kind":"startUsingPythonInterpreter","kernelSpec":{"specFile":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\share\\jupyter\\kernels\\python3\\kernel.json","interpreterPath":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe","name":"python388jvsc74a57bd060037044f5f92c2dafe0b9a6c7494b212abd44c28e1761e0c3087384f4a15460","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","path":"python","display_name":"Python 3.8.8 64-bit","metadata":{"debugger":true}},"interpreter":{"sysPrefix":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38","envType":"Unknown","envName":"","envPath":"","path":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe","architecture":3,"sysVersion":"3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)]","version":{"raw":"3.8.8","major":3,"minor":8,"patch":8,"build":[],"prerelease":["final","0"]},"companyDisplayName":"PythonCore","displayName":"Python 3.8.8 64-bit"},"id":".jvsc74a57bd060037044f5f92c2dafe0b9a6c7494b212abd44c28e1761e0c3087384f4a15460.C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe.C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe"}
Info 2021-07-06 17:21:56: Starting raw kernel Python 3.8.8 64-bit
Info 2021-07-06 17:21:56: installMissingDependencies C:\Users\huer\AppData\Local\Programs\Python\Python38\python.exe
Info 2021-07-06 17:21:56: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-07-06 17:21:56: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-07-06 17:21:56: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-07-06 17:21:56: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
> ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
Info 2021-07-06 17:21:56: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
> ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
Info 2021-07-06 17:21:56: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
> ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
Info 2021-07-06 17:21:56: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
> ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
Info 2021-07-06 17:21:56: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -m pip list
> ~\AppData\Local\Programs\Python\Python38\python.exe -m pip list
Info 2021-07-06 17:21:56: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -m pip list
> ~\AppData\Local\Programs\Python\Python38\python.exe -m pip list
Info 2021-07-06 17:21:58: Install Missing Dependencies, Class name = w, completed in 1996ms, has a falsy return value, Return Value: undefined
Info 2021-07-06 17:21:58: Kernel launching with ports 9000,9001,9002,9003,9004. Start port is 9000
Info 2021-07-06 17:21:58: Launching kernel daemon for Python 3.8.8 64-bit # C:\Users\huer\AppData\Local\Programs\Python\Python38\python.exe
Info 2021-07-06 17:21:58: Web view react rendered
Info 2021-07-06 17:21:58: Request for onigasm file at c:\Users\huer\.vscode\extensions\ms-toolsai.jupyter-2021.6.999662501\out\client\node_modules\onigasm\lib\onigasm.wasm
Info 2021-07-06 17:21:58: Request for tmlanguage file.
Info 2021-07-06 17:21:58: Searching for token colors ...
Info 2021-07-06 17:21:58: Attempting search for colors ...
Info 2021-07-06 17:21:58: Searching for token colors ...
Info 2021-07-06 17:21:58: Attempting search for colors ...
Info 2021-07-06 17:21:58: Searching for token colors ...
Info 2021-07-06 17:21:58: Attempting search for colors ...
Info 2021-07-06 17:21:58: Searching for token colors ...
Info 2021-07-06 17:21:58: Attempting search for colors ...
Info 2021-07-06 17:21:58: No custom variables for Kernel as interpreter is not conda, but is Unknown
Info 2021-07-06 17:21:59: Creating daemon process for C:\Users\huer\AppData\Local\Programs\Python\Python38\python.exe with env variables count 0
Info 2021-07-06 17:21:59: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> ~\AppData\Local\Programs\Python\Python38\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-07-06 17:21:59: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> ~\AppData\Local\Programs\Python\Python38\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-07-06 17:21:59: Creating daemon process for C:\Users\huer\AppData\Local\Programs\Python\Python38\python.exe with env variables count 0
Info 2021-07-06 17:21:59: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> ~\AppData\Local\Programs\Python\Python38\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-07-06 17:21:59: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> ~\AppData\Local\Programs\Python\Python38\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-07-06 17:22:00: Searching for token colors ...
Info 2021-07-06 17:22:00: Attempting search for colors ...
Info 2021-07-06 17:22:00: Loading colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Searching for token colors ...
Info 2021-07-06 17:22:00: Attempting search for colors ...
Info 2021-07-06 17:22:00: Loading colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Loading colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Loading colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Searching for token colors ...
Info 2021-07-06 17:22:00: Attempting search for colors ...
Info 2021-07-06 17:22:00: Loading colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Attempting search for colors ...
Info 2021-07-06 17:22:00: Attempting search for colors ...
Info 2021-07-06 17:22:00: Loading base colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Loading base colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Attempting search for colors ...
Info 2021-07-06 17:22:00: Searching for token colors ...
Info 2021-07-06 17:22:00: Attempting search for colors ...
Info 2021-07-06 17:22:00: Loading colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Loading colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Loading base colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Loading colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Attempting search for colors ...
Info 2021-07-06 17:22:00: Loading base colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Attempting search for colors ...
Info 2021-07-06 17:22:00: Loading base colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Using colors to generate CSS ...
Info 2021-07-06 17:22:00: Using colors to generate CSS ...
Info 2021-07-06 17:22:00: Attempting search for colors ...
Info 2021-07-06 17:22:00: Attempting search for colors ...
Info 2021-07-06 17:22:00: Using colors to generate CSS ...
Info 2021-07-06 17:22:00: Attempting search for colors ...
Info 2021-07-06 17:22:00: Loading base colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Loading base colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Loading base colors from c:\Users\huer\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\theme-defaults\themes\dark_plus.json ...
Info 2021-07-06 17:22:00: Using colors to generate CSS ...
Info 2021-07-06 17:22:00: Using colors to generate CSS ...
Info 2021-07-06 17:22:00: Using colors to generate CSS ...
Info 2021-07-06 17:22:00: Using colors to generate CSS ...
Info 2021-07-06 17:22:00: Using colors to generate CSS ...
Info 2021-07-06 17:22:00: Python Daemon (pid: 31332): Execute rpc method exec_module in DS Daemon
Info 2021-07-06 17:22:00: Python Daemon (pid: 31332): Execute rpc method exec_module from C:\Users\huer\AppData\Local\Programs\Python\Python38\python.exe
Info 2021-07-06 17:22:00: Python Daemon (pid: 31332): Exec module in DS Kernel Launcher Daemon ipykernel_launcher with args ['--ip=127.0.0.1', '--stdin=9003', '--control=9001', '--hb=9000', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"ed83ac44-5a75-4836-a000-d1aa8d776b6c"', '--shell=9002', '--transport="tcp"', '--iopub=9004', '--f=C:\\Users\\huer\\AppData\\Local\\Temp\\tmp-261164fnLzCkX6C9g.json']
Info 2021-07-06 17:22:00: Python Daemon (pid: 31332): Exec in DS Kernel Launcher Daemon (observable) ipykernel_launcher with args ['--ip=127.0.0.1', '--stdin=9003', '--control=9001', '--hb=9000', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"ed83ac44-5a75-4836-a000-d1aa8d776b6c"', '--shell=9002', '--transport="tcp"', '--iopub=9004', '--f=C:\\Users\\huer\\AppData\\Local\\Temp\\tmp-261164fnLzCkX6C9g.json']
Info 2021-07-06 17:22:00: Python Daemon (pid: 31332): Exec in DS Kernel Launcher Daemon (observable) ['C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe', '-m', 'ipykernel_launcher', '--ip=127.0.0.1', '--stdin=9003', '--control=9001', '--hb=9000', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"ed83ac44-5a75-4836-a000-d1aa8d776b6c"', '--shell=9002', '--transport="tcp"', '--iopub=9004', '--f=C:\\Users\\huer\\AppData\\Local\\Temp\\tmp-261164fnLzCkX6C9g.json']
Info 2021-07-06 17:22:00: Python Daemon (pid: 31332): Exec in DS Kernel Launcher Daemon (observable)
Info 2021-07-06 17:22:00: Python Daemon (pid: 31332): Kernel launched, with PID 16860
Info 2021-07-06 17:22:00: Python Daemon (pid: 21248): Execute rpc method prewarm_kernel in DS Daemon
Info 2021-07-06 17:22:00: Python Daemon (pid: 21248): Execute rpc method prewarm_kernel from C:\Users\huer\AppData\Local\Programs\Python\Python38\python.exe
Info 2021-07-06 17:22:00: Python Daemon (pid: 21248): Pre-Warm DS Kernel in DS Kernel Launcher Daemon
Warn 2021-07-06 17:22:00: Python Daemon (pid: 31332): Waiting for Kernel to die 16860
Info 2021-07-06 17:22:00: Python Daemon (pid: 21248): Exec in DS Kernel Launcher Daemon (observable) ['C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe', 'c:\\Users\\huer\\.vscode\\extensions\\ms-toolsai.jupyter-2021.6.999662501\\pythonFiles\\vscode_datascience_helpers\\kernel_prewarm_starter.py']
Info 2021-07-06 17:22:00: Launching kernel daemon, Class name = f, completed in 2085ms, has a truthy return value, Arg 1: <Uri:c:\Users\huer\Desktop\Demos\InteractiveWindow\demo.py>, Arg 2: "c:\\Users\\huer\\Desktop\\Demos\\InteractiveWindow", Arg 3: {"specFile":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\share\\jupyter\\kernels\\python3\\kernel.json","interpreterPath":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe","name":"python388jvsc74a57bd060037044f5f92c2dafe0b9a6c7494b212abd44c28e1761e0c3087384f4a15460","argv":["python","-m","ipykernel_launcher","--ip=127.0.0.1","--stdin=9003","--control=9001","--hb=9000","--Session.signature_scheme=\"hmac-sha256\"","--Session.key=b\"ed83ac44-5a75-4836-a000-d1aa8d776b6c\"","--shell=9002","--transport=\"tcp\"","--iopub=9004","--f=C:\\Users\\huer\\AppData\\Local\\Temp\\tmp-261164fnLzCkX6C9g.json"],"language":"python","path":"python","display_name":"Python 3.8.8 64-bit","metadata":{"debugger":true}}, Arg 4: {"sysPrefix":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38","envType":"Unknown","envName":"","envPath":"","path":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe","architecture":3,"sysVersion":"3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)]","version":{"raw":"3.8.8","major":3,"minor":8,"patch":8,"build":[],"prerelease":["final","0"]},"companyDisplayName":"PythonCore","displayName":"Python 3.8.8 64-bit"}, Return Value: <Return value cannot be serialized for logging>
Info 2021-07-06 17:22:00: Launching kernel in kernelProcess.ts, Class name = b, completed in 2087ms, has a truthy return value, Arg 1: "c:\\Users\\huer\\Desktop\\Demos\\InteractiveWindow", Return Value: {"proc":{"_events":{},"_eventsCount":2,"_closesNeeded":3,"_closesGot":0,"connected":false,"signalCode":null,"exitCode":null,"killed":false,"spawnfile":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe","_handle":{"pid":31332},"spawnargs":["C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe","-m","vscode_datascience_helpers.daemon","--daemon-module=vscode_datascience_helpers.kernel_launcher_daemon","-v"],"pid":31332,"stdin":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null,"readable":false},"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":false,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdout":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"_events":{"close":[null,null]},"_eventsCount":4,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stderr":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdio":[{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null,"readable":false},"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":false,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"_events":{"close":[null,null]},"_eventsCount":4,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null}]},"out":{"_isScalar":false,"observers":[],"closed":false,"isStopped":false,"hasError":false,"thrownError":null}}
Info 2021-07-06 17:22:00: Python Daemon (pid: 21248): Exec in DS Kernel Launcher Daemon (observable)
Info 2021-07-06 17:22:00: Python Daemon (pid: 21248): Kernel launched, with PID 1992
Warn 2021-07-06 17:22:00: Python Daemon (pid: 21248): Waiting for Kernel to die 1992
Info 2021-07-06 17:22:00: Python Daemon (pid: 21248): Kernel launched, with PID as a daemon 1992
Info 2021-07-06 17:22:02: KernelProcess output: Content-Length: 364
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: C:\\Users\\huer\\AppData\\Roaming\\Python\\Python38\\site-packages\\traitlets\\traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '\"hmac-sha256\"' \u2013 or use CUnicode.\r\n", "pid": 31332}}
Info 2021-07-06 17:22:02: Python Daemon (pid: 31332): write to stderr: C:\Users\huer\AppData\Roaming\Python\Python38\site-packages\traitlets\traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Info 2021-07-06 17:22:02: KernelProcess output: Content-Length: 339
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "C:\\Users\\huer\\AppData\\Roaming\\Python\\Python38\\site-packages\\traitlets\\traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '\"hmac-sha256\"' \u2013 or use CUnicode.\r\n"}}Content-Length: 117
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   warn(\r\n", "pid": 31332}}Content-Length: 92
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  warn(\r\n"}}Content-Length: 390
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: C:\\Users\\huer\\AppData\\Roaming\\Python\\Python38\\site-packages\\traitlets\\traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'ed83ac44-5a75-4836-a000-d1aa8d776b6c' instead of 'b\"ed83ac44-5a75-4836-a000-d1aa8d776b6c\"'.\r\n", "pid": 31332}}Content-Length: 365
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "C:\\Users\\huer\\AppData\\Roaming\\Python\\Python38\\site-packages\\traitlets\\traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'ed83ac44-5a75-4836-a000-d1aa8d776b6c' instead of 'b\"ed83ac44-5a75-4836-a000-d1aa8d776b6c\"'.\r\n"}}Content-Length: 117
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   warn(\r\n", "pid": 31332}}Content-Length: 92
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  warn(\r\n"}}
Warn 2021-07-06 17:22:02: Kernel 31332 as possibly died, StdErr from Kernel Process C:\Users\huer\AppData\Roaming\Python\Python38\site-packages\traitlets\traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Warn 2021-07-06 17:22:02: StdErr from Kernel Process C:\Users\huer\AppData\Roaming\Python\Python38\site-packages\traitlets\traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Info 2021-07-06 17:22:02: Python Daemon (pid: 31332): write to stderr:   warn(

Warn 2021-07-06 17:22:02: Kernel 31332 as possibly died, StdErr from Kernel Process   warn(

Warn 2021-07-06 17:22:02: StdErr from Kernel Process   warn(

Info 2021-07-06 17:22:02: Python Daemon (pid: 31332): write to stderr: C:\Users\huer\AppData\Roaming\Python\Python38\site-packages\traitlets\traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'ed83ac44-5a75-4836-a000-d1aa8d776b6c' instead of 'b"ed83ac44-5a75-4836-a000-d1aa8d776b6c"'.

Warn 2021-07-06 17:22:02: Kernel 31332 as possibly died, StdErr from Kernel Process C:\Users\huer\AppData\Roaming\Python\Python38\site-packages\traitlets\traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'ed83ac44-5a75-4836-a000-d1aa8d776b6c' instead of 'b"ed83ac44-5a75-4836-a000-d1aa8d776b6c"'.

Warn 2021-07-06 17:22:02: StdErr from Kernel Process C:\Users\huer\AppData\Roaming\Python\Python38\site-packages\traitlets\traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'ed83ac44-5a75-4836-a000-d1aa8d776b6c' instead of 'b"ed83ac44-5a75-4836-a000-d1aa8d776b6c"'.

Info 2021-07-06 17:22:02: Python Daemon (pid: 31332): write to stderr:   warn(

Warn 2021-07-06 17:22:02: Kernel 31332 as possibly died, StdErr from Kernel Process   warn(

Warn 2021-07-06 17:22:02: StdErr from Kernel Process   warn(

Info 2021-07-06 17:22:02: Raw session started and connected
Started kernel Python 3.8.8 64-bit
Info 2021-07-06 17:22:02: Initial setup for history://0a87edaf-2a3c-49a9-acfc-6aaf8a5df5ef starting ...
Info 2021-07-06 17:22:02: UpdateWorkingDirectoryAndPath
Info 2021-07-06 17:22:02: Kernel switching to busy
Info 2021-07-06 17:22:02: Kernel switching to idle
Info 2021-07-06 17:22:02: Starting raw kernel Python 3.8.8 64-bit
Info 2021-07-06 17:22:02: installMissingDependencies C:\Users\huer\AppData\Local\Programs\Python\Python38\python.exe
Info 2021-07-06 17:22:02: Kernel switching to busy
Info 2021-07-06 17:22:02: Kernel switching to idle
Info 2021-07-06 17:22:02: Initial setup complete for history://0a87edaf-2a3c-49a9-acfc-6aaf8a5df5ef
Info 2021-07-06 17:22:02: Finished connecting 3a1a751a-8a43-4cca-bccb-12313d3ee9f6
Info 2021-07-06 17:22:02: IPyWidgetScriptSource.initialize
Info 2021-07-06 17:22:02: Adding sys info for 651c4ae5-4266-496c-b50f-c1e1c6c5b69c 0
Info 2021-07-06 17:22:02: �[32mQueuing messages (no listenerts)
Info 2021-07-06 17:22:02: Registering commtarget jupyter.widget
Info 2021-07-06 17:22:02: IPyWidgetMessageDispatcher.initialize
Info 2021-07-06 17:22:02: Sys info for 651c4ae5-4266-496c-b50f-c1e1c6c5b69c 0 complete
Info 2021-07-06 17:22:02: Created and initailized CommonMessageCoordinator
Info 2021-07-06 17:22:02: Submitting code for 651c4ae5-4266-496c-b50f-c1e1c6c5b69c
Info 2021-07-06 17:22:02: Wait for sys info for 651c4ae5-4266-496c-b50f-c1e1c6c5b69c 0
Info 2021-07-06 17:22:02: UpdateWorkingDirectoryAndPath
Info 2021-07-06 17:22:03: changeDirectoryIfPossible
Info 2021-07-06 17:22:03: Kernel switching to busy
Info 2021-07-06 17:22:03: Kernel switching to idle
Info 2021-07-06 17:22:03: start debugging
Info 2021-07-06 17:22:03: enable debugger attach
Info 2021-07-06 17:22:03: Kernel switching to busy
Info 2021-07-06 17:22:03: IPyWidgetMessageDispatcher.initialize
Info 2021-07-06 17:22:03: IPyWidgetMessageDispatcher.initialize
Info 2021-07-06 17:22:03: Kernel switching to idle
Info 2021-07-06 17:22:03: Appending paths Output: {"text/plain":["['c:\\\\Users\\\\huer\\\\Desktop\\\\Demos\\\\InteractiveWindow',\n"," 'c:\\\\Users\\\\huer\\\\.vscode\\\\extensions\\\\ms-toolsai.jupyter-2021.6.999662501\\\\pythonFiles',\n"," 'c:\\\\Users\\\\huer\\\\.vscode\\\\extensions\\\\ms-toolsai.jupyter-2021.6.999662501\\\\pythonFiles\\\\lib\\\\python',\n"," 'C:\\\\Users\\\\huer\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Python38\\\\python38.zip',\n"," 'C:\\\\Users\\\\huer\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Python38\\\\DLLs',\n"," 'C:\\\\Users\\\\huer\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Python38\\\\lib',\n"," 'C:\\\\Users\\\\huer\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Python38',\n"," '',\n"," 'C:\\\\Users\\\\huer\\\\AppData\\\\Roaming\\\\Python\\\\Python38\\\\site-packages',\n"," 'C:\\\\Users\\\\huer\\\\AppData\\\\Roaming\\\\Python\\\\Python38\\\\site-packages\\\\win32',\n"," 'C:\\\\Users\\\\huer\\\\AppData\\\\Roaming\\\\Python\\\\Python38\\\\site-packages\\\\win32\\\\lib',\n"," 'C:\\\\Users\\\\huer\\\\AppData\\\\Roaming\\\\Python\\\\Python38\\\\site-packages\\\\Pythonwin',\n"," 'C:\\\\Users\\\\huer\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Python38\\\\lib\\\\site-packages',\n"," 'c:\\\\users\\\\huer\\\\desktop\\\\projects\\\\tensorboard\\\\tensorboard\\\\examples\\\\plugins\\\\example_raw_scalars',\n"," 'C:\\\\Users\\\\huer\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Python38\\\\lib\\\\site-packages\\\\win32',\n"," 'C:\\\\Users\\\\huer\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Python38\\\\lib\\\\site-packages\\\\win32\\\\lib',\n"," 'C:\\\\Users\\\\huer\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Python38\\\\lib\\\\site-packages\\\\Pythonwin',\n"," 'C:\\\\Users\\\\huer\\\\AppData\\\\Roaming\\\\Python\\\\Python38\\\\site-packages\\\\IPython\\\\extensions',\n"," 'C:\\\\Users\\\\huer\\\\.ipython',\n"," 'c:\\\\Users\\\\huer\\\\.vscode\\\\extensions\\\\ms-python.python-2021.7.992362372-dev\\\\pythonFiles\\\\lib\\\\python']"]}
Info 2021-07-06 17:22:03: Kernel switching to busy
Info 2021-07-06 17:22:03: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-07-06 17:22:04: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
> ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
Info 2021-07-06 17:22:04: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
> ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
Info 2021-07-06 17:22:05: Kernel switching to idle
Info 2021-07-06 17:22:05: connected to notebook during debugging
Info 2021-07-06 17:22:05: Install Missing Dependencies, Class name = w, completed in 2872ms, has a falsy return value, Return Value: undefined
Info 2021-07-06 17:22:05: Kernel launching with ports 9005,9006,9007,9018,9019. Start port is 9000
Info 2021-07-06 17:22:05: Launching kernel daemon for Python 3.8.8 64-bit # C:\Users\huer\AppData\Local\Programs\Python\Python38\python.exe
Info 2021-07-06 17:22:06: Kernel switching to busy
Info 2021-07-06 17:22:06: Kernel switching to idle
Info 2021-07-06 17:22:06: Kernel switching to busy
Info 2021-07-06 17:22:06: Kernel switching to idle
Info 2021-07-06 17:22:06: Kernel switching to busy
Info 2021-07-06 17:22:06: No custom variables for Kernel as interpreter is not conda, but is Unknown
Info 2021-07-06 17:22:06: Python Daemon (pid: 21248): Execute rpc method start_prewarmed_kernel in DS Daemon
Info 2021-07-06 17:22:06: Python Daemon (pid: 21248): Execute rpc method start_prewarmed_kernel from C:\Users\huer\AppData\Local\Programs\Python\Python38\python.exe
Info 2021-07-06 17:22:06: Python Daemon (pid: 21248): Start pre-warmed Kernel in DS Kernel Launcher Daemon 1992 with args ['ipykernel_launcher', '--ip=127.0.0.1', '--stdin=9018', '--control=9006', '--hb=9005', '--Session.signature_scheme="hmac-sha256"', '--Session.key=b"a74c27f1-f5a9-48d5-85c5-dbb3b5c9c302"', '--shell=9007', '--transport="tcp"', '--iopub=9019', '--f=C:\\Users\\huer\\AppData\\Local\\Temp\\tmp-26116yVR6hKxTJpd0.json']
Info 2021-07-06 17:22:06: Launching kernel daemon, Class name = f, completed in 181ms, has a truthy return value, Arg 1: <Uri:c:\Users\huer\Desktop\Demos\InteractiveWindow\demo.py>, Arg 2: "c:\\Users\\huer\\Desktop\\Demos\\InteractiveWindow", Arg 3: {"specFile":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\share\\jupyter\\kernels\\python3\\kernel.json","interpreterPath":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe","name":"python388jvsc74a57bd060037044f5f92c2dafe0b9a6c7494b212abd44c28e1761e0c3087384f4a15460","argv":["python","-m","ipykernel_launcher","--ip=127.0.0.1","--stdin=9018","--control=9006","--hb=9005","--Session.signature_scheme=\"hmac-sha256\"","--Session.key=b\"a74c27f1-f5a9-48d5-85c5-dbb3b5c9c302\"","--shell=9007","--transport=\"tcp\"","--iopub=9019","--f=C:\\Users\\huer\\AppData\\Local\\Temp\\tmp-26116yVR6hKxTJpd0.json"],"language":"python","path":"python","display_name":"Python 3.8.8 64-bit","metadata":{"debugger":true}}, Arg 4: {"sysPrefix":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38","envType":"Unknown","envName":"","envPath":"","path":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe","architecture":3,"sysVersion":"3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)]","version":{"raw":"3.8.8","major":3,"minor":8,"patch":8,"build":[],"prerelease":["final","0"]},"companyDisplayName":"PythonCore","displayName":"Python 3.8.8 64-bit"}, Return Value: <Return value cannot be serialized for logging>
Info 2021-07-06 17:22:06: Launching kernel in kernelProcess.ts, Class name = b, completed in 182ms, has a truthy return value, Arg 1: "c:\\Users\\huer\\Desktop\\Demos\\InteractiveWindow", Return Value: {"proc":{"_events":{},"_eventsCount":2,"_closesNeeded":3,"_closesGot":0,"connected":false,"signalCode":null,"exitCode":null,"killed":false,"spawnfile":"C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe","_handle":{"pid":21248},"spawnargs":["C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe","-m","vscode_datascience_helpers.daemon","--daemon-module=vscode_datascience_helpers.kernel_launcher_daemon","-v"],"pid":21248,"stdin":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null,"readable":false},"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":false,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdout":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"_events":{"close":[null,null]},"_eventsCount":4,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stderr":{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},"stdio":[{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":null,"ended":false,"endEmitted":false,"reading":false,"sync":true,"needReadable":false,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null,"readable":false},"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":false,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"_events":{"close":[null,null]},"_eventsCount":4,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null},{"connecting":false,"_hadError":false,"_parent":null,"_host":null,"_readableState":{"objectMode":false,"highWaterMark":16384,"buffer":{"head":null,"tail":null,"length":0},"length":0,"pipes":[],"flowing":true,"ended":false,"endEmitted":false,"reading":true,"sync":false,"needReadable":true,"emittedReadable":false,"readableListening":false,"resumeScheduled":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"destroyed":false,"errored":null,"closed":false,"closeEmitted":false,"defaultEncoding":"utf8","awaitDrainWriters":null,"multiAwaitDrain":false,"readingMore":false,"decoder":null,"encoding":null},"_events":{},"_eventsCount":3,"_writableState":{"objectMode":false,"highWaterMark":16384,"finalCalled":false,"needDrain":false,"ending":false,"ended":false,"finished":false,"destroyed":false,"decodeStrings":false,"defaultEncoding":"utf8","length":0,"writing":false,"corked":0,"sync":true,"bufferProcessing":false,"writecb":null,"writelen":0,"afterWriteTickInfo":null,"buffered":[],"bufferedIndex":0,"allBuffers":true,"allNoop":true,"pendingcb":0,"prefinished":false,"errorEmitted":false,"emitClose":false,"autoDestroy":false,"errored":null,"closed":false,"writable":false,"closeEmitted":false},"allowHalfOpen":false,"_sockname":null,"_pendingData":null,"_pendingEncoding":"","server":null,"_server":null}]},"out":{"_isScalar":false,"observers":[],"closed":false,"isStopped":false,"hasError":false,"thrownError":null}}
Info 2021-07-06 17:22:06: Kernel switching to idle
Info 2021-07-06 17:22:06: Adding hash for 1 = 00dea9123123 with 7 lines
Info 2021-07-06 17:22:06: KernelProcess output: Content-Length: 364
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: C:\\Users\\huer\\AppData\\Roaming\\Python\\Python38\\site-packages\\traitlets\\traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '\"hmac-sha256\"' \u2013 or use CUnicode.\r\n", "pid": 21248}}Content-Length: 339
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "C:\\Users\\huer\\AppData\\Roaming\\Python\\Python38\\site-packages\\traitlets\\traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '\"hmac-sha256\"' \u2013 or use CUnicode.\r\n"}}Content-Length: 117
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   warn(\r\n", "pid": 21248}}Content-Length: 92
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  warn(\r\n"}}Content-Length: 390
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr: C:\\Users\\huer\\AppData\\Roaming\\Python\\Python38\\site-packages\\traitlets\\traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'a74c27f1-f5a9-48d5-85c5-dbb3b5c9c302' instead of 'b\"a74c27f1-f5a9-48d5-85c5-dbb3b5c9c302\"'.\r\n", "pid": 21248}}Content-Length: 365
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "C:\\Users\\huer\\AppData\\Roaming\\Python\\Python38\\site-packages\\traitlets\\traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'a74c27f1-f5a9-48d5-85c5-dbb3b5c9c302' instead of 'b\"a74c27f1-f5a9-48d5-85c5-dbb3b5c9c302\"'.\r\n"}}Content-Length: 117
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "log", "params": {"level": "INFO", "msg": "write to stderr:   warn(\r\n", "pid": 21248}}Content-Length: 92
Content-Type: application/vscode-jsonrpc; charset=utf8

{"jsonrpc": "2.0", "method": "output", "params": {"source": "stderr", "out": "  warn(\r\n"}}
Info 2021-07-06 17:22:06: Python Daemon (pid: 21248): write to stderr: C:\Users\huer\AppData\Roaming\Python\Python38\site-packages\traitlets\traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Warn 2021-07-06 17:22:06: Kernel 21248 as possibly died, StdErr from Kernel Process C:\Users\huer\AppData\Roaming\Python\Python38\site-packages\traitlets\traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Warn 2021-07-06 17:22:06: StdErr from Kernel Process C:\Users\huer\AppData\Roaming\Python\Python38\site-packages\traitlets\traitlets.py:2196: FutureWarning: Supporting extra quotes around Unicode is deprecated in traitlets 5.0. Use 'hmac-sha256' instead of '"hmac-sha256"' – or use CUnicode.

Info 2021-07-06 17:22:06: Python Daemon (pid: 21248): write to stderr:   warn(

Warn 2021-07-06 17:22:06: Kernel 21248 as possibly died, StdErr from Kernel Process   warn(

Warn 2021-07-06 17:22:06: StdErr from Kernel Process   warn(

Info 2021-07-06 17:22:06: Python Daemon (pid: 21248): write to stderr: C:\Users\huer\AppData\Roaming\Python\Python38\site-packages\traitlets\traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'a74c27f1-f5a9-48d5-85c5-dbb3b5c9c302' instead of 'b"a74c27f1-f5a9-48d5-85c5-dbb3b5c9c302"'.

Warn 2021-07-06 17:22:06: Kernel 21248 as possibly died, StdErr from Kernel Process C:\Users\huer\AppData\Roaming\Python\Python38\site-packages\traitlets\traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'a74c27f1-f5a9-48d5-85c5-dbb3b5c9c302' instead of 'b"a74c27f1-f5a9-48d5-85c5-dbb3b5c9c302"'.

Warn 2021-07-06 17:22:06: StdErr from Kernel Process C:\Users\huer\AppData\Roaming\Python\Python38\site-packages\traitlets\traitlets.py:2151: FutureWarning: Supporting extra quotes around Bytes is deprecated in traitlets 5.0. Use 'a74c27f1-f5a9-48d5-85c5-dbb3b5c9c302' instead of 'b"a74c27f1-f5a9-48d5-85c5-dbb3b5c9c302"'.

Info 2021-07-06 17:22:06: Python Daemon (pid: 21248): write to stderr:   warn(

Warn 2021-07-06 17:22:06: Kernel 21248 as possibly died, StdErr from Kernel Process   warn(

Warn 2021-07-06 17:22:06: StdErr from Kernel Process   warn(

Info 2021-07-06 17:22:06: Cached data exists getEnvironmentVariables, <No Resource>
Info 2021-07-06 17:22:06: Kernel switching to busy
Info 2021-07-06 17:22:06: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
> ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
Info 2021-07-06 17:22:06: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
> ~\AppData\Local\Programs\Python\Python38\python.exe -c "import ipykernel"
Info 2021-07-06 17:22:08: Cached data exists getEnvironmentVariables, c:\Users\huer\Desktop\Demos\InteractiveWindow\demo.py
Info 2021-07-06 17:22:08: Creating daemon process for C:\Users\huer\AppData\Local\Programs\Python\Python38\python.exe with env variables count 0
Info 2021-07-06 17:22:08: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> ~\AppData\Local\Programs\Python\Python38\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-07-06 17:22:08: Process Execution: > ~\AppData\Local\Programs\Python\Python38\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
> ~\AppData\Local\Programs\Python\Python38\python.exe -m vscode_datascience_helpers.daemon --daemon-module=vscode_datascience_helpers.kernel_launcher_daemon -v
Info 2021-07-06 17:22:09: Python Daemon (pid: 25120): Execute rpc method prewarm_kernel in DS Daemon
Info 2021-07-06 17:22:09: Python Daemon (pid: 25120): Execute rpc method prewarm_kernel from C:\Users\huer\AppData\Local\Programs\Python\Python38\python.exe
Info 2021-07-06 17:22:09: Python Daemon (pid: 25120): Pre-Warm DS Kernel in DS Kernel Launcher Daemon
Info 2021-07-06 17:22:09: Python Daemon (pid: 25120): Exec in DS Kernel Launcher Daemon (observable) ['C:\\Users\\huer\\AppData\\Local\\Programs\\Python\\Python38\\python.exe', 'c:\\Users\\huer\\.vscode\\extensions\\ms-toolsai.jupyter-2021.6.999662501\\pythonFiles\\vscode_datascience_helpers\\kernel_prewarm_starter.py']
Info 2021-07-06 17:22:09: Python Daemon (pid: 25120): Exec in DS Kernel Launcher Daemon (observable)
Info 2021-07-06 17:22:09: Python Daemon (pid: 25120): Kernel launched, with PID 712
Warn 2021-07-06 17:22:09: Python Daemon (pid: 25120): Waiting for Kernel to die 712
Info 2021-07-06 17:22:09: Python Daemon (pid: 25120): Kernel launched, with PID as a daemon 712


@IanMatthewHuff
Copy link
Member

IanMatthewHuff commented Jul 7, 2021

FYI @IanMatthewHuff I can reproduce the behavior described and @rebornix can reproduce the behavior that you're seeing 🙃 we just ran into this issue as well.

Yeah, I think that @rebornix is on Mac if I'm correct, and you are on Windows. Might be a platform diff with 'dumpCell'? pinging @DavidKutu to make sure he's aware as well.

Not sure if the logging really buys us much here, all we see is a cell hash getting generated. Will just have to dig in.

@HDavidEspinosa
Copy link
Author

Ok, so...

Finally managed to reproduce the bug.

I took an ipynb file I had, exported it to py script.

Once I save the script, I ran some cells using the "Run Above" button.

Then I tried to run the next cell using the "Debug Cell" option. At that point, a new editor popped up with the message.

Could not load source 'c:\Users\david\AppData\Local\Temp\ipykernel_16772\1353980299.py': Unable to retrieve source for C:\Users\david\AppData\Local\Temp\ipykernel_16772\1353980299.py.

I attach the logs for Jupyter using two separate environments.

issu_data_second_dump.txt
issue_data.txt

The wired thing is that just before, I had cloned the original environment used in the first issue data file, I updated that clone environment, and all worked fine.

Then I updated the original environment, tried it again, and the problem appeared (issue_data.txt file).

Then I returned to the clone environment, and, sure enough, the problem appeared as well (issu_data_second_dump.txt).

I hope this helps

@HDavidEspinosa
Copy link
Author

Soo... I just rolled back the last updates of the environment.

The following are the changes:

intel-openmp {2021.3.0 (conda-forge/win-64) -> 2021.2.0 (conda-forge/win-64)}
ipykernel {6.0.1 (conda-forge/win-64) -> 5.5.5 (conda-forge/win-64)}
ipython {7.25.0 (conda-forge/win-64) -> 7.25.0 (conda-forge/win-64)}
mistune {0.8.4 (conda-forge/win-64) -> 0.8.4 (conda-forge/win-64)}
packaging {21.0 (conda-forge/noarch) -> 20.9 (conda-forge/noarch)}
pandas {1.3.0 (conda-forge/win-64) -> 1.2.5 (conda-forge/win-64)}
pillow {8.3.0 (conda-forge/win-64) -> 8.2.0 (conda-forge/win-64)}
pywinpty {1.1.3 (conda-forge/win-64) -> 1.1.1 (conda-forge/win-64)}
tbb {2021.3.0 (conda-forge/win-64) -> 2021.2.0 (conda-forge/win-64)}
zipp {3.5.0 (conda-forge/noarch) -> 3.4.1 (conda-forge/noarch)}
uninstall -> debugpy-1.3.0 (conda-forge/win-64)

And the "Debug cell" is working fine. So I attach those logs as well:

NO_ISSUE_data.txt

Again, I hope this helps.

@joyceerhl
Copy link
Contributor

I'm guessing that's because your environment downgraded ipykernel from 6.0.1 to 5.5.5, which doesn't have this problem.

@greazer
Copy link
Member

greazer commented Jul 8, 2021

This issue is being tracked by #6560

@DonJayamanne
Copy link
Contributor

Looks like the logic for generation of python files for cells has changed in latest version of IPython.
See here https://github.com/ipython/ipykernel/blob/2b5fa0ae4057b2a8192086a44b3509481a6564fe/ipykernel/compiler.py#L39-L55

Screen Shot 2021-07-15 at 17 32 27

This is what was used previously by ipython:
Screen Shot 2021-07-15 at 17 32 52

However that code is no longer used, heres the new code that makes use of the new naming convention:
https://github.com/ipython/ipykernel/blob/cf0ef994cfd1847323add274ab28aaa959e7d41f/ipykernel/ipkernel.py#L82

@rchiodo
Copy link
Contributor

rchiodo commented Jul 16, 2021

Yeah we try to attempt to match the algorithm. So we'll have to change based on the version of ipykernel or use the env variable (which I guess we'd have to set before every cell execution)

@DonJayamanne
Copy link
Contributor

which I guess we'd have to set before every cell executio

I've got it working with the env variable.

@DonJayamanne
Copy link
Contributor

How to test:

  • Install Python
  • WebView Interactive window (Old version of IPyKernel)
    • python -m pip uninstall ipykernel ipython debugpy
    • python -m pip install ipython==7.15.0 ipykernel==5.5.5
    • Debug interactive window
  • WebView Interactive window (New version of IPyKernel)
    • python -m pip uninstall ipykernel ipython debugpy
    • python -m pip install ipython
    • Debug interactive window
  • Do the same for Native Interactive window
  • How to switch between native & webview interactive
    • VS Code Insiders
      • Native Interactive is the default experience,
      • To disable in settings
      • "jupyter.enableNativeInteractiveWindow": false,
      • "python.insidersChannel": "off",
    • VS Code Stable
      • To disable in settings
      • "jupyter.enableNativeInteractiveWindow": false,
      • "python.insidersChannel": "off",
      • To enanle in settings
      • "jupyter.enableNativeInteractiveWindow": true,
      • "python.insidersChannel": "daily",

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 7, 2021
@DonJayamanne DonJayamanne added the *duplicate Issue identified as a duplicate of another issue(s) label Nov 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

6 participants