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

[BUG] Getting an error when trying to sync from linux #1318

Open
harshg-db opened this issue Aug 20, 2024 · 3 comments
Open

[BUG] Getting an error when trying to sync from linux #1318

harshg-db opened this issue Aug 20, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@harshg-db
Copy link

Describe the bug
Getting an error when trying to sync from linux

To Reproduce
Steps to reproduce the behavior:

  1. Use VSCode to ssh into a linux box
  2. Open a directory in VSCode
  3. Try to sync files to a cluster using OAuth
  4. Notice: you get the error below after a while

Screenshots
Stack trace

Login failed with Databricks CLI failed: Loading "original-fs" failed Error:Cannot find module 'original-fs' Require stack: - /home/harsh.goyal/.vscode-server/cli/servers/Stable-fee1edb8d6d72a0ddff41e5f71a671c23ed924b9/server/out/server-cli.js at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15) at Module._load (node:internal/modules/cjs/loader:986:27) at Module.require (node:internal/modules/cjs/loader:1233:19) at require (node:internal/modules/helpers:179:18) at i (/home/harsh.goyal/.vscode-server/cli/servers/Stable-fee1edb8d6d72a0ddff41e5f71a671c23ed924b9/server/out/server-cli.js:3:98) at r.load (/home/harsh.goyal/.vscode-server/cli/servers/Stable-fee1edb8d6d72a0ddff41e5f71a671c23ed924b9/server/out/server-cli.js:2:1637) at h.load (/home/harsh.goyal/.vscode-server/cli/servers/Stable-fee1edb8d6d72a0ddff41e5f71a671c23ed924b9/server/out/server-cli.js:1:13958) at u (/home/harsh.goyal/.vscode-server/cli/servers/Stable-fee1edb8d6d72a0ddff41...

System information:

  1. Paste the output ot the Help: About command (CMD-Shift-P).
Version: 1.92.2 (Universal)
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z (5 days ago)
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.5.0
  1. Databricks Extension Version: v1.3.1

Databricks Extension Logs
Please attach the databricks extension logs

Unfortunately going to "open full logs" via the command palette did nothing for me. I verified that logs are enabled.

Additional context
Add any other context about the problem here.

@harshg-db harshg-db added the bug Something isn't working label Aug 20, 2024
@harshg-db harshg-db changed the title [BUG] [BUG] Getting an error when trying to sync from linux Aug 20, 2024
@AndreasBoegh
Copy link

AndreasBoegh commented Aug 26, 2024

Getting the same error. Cannot OAuth to Databricks (U2M).

If I run the OAuth through CLI outside extension (and dev container) everything works fine as a workaround.

UPDATE
Running the extension in VS Code insiders version 1.93.0 fixes this issue

Version: 1.93.0-insider (Universal)
Commit: e81aceaa07bab1ccdc94deae04168c8bd062f0de
Date: 2024-08-26T05:04:02.640Z
Electron: 30.3.1
ElectronBuildId: 9960165
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.5.0

@kartikgupta-db
Copy link
Contributor

Hi. We don't support dev containers or virtual file system (when you run vscode by sshing into linux for example). This is because the CLI is not optimised to use the virtual filesystems yet.

@harshg-db
Copy link
Author

Across the industry, coding is moving to remote servers. Please consider at least providing a helpful error message when the user is trying to sync a virtual file system.

@harshg-db harshg-db reopened this Aug 27, 2024
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

3 participants