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

Unable to connect #143

Closed
dilzeem opened this issue Apr 14, 2023 · 5 comments
Closed

Unable to connect #143

dilzeem opened this issue Apr 14, 2023 · 5 comments

Comments

@dilzeem
Copy link

dilzeem commented Apr 14, 2023

Hi,

This extension looks very promising, though I am getting trouble with trying to get it to work.

I am getting an error of not being able to find apiClient?
Is there some dependency that needs to be installed to retrieve this apiClient?
This is running on WSL2 Ubuntu.

Initializing ConnectionManager Databricks Extension ...
Databricks extension is installed!
TypeError: Cannot read properties of undefined (reading 'apiClient')
No Databricks Workspaces have been found! Please make sure you are connected to the right tenant and have the appropriate permissions!
API has not yet been initialized! Please connect first!
@dilzeem
Copy link
Author

dilzeem commented Apr 14, 2023

I looked at the source code, and it seems it was related to the databricks extension.

So I used the databricks-cli instead and it works as expected.
Really useful extensions, adds a lot on what was released by databricks, and better setup for local development.

@gbrueckl
Copy link
Collaborator

will check with the guys from Databricks if they have changed something that might have broken the integration - will update you here

just to get this right, your fix was to use "databricks.connectionManager": "Databricks CLI Profiles"?

@dilzeem
Copy link
Author

dilzeem commented Apr 14, 2023

Yeah it was.

It was set to Default before, and I had the extension installed.

@gbrueckl
Copy link
Collaborator

the fix for this will be released on Monday
make sure to update both extensions (but this should happen automatically anyway)

@dilzeem
Copy link
Author

dilzeem commented Apr 14, 2023

Great thanks for that!
If it is not resolved I will reopen it again :)

@dilzeem dilzeem closed this as completed Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants