Skip to content

Cannot start bash kernel #14809

@amunger

Description

@amunger

Testing #14788

installed bash_kernel, and it shows up in the kernel list under 'Jupyter Kernels' but trying to run a cell fails

jupyter logs
Visual Studio Code - Insiders (1.85.0-insider, undefined, desktop)
Jupyter Extension Version: 2023.11.1003341000.
Python Extension Version: 2023.21.13321011.
Pylance Extension not installed.
Platform: win32 (x64).
Workspace folder c:\src\test\6, Home = c:\Users\aamunger
12:20:35.691 [info] User does not belong to experiment group 'NewRemoteUriStorage'
12:20:36.066 [debug] Get Custom Env Variables, Class name = _m (started execution), Arg 1: undefined, Arg 2: "RunPythonCode"
12:20:36.066 [info] Start refreshing Kernel Picker (1701202836066)
12:20:36.070 [info] Using Pylance
12:20:36.083 [debug] No controller, hence notebook communications cannot be initialized for editor c:\src\test\6\bashtest.ipynb
12:20:36.083 [info] Start refreshing Interpreter Kernel Picker
12:20:36.264 [debug] KernelProvider switched kernel to id = .bash.c:\src\test\6\.venv\Scripts\python.exe.\.c:\src\test\6\.venv\scripts\python.exe#-m#bash_kernel#-f#{connection_file}
12:20:36.265 [debug] start the kernel, options.disableUI=true for c:\src\test\6\bashtest.ipynb
12:20:36.267 [debug] Initialize notebook communications for editor c:\src\test\6\bashtest.ipynb
12:20:36.268 [debug] Resolving notebook UI Comms (resolve) for c:\src\test\6\bashtest.ipynb
12:20:36.268 [debug] initialize CommonMessageCoordinator
12:20:36.460 [debug] Registering commtarget jupyter.widget
12:20:36.460 [debug] IPyWidgetMessageDispatcher.initialize
12:20:36.461 [debug] Attempting to determine version of IPyWidgets
12:20:36.461 [debug] Controller selection change completed
12:20:36.461 [debug] Waiting for IPyWidgets version promise
12:20:36.461 [debug] Version of IPyWidgets 7 determined after 0s
12:20:36.614 [info] Starting Kernel startUsingLocalKernelSpec, .bash.c:\src\test\6\.venv\Scripts\python.exe.\.c:\src\test\6\.venv\scripts\python.exe#-m#bash_kernel#-f#{connection_file}  for 'c:\src\test\6\bashtest.ipynb' (disableUI=true)
12:20:36.615 [debug] Creating raw notebook for resource 'c:\src\test\6\bashtest.ipynb'
12:20:36.955 [debug] Get Custom Env Variables, Class name = _m, completed in 889ms, has a truthy return value, Arg 1: undefined, Arg 2: "RunPythonCode"
12:20:36.955 [debug] Jupyter Paths kernels: 
12:20:36.959 [debug] Kernel Spec Root Paths, ~\AppData\Roaming\jupyter\kernels, c:\ProgramData\jupyter\kernels
12:20:36.972 [debug] Search for KernelSpecs in Interpreter c:\src\test\6\.venv\Scripts\python.exe
12:20:36.973 [debug] Finding Global Python KernelSpecs
12:20:36.980 [warn] Kernel Spec for 'global' (c:\ProgramData\jupyter\kernels\global\kernel.json) hidden, as we cannot find a matching interpreter argv = 'C:\venvs\venvRepro\Scripts\python.exe'. To resolve this, please change 'C:\venvs\venvRepro\Scripts\python.exe' to point to the fully qualified Python executable.
12:20:36.981 [warn] No interpreter with path c:\src\vscode-jupyter\src\test\datascience\.venvkernel\Scripts\python2.exe found in Python API, will convert Uri path to string as Id c:\src\vscode-jupyter\src\test\datascience\.venvkernel\Scripts\python2.exe
12:20:37.007 [debug] Search for KernelSpecs in Interpreter ~\AppData\Local\Programs\Python\Python311\python.exe
12:20:37.009 [debug] Search for KernelSpecs in Interpreter ~\AppData\Local\Microsoft\WindowsApps\python3.9.exe
12:20:37.018 [debug] Search for KernelSpecs in Interpreter ~\AppData\Local\Programs\Python\Python37\python.exe
12:20:37.019 [debug] Search for KernelSpecs in Interpreter c:\src\vscode-jupyter\src\test\datascience\.venvnokernel\Scripts\python.exe
12:20:37.035 [debug] Search for KernelSpecs in Interpreter ~\AppData\Local\miniconda3\python.exe
12:20:37.036 [debug] Search for KernelSpecs in Interpreter ~\AppData\Local\miniconda3\envs\.condaenv\python.exe
12:20:37.038 [debug] Search for KernelSpecs in Interpreter c:\SRC\TEST\7\.CONDA\python.exe
12:20:37.039 [debug] Search for KernelSpecs in Interpreter c:\src\test\2\.conda\python.exe
12:20:37.040 [debug] Search for KernelSpecs in Interpreter c:\Python310\python.exe
12:20:37.041 [debug] Search for KernelSpecs in Interpreter ~\AppData\Local\Programs\Python\Python39\python.exe
12:20:37.042 [debug] Full interpreter list is length: 11, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON311\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python311\python.exe, ~\APPDATA\LOCAL\MICROSOFT\WINDOWSAPPS\PYTHON3.9.EXE::Unknown:~\AppData\Local\Microsoft\WindowsApps\python3.9.exe, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON37\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python37\python.exe, C:\SRC\VSCODE-JUPYTER\SRC\TEST\DATASCIENCE\.VENVNOKERNEL\SCRIPTS\PYTHON.EXE:.venvnokernel:Venv:c:\src\vscode-jupyter\src\test\datascience\.venvnokernel\Scripts\python.exe, ~\APPDATA\LOCAL\MINICONDA3\PYTHON.EXE:base:Conda:~\AppData\Local\miniconda3\python.exe, ~\APPDATA\LOCAL\MINICONDA3\ENVS\.CONDAENV\PYTHON.EXE:.condaenv:Conda:~\AppData\Local\miniconda3\envs\.condaenv\python.exe, C:\SRC\TEST\7\.CONDA\PYTHON.EXE::Conda:c:\SRC\TEST\7\.CONDA\python.exe, C:\SRC\TEST\2\.CONDA\PYTHON.EXE::Conda:c:\src\test\2\.conda\python.exe, C:\PYTHON310\PYTHON.EXE::Unknown:c:\Python310\python.exe, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON39\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python39\python.exe, C:\SRC\TEST\6\.VENV\SCRIPTS\PYTHON.EXE:.venv:Venv:c:\src\test\6\.venv\Scripts\python.exe
12:20:37.043 [debug] Getting activated env variables, Class name = Ip (started execution), Arg 1: "/c:/src/test/6", Arg 2: "C:\\SRC\\TEST\\6\\.VENV\\SCRIPTS\\PYTHON.EXE", Arg 3: undefined
12:20:37.043 [debug] Get Custom Env Variables, Class name = _m (started execution), Arg 1: "/c:/src/test/6", Arg 2: "RunPythonCode"
12:20:37.045 [debug] Get Custom Env Variables, Class name = _m, completed in 2ms, has a truthy return value, Arg 1: "/c:/src/test/6", Arg 2: "RunPythonCode"
12:20:37.243 [debug] IPyWidgetMessageDispatcher.initialize
12:20:37.243 [debug] Web view is ready to receive widget messages
12:20:37.321 [debug] Kernels for interpreter ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON311\PYTHON.EXE are .jvsc74a57bd0b414f0a7af59a62087a3c034b1bf0fb2182b989016e422ac3c8654c8d5741714.~\AppData\Local\Programs\Python\Python311\python.exe.~\AppData\Local\Programs\Python\Python311\python.exe.-m#ipykernel_launcher
12:20:37.326 [debug] Kernels for interpreter ~\APPDATA\LOCAL\MICROSOFT\WINDOWSAPPS\PYTHON3.9.EXE are .jvsc74a57bd0176980a33df66f0dfe3342e384ae95411c4a6e61b32e15a537ffe394a9f57c82.~\AppData\Local\Microsoft\WindowsApps\python3.9.exe.~\AppData\Local\Microsoft\WindowsApps\python3.9.exe.-m#ipykernel_launcher
12:20:37.329 [debug] Kernels for interpreter ~\APPDATA\LOCAL\MINICONDA3\PYTHON.EXE are .jvsc74a57bd07833c946195fb9e4fe0dd7bc708f3284de3e607f3c47a0a711dbfd7285e44104.~\AppData\Local\miniconda3\python.exe.~\AppData\Local\miniconda3\python.exe.-m#ipykernel_launcher
12:20:37.338 [debug] Kernels for interpreter ~\APPDATA\LOCAL\MINICONDA3\ENVS\.CONDAENV\PYTHON.EXE are .jvsc74a57bd0a1d418fd286a2cf83ecc39394756f5e73e9f2639fce2378573983699688d4f61.~\AppData\Local\miniconda3\envs\.condaenv\python.exe.~\AppData\Local\miniconda3\envs\.condaenv\python.exe.-m#ipykernel_launcher
12:20:37.349 [debug] Kernels for interpreter C:\PYTHON310\PYTHON.EXE are .jvsc74a57bd0369f2c481f4da34e4445cda3fffd2e751bd1c4d706f27375911949ba6bb62e1c.c:\Python310\python.exe.c:\Python310\python.exe.-m#ipykernel_launcher
12:20:37.349 [debug] Kernels for interpreter ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON39\PYTHON.EXE are .jvsc74a57bd062fb0c6e64fc1ec314e6acba0833e2af97b61408f181466b2334aa893bb27a78.~\AppData\Local\Programs\Python\Python39\python.exe.~\AppData\Local\Programs\Python\Python39\python.exe.-m#ipykernel_launcher
12:20:37.468 [debug] Loading kernelspec from c:\src\test\6\.venv\share\jupyter\kernels\python3\kernel.json for c:\src\test\6\.venv\Scripts\python.exe
12:20:37.469 [debug] Loading kernelspec from ~\AppData\Local\Programs\Python\Python37\share\jupyter\kernels\python3\kernel.json for ~\AppData\Local\Programs\Python\Python37\python.exe
12:20:37.470 [debug] Loading kernelspec from c:\src\vscode-jupyter\src\test\datascience\.venvnokernel\share\jupyter\kernels\python3\kernel.json for c:\src\vscode-jupyter\src\test\datascience\.venvnokernel\Scripts\python.exe
12:20:37.470 [debug] Loading kernelspec from c:\SRC\TEST\7\.CONDA\share\jupyter\kernels\python3\kernel.json for c:\SRC\TEST\7\.CONDA\python.exe
12:20:37.473 [debug] Loading kernelspec from c:\src\test\2\.conda\share\jupyter\kernels\python3\kernel.json for c:\src\test\2\.conda\python.exe
12:20:37.793 [debug] Kernel Specs found in interpreter ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON37\PYTHON.EXE are [{"specFile":"c:\\Users\\<username>\\AppData\\Local\\Programs\\Python\\Python37\\share\\jupyter\\kernels\\python3\\kernel.json","interpreterPath":"c:\\Users\\<username>\\AppData\\Local\\Programs\\Python\\Python37\\python.exe","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"pythonjvsc74a57bd0c425ebb03616a8a25d4d93a3e4bafd01d56f1c50213fc0be01320c989c46a1ea","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"python","display_name":"Python 3 (ipykernel)","metadata":{"debugger":true,"vscode":{"originalSpecFile":"c:\\Users\\<username>\\AppData\\Local\\Programs\\Python\\Python37\\share\\jupyter\\kernels\\python3\\kernel.json","originalDisplayName":"Python 3 (ipykernel)"}}}]
12:20:37.793 [debug] Hiding default kernel spec 'Python 3 (ipykernel)', 'pythonjvsc74a57bd0c425ebb03616a8a25d4d93a3e4bafd01d56f1c50213fc0be01320c989c46a1ea', python for interpreter ~\AppData\Local\Programs\Python\Python37\python.exe and spec ~\AppData\Local\Programs\Python\Python37\share\jupyter\kernels\python3\kernel.json
12:20:37.793 [debug] Kernels for interpreter ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON37\PYTHON.EXE are .jvsc74a57bd0c425ebb03616a8a25d4d93a3e4bafd01d56f1c50213fc0be01320c989c46a1ea.~\AppData\Local\Programs\Python\Python37\python.exe.~\AppData\Local\Programs\Python\Python37\python.exe.-m#ipykernel_launcher
12:20:37.794 [debug] Kernel Specs found in interpreter C:\SRC\TEST\7\.CONDA\PYTHON.EXE are [{"specFile":"c:\\SRC\\TEST\\7\\.CONDA\\share\\jupyter\\kernels\\python3\\kernel.json","interpreterPath":"c:\\SRC\\TEST\\7\\.CONDA\\python.exe","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"pythonjvsc74a57bd0f303698a459e01b364e04846299a5cd77d497b05e88e160c36f095d30fa7801f","argv":["c:/SRC/TEST/7/.CONDA\\python.exe","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"c:/SRC/TEST/7/.CONDA\\python.exe","display_name":"Python 3 (ipykernel)","metadata":{"debugger":true,"vscode":{"originalSpecFile":"c:\\SRC\\TEST\\7\\.CONDA\\share\\jupyter\\kernels\\python3\\kernel.json","originalDisplayName":"Python 3 (ipykernel)"}}}]
12:20:37.794 [debug] Hiding default kernel spec 'Python 3 (ipykernel)', 'pythonjvsc74a57bd0f303698a459e01b364e04846299a5cd77d497b05e88e160c36f095d30fa7801f', c:\SRC\TEST\7\.CONDA\python.exe for interpreter c:\SRC\TEST\7\.CONDA\python.exe and spec c:\SRC\TEST\7\.CONDA\share\jupyter\kernels\python3\kernel.json
12:20:37.794 [debug] Kernels for interpreter C:\SRC\TEST\7\.CONDA\PYTHON.EXE are .jvsc74a57bd0f303698a459e01b364e04846299a5cd77d497b05e88e160c36f095d30fa7801f.c:\SRC\TEST\7\.CONDA\python.exe.c:\SRC\TEST\7\.CONDA\python.exe.-m#ipykernel_launcher
12:20:37.795 [debug] Kernel Specs found in interpreter C:\SRC\TEST\6\.VENV\SCRIPTS\PYTHON.EXE are [{"specFile":"c:\\src\\test\\6\\.venv\\share\\jupyter\\kernels\\python3\\kernel.json","interpreterPath":"c:\\src\\test\\6\\.venv\\Scripts\\python.exe","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"pythonjvsc74a57bd0574ff51d49bd540780e7368488275684ff119c2fc4b14667ca5b6831e01c2387","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"python","display_name":"Python 3 (ipykernel)","metadata":{"debugger":true,"vscode":{"originalSpecFile":"c:\\src\\test\\6\\.venv\\share\\jupyter\\kernels\\python3\\kernel.json","originalDisplayName":"Python 3 (ipykernel)"}}}]
12:20:37.795 [debug] Hiding default kernel spec 'Python 3 (ipykernel)', 'pythonjvsc74a57bd0574ff51d49bd540780e7368488275684ff119c2fc4b14667ca5b6831e01c2387', python for interpreter c:\src\test\6\.venv\Scripts\python.exe and spec c:\src\test\6\.venv\share\jupyter\kernels\python3\kernel.json
12:20:37.795 [debug] Kernels for interpreter C:\SRC\TEST\6\.VENV\SCRIPTS\PYTHON.EXE are .jvsc74a57bd0574ff51d49bd540780e7368488275684ff119c2fc4b14667ca5b6831e01c2387.c:\src\test\6\.venv\Scripts\python.exe.c:\src\test\6\.venv\Scripts\python.exe.-m#ipykernel_launcher
12:20:37.797 [debug] Kernel Specs found in interpreter C:\SRC\VSCODE-JUPYTER\SRC\TEST\DATASCIENCE\.VENVNOKERNEL\SCRIPTS\PYTHON.EXE are [{"specFile":"c:\\src\\vscode-jupyter\\src\\test\\datascience\\.venvnokernel\\share\\jupyter\\kernels\\python3\\kernel.json","interpreterPath":"c:\\src\\vscode-jupyter\\src\\test\\datascience\\.venvnokernel\\Scripts\\python.exe","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"pythonjvsc74a57bd006bc48c96c7271af2be7f07178000097b43b16ade9284e10ef669d2cb5eb493a","argv":["python","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"python","display_name":"Python 3 (ipykernel)","metadata":{"debugger":true,"vscode":{"originalSpecFile":"c:\\src\\vscode-jupyter\\src\\test\\datascience\\.venvnokernel\\share\\jupyter\\kernels\\python3\\kernel.json","originalDisplayName":"Python 3 (ipykernel)"}}}]
12:20:37.797 [debug] Hiding default kernel spec 'Python 3 (ipykernel)', 'pythonjvsc74a57bd006bc48c96c7271af2be7f07178000097b43b16ade9284e10ef669d2cb5eb493a', python for interpreter c:\src\vscode-jupyter\src\test\datascience\.venvnokernel\Scripts\python.exe and spec c:\src\vscode-jupyter\src\test\datascience\.venvnokernel\share\jupyter\kernels\python3\kernel.json
12:20:37.797 [debug] Kernels for interpreter C:\SRC\VSCODE-JUPYTER\SRC\TEST\DATASCIENCE\.VENVNOKERNEL\SCRIPTS\PYTHON.EXE are .jvsc74a57bd006bc48c96c7271af2be7f07178000097b43b16ade9284e10ef669d2cb5eb493a.c:\src\vscode-jupyter\src\test\datascience\.venvnokernel\Scripts\python.exe.c:\src\vscode-jupyter\src\test\datascience\.venvnokernel\Scripts\python.exe.-m#ipykernel_launcher
12:20:37.798 [debug] Kernel Specs found in interpreter C:\SRC\TEST\2\.CONDA\PYTHON.EXE are [{"specFile":"c:\\src\\test\\2\\.conda\\share\\jupyter\\kernels\\python3\\kernel.json","interpreterPath":"c:\\src\\test\\2\\.conda\\python.exe","isRegisteredByVSC":"registeredByNewVersionOfExt","name":"pythonjvsc74a57bd0569b6500128a5daa99d2b996725b7d7eae797a774f437c3f9124d6cd683cd1fb","argv":["c:/src/test/2/.conda\\python.exe","-m","ipykernel_launcher","-f","{connection_file}"],"language":"python","executable":"c:/src/test/2/.conda\\python.exe","display_name":"Python 3 (ipykernel)","metadata":{"debugger":true,"vscode":{"originalSpecFile":"c:\\src\\test\\2\\.conda\\share\\jupyter\\kernels\\python3\\kernel.json","originalDisplayName":"Python 3 (ipykernel)"}}}]
12:20:37.798 [debug] Hiding default kernel spec 'Python 3 (ipykernel)', 'pythonjvsc74a57bd0569b6500128a5daa99d2b996725b7d7eae797a774f437c3f9124d6cd683cd1fb', c:\src\test\2\.conda\python.exe for interpreter c:\src\test\2\.conda\python.exe and spec c:\src\test\2\.conda\share\jupyter\kernels\python3\kernel.json
12:20:37.798 [debug] Kernels for interpreter C:\SRC\TEST\2\.CONDA\PYTHON.EXE are .jvsc74a57bd0569b6500128a5daa99d2b996725b7d7eae797a774f437c3f9124d6cd683cd1fb.c:\src\test\2\.conda\python.exe.c:\src\test\2\.conda\python.exe.-m#ipykernel_launcher
12:20:37.799 [debug] Loading kernelspec from ~\AppData\Roaming\jupyter\kernels\.venvkernel\kernel.json 
12:20:37.799 [debug] Loading kernelspec from ~\AppData\Roaming\jupyter\kernels\.venvkernel2\kernel.json 
12:20:37.799 [debug] Loading kernelspec from ~\AppData\Roaming\jupyter\kernels\.venvnokernel\kernel.json 
12:20:37.800 [debug] Loading kernelspec from ~\AppData\Roaming\jupyter\kernels\bash\kernel.json 
12:20:37.800 [debug] Loading kernelspec from ~\AppData\Roaming\jupyter\kernels\deno\kernel.json 
12:20:37.800 [debug] Loading kernelspec from ~\AppData\Roaming\jupyter\kernels\incompleteSpec\kernel.json 
12:20:37.800 [debug] Loading kernelspec from ~\AppData\Roaming\jupyter\kernels\julia-1.7\kernel.json 
12:20:37.800 [debug] Loading kernelspec from ~\AppData\Roaming\jupyter\kernels\julia-1.9\kernel.json 
12:20:37.800 [debug] Loading kernelspec from c:\ProgramData\jupyter\kernels\global\kernel.json 
12:20:37.800 [debug] Loading kernelspec from c:\ProgramData\jupyter\kernels\java\kernel.json 
12:20:37.800 [debug] Loading kernelspec from c:\ProgramData\jupyter\kernels\python3\kernel.json 
12:20:37.842 [debug] Launching kernel .bash.c:\src\test\6\.venv\Scripts\python.exe.\.c:\src\test\6\.venv\scripts\python.exe#-m#bash_kernel#-f#{connection_file} for c:\src\test\6\bashtest.ipynb in c:\src\test\6 with ports 9001, 9000, 9004, 9002, 9003
12:20:37.842 [info] Launching Raw Kernel Bash # C:\src\test\6\.venv\Scripts\python.exe
12:20:37.842 [debug] Create ProcessService, Class name = Tm (started execution), Arg 1: "/c:/src/test/6/bashtest.ipynb", Arg 2: {"a":false,"b":{"w":3,"u":{"i":-1,"end":0},"t":[{"id":520},{"id":521},null,{"id":524}]}}
12:20:37.842 [debug] Get Custom Env Variables, Class name = _m (started execution), Arg 1: "/c:/src/test/6/bashtest.ipynb", Arg 2: "RunNonPythonCode", Arg 3: {"a":false,"b":{"w":3,"u":{"i":-1,"end":0},"t":[{"id":520},{"id":521},null,{"id":524}]}}
12:20:37.847 [debug] Get Custom Env Variables, Class name = _m, completed in 5ms, has a truthy return value, Arg 1: "/c:/src/test/6/bashtest.ipynb", Arg 2: "RunNonPythonCode", Arg 3: {"a":false,"b":{"w":3,"u":{"i":-1,"end":0},"t":[{"id":520},{"id":521},null,{"id":524}]}}
12:20:37.848 [debug] Create ProcessService, Class name = Tm, completed in 6ms, has a truthy return value, Arg 1: "/c:/src/test/6/bashtest.ipynb", Arg 2: {"a":false,"b":{"w":3,"u":{"i":-1,"end":0},"t":[{"id":520},{"id":521},null,{"id":524}]}}
12:20:37.848 [debug] No custom variables nor do we have a conda environment
12:20:37.849 [debug] Kernel Env Variables for ~\AppData\Roaming\jupyter\kernels\bash\kernel.json, PATH value is C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files\Java\jdk-18.0.2\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\dotnet\;C:\Program Files\Git LFS;~\AppData\Roaming\nvm;C:\Program Files\nodejs;~\AppData\Roaming\nvm;C:\Program Files\Go\bin;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\Program Files\Git\cmd;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\PowerShell\7\;~\AppData\Local\Programs\Python\Launcher\;~\AppData\Local\miniconda3;~\AppData\Local\miniconda3\Library\mingw-w64\bin;~\AppData\Local\miniconda3\Library\usr\bin;~\AppData\Local\miniconda3\Library\bin;~\AppData\Local\miniconda3\Scripts;C:\Python310\Scripts\;C:\Python310\;~\AppData\Local\Programs\Python\Python37\;~\AppData\Local\Microsoft\WindowsApps;~\.dotnet\tools;~\AppData\Local\Programs\MiKTeX\miktex\bin\x64\;~\AppData\Roaming\nvm;C:\Program Files\nodejs;~\go\bin;~\.deno\bin;~\AppData\Local\Programs\Microsoft VS Code Insiders\bin;~\AppData\Local\Programs\Microsoft VS Code\bin;~\AppData\Local\Programs\Julia-1.9.4\bin
12:20:37.867 [info] Process Execution: c:\src\test\6\.venv\Scripts\python.exe -m bash_kernel -f ~\AppData\Roaming\jupyter\runtime\kernel-v2-15412syVeQbRx8bQ1.json
    > cwd: c:\src\test\6
