koozz / zed-vale

Zed extension using the Vale language server.
https://zed.dev
Apache License 2.0
5 stars 0 forks source link

Missing permission for vale-ls executable #3

Closed lvignoli closed 2 weeks ago

lvignoli commented 1 month ago

On a fresh install, vale-ls was failing to start per Zed logs. I had to manually add execution permission to the binary to fix it

chmod u+x "/Users/me/Library/Application Support/Zed/extensions/work/vale/vale-ls-v0.3.7/vale-ls"

Specs

Zed: v0.145.0 (Zed Preview) OS: macOS 14.4.1 Memory: 16 GiB Architecture: aarch64

koozz commented 1 month ago

@lvignoli, thank you for filing an issue. I have downloaded the same vale-ls archive from the releases page but it does have the executable bit. Could it be that your Mac prevented it from being executable as some (sane) security measure?

lvignoli commented 1 month ago

Hi, I was away sorry. I guess so, but if so, that was silent. Maybe Zed HTTP clients downloads files in a peculiar way?

koozz commented 1 month ago

I will try a clean install (one of these days).

osiewicz commented 2 weeks ago

I've just ran into this as well. There's https://docs.rs/zed_extension_api/latest/zed_extension_api/fn.make_file_executable.html API that we could use to fix that.