microsoft / vscode-tools-for-ai

Azure Machine Learning for Visual Studio Code, previously called Visual Studio Code Tools for AI, is an extension to easily build, train, and deploy machine learning models to the cloud or the edge with Azure Machine Learning service.
Other
321 stars 91 forks source link

Can't connect compute instance from VS Code #2327

Closed markjbrown closed 3 months ago

markjbrown commented 3 months ago

Does this occur consistently? YES

Repro steps:

  1. Open Command Pallet
  2. Select Azure ML: Connect compute instance to Jupyter Server
  3. Click report an Issue toast in the bottom right of your screen.

Action: azureml.commandPalette.computeInstance.connectToJupyterServer Error type: TypeError Error Message: Cannot read properties of undefined (reading 'toString')

Version: 0.46.1 OS: win32 OS Release: 10.0.22631 Product: Visual Studio Code Product Version: 1.87.1 Language: en

Call Stack ``` II.selectJupyterUri extension.node.js:430:27170 l.h extensionHostProcess.js:150:184839 l.g extensionHostProcess.js:150:183831 l.executeCommand extensionHostProcess.js:150:183738 Object.executeCommand extensionHostProcess.js:160:21654 h.executeCommand extension.js:2:2347738 extension.js:2:2352560extension.js:2:2352560 ```
sevillal commented 3 months ago

Thanks for filing this issue @markjbrown. This should be fixed in our next release v0.48.0 available later this week.

markjbrown commented 3 months ago

@sevillal when is this version coming out? I very much would like to be able to leverage this ASAP.

sevillal commented 3 months ago

@markjbrown could you please try the following and let me know if it works for you:

  1. Open a notebook
  2. Run the command "Azure ML: Connect to compute instance Jupyter server"
markjbrown commented 3 months ago

@sevillal got the same error image

sevillal commented 3 months ago

@markjbrown could you please try installing the latest pre-release version of the Azure ML extension and retry? You can follow this instructions to install the pre-release. https://github.com/microsoft/vscode-tools-for-ai/wiki/FAQ#how-to-install-pre-release-version-of-the-extension-

markjbrown commented 3 months ago

Connected now. Thanks.