12:20:38.249 [debug] Got env vars with python c:\src\test\6\.venv\Scripts\python.exe, with env var count 70 in 1206ms. 
    PATH value is c:\src\test\6\.venv\Scripts;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files\Java\jdk-18.0.2\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\dotnet\;C:\Program Files\Git LFS;~\AppData\Roaming\nvm;C:\Program Files\nodejs;~\AppData\Roaming\nvm;C:\Program Files\Go\bin;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\Program Files\Git\cmd;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\PowerShell\7\;~\AppData\Local\Programs\Python\Launcher\;~\AppData\Local\miniconda3;~\AppData\Local\miniconda3\Library\mingw-w64\bin;~\AppData\Local\miniconda3\Library\usr\bin;~\AppData\Local\miniconda3\Library\bin;~\AppData\Local\miniconda3\Scripts;C:\Python310\Scripts\;C:\Python310\;~\AppData\Local\Programs\Python\Python37\;~\AppData\Local\Microsoft\WindowsApps;~\.dotnet\tools;~\AppData\Local\Programs\MiKTeX\miktex\bin\x64\;~\AppData\Roaming\nvm;C:\Program Files\nodejs;~\go\bin;~\.deno\bin;~\AppData\Local\Programs\Microsoft VS Code Insiders\bin;~\AppData\Local\Programs\Microsoft VS Code\bin;~\AppData\Local\Programs\Julia-1.9.4\bin and 
    Path value is undefined
