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

Notebook is crashing in master (something to do with some new script vsc/pythonVSCode/pythonFiles/pyvsc-run-isolated.py) #11035

Closed
DonJayamanne opened this issue Apr 8, 2020 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@DonJayamanne
Copy link

Merged master into one of my branches and now things aren't working.
(used to work until i merged master)
Screen Shot 2020-04-08 at 16.48.21.png

Info Python Extension: 2020-04-08 16:48:04: Python Daemon: subprocess output for, jupyter with args ['/Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/pythonFiles/pyvsc-run-isolated.py', 'jupyter', 'kernelspec', 'list', '--json'], 
stdout is , 
stderr is Traceback (most recent call last):
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/site-packages/jupyter.py", line 10, in <module>
    run_module('jupyter_core')
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/runpy.py", line 208, in run_module
    return _run_code(code, {}, init_globals, run_name, mod_spec)
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/site-packages/jupyter_core/__main__.py", line 3, in <module>
    main()
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/site-packages/jupyter_core/command.py", line 247, in main
    command = _jupyter_abspath(subcommand)
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/site-packages/jupyter_core/command.py", line 134, in _jupyter_abspath
    'Jupyter command `{}` not found.'.format(jupyter_subcommand)
Exception: Jupyter command `jupyter-/Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/pythonFiles/pyvsc-run-isolated.py` not found.

logger.js:68
Info Python Extension: 2020-04-08 16:48:04: Python Daemon: Execute rpc method ping from /Users/donjayamanne/miniconda3/envs/dsAML/bin/python
logger.js:68
Error Python Extension: 2020-04-08 16:48:04: Failed to list kernels from daemon [StdErrError: Traceback (most recent call last):
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/site-packages/jupyter.py", line 10, in <module>
    run_module('jupyter_core')
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/runpy.py", line 208, in run_module
    return _run_code(code, {}, init_globals, run_name, mod_spec)
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/site-packages/jupyter_core/__main__.py", line 3, in <module>
    main()
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/site-packages/jupyter_core/command.py", line 247, in main
    command = _jupyter_abspath(subcommand)
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/site-packages/jupyter_core/command.py", line 134, in _jupyter_abspath
    'Jupyter command `{}` not found.'.format(jupyter_subcommand)
Exception: Jupyter command `jupyter-/Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/pythonFiles/pyvsc-run-isolated.py` not found.

	at PythonDaemonExecutionService.processResponse (/Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/out/client/common/process/pythonDaemon.js:229:19)
	at PythonDaemonExecutionService.execModuleWithDaemon (/Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/out/client/common/process/pythonDaemon.js:255:14)
	at async PythonDaemonExecutionService.execModule (/Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/out/client/common/process/pythonDaemon.js:173:24)
	at async PythonDaemonExecutionServicePool.wrapCall (/Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/out/client/common/process/pythonDaemonPool.js:160:20)
	at async JupyterInterpreterSubCommandExecutionService.getKernelSpecs (/Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/out/client/datascience/jupyter/interpreter/jupyterInterpreterSubCommandExecutionService.js:170:45)
	at async KernelService.getKernelSpecs (/Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/out/client/datascience/jupyter/kernels/kernelService.js:332:23)
	at async KernelService.findMatchingKernelSpec (/Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/out/client/datascience/jupyter/kernels/kernelService.js:67:23)
	at async KernelService.searchAndRegisterKernel (/Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/out/client/datascience/jupyter/kernels/kernelService.js:167:23)
	at async KernelSelector.getKernelForLocalConnection (/Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/out/client/datascience/jupyter/kernels/kernelSelector.js:137:40)
	at async Promise.all (index 1)
	at async /Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/out/client/datascience/jupyter/jupyterExecution.js:119:59]
logger.js:68
Info Python Extension: 2020-04-08 16:48:04: Python Daemon: pinged with hello
logger.js:68
Info Python Extension: 2020-04-08 16:48:04: Python Daemon: Execute rpc method ping in DS Daemon
logger.js:68
Info Python Extension: 2020-04-08 16:48:04: Python Daemon: Execute rpc method ping from /Users/donjayamanne/miniconda3/envs/dsAML/bin/python
logger.js:68
Info Python Extension: 2020-04-08 16:48:04: Python Daemon: pinged with hello
logger.js:68
Info Python Extension: 2020-04-08 16:48:04: Python Daemon: Failed executing an rpc method. Error: Traceback (most recent call last):
  File "/Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/pythonFiles/vscode_datascience_helpers/daemon/daemon_python.py", line 54, in _decorator
    return func(self, *args, **kwargs)
  File "/Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/pythonFiles/vscode_datascience_helpers/daemon/daemon_python.py", line 176, in m_exec_module_observable
    runpy.run_module(module_name, globals(), run_name="__main__")
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/runpy.py", line 208, in run_module
    return _run_code(code, {}, init_globals, run_name, mod_spec)
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/site-packages/jupyter.py", line 10, in <module>
    run_module('jupyter_core')
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/runpy.py", line 208, in run_module
    return _run_code(code, {}, init_globals, run_name, mod_spec)
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/site-packages/jupyter_core/__main__.py", line 3, in <module>
    main()
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/site-packages/jupyter_core/command.py", line 247, in main
    command = _jupyter_abspath(subcommand)
  File "/Users/donjayamanne/miniconda3/envs/dsAML/lib/python3.7/site-packages/jupyter_core/command.py", line 134, in _jupyter_abspath
    'Jupyter command `{}` not found.'.format(jupyter_subcommand)
Exception: Jupyter command `jupyter-/Users/donjayamanne/Desktop/Development/vsc/pythonVSCode/pythonFiles/pyvsc-run-isolated.py` not found.
@DonJayamanne DonJayamanne added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Apr 8, 2020
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Apr 8, 2020
@rchiodo
Copy link

rchiodo commented Apr 9, 2020

I think we can just back out the change in pythonDaemonPool and everything will work again.

@rchiodo
Copy link

rchiodo commented Apr 9, 2020

Submitting a PR with a fix.

@rchiodo rchiodo closed this as completed Apr 9, 2020
@ghost ghost removed the triage label Apr 9, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Apr 17, 2020
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
Projects
None yet
Development

No branches or pull requests

4 participants