zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.58k stars 3.04k forks source link

Pink window on startup #6962

Closed bhanuvrat closed 9 months ago

bhanuvrat commented 9 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

shows a pink window with no components inside on start up



image

Environment

cannot open command pallete to copy system specs.

apple m1 max 32 gb mac os ventura 13.3

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

tried with last two versions 119.19 and 119.20

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.

2024-01-29T04:32:26 [INFO] ========== starting zed ========== 2024-01-29T04:32:26 [INFO] Opening main db 2024-01-29T04:32:27 [ERROR] crates/settings/src/settings_file.rs:76: EOF while parsing a value at line 1 column 0 2024-01-29T04:32:27 [ERROR] crates/zed/src/zed.rs:538: EOF while parsing a value at line 1 column 0 2024-01-29T04:32:27 [INFO] Opening main db 2024-01-29T04:32:27 [INFO] set environment variables from shell:/bin/zsh, path:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/anuvrat/.mix/escripts:/opt/homebrew/opt/openjdk/bin:/usr/local/texlive/2021basic/bin/universal-darwin/:/usr/local/bin/flutter/bin:/Users/anuvrat/.cargo/bin:/Users/anuvrat/bin:/usr/local/bin:/opt/homebrew/bin:/opt/homebrew/sbin::/Users/anuvrat/.emacs.d/.local/straight/build-28.2/emacsql-sqlite/sqlite:/Users/anuvrat/.nix-profile/bin/:/Users/anuvrat/.mix/escripts:/opt/homebrew/opt/openjdk/bin:/usr/local/texlive/2021basic/bin/universal-darwin/:/usr/local/bin/flutter/bin:/Users/anuvrat/.cargo/bin:/Users/anuvrat/bin:/usr/local/bin:/Users/anuvrat/.nix-profile/bin:/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin 2024-01-29T04:32:27 [INFO] Node runtime install_if_needed 2024-01-29T04:32:28 [INFO] 0 unhandled notification LogMessage: { "level": 0, "message": "[DEBUG] [agent] [2024-01-29T04:32:28.095Z] Agent service starting", "metadataStr": "[DEBUG] [agent] [2024-01-29T04:32:28.095Z]", "extra": [ "Agent service starting" ] } 2024-01-29T04:32:28 [INFO] 0 unhandled notification client/registerCapability: { "registrations": [ { "id": "49ac0d9f-ffbc-43cc-93c6-7667355ea12b", "method": "workspace/didChangeWorkspaceFolders", "registerOptions": {} } ] } 2024-01-29T04:32:28 [INFO] 0 unhandled notification LogMessage: { "level": 0, "message": "[DEBUG] [agent] [2024-01-29T04:32:28.102Z] Telemetry initialized", "metadataStr": "[DEBUG] [agent] [2024-01-29T04:32:28.102Z]", "extra": [ "Telemetry initialized" ] } 2024-01-29T04:32:51 [INFO] downloaded update. path:"/var/folders/zx/svd595x50w1fwvg2tt5ygf040000gn/T/zed-auto-update.HWkx7FViXfQf/Zed.dmg"

JosephTLyons commented 9 months ago

We've seen this happen a few times before, its very strange. Are you able to reproduce this faithfully?

karakanb commented 9 months ago

Same happens to me as well, here are my device specs:

I downloaded Zed yesterday, tried it out, then closed it. Today I double clicked a markdown file and it brought up Zed automatically, and it had the pink screen. since then it has the same screen. There's no other window/popup visible on the pink screen.

the logs are as follows:

2024-01-28T21:06:33 [INFO] ========== starting zed ==========
2024-01-28T21:06:33 [INFO] Opening main db
2024-01-28T21:06:33 [ERROR] crates/settings/src/settings_file.rs:76: EOF while parsing a value at line 1 column 0
2024-01-28T21:06:33 [ERROR] crates/zed/src/zed.rs:538: EOF while parsing a value at line 1 column 0
2024-01-28T21:06:33 [INFO] Opening main db
2024-01-28T21:06:34 [INFO] set environment variables from shell:/bin/zsh, path:/opt/homebrew/opt/libpq/bin:/Users/burak/.nvm/versions/node/v20.8.0/bin:/Users/burak/.pyenv/shims:/opt/homebrew/opt/python@3.10/bin:/usr/local/opt/ruby/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/burak/.orbstack/bin:/Users/burak/go/bin:/Users/burak/.local/bin
2024-01-28T21:06:36 [INFO] Node runtime install_if_needed
2024-01-28T21:06:47 [INFO] 0 unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-01-28T21:06:47.449Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-01-28T21:06:47.449Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-01-28T21:06:47 [INFO] 0 unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "4a4c54d4-dd46-4033-98d3-e6139efc096b",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-01-28T21:06:47 [INFO] 0 unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-01-28T21:06:47.792Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-01-28T21:06:47.792Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-01-28T21:06:53 [INFO] build git repository ".git"
2024-01-28T21:06:53 [ERROR] crates/fs/src/repository.rs:92: Error { code: -9, klass: 4, message: "reference 'refs/heads/main' not found" }
2024-01-28T21:06:55 [INFO] Opening main db
2024-01-28T21:06:56 [INFO] starting language server "rust-analyzer", path: "/Users/burak/Code/personal/bruin/poc/sqlparser-rs-test", id: 1
2024-01-28T21:06:59 [INFO] 1 unhandled notification experimental/serverStatus:
{
  "health": "ok",
  "quiescent": false,
  "message": null
}
2024-01-28T21:06:59 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:06:59.892Z] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex",
  "metadataStr": "[INFO] [default] [2024-01-28T21:06:59.892Z]",
  "extra": [
    "[fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex"
  ]
}
2024-01-28T21:07:00 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:07:00.052Z] request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 160 ms",
  "metadataStr": "[INFO] [default] [2024-01-28T21:07:00.052Z]",
  "extra": [
    "request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 160 ms"
  ]
}
2024-01-28T21:07:00 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [streamChoices] [2024-01-28T21:07:00.057Z] solution 0 returned. finish reason: [stop]",
  "metadataStr": "[INFO] [streamChoices] [2024-01-28T21:07:00.057Z]",
  "extra": [
    "solution 0 returned. finish reason: [stop]"
  ]
}
2024-01-28T21:07:00 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [streamChoices] [2024-01-28T21:07:00.058Z] request done: headerRequestId: [ebb83065-61d2-43dc-a1b8-970538811224] model deployment ID: [w9bda9c6b4b91]",
  "metadataStr": "[INFO] [streamChoices] [2024-01-28T21:07:00.058Z]",
  "extra": [
    "request done: headerRequestId: [ebb83065-61d2-43dc-a1b8-970538811224] model deployment ID: [w9bda9c6b4b91]"
  ]
}
2024-01-28T21:07:00 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:07:00.714Z] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex",
  "metadataStr": "[INFO] [default] [2024-01-28T21:07:00.714Z]",
  "extra": [
    "[fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex"
  ]
}
2024-01-28T21:07:00 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:07:00.861Z] request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 147 ms",
  "metadataStr": "[INFO] [default] [2024-01-28T21:07:00.861Z]",
  "extra": [
    "request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 147 ms"
  ]
}
2024-01-28T21:07:00 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [streamChoices] [2024-01-28T21:07:00.862Z] solution 0 returned. finish reason: [stop]",
  "metadataStr": "[INFO] [streamChoices] [2024-01-28T21:07:00.862Z]",
  "extra": [
    "solution 0 returned. finish reason: [stop]"
  ]
}
2024-01-28T21:07:00 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [streamChoices] [2024-01-28T21:07:00.862Z] request done: headerRequestId: [8e499e57-8e39-45e2-84f6-e17679b10724] model deployment ID: [w9bda9c6b4b91]",
  "metadataStr": "[INFO] [streamChoices] [2024-01-28T21:07:00.862Z]",
  "extra": [
    "request done: headerRequestId: [8e499e57-8e39-45e2-84f6-e17679b10724] model deployment ID: [w9bda9c6b4b91]"
  ]
}
2024-01-28T21:07:01 [INFO] 1 unhandled notification experimental/serverStatus:
{
  "health": "ok",
  "quiescent": true,
  "message": null
}
2024-01-28T21:07:04 [WARN] timed out waiting for formatting
2024-01-28T21:07:09 [ERROR] crates/settings/src/settings_file.rs:83: EOF while parsing a value at line 1 column 0
2024-01-28T21:07:09 [INFO] open paths ["/Users/burak/.config/zed/settings.json"]
2024-01-28T21:07:09 [INFO] Initializing default prettier with plugins {}
2024-01-28T21:07:09 [INFO] starting language server "json-language-server", path: "/Users/burak/.config/zed/settings.json", id: 2
2024-01-28T21:07:09 [INFO] Initializing default prettier with plugins {}
2024-01-28T21:07:09 [INFO] Node runtime install_if_needed
2024-01-28T21:07:10 [INFO] Node runtime install_if_needed
2024-01-28T21:07:13 [INFO] Node runtime install_if_needed
2024-01-28T21:07:17 [ERROR] crates/project/src/project.rs:6821: EOF while parsing a value at line 1 column 0
2024-01-28T21:07:17 [INFO] Initializing default prettier with plugins {}
2024-01-28T21:07:17 [INFO] starting language server "json-language-server", path: "/Users/burak/Code/personal/bruin/poc/sqlparser-rs-test", id: 3
2024-01-28T21:07:36 [INFO] open paths ["/Users/burak/.config/zed/settings.json"]
2024-01-28T21:07:36 [INFO] Initializing default prettier with plugins {}
2024-01-28T21:07:36 [INFO] starting language server "json-language-server", path: "/Users/burak/.config/zed", id: 4
2024-01-28T21:07:40 [WARN] Generic lsp request to node failed: Unhandled method textDocument/definition
2024-01-28T21:07:40 [WARN] Generic lsp request to node failed: Unhandled method textDocument/definition
2024-01-28T21:07:40 [ERROR] crates/editor/src/editor.rs:7043: Unhandled method textDocument/definition
2024-01-28T21:08:06 [INFO] open paths ["/Users/burak/.config/zed/settings.json"]
2024-01-28T21:08:09 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [ghostText] [2024-01-28T21:08:09.433Z] Cancelled during debounce",
  "metadataStr": "[INFO] [ghostText] [2024-01-28T21:08:09.433Z]",
  "extra": [
    "Cancelled during debounce"
  ]
}
2024-01-28T21:08:09 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:08:09.567Z] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex",
  "metadataStr": "[INFO] [default] [2024-01-28T21:08:09.567Z]",
  "extra": [
    "[fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex"
  ]
}
2024-01-28T21:08:09 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:08:09.850Z] request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 282 ms",
  "metadataStr": "[INFO] [default] [2024-01-28T21:08:09.850Z]",
  "extra": [
    "request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 282 ms"
  ]
}
2024-01-28T21:08:09 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [streamChoices] [2024-01-28T21:08:09.852Z] solution 0 returned. finish reason: [stop]",
  "metadataStr": "[INFO] [streamChoices] [2024-01-28T21:08:09.852Z]",
  "extra": [
    "solution 0 returned. finish reason: [stop]"
  ]
}
2024-01-28T21:08:09 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [streamChoices] [2024-01-28T21:08:09.856Z] request done: headerRequestId: [96fe71b9-8009-41c0-8fe7-e81897b4453b] model deployment ID: [w9bda9c6b4b91]",
  "metadataStr": "[INFO] [streamChoices] [2024-01-28T21:08:09.856Z]",
  "extra": [
    "request done: headerRequestId: [96fe71b9-8009-41c0-8fe7-e81897b4453b] model deployment ID: [w9bda9c6b4b91]"
  ]
}
2024-01-28T21:08:11 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:08:11.477Z] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex",
  "metadataStr": "[INFO] [default] [2024-01-28T21:08:11.477Z]",
  "extra": [
    "[fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex"
  ]
}
2024-01-28T21:08:11 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [ghostText] [2024-01-28T21:08:11.635Z] Cancelled during debounce",
  "metadataStr": "[INFO] [ghostText] [2024-01-28T21:08:11.635Z]",
  "extra": [
    "Cancelled during debounce"
  ]
}
2024-01-28T21:08:11 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:08:11.823Z] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex",
  "metadataStr": "[INFO] [default] [2024-01-28T21:08:11.823Z]",
  "extra": [
    "[fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex"
  ]
}
2024-01-28T21:08:12 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:08:12.066Z] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex",
  "metadataStr": "[INFO] [default] [2024-01-28T21:08:12.066Z]",
  "extra": [
    "[fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex"
  ]
}
2024-01-28T21:08:12 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:08:12.307Z] request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 241 ms",
  "metadataStr": "[INFO] [default] [2024-01-28T21:08:12.307Z]",
  "extra": [
    "request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 241 ms"
  ]
}
2024-01-28T21:08:12 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [streamChoices] [2024-01-28T21:08:12.310Z] solution 0 returned. finish reason: [stop]",
  "metadataStr": "[INFO] [streamChoices] [2024-01-28T21:08:12.310Z]",
  "extra": [
    "solution 0 returned. finish reason: [stop]"
  ]
}
2024-01-28T21:08:12 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [streamChoices] [2024-01-28T21:08:12.311Z] request done: headerRequestId: [df95a90c-b957-4269-ad60-c1afd477495a] model deployment ID: [w9bda9c6b4b91]",
  "metadataStr": "[INFO] [streamChoices] [2024-01-28T21:08:12.311Z]",
  "extra": [
    "request done: headerRequestId: [df95a90c-b957-4269-ad60-c1afd477495a] model deployment ID: [w9bda9c6b4b91]"
  ]
}
2024-01-28T21:08:13 [INFO] Waiting for default prettier to install
2024-01-28T21:08:13 [INFO] Starting prettier at path "/Users/burak/Library/Application Support/Zed/prettier"
2024-01-28T21:08:13 [ERROR] Default prettier instance failed to spawn: default prettier spawn: Prettier dir "/Users/burak/Library/Application Support/Zed/prettier" is not a directory
2024-01-28T21:08:13 [ERROR] crates/settings/src/settings_store.rs:505: invalid type: boolean `true`, expected string or map
2024-01-28T21:08:13 [INFO] Initializing default prettier with plugins {}
2024-01-28T21:08:14 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [ghostText] [2024-01-28T21:08:14.263Z] Found inline suggestions locally",
  "metadataStr": "[INFO] [ghostText] [2024-01-28T21:08:14.263Z]",
  "extra": [
    "Found inline suggestions locally"
  ]
}
2024-01-28T21:08:17 [WARN] Generic lsp request to node failed: Unhandled method textDocument/definition
2024-01-28T21:08:26 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:08:26.157Z] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex",
  "metadataStr": "[INFO] [default] [2024-01-28T21:08:26.157Z]",
  "extra": [
    "[fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex"
  ]
}
2024-01-28T21:08:26 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:08:26.383Z] request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 223 ms",
  "metadataStr": "[INFO] [default] [2024-01-28T21:08:26.383Z]",
  "extra": [
    "request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 223 ms"
  ]
}
2024-01-28T21:08:26 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [streamChoices] [2024-01-28T21:08:26.384Z] solution 0 returned. finish reason: [stop]",
  "metadataStr": "[INFO] [streamChoices] [2024-01-28T21:08:26.384Z]",
  "extra": [
    "solution 0 returned. finish reason: [stop]"
  ]
}
2024-01-28T21:08:26 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [streamChoices] [2024-01-28T21:08:26.385Z] request done: headerRequestId: [39331bdf-668b-4e6b-9ccb-f5c871e72aa3] model deployment ID: [w9bda9c6b4b91]",
  "metadataStr": "[INFO] [streamChoices] [2024-01-28T21:08:26.385Z]",
  "extra": [
    "request done: headerRequestId: [39331bdf-668b-4e6b-9ccb-f5c871e72aa3] model deployment ID: [w9bda9c6b4b91]"
  ]
}
2024-01-28T21:08:27 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:08:27.157Z] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex",
  "metadataStr": "[INFO] [default] [2024-01-28T21:08:27.157Z]",
  "extra": [
    "[fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex"
  ]
}
2024-01-28T21:08:27 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:08:27.355Z] request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 197 ms",
  "metadataStr": "[INFO] [default] [2024-01-28T21:08:27.355Z]",
  "extra": [
    "request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 197 ms"
  ]
}
2024-01-28T21:08:27 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [streamChoices] [2024-01-28T21:08:27.357Z] solution 0 returned. finish reason: [stop]",
  "metadataStr": "[INFO] [streamChoices] [2024-01-28T21:08:27.357Z]",
  "extra": [
    "solution 0 returned. finish reason: [stop]"
  ]
}
2024-01-28T21:08:27 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [streamChoices] [2024-01-28T21:08:27.358Z] request done: headerRequestId: [91b833aa-aebe-40d2-93e5-975e26dbc2b9] model deployment ID: [w9bda9c6b4b91]",
  "metadataStr": "[INFO] [streamChoices] [2024-01-28T21:08:27.358Z]",
  "extra": [
    "request done: headerRequestId: [91b833aa-aebe-40d2-93e5-975e26dbc2b9] model deployment ID: [w9bda9c6b4b91]"
  ]
}
2024-01-28T21:08:27 [INFO] Starting prettier at path "/Users/burak/Library/Application Support/Zed/prettier"
2024-01-28T21:08:27 [ERROR] Default prettier instance failed to spawn: default prettier spawn: Prettier dir "/Users/burak/Library/Application Support/Zed/prettier" is not a directory
2024-01-28T21:08:27 [INFO] Initializing default prettier with plugins {}
2024-01-28T21:08:28 [ERROR] unexpected item event after pane was dropped
2024-01-28T21:08:28 [ERROR] crates/lsp/src/lsp.rs:615: oneshot canceled
2024-01-28T21:08:32 [INFO] Opening main db
2024-01-28T21:08:32 [INFO] reload git repository ".git"
2024-01-28T21:08:32 [ERROR] crates/fs/src/repository.rs:92: Error { code: -9, klass: 4, message: "reference 'refs/heads/main' not found" }
2024-01-28T21:08:33 [INFO] reload git repository ".git"
2024-01-28T21:08:33 [ERROR] crates/fs/src/repository.rs:92: Error { code: -9, klass: 4, message: "reference 'refs/heads/main' not found" }
2024-01-28T21:08:41 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [post-insertion] [2024-01-28T21:08:41.152Z] Could not get document for /Users/burak/.config/zed/settings.json. Maybe it was closed by the editor.",
  "metadataStr": "[INFO] [post-insertion] [2024-01-28T21:08:41.152Z]",
  "extra": [
    "Could not get document for /Users/burak/.config/zed/settings.json. Maybe it was closed by the editor."
  ]
}
2024-01-28T21:08:56 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [post-insertion] [2024-01-28T21:08:56.451Z] Could not get document for /Users/burak/.config/zed/settings.json. Maybe it was closed by the editor.",
  "metadataStr": "[INFO] [post-insertion] [2024-01-28T21:08:56.451Z]",
  "extra": [
    "Could not get document for /Users/burak/.config/zed/settings.json. Maybe it was closed by the editor."
  ]
}
2024-01-28T21:09:55 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [ghostText] [2024-01-28T21:09:55.126Z] Cancelled during debounce",
  "metadataStr": "[INFO] [ghostText] [2024-01-28T21:09:55.126Z]",
  "extra": [
    "Cancelled during debounce"
  ]
}
2024-01-28T21:09:55 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:09:55.235Z] [fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex",
  "metadataStr": "[INFO] [default] [2024-01-28T21:09:55.235Z]",
  "extra": [
    "[fetchCompletions] engine https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex"
  ]
}
2024-01-28T21:09:55 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [default] [2024-01-28T21:09:55.370Z] request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 135 ms",
  "metadataStr": "[INFO] [default] [2024-01-28T21:09:55.370Z]",
  "extra": [
    "request.response: [https://copilot-proxy.githubusercontent.com/v1/engines/copilot-codex/completions] took 135 ms"
  ]
}
2024-01-28T21:09:55 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [streamChoices] [2024-01-28T21:09:55.371Z] solution 0 returned. finish reason: [stop]",
  "metadataStr": "[INFO] [streamChoices] [2024-01-28T21:09:55.371Z]",
  "extra": [
    "solution 0 returned. finish reason: [stop]"
  ]
}
2024-01-28T21:09:55 [INFO] 0 unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [streamChoices] [2024-01-28T21:09:55.372Z] request done: headerRequestId: [c81cfe7c-0302-4c77-89a0-06137c6474c7] model deployment ID: [w9bda9c6b4b91]",
  "metadataStr": "[INFO] [streamChoices] [2024-01-28T21:09:55.372Z]",
  "extra": [
    "request done: headerRequestId: [c81cfe7c-0302-4c77-89a0-06137c6474c7] model deployment ID: [w9bda9c6b4b91]"
  ]
}
2024-01-28T21:10:00 [ERROR] unexpected item event after pane was dropped
2024-01-28T21:10:05 [ERROR] crates/lsp/src/lsp.rs:615: oneshot canceled
2024-01-28T21:10:05 [ERROR] crates/lsp/src/lsp.rs:615: oneshot canceled
2024-01-29T15:23:02 [INFO] ========== starting zed ==========
2024-01-29T15:23:02 [INFO] Opening main db
2024-01-29T15:23:02 [ERROR] crates/zed/src/zed.rs:538: EOF while parsing a value at line 1 column 0
2024-01-29T15:23:02 [INFO] Opening main db
2024-01-29T15:23:02 [INFO] Opening main db
2024-01-29T15:23:03 [INFO] Node runtime install_if_needed
2024-01-29T15:23:03 [INFO] set environment variables from shell:/bin/zsh, path:/opt/homebrew/opt/libpq/bin:/Users/burak/.nvm/versions/node/v20.8.0/bin:/Users/burak/.pyenv/shims:/opt/homebrew/opt/python@3.10/bin:/usr/local/opt/ruby/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/burak/.orbstack/bin:/Users/burak/go/bin:/Users/burak/.local/bin:/Users/burak/.cargo/bin
2024-01-29T15:23:03 [INFO] 0 unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-01-29T15:23:03.866Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-01-29T15:23:03.866Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-01-29T15:23:03 [INFO] 0 unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "6bd9b579-e1f0-439f-866a-83e5f79cf044",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-01-29T15:23:04 [INFO] 0 unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-01-29T15:23:04.395Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-01-29T15:23:04.395Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-01-29T15:23:05 [INFO] Opening main db
2024-01-29T15:23:08 [ERROR] crates/gpui/src/window.rs:376: window not found
2024-01-29T15:25:33 [INFO] ========== starting zed ==========
2024-01-29T15:25:33 [INFO] Opening main db
2024-01-29T15:25:34 [ERROR] crates/zed/src/zed.rs:538: EOF while parsing a value at line 1 column 0
2024-01-29T15:25:34 [INFO] Opening main db
2024-01-29T15:25:34 [INFO] build git repository ".git"
2024-01-29T15:25:34 [ERROR] crates/fs/src/repository.rs:92: Error { code: -9, klass: 4, message: "reference 'refs/heads/main' not found" }
2024-01-29T15:25:34 [INFO] build git repository "rust-plus-golang/.git"
2024-01-29T15:25:34 [INFO] Opening main db
2024-01-29T15:25:34 [INFO] Opening main db
2024-01-29T15:25:34 [WARN] request completed with error: failed to resolve host name
2024-01-29T15:25:34 [ERROR] crates/client/src/telemetry.rs:555: failed to resolve host name

