databricks/databricks-vscode

[BUG] Configuring autocomplete fails to install databricks-connect

jhickson opened this issue · 1 comments

Describe the bug
When I run "Databricks: Configure autocomplete for Databricks globals" and click "Install" when it asks to install databricks-connect then the install fails because the whl it targets does not exist:

PS C:\Work\Code\Databricks> c:\Work\Code\Databricks\.venv\Scripts\python.exe -m pip install c:\Users\******\.vscode\extensions\databricks.databricks-0.3.8-win32-x64\resources\python\databricks_connect-13.0.0-py2.py3-none-any.whl --disable-pip-version-check --no-python-version-warning; echo $? > C:\Users\******\AppData\Local\Temp\databricks-vscode-nwGRsQ\python-terminal-output.txt
WARNING: Requirement 'c:\\Users\\******\\.vscode\\extensions\\databricks.databricks-0.3.8-win32-x64\\resources\\python\\databricks_connect-13.0.0-py2.py3-none-any.whl' looks like a filename, but the file does not exist
Looking in indexes: https://******.jfrog.io/artifactory/api/pypi/pypi-virtual/simple
Processing c:\users\******\.vscode\extensions\databricks.databricks-0.3.8-win32-x64\resources\python\databricks_connect-13.0.0-py2.py3-none-any.whl
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\Users\\******\\.vscode\\extensions\\databricks.databricks-0.3.8-win32-x64\\resources\\python\\databricks_connect-13.0.0-py2.py3-none-any.whl'

The c:\users\******\.vscode\extensions\databricks.databricks-0.3.8-win32-x64\resources\python directory contains no .whl files whatsoever.

I've tried reinstalling the extension several times in case it was an installation issue.

To Reproduce
Steps to reproduce the behavior:

  1. Type Ctrl-Shift-p
  2. Enter Databricks: Configure autocomplete for Databricks globals
  3. Click Configure
  4. Click Install when prompted to "Install databricks-connect in local env?"
  5. Error shown above appears in terminal.

System information:

Version: 1.77.3 (user setup)
Commit: 704ed70d4fd1c6bd6342c436f1ede30d1cff4710
Date: 2023-04-12T09:16:02.548Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Windows_NT x64 10.0.19045
Sandboxed: No

Databricks Extension Version = 0.3.8

Databricks Extension Logs
I enabled logging as described but the log files are empty.

@jhickson thanks for reporting this bug. I believe some references to the debug file remained in the final code. For now, can you install databricks connect with this command pip install databricks-connect.

We are soon going to be releasing our full databricks-connect integration later today. That will also fix this bug.