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

Clojure language server isn't executable #22394

Open
1 task done
paulbutcher opened this issue Dec 24, 2024 · 0 comments
Open
1 task done

Clojure language server isn't executable #22394

paulbutcher opened this issue Dec 24, 2024 · 0 comments
Labels
admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue

Comments

@paulbutcher
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

The Clojure extension automatically downloads the Clojure language server, but doesn't mark it as executable, resulting in the error:

Language server error: clojure-lsp

failed to spawn command. path: "/Users/paulbutcher/Library/Application Support/Zed/extensions/work/clojure/clojure-lsp-2024.11.08-17.49.29/clojure-lsp", working directory: "/Users/paulbutcher/Documents/Repositories/htmx-experiment", args: []
-- stderr--

Marking it executable by hand fixes the error.

Zed Version and System Specs

Zed: v0.166.1 (Zed)
OS: macOS 15.2.0
Memory: 16 GiB
Architecture: aarch64

If applicable, add screenshots or screencasts of the incorrect state / behavior

No response

If applicable, attach your Zed.log file to this issue.

Zed.log
2024-12-24T14:35:28.20197Z [INFO] attempting to start language server "clojure-lsp", path: "/Users/paulbutcher/Documents/Repositories/htmx-experiment", id: 1
2024-12-24T14:35:28.28519Z [INFO] starting language server process. binary path: "/opt/homebrew/bin/node", working directory: "/", args: ["/Users/paulbutcher/Library/Application Support/Zed/copilot/copilot-v0.7.0/dist/language-server.js", "--stdio"]
2024-12-24T14:35:28.593202Z [INFO] add_connection;
2024-12-24T14:35:28.626454Z [INFO] set status on client 272196: Connected { peer_id: PeerId { owner_id: 629, id: 4818398 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2024-12-24T14:35:28.710123Z [INFO] starting language server process. binary path: "/Users/paulbutcher/Library/Application Support/Zed/extensions/work/clojure/clojure-lsp-2024.11.08-17.49.29/clojure-lsp", working directory: "/Users/paulbutcher/Documents/Repositories/htmx-experiment", args: []
2024-12-24T14:35:28.718735Z [ERROR] Failed to start language server "clojure-lsp": failed to spawn command. path: "/Users/paulbutcher/Library/Application Support/Zed/extensions/work/clojure/clojure-lsp-2024.11.08-17.49.29/clojure-lsp", working directory: "/Users/paulbutcher/Documents/Repositories/htmx-experiment", args: []
2024-12-24T14:35:28.718857Z [ERROR] server stderr: ""
@paulbutcher paulbutcher added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue
Projects
None yet
Development

No branches or pull requests

1 participant