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

Error 'Cannot read properties of undefined (reading 'getLibraries')' is thrown with profile creation (SSH) #1292

Open
Zhirong2022 opened this issue Nov 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Zhirong2022
Copy link
Collaborator

Describe the bug
Open VSC SAS Extension base on Main branch. Sign in with a valid Viya connection, open SAS server. Open a .sas file and open Command Palette, find the command 'SAS:Add New Connection Profile' to add a new valid SSH connection. Error happened if trying to connect to the newly created SSH profile.

Steps to reproduce

  1. Sign in with a valid viya connection
  2. Open SAS Server and keep it visible
  3. Open a .sas file
  4. Open Command palette
  5. Find command 'SAS:Add New Connection Profile'
  6. Create a new valid SSH connection profile

Expected behavior
No error if trying to use the newly created SSH connection profile

Screenshots
image

Environment (please complete the following information):
Client OS: [e.g. Windows 11]
Extension version: [e.g. v1.12.0]

@Zhirong2022 Zhirong2022 added the bug Something isn't working label Nov 25, 2024
@scottdover
Copy link
Contributor

@Zhirong2022 Just for clarification, users can use ssh connections, right? But, creating a new ssh connection while being connected to a viya 4 connection causes issues. Is that right?

@Zhirong2022
Copy link
Collaborator Author

@Zhirong2022 Just for clarification, users can use ssh connections, right? But, creating a new ssh connection while being connected to a viya 4 connection causes issues. Is that right?

@scottdover Yes, it is the scenario. User can use ssh connection as usual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants