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

Checking for updates PHP server in looping and never finish #6241

Closed
1 task done
felipepanegalli opened this issue Jul 29, 2023 · 1 comment
Closed
1 task done

Checking for updates PHP server in looping and never finish #6241

felipepanegalli opened this issue Jul 29, 2023 · 1 comment
Labels
bug [core label] language server failure Language server doesn't work as expected

Comments

@felipepanegalli
Copy link

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Hello, since de version 0.96.2 when Zed introduce the PHP LSP the APP the language server enter in looping.
I try to reinstall but has the same problem.

Environment

Zed: v0.96.4 (stable)
OS: macOS 13.4.1
Memory: 32 GiB
Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

image

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

2023-07-29T12:07:10 [INFO] ========== starting zed ==========
2023-07-29T12:07:10 [INFO] Opening main db
2023-07-29T12:07:10 [INFO] Opening main db
2023-07-29T12:07:10 [INFO] set status on client 0: Authenticating
2023-07-29T12:07:10 [INFO] set status on client 0: Connecting
2023-07-29T12:07:10 [INFO] build git repository "platformprivatekeys/.git"
2023-07-29T12:07:10 [INFO] build git repository "checkout-api/.git"
2023-07-29T12:07:10 [INFO] Opening main db
2023-07-29T12:07:10 [INFO] Opening main db
2023-07-29T12:07:10 [INFO] build git repository "backoffice/.git"
2023-07-29T12:07:10 [INFO] build git repository "xyz/.git"
2023-07-29T12:07:11 [INFO] build git repository "backoffice-frontend/.git"
2023-07-29T12:07:11 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2023-07-29T12:07:11 [INFO] build git repository "reports/.git"
2023-07-29T12:07:11 [ERROR] crates/workspace/src/persistence/model.rs:260: Deserializer does not exist for item kind: diagnostics
2023-07-29T12:07:11 [INFO] starting language server "yaml-language-server", path: "/Users/softzen/Desktop/Sistemas/producao/xyz", id: 0
2023-07-29T12:07:11 [INFO] add connection to peer
2023-07-29T12:07:11 [INFO] waiting for server hello
2023-07-29T12:07:11 [INFO] got server hello
2023-07-29T12:07:11 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 191, id: 83659 })
2023-07-29T12:07:11 [INFO] set status on client 0: Connected { peer_id: PeerId { owner_id: 191, id: 83659 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2023-07-29T12:07:12 [INFO] installing Node runtime
2023-07-29T12:07:13 [INFO] 0 unhandled notification client/registerCapability:
{
"registrations": [
{
"id": "4f846a52-81dc-4614-b769-fde26c0841cb",
"method": "workspace/didChangeWorkspaceFolders",
"registerOptions": {}
}
]
}
2023-07-29T12:07:13 [INFO] set environment variables from shell:/bin/zsh, path:/opt/homebrew/opt/node@18/bin:/Users/softzen/opt/anaconda3/bin:/Users/softzen/opt/anaconda3/condabin:/opt/homebrew/opt/rub$
2023-07-29T12:07:13 [ERROR] /Users/administrator/actions-runner-2/_work/zed/zed/crates/project/src/worktree.rs:3541: ambiguous path 'public/images/brands/hipercard.svg' given to git_status_file; class=Invalid (3); cod$
2023-07-29T12:07:13 [ERROR] /Users/administrator/actions-runner-2/_work/zed/zed/crates/project/src/worktree.rs:3541: ambiguous path 'public/images/brands/visa.svg' given to git_status_file; class=Invalid (3); code=Amb$
2023-07-29T12:10:17 [INFO] starting language server "intelephense", path: "/Users/softzen/Desktop/Sistemas/producao/xyz", id: 1
2023-07-29T12:10:20 [ERROR] invalid LSP message header ""
2023-07-29T12:10:20 [ERROR] Broken pipe (os error 32)
2023-07-29T12:10:20 [ERROR] server shut down
2023-07-29T12:10:20 [ERROR] failed to start language server "intelephense": oneshot canceled
2023-07-29T12:10:20 [ERROR] crates/zed/src/languages/php.rs:132: no cached binary
2023-07-29T12:10:20 [INFO] About to spawn test binary
2023-07-29T12:10:20 [WARN] test binary failed to launch
2023-07-29T12:10:20 [WARN] test binary check failed
2023-07-29T12:10:20 [INFO] beginning to reinstall server
2023-07-29T12:10:20 [INFO] deleting server container
2023-07-29T12:10:20 [INFO] starting language server "intelephense", path: "/Users/softzen/Desktop/Sistemas/producao/xyz", id: 2
2023-07-29T12:10:23 [ERROR] invalid LSP message header ""
2023-07-29T12:10:23 [ERROR] Broken pipe (os error 32)
2023-07-29T12:10:23 [ERROR] server shut down
2023-07-29T12:10:23 [ERROR] failed to start language server "intelephense": oneshot canceled
2023-07-29T12:10:23 [ERROR] crates/zed/src/languages/php.rs:132: no cached binary
2023-07-29T12:10:23 [INFO] About to spawn test binary
2023-07-29T12:10:23 [WARN] test binary failed to launch
2023-07-29T12:10:23 [WARN] test binary check failed
2023-07-29T12:10:23 [INFO] beginning to reinstall server
2023-07-29T12:10:23 [INFO] deleting server container
2023-07-29T12:10:23 [INFO] starting language server "intelephense", path: "/Users/softzen/Desktop/Sistemas/producao/xyz", id: 3
2023-07-29T12:10:29 [ERROR] invalid LSP message header ""
2023-07-29T12:10:29 [ERROR] Broken pipe (os error 32)
2023-07-29T12:10:29 [ERROR] server shut down
2023-07-29T12:10:29 [ERROR] failed to start language server "intelephense": oneshot canceled
2023-07-29T12:10:29 [ERROR] crates/zed/src/languages/php.rs:132: no cached binary
2023-07-29T12:10:29 [INFO] About to spawn test binary
2023-07-29T12:10:29 [WARN] test binary failed to launch
2023-07-29T12:10:29 [WARN] test binary check failed
2023-07-29T12:10:29 [INFO] beginning to reinstall server
2023-07-29T12:10:29 [INFO] deleting server container
2023-07-29T12:10:29 [INFO] starting language server "intelephense", path: "/Users/softzen/Desktop/Sistemas/producao/xyz", id: 4
2023-07-29T12:10:35 [ERROR] invalid LSP message header ""
2023-07-29T12:10:35 [ERROR] Broken pipe (os error 32)
2023-07-29T12:10:35 [ERROR] server shut down
2023-07-29T12:10:35 [ERROR] failed to start language server "intelephense": oneshot canceled
2023-07-29T12:10:35 [ERROR] crates/zed/src/languages/php.rs:132: no cached binary
2023-07-29T12:10:35 [INFO] About to spawn test binary
2023-07-29T12:10:35 [WARN] test binary failed to launch
2023-07-29T12:10:35 [WARN] test binary check failed
2023-07-29T12:10:35 [INFO] beginning to reinstall server
2023-07-29T12:10:35 [INFO] deleting server container
2023-07-29T12:10:35 [INFO] starting language server "intelephense", path: "/Users/softzen/Desktop/Sistemas/producao/xyz", id: 5

@felipepanegalli felipepanegalli added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Jul 29, 2023
@JosephTLyons JosephTLyons added language An umbrella label for all programming languages syntax behaviors php PHP programming language support and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jul 31, 2023
@JosephTLyons
Copy link
Collaborator

Hey @felipepanegalli - appreciate the report. We have others experiencing this as well, in a variety of languages. We are actively trying to figure out what is causing this, but we haven't found anything concrete yet. We do have an issue that was posted for this some weeks back, so I'll close this one, to keep all the activity in one spot.

@JosephTLyons JosephTLyons added language server failure Language server doesn't work as expected and removed language An umbrella label for all programming languages syntax behaviors php PHP programming language support labels Jul 31, 2023
@JosephTLyons JosephTLyons transferred this issue from zed-industries/community Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [core label] language server failure Language server doesn't work as expected
Projects
None yet
Development

No branches or pull requests

2 participants