Capability for auto download is not listed in extension manifest?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust, wasm
- Lĩnh vực
- developer-experience
Hướng nghiên cứu
The failure comes from the extension's wasm build calling chmod +x on the jdtls proxy binary without declaring a process:exec capability; the trace names zed_java binary_path in the proxy module and the extension manifest. Start by reading the extension.toml capabilities section and the binary_path code path that calls make_file_executable. Done when the manifest lists the needed process:exec capability (or the call is removed) and installing the extension succeeds without that error.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened?
Language server jdtls:
error while executing at wasm backtrace:
0: 0x1f39ff - <unknown>!<wasm function 5>
1: 0xfa7d9 - zed_java.wasm!zed_extension_api[d2ac25c5bb8a23f1]::wit::make_file_executable
2: 0x2c845 - zed_java.wasm!<zed_java[e751fc9ab273b0d5]::proxy::Proxy>::binary_path
3: 0x270f9 - zed_java.wasm!<zed_java[e751fc9ab273b0d5]::jdtls_server::JdtlsServer as zed_java[e751fc9ab273b0d5]::language_server::LanguageServer>::command
4: 0x34248 - zed_java.wasm!<zed_java[e751fc9ab273b0d5]::Java as zed_extension_api[d2ac25c5bb8a23f1]::Extension>::language_server_command
5: 0xf80f9 - zed_java.wasm!zed_extension_api[d2ac25c5bb8a23f1]::wit::_export_language_server_command_cabi::<zed_extension_api[d2ac25c5bb8a23f1]::Component>
6: 0x103dde - zed_java.wasm!language-server-command: capability for process:exec chmod ["+x", "bin/v6.8.30/java-lsp-proxy"] was not listed in the extension manifest
I think the last line is the most important?
6: 0x103dde - zed_java.wasm!language-server-command: capability for process:exec chmod ["+x", "bin/v6.8.30/java-lsp-proxy"] was not listed in the extension manifest
It happens just after installing the extension.
What did you expect to happen?
The extension to install correctly
Environment
Zed: Gram 3.4.1
Platform: Archlinux rolling release
Java & mvn installed
- Ngôn ngữ chính
- Rust
- Star
- 225
- Fork
- 47
- Merge trung bình
- 3 giờ 51 phút
- Pull request đã merge (30 ngày)
- 7
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của zed-extensions/java
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
zed-extensions/java#325 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
zed-extensions/java#133 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
zed-extensions/java#324 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
zed-extensions/java#272 · 6 bình luận ·
-
language-server
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
zed-extensions/java#246 · 4 bình luận ·
Tất cả issue của zed-extensions/java
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
riverqueue/river#1576 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
stadelmanma/fitparse-rs#64 ·