zowe / zowe-explorer-vscode

Visual Studio Code Extension for Zowe, which lets users interact with z/OS Data Sets, Unix System Services, and Jobs on a remote mainframe instance. Powered by Zowe SDKs.
Eclipse Public License 2.0
172 stars 92 forks source link

Error running command zowe.ds.addSession: command 'zowe.ds.addSession' not found. This is likely caused by the extension that contributes zowe.ds.addSession. #3242

Open HaoYu-China opened 1 week ago

HaoYu-China commented 1 week ago

Describe the bug Got: Error running command zowe.ds.addSession: command 'zowe.ds.addSession' not found. This is likely caused by the extension that contributes zowe.ds.addSession. when trying to add profile to Date sets view within the Zowe VSCode extension.

To Reproduce

Expected behavior

Screenshots

Screenshot 2024-10-15 at 19 40 13

Desktop (please complete the following information):

Additional context I found this issue when covert existing profiles as VSCODE pop-up panel as below screenshot then I choose convert existing profiles. If you choose create new then will not met this issue, thanks.

Screenshot 2024-10-14 at 15 22 21
github-actions[bot] commented 1 week ago

Thank you for creating a bug report. We will investigate the bug and evaluate its impact on the product. If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.

traeok commented 1 week ago

Hi @HaoYu-China,

Can you please provide a list of extensions that you have installed? Or, do you have any extensions installed that depend on Zowe Explorer?

If you have access to the code CLI, you can run the command code --list-extensions in a terminal window to get a list of extensions installed in your environment.

Thanks!

JillieBeanSim commented 1 week ago

with the v1 convert prompt it seems to be v3.0 Zowe Explorer instead of 2.18.0

HaoYu-China commented 1 week ago

code --list-extensions

Hi @traeok Here is the screenshot for a list of extensions that I have installed when run the command code --list-extensions.

Screenshot 2024-10-16 at 08 39 13
traeok commented 1 week ago

@HaoYu-China, do you still encounter this error with IBM Z Open Editor disabled? As far as I'm aware, Z Open Editor does not currently have a release on the marketplace that is compatible with Zowe Explorer v3. I see that 2.18.0 is mentioned for the Zowe Explorer version in the original issue post. However, we've added the "Convert v1 profiles" dialog to v3 only, so I believe you are using Zowe Explorer v3.

If you'd like to continue using Z Open Editor with Zowe Explorer v3, you'll want to update to the pre-release offered here: https://github.com/zowe/zowe-explorer-vscode/issues/3184#issuecomment-2394463349

traeok commented 1 day ago

Hi @HaoYu-China,

IBM Z Open Editor v5.0.0 is now available from the VS Code marketplace and should support Zowe Explorer v3. Are you still encountering this issue with the latest version of Zowe Explorer and IBM Z Open Editor?

Thanks!