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
47.12k stars 2.71k forks source link

Zed fails finding extensions #16391

Closed haasn closed 1 month ago

haasn commented 1 month ago

Check for existing issues

Describe the bug / provide steps to reproduce it

  1. Install zed on my laptop
  2. Open it with a blank configuration
  3. Open the extensions page

Result: No extensions listed and this in log:

2024-08-17T01:59:17.808137326+02:00 [ERROR] error reading extensions

Caused by:
    0: unknown error
    1: [23] Failed writing received data to disk/application

Environment

Zed: v0.148.1 (Zed) OS: Linux X11 opensuse-tumbleweed 20240410 Memory: 13.5 GiB Architecture: x86_64 GPU: AMD Radeon Vega 10 Graphics (RADV RAVEN) || radv || Mesa 24.0.3

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

No response

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

Zed.log

2024-08-17T01:59:12.272279337+02:00 [INFO] ========== starting zed ==========
2024-08-17T01:59:12.305533014+02:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/texlive-helmholtz-ellis-ji-notation/HEJI2Text.otf' cause font doesn't have a family name.
2024-08-17T01:59:12.306757644+02:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/texlive-context-companion-fonts/LatinModernMath-Companion.otf' cause malformed font.
2024-08-17T01:59:12.306824811+02:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/texlive-context-companion-fonts/RalphSmithsFormalScript-Companion.otf' cause malformed font.
2024-08-17T01:59:12.306889303+02:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/texlive-context-companion-fonts/TeXGyreBonumMath-Companion.otf' cause malformed font.
2024-08-17T01:59:12.306952503+02:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/texlive-context-companion-fonts/TeXGyrePagellaMath-Companion.otf' cause malformed font.
2024-08-17T01:59:12.307015272+02:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/texlive-context-companion-fonts/TeXGyreTermesMath-Companion.otf' cause malformed font.
2024-08-17T01:59:12.307078572+02:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/texlive-context-companion-fonts/XITSMath-Companion.otf' cause malformed font.
2024-08-17T01:59:12.347751171+02:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/texlive-helmholtz-ellis-ji-notation/HEJI2Text.otf' cause font doesn't have a family name.
2024-08-17T01:59:12.34896473+02:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/texlive-context-companion-fonts/LatinModernMath-Companion.otf' cause malformed font.
2024-08-17T01:59:12.34903897+02:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/texlive-context-companion-fonts/RalphSmithsFormalScript-Companion.otf' cause malformed font.
2024-08-17T01:59:12.349104685+02:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/texlive-context-companion-fonts/TeXGyreBonumMath-Companion.otf' cause malformed font.
2024-08-17T01:59:12.349170429+02:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/texlive-context-companion-fonts/TeXGyrePagellaMath-Companion.otf' cause malformed font.
2024-08-17T01:59:12.349238428+02:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/texlive-context-companion-fonts/TeXGyreTermesMath-Companion.otf' cause malformed font.
2024-08-17T01:59:12.349311807+02:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/texlive-context-companion-fonts/XITSMath-Companion.otf' cause malformed font.
2024-08-17T01:59:12.350631397+02:00 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2024-08-17T01:59:12.350707891+02:00 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true
2024-08-17T01:59:12.356110876+02:00 [INFO] Try connect local
2024-08-17T01:59:12.357480159+02:00 [INFO] perform;
2024-08-17T01:59:12.357577273+02:00 [INFO] read_command;
2024-08-17T01:59:12.357659138+02:00 [INFO] read_command;
2024-08-17T01:59:12.357862633+02:00 [INFO] socket reader;
2024-08-17T01:59:12.358175015+02:00 [INFO] Opening main db
2024-08-17T01:59:12.359485377+02:00 [INFO] new;
2024-08-17T01:59:12.360892863+02:00 [INFO] keep_updated;
2024-08-17T01:59:12.371882479+02:00 [INFO] Using git binary path: None
2024-08-17T01:59:12.428343894+02:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-08-17T01:59:12.428450426+02:00 [INFO] Opening main db
2024-08-17T01:59:12.473199177+02:00 [INFO] perform;
2024-08-17T01:59:12.47328543+02:00 [INFO] read_command;
2024-08-17T01:59:12.473490619+02:00 [INFO] Using Visual { id: 99, colormap: 0, depth: 32 }
2024-08-17T01:59:12.47357598+02:00 [INFO] Creating colormap 46137347
2024-08-17T01:59:12.474007989+02:00 [INFO] read_command;
2024-08-17T01:59:12.474177099+02:00 [WARN] request completed with error: failed to connect to the server
2024-08-17T01:59:12.474282378+02:00 [WARN] request completed with error: failed to connect to the server
2024-08-17T01:59:12.474372359+02:00 [WARN] request completed with error: failed to connect to the server
2024-08-17T01:59:12.475135665+02:00 [INFO] socket reader;
2024-08-17T01:59:12.475219353+02:00 [WARN] request completed with error: failed to connect to the server
2024-08-17T01:59:12.475554498+02:00 [WARN] request completed with error: failed to connect to the server
2024-08-17T01:59:12.475657132+02:00 [WARN] request completed with error: failed to connect to the server
2024-08-17T01:59:12.475740009+02:00 [WARN] request completed with error: failed to connect to the server
2024-08-17T01:59:12.47581424+02:00 [WARN] request completed with error: failed to connect to the server
2024-08-17T01:59:12.475892418+02:00 [WARN] request completed with error: failed to connect to the server
2024-08-17T01:59:12.483571012+02:00 [INFO] new;
2024-08-17T01:59:12.484774582+02:00 [INFO] keep_updated;
2024-08-17T01:59:12.490211701+02:00 [INFO] set environment variables from shell:/bin/zsh, path:/home/nand/.local/bin:/home/nand/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/home/nand/bin
2024-08-17T01:59:12.521645591+02:00 [INFO] Enabling Vulkan Portability
2024-08-17T01:59:12.521703561+02:00 [INFO] Enabling color space support
2024-08-17T01:59:12.56477283+02:00 [INFO] Adapter "AMD Radeon Vega 10 Graphics (RADV RAVEN)"
2024-08-17T01:59:12.56485207+02:00 [INFO] No ray tracing extensions are supported
2024-08-17T01:59:12.576740518+02:00 [INFO] Using surface present mode MAILBOX
2024-08-17T01:59:12.57747506+02:00 [WARN] Unable to forbid exclusive full screen
2024-08-17T01:59:12.581928835+02:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-17T01:59:12.582101202+02:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-17T01:59:12.582266164+02:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-08-17T01:59:12.596821765+02:00 [INFO] Refreshing at 16653 micros
2024-08-17T01:59:12.598425102+02:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "AMD Radeon Vega 10 Graphics (RADV RAVEN)", driver_name: "radv", driver_info: "Mesa 24.0.3" }
2024-08-17T01:59:12.61173895+02:00 [INFO] Using surface present mode MAILBOX
2024-08-17T01:59:12.611899183+02:00 [WARN] Unable to forbid exclusive full screen
2024-08-17T01:59:12.623978483+02:00 [INFO] set status on client 0: Authenticating
2024-08-17T01:59:12.624662519+02:00 [INFO] perform;
2024-08-17T01:59:12.624818224+02:00 [INFO] read_command;
2024-08-17T01:59:12.624926429+02:00 [INFO] read_command;
2024-08-17T01:59:12.625159881+02:00 [INFO] socket reader;
2024-08-17T01:59:12.627966026+02:00 [ERROR] Is a directory (os error 21)
2024-08-17T01:59:12.628658859+02:00 [WARN] request completed with error: failed to connect to the server
2024-08-17T01:59:12.628758738+02:00 [WARN] request completed with error: failed to connect to the server
2024-08-17T01:59:12.628862023+02:00 [WARN] request completed with error: failed to connect to the server
2024-08-17T01:59:12.630325776+02:00 [INFO] Opening main db
2024-08-17T01:59:12.630404826+02:00 [INFO] rebuilt extension index in 2.072206ms
2024-08-17T01:59:12.633224527+02:00 [INFO] new;
2024-08-17T01:59:12.634467902+02:00 [INFO] keep_updated;
2024-08-17T01:59:12.639214923+02:00 [INFO] set status on client 214258: Connecting
2024-08-17T01:59:12.640066957+02:00 [ERROR] no worktrees when constructing ProjectLspAdapterDelegate
2024-08-17T01:59:12.658995941+02:00 [WARN] request completed with error: failed to connect to the server
2024-08-17T01:59:12.659279498+02:00 [INFO] perform;
2024-08-17T01:59:12.659367816+02:00 [INFO] read_command;
2024-08-17T01:59:12.659455331+02:00 [INFO] read_command;
2024-08-17T01:59:12.659616096+02:00 [INFO] socket reader;
2024-08-17T01:59:12.735590351+02:00 [WARN] request completed with error: failed to connect to the server
2024-08-17T01:59:12.735849673+02:00 [INFO] perform;
2024-08-17T01:59:12.735963017+02:00 [INFO] read_command;
2024-08-17T01:59:12.736065121+02:00 [INFO] read_command;
2024-08-17T01:59:12.736254109+02:00 [INFO] socket reader;
2024-08-17T01:59:12.886720252+02:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-08-17T01:59:13.394231718+02:00 [INFO] add connection to peer
2024-08-17T01:59:13.394369599+02:00 [INFO] add_connection;
2024-08-17T01:59:13.394586199+02:00 [INFO] waiting for server hello
2024-08-17T01:59:13.3948769+02:00 [INFO] got server hello
2024-08-17T01:59:13.395001506+02:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 488, id: 43484 })
2024-08-17T01:59:13.395178211+02:00 [INFO] set status on client 214258: Connected { peer_id: PeerId { owner_id: 488, id: 43484 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2024-08-17T01:59:13.750301712+02:00 [INFO] Node runtime install_if_needed
2024-08-17T01:59:17.065300382+02:00 [INFO] starting language server. binary path: "/home/nand/.local/share/zed/node/node-v22.5.1-linux-x64/bin/node", working directory: "/", args: ["/home/nand/.local/share/zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-08-17T01:59:17.660576736+02:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-08-16T23:59:17.652Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-08-16T23:59:17.652Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-08-17T01:59:17.663692348+02:00 [INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "99c7db6e-8bfb-4dbd-b52f-a6b132864d39",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-08-17T01:59:17.808137326+02:00 [ERROR] error reading extensions

Caused by:
    0: unknown error
    1: [23] Failed writing received data to disk/application
2024-08-17T01:59:17.913319265+02:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 1,
  "message": "[INFO] [auth] [2024-08-16T23:59:17.911Z] Failed to get copilot token due to 401 status",
  "metadataStr": "[INFO] [auth] [2024-08-16T23:59:17.911Z]",
  "extra": [
    "Failed to get copilot token due to 401 status"
  ]
}
2024-08-17T01:59:17.92713809+02:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-08-16T23:59:17.918Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-08-16T23:59:17.918Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-08-17T01:59:23.38304524+02:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-17T01:59:23.395771234+02:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-17T01:59:23.404962394+02:00 [INFO] Creating a descriptor pool for at most 256 sets
2024-08-17T01:59:23.421639142+02:00 [INFO] Creating a descriptor pool for at most 256 sets
haasn commented 1 month ago

I should add that it works fine on my desktop workstation.

haasn commented 1 month ago

Seems to have fixed itself after an update. Sorry for the noise.