12:20:38.249 [debug] Prepend PATH with python bin for c:\src\test\6\.venv\Scripts\python.exe
12:20:38.249 [debug] Activated Env Variables for c:\src\test\6\.venv\Scripts\python.exe, 
    PATH value is c:\src\test\6\.venv\Scripts;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files\Java\jdk-18.0.2\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\dotnet\;C:\Program Files\Git LFS;~\AppData\Roaming\nvm;C:\Program Files\nodejs;~\AppData\Roaming\nvm;C:\Program Files\Go\bin;C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;C:\Program Files\Git\cmd;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\PowerShell\7\;~\AppData\Local\Programs\Python\Launcher\;~\AppData\Local\miniconda3;~\AppData\Local\miniconda3\Library\mingw-w64\bin;~\AppData\Local\miniconda3\Library\usr\bin;~\AppData\Local\miniconda3\Library\bin;~\AppData\Local\miniconda3\Scripts;C:\Python310\Scripts\;C:\Python310\;~\AppData\Local\Programs\Python\Python37\;~\AppData\Local\Microsoft\WindowsApps;~\.dotnet\tools;~\AppData\Local\Programs\MiKTeX\miktex\bin\x64\;~\AppData\Roaming\nvm;C:\Program Files\nodejs;~\go\bin;~\.deno\bin;~\AppData\Local\Programs\Microsoft VS Code Insiders\bin;~\AppData\Local\Programs\Microsoft VS Code\bin;~\AppData\Local\Programs\Julia-1.9.4\bin and 
    Path value is undefined