Caused by:
    [6] Couldn't resolve host name
2024-01-29T15:25:34 [ERROR] crates/workspace/src/persistence/model.rs:257: ProjectPath { worktree_id: WorktreeId(4294967306), path: "src/main.rs" } opening failure: No such file or directory (os error 2)
2024-01-29T15:25:34 [INFO] Node runtime install_if_needed
2024-01-29T15:25:34 [INFO] set environment variables from shell:/bin/zsh, path:/opt/homebrew/opt/libpq/bin:/Users/burak/.nvm/versions/node/v20.8.0/bin:/Users/burak/.pyenv/shims:/opt/homebrew/opt/python@3.10/bin:/usr/local/opt/ruby/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/burak/.orbstack/bin:/Users/burak/go/bin:/Users/burak/.local/bin:/Users/burak/.cargo/bin
2024-01-29T15:25:34 [INFO] 0 unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-01-29T15:25:34.723Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-01-29T15:25:34.723Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-01-29T15:25:34 [INFO] 0 unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "025b771f-06c0-4016-8704-9a6f71d0faa6",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-01-29T15:25:34 [INFO] reload git repository ".git"
2024-01-29T15:25:34 [ERROR] crates/fs/src/repository.rs:92: Error { code: -9, klass: 4, message: "reference 'refs/heads/main' not found" }
2024-01-29T15:25:35 [INFO] 0 unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-01-29T15:25:35.043Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-01-29T15:25:35.043Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-01-29T15:25:35 [INFO] reload git repository ".git"
2024-01-29T15:25:35 [ERROR] crates/fs/src/repository.rs:92: Error { code: -9, klass: 4, message: "reference 'refs/heads/main' not found" }
2024-01-29T15:26:08 [ERROR] crates/gpui/src/window.rs:376: window not found
2024-01-29T15:26:29 [INFO] ========== starting zed ==========
2024-01-29T15:26:29 [INFO] Opening main db
2024-01-29T15:26:29 [ERROR] crates/zed/src/zed.rs:538: EOF while parsing a value at line 1 column 0
2024-01-29T15:26:29 [INFO] Opening main db
2024-01-29T15:26:29 [INFO] build git repository ".git"
2024-01-29T15:26:29 [ERROR] crates/fs/src/repository.rs:92: Error { code: -9, klass: 4, message: "reference 'refs/heads/main' not found" }
2024-01-29T15:26:29 [INFO] build git repository "rust-plus-golang/.git"
2024-01-29T15:26:29 [INFO] Opening main db
2024-01-29T15:26:30 [INFO] Node runtime install_if_needed
2024-01-29T15:26:30 [INFO] set environment variables from shell:/bin/zsh, path:/opt/homebrew/opt/libpq/bin:/Users/burak/.nvm/versions/node/v20.8.0/bin:/Users/burak/.pyenv/shims:/opt/homebrew/opt/python@3.10/bin:/usr/local/opt/ruby/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/burak/.orbstack/bin:/Users/burak/go/bin:/Users/burak/.local/bin:/Users/burak/.cargo/bin
2024-01-29T15:26:30 [INFO] reload git repository ".git"
2024-01-29T15:26:30 [ERROR] crates/fs/src/repository.rs:92: Error { code: -9, klass: 4, message: "reference 'refs/heads/main' not found" }
2024-01-29T15:26:30 [INFO] 0 unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-01-29T15:26:30.786Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-01-29T15:26:30.786Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-01-29T15:26:30 [INFO] 0 unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "68a33759-c7c7-439a-b08c-da8ea04564be",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-01-29T15:26:31 [INFO] 0 unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-01-29T15:26:31.145Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-01-29T15:26:31.145Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-01-29T15:26:31 [INFO] reload git repository ".git"
2024-01-29T15:26:31 [ERROR] crates/fs/src/repository.rs:92: Error { code: -9, klass: 4, message: "reference 'refs/heads/main' not found" }

Not sure what you mean by "reproduce" but it shows pink screen to me at the moment, Zed doesnt work for me at the moment.

bhanuvrat commented 9 months ago

followed that thread. reboot fixed it. I hadn't rebooted in over 100 days.

thank you @JosephTLyons

davebarrau commented 8 months ago

Just adding a tidbit here in case it's useful to others. I encountered this, and later found it was additionally affecting scrollback from functioning correctly in iTerm 2 as well, so definitely not a Zed problem per se. As with others, a reboot fixes it.