โ06-19-2024 01:50 AM
I use the databricks cli
databricks_cli_0.221.1_windows_amd64-signed
and when I run
databricks bundle validate
in my project I get
"Error: no shell found"
In git-bash it works but I have other problems there.
โ06-19-2024 03:10 AM
Is it just the validate command or also other databricks cli commands? For example databricks bundle init? does that work?
is databricks cli added to your %PATH% variable inside your system settings?
Can you try to update databricks cli? You're using an older version
โ06-19-2024 03:26 AM
The rest work
databricks bundle init works
databricks auth profiles works
I can login through a browser
databricks auth login --host <workspace-url>
even in git-bash If I export a BROWSER variable like
export BROWSER="/c/Program Files/Mozilla Firefox/firefox.exe"
authentication works
In git-bash it does not complain for shell (but there I have proxy problems)
โ06-19-2024 03:27 AM
I use latest databricks cli (not legace, see above)
โ06-19-2024 04:57 AM
That's strange. Just checking, are you running it from the right folder? (location of databricks.yml file)?
โ06-19-2024 06:49 AM
In both cases, command prompt and git-bash I run it from the correct folder.
Still, I do not understand the "shell" thing, where it is coming from.
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now