12:20:38.250 [debug] Getting activated env variables, Class name = Ip, completed in 1207ms, has a truthy return value, Arg 1: "/c:/src/test/6", Arg 2: "C:\\SRC\\TEST\\6\\.VENV\\SCRIPTS\\PYTHON.EXE", Arg 3: undefined
12:20:38.275 [info] Process Execution: c:\src\test\6\.venv\Scripts\python.exe -m pip list
12:20:41.271 [warn] StdErr from Kernel Process 0.01s - 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.
12:20:41.272 [debug] KernelProcess error: 0.01s - 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.

12:20:42.011 [debug] Waiting for Raw Session to be ready in postStartRawSession
12:20:42.011 [debug] Waiting for Raw session to be ready, status: connected
12:20:42.012 [debug] Raw session connected
12:20:42.012 [debug] Waiting for Raw session to be ready
12:20:42.016 [debug] Waited for Raw session to be ready & got status: connected
12:20:42.017 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
12:20:42.017 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
12:20:42.017 [debug] Sending request for kernelInfo
12:20:42.023 [debug] Kernel output: NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049


To connect another client to this kernel, use:
    --existing ~\AppData\Roaming\jupyter\runtime\kernel-v2-15412syVeQbRx8bQ1.json

12:20:42.024 [warn] StdErr from Kernel Process Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\src\test\6\.venv\Lib\site-packages\bash_kernel\__main__.py", line 3, in <module>
    IPKernelApp.launch_instance(kernel_class=BashKernel)
  File "C:\src\test\6\.venv\Lib\site-packages\traitlets\config\application.py", line 1076, in launch_instance
    app.initialize(argv)
  File "C:\src\test\6\.venv\Lib\site-packages\traitlets\config\application.py", line 118, in inner
    return method(app, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\src\test\6\.venv\Lib\site-packages\ipykernel\kernelapp.py", line 707, in initialize
    self.init_kernel()
  File "C:\src\test\6\.venv\Lib\site-packages\ipykernel\kernelapp.py", line 555, in init_kernel
    kernel = kernel_factory(
             ^^^^^^^^^^^^^^^
  File "C:\src\test\6\.venv\Lib\site-packages\traitlets\config\configurable.py", line 583, in instance
    inst = cls(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "C:\src\test\6\.venv\Lib\site-packages\bash_kernel\kernel.py", line 104, in __init__
    self._start_bash()
  File "C:\src\test\6\.venv\Lib\site-packages\bash_kernel\kernel.py", line 116, in _start_bash
    old_sigpipe_handler = signal.signal(signal.SIGPIPE, signal.SIG_DFL)
                                        ^^^^^^^^^^^^^^
AttributeError: module 'signal' has no attribute 'SIGPIPE'
12:20:42.024 [debug] KernelProcess error: Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\src\test\6\.venv\Lib\site-packages\bash_kernel\__main__.py", line 3, in <module>
    IPKernelApp.launch_instance(kernel_class=BashKernel)
  File "C:\src\test\6\.venv\Lib\site-packages\traitlets\config\application.py", line 1076, in launch_instance
    app.initialize(argv)
  File "C:\src\test\6\.venv\Lib\site-packages\traitlets\config\application.py", line 118, in inner
    return method(app, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\src\test\6\.venv\Lib\site-packages\ipykernel\kernelapp.py", line 707, in initialize
    self.init_kernel()
  File "C:\src\test\6\.venv\Lib\site-packages\ipykernel\kernelapp.py", line 555, in init_kernel
    kernel = kernel_factory(
             ^^^^^^^^^^^^^^^
  File "C:\src\test\6\.venv\Lib\site-packages\traitlets\config\configurable.py", line 583, in instance
    inst = cls(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "C:\src\test\6\.venv\Lib\site-packages\bash_kernel\kernel.py", line 104, in __init__
    self._start_bash()
  File "C:\src\test\6\.venv\Lib\site-packages\bash_kernel\kernel.py", line 116, in _start_bash
    old_sigpipe_handler = signal.signal(signal.SIGPIPE, signal.SIG_DFL)
                                        ^^^^^^^^^^^^^^
AttributeError: module 'signal' has no attribute 'SIGPIPE'

12:20:42.189 [debug] KernelProcess Exited, Exit Code - 1 0.01s - 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.
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\src\test\6\.venv\Lib\site-packages\bash_kernel\__main__.py", line 3, in <module>
    IPKernelApp.launch_instance(kernel_class=BashKernel)
  File "C:\src\test\6\.venv\Lib\site-packages\traitlets\config\application.py", line 1076, in launch_instance
    app.initialize(argv)
  File "C:\src\test\6\.venv\Lib\site-packages\traitlets\config\application.py", line 118, in inner
    return method(app, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\src\test\6\.venv\Lib\site-packages\ipykernel\kernelapp.py", line 707, in initialize
    self.init_kernel()
  File "C:\src\test\6\.venv\Lib\site-packages\ipykernel\kernelapp.py", line 555, in init_kernel
    kernel = kernel_factory(
             ^^^^^^^^^^^^^^^
  File "C:\src\test\6\.venv\Lib\site-packages\traitlets\config\configurable.py", line 583, in instance
    inst = cls(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^
  File "C:\src\test\6\.venv\Lib\site-packages\bash_kernel\kernel.py", line 104, in __init__
    self._start_bash()
  File "C:\src\test\6\.venv\Lib\site-packages\bash_kernel\kernel.py", line 116, in _start_bash
    old_sigpipe_handler = signal.signal(signal.SIGPIPE, signal.SIG_DFL)
                                        ^^^^^^^^^^^^^^
AttributeError: module 'signal' has no attribute 'SIGPIPE'

12:20:42.190 [error] Disposing session as kernel process died ExitCode: 1, Reason: AttributeError
12:20:42.190 [info] Dispose Kernel process 15688.
12:20:42.195 [debug] Disposed Kernel process 15688.
12:20:43.520 [debug] Did not get a response for requestKernelInfo
12:20:43.520 [debug] Sending request for kernelInfo
12:20:43.953 [debug] Conda file returned by Python Extension is conda
12:20:43.981 [debug] Python API env change detected, add => '~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON310\PYTHON.EXE'
12:20:45.028 [debug] Did not get a response for requestKernelInfo
12:20:45.028 [warn] Didn't get response for requestKernelInfo after 3011ms.
12:20:45.031 [debug] Started running kernel initialization for c:\src\test\6\bashtest.ipynb
12:20:45.032 [debug] Requesting Kernel info
12:20:46.186 [debug] Controller startUsingPythonInterpreter:'.jvsc74a57bd00b3f6e928dda7c09aa57d1fbbe96e60fed18fb335015da481ed8ef7212ae02ea.~\AppData\Local\Programs\Python\Python310\python.exe.~\AppData\Local\Programs\Python\Python310\python.exe.-m#ipykernel_launcher' for view = 'jupyter-notebook' is no longer a valid
12:20:46.186 [debug] Controller startUsingPythonInterpreter:'.jvsc74a57bd00b3f6e928dda7c09aa57d1fbbe96e60fed18fb335015da481ed8ef7212ae02ea.~\AppData\Local\Programs\Python\Python310\python.exe.~\AppData\Local\Programs\Python\Python310\python.exe.-m#ipykernel_launcher (Interactive)' for view = 'interactive' is no longer a valid
12:20:46.186 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd00b3f6e928dda7c09aa57d1fbbe96e60fed18fb335015da481ed8ef7212ae02ea.~\AppData\Local\Programs\Python\Python310\python.exe.~\AppData\Local\Programs\Python\Python310\python.exe.-m#ipykernel_launcher' for view = 'jupyter-notebook'
12:20:46.186 [debug] Disposing controller .jvsc74a57bd00b3f6e928dda7c09aa57d1fbbe96e60fed18fb335015da481ed8ef7212ae02ea.~\AppData\Local\Programs\Python\Python310\python.exe.~\AppData\Local\Programs\Python\Python310\python.exe.-m#ipykernel_launcher associated with connection .jvsc74a57bd00b3f6e928dda7c09aa57d1fbbe96e60fed18fb335015da481ed8ef7212ae02ea.~\AppData\Local\Programs\Python\Python310\python.exe.~\AppData\Local\Programs\Python\Python310\python.exe.-m#ipykernel_launcher 
12:20:46.187 [warn] Disposing old controller startUsingPythonInterpreter:'.jvsc74a57bd00b3f6e928dda7c09aa57d1fbbe96e60fed18fb335015da481ed8ef7212ae02ea.~\AppData\Local\Programs\Python\Python310\python.exe.~\AppData\Local\Programs\Python\Python310\python.exe.-m#ipykernel_launcher (Interactive)' for view = 'interactive'
12:20:46.187 [debug] Disposing controller .jvsc74a57bd00b3f6e928dda7c09aa57d1fbbe96e60fed18fb335015da481ed8ef7212ae02ea.~\AppData\Local\Programs\Python\Python310\python.exe.~\AppData\Local\Programs\Python\Python310\python.exe.-m#ipykernel_launcher (Interactive) associated with connection .jvsc74a57bd00b3f6e928dda7c09aa57d1fbbe96e60fed18fb335015da481ed8ef7212ae02ea.~\AppData\Local\Programs\Python\Python310\python.exe.~\AppData\Local\Programs\Python\Python310\python.exe.-m#ipykernel_launcher 
12:20:46.189 [debug] Python API env change detected, remove => '~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON310\PYTHON.EXE'
12:20:46.199 [error] Failed to get env details from Python API for ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON310\PYTHON.EXE without an error
12:20:46.203 [debug] Full interpreter list is length: 11, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON311\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python311\python.exe, ~\APPDATA\LOCAL\MICROSOFT\WINDOWSAPPS\PYTHON3.9.EXE::Unknown:~\AppData\Local\Microsoft\WindowsApps\python3.9.exe, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON37\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python37\python.exe, C:\SRC\VSCODE-JUPYTER\SRC\TEST\DATASCIENCE\.VENVNOKERNEL\SCRIPTS\PYTHON.EXE:.venvnokernel:Venv:c:\src\vscode-jupyter\src\test\datascience\.venvnokernel\Scripts\python.exe, ~\APPDATA\LOCAL\MINICONDA3\PYTHON.EXE:base:Conda:~\AppData\Local\miniconda3\python.exe, ~\APPDATA\LOCAL\MINICONDA3\ENVS\.CONDAENV\PYTHON.EXE:.condaenv:Conda:~\AppData\Local\miniconda3\envs\.condaenv\python.exe, C:\SRC\TEST\7\.CONDA\PYTHON.EXE::Conda:c:\SRC\TEST\7\.CONDA\python.exe, C:\SRC\TEST\2\.CONDA\PYTHON.EXE::Conda:c:\src\test\2\.conda\python.exe, C:\PYTHON310\PYTHON.EXE::Unknown:c:\Python310\python.exe, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON39\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python39\python.exe, C:\SRC\TEST\6\.VENV\SCRIPTS\PYTHON.EXE:.venv:Venv:c:\src\test\6\.venv\Scripts\python.exe
12:20:46.204 [debug] Interpreter removed ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON310\PYTHON.EXE
12:20:46.225 [debug] Full interpreter list is length: 11, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON311\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python311\python.exe, ~\APPDATA\LOCAL\MICROSOFT\WINDOWSAPPS\PYTHON3.9.EXE::Unknown:~\AppData\Local\Microsoft\WindowsApps\python3.9.exe, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON37\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python37\python.exe, C:\SRC\VSCODE-JUPYTER\SRC\TEST\DATASCIENCE\.VENVNOKERNEL\SCRIPTS\PYTHON.EXE:.venvnokernel:Venv:c:\src\vscode-jupyter\src\test\datascience\.venvnokernel\Scripts\python.exe, ~\APPDATA\LOCAL\MINICONDA3\PYTHON.EXE:base:Conda:~\AppData\Local\miniconda3\python.exe, ~\APPDATA\LOCAL\MINICONDA3\ENVS\.CONDAENV\PYTHON.EXE:.condaenv:Conda:~\AppData\Local\miniconda3\envs\.condaenv\python.exe, C:\SRC\TEST\7\.CONDA\PYTHON.EXE::Conda:c:\SRC\TEST\7\.CONDA\python.exe, C:\SRC\TEST\2\.CONDA\PYTHON.EXE::Conda:c:\src\test\2\.conda\python.exe, C:\PYTHON310\PYTHON.EXE::Unknown:c:\Python310\python.exe, ~\APPDATA\LOCAL\PROGRAMS\PYTHON\PYTHON39\PYTHON.EXE::Unknown:~\AppData\Local\Programs\Python\Python39\python.exe, C:\SRC\TEST\6\.VENV\SCRIPTS\PYTHON.EXE:.venv:Venv:c:\src\test\6\.venv\Scripts\python.exe
12:20:46.225 [debug] Refreshed Environments
12:20:47.232 [info] End refreshing Kernel Picker (1701202836066)
12:21:05.319 [info] Handle Execution of Cells 0 for c:\src\test\6\bashtest.ipynb

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions