Skip to content

command 'python.execSelectionInTerminal' not found  #12757

@rob-mccutcheon

Description

@rob-mccutcheon

Bug: command 'python.execSelectionInTerminal' not found

Steps to cause the bug to occur

  1. Start remote workspace
  2. Hitting Shift + Enter to execute some selected code

Actual behavior

Get error message: command 'python.execSelectionInTerminal' not found

Seems the same as:
#3623
I have uninstalled and reinstalled the extension. But I could not see where to download the vsix file?

Expected behavior

The code to run in interactive window

Your Jupyter and/or Python environment

Please provide as much info as you readily know

  • Jupyter server running: | Remote |
  • **Extension version: 2020.06.91350
  • **VS Code version: 1.446.1
  • OS: Windows | Mac(local) | Linux (remoted):
  • Virtual environment: conda

Developer Tools Console Output


workbench.desktop.main.js:sourcemap:1670  WARN Workbench did not finish loading in 10 seconds, that might be a problem that should be reported.
2workbench.desktop.main.js:sourcemap:265 [Extension Host] (node:2230) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ workbench.desktop.main.js:sourcemap:265
workbench.desktop.main.js:sourcemap:5004 No search provider registered for scheme: vscode-remote, waiting
(anonymous) @ workbench.desktop.main.js:sourcemap:5004
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] waiting for 5 seconds before reconnecting...
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] resolving connection...
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] connecting to 127.0.0.1:51392...
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] reconnected!
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] waiting for 5 seconds before reconnecting...
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] resolving connection...
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] connecting to 127.0.0.1:51392...
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] reconnected!
workbench.desktop.main.js:sourcemap:4207 Error received from starting extension host
(anonymous) @ workbench.desktop.main.js:sourcemap:4207
workbench.desktop.main.js:sourcemap:4207 timeout
(anonymous) @ workbench.desktop.main.js:sourcemap:4207
workbench.desktop.main.js:sourcemap:2932 Command 'Python: Specify local or remote Jupyter server for connections' resulted in an error (command 'python.datascience.selectjupyteruri' not found)
onDidChangeNotification @ workbench.desktop.main.js:sourcemap:2932
workbench.desktop.main.js:sourcemap:2932 Command 'Python: Select Interpreter to start Jupyter server' resulted in an error (command 'python.datascience.selectJupyterInterpreter' not found)
onDidChangeNotification @ workbench.desktop.main.js:sourcemap:2932
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] waiting for 5 seconds before reconnecting...
workbench.desktop.main.js:sourcemap:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] resolving connection...
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2932 Command 'Python: Enable Source Map Support For Extension Debugging' resulted in an error (command 'python.enableSourceMapSupport' not found)
onDidChangeNotification @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2932
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] resolving connection...
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] connecting to 127.0.0.1:51392...
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] reconnected!
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] waiting for 5 seconds before reconnecting...
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] resolving connection...
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] connecting to 127.0.0.1:51392...
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1670  INFO [remote-connection][ExtensionHost][a449e…][reconnect] reconnected!


 NB when trying to run the "Enable source map support for
extension debugging" command I receive Command 'Python: Enable Source Map Support For Extension Debugging' resulted in an error (command 'python.enableSourceMapSupport' not found)

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from poster

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions