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
50.26k stars 3.09k forks source link

Extensions: Unable to Install any extension #10330

Open michealp-coder opened 7 months ago

michealp-coder commented 7 months ago

Environment:

Summary of Issue:

No extension will install.

Reproduce Issue Steps:

  1. Open Zed
  2. Select 'Zed Preview' from macOS top menu
  3. Select 'Extensions'
  4. (For any extension listed, be it a Theme or something else) When I select Install for that particular extension, nothing happens (doesn't install).

Expected Behavior:

When you click "Install" for an extension, it installs the extension.

Video Demo (of inability to install extensions)

https://github.com/zed-industries/zed/assets/84467623/91637a9c-6e96-4a57-b0d7-33097c986031

Error Log:

[INFO] installing extension macos-classic latest version
2024-04-09T11:34:56-05:00 [ERROR] crates/extension/src/extension_store.rs:665: failed to iterate over archive

Caused by:
    Invalid gzip header
2024-04-09T11:34:56-05:00 [ERROR] crates/extension/src/extension_store.rs:1154: failed to load catppuccin extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-09T11:34:56-05:00 [ERROR] crates/extension/src/extension_store.rs:1154: failed to load github-theme extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-09T11:34:56-05:00 [ERROR] crates/extension/src/extension_store.rs:1154: failed to load macos-classic extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-09T11:34:56-05:00 [ERROR] crates/extension/src/extension_store.rs:1154: failed to load github-dark-default extension.toml
maxdeviant commented 7 months ago

Sorry you're running into issues, @michealp-coder.

Do you see anything in your Zed logs (accessible via the zed: open log action in the command palette)?

michealp-coder commented 7 months ago

@maxdeviant

[INFO] installing extension macos-classic latest version
2024-04-09T11:34:56-05:00 [ERROR] crates/extension/src/extension_store.rs:665: failed to iterate over archive

Caused by:
    Invalid gzip header
2024-04-09T11:34:56-05:00 [ERROR] crates/extension/src/extension_store.rs:1154: failed to load catppuccin extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-09T11:34:56-05:00 [ERROR] crates/extension/src/extension_store.rs:1154: failed to load github-theme extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-09T11:34:56-05:00 [ERROR] crates/extension/src/extension_store.rs:1154: failed to load macos-classic extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-09T11:34:56-05:00 [ERROR] crates/extension/src/extension_store.rs:1154: failed to load github-dark-default extension.toml
michealp-coder commented 7 months ago

@maxdeviant @JosephTLyons

I just updated to Zed Preview 0.131.0.

The release notes state:

Removed built-in support for HTML and Dart, in favor of making them available as extensions. The respective extensions for these languages will be suggested for download when opening their associated file types: .html, .htm, or .shtml for HTML, and .dart for Dart.

Problems:

a. when I open an HTML file now, it does not suggest to me to download any HTML extension

b. and given that I'm unable to install any extension, working on HTML files right now is effectively just plaintext (no highlights or autocomplete).

Said differently, with removing HTML from core Zed combined with me unable to install any extension, Zed just became almost useless now :(

Any help would be greatly appreciated.

Thanks in advance.

maxdeviant commented 7 months ago

@maxdeviant

[INFO] installing extension macos-classic latest version
2024-04-09T11:34:56-05:00 [ERROR] crates/extension/src/extension_store.rs:665: failed to iterate over archive

Caused by:
    Invalid gzip header
2024-04-09T11:34:56-05:00 [ERROR] crates/extension/src/extension_store.rs:1154: failed to load catppuccin extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-09T11:34:56-05:00 [ERROR] crates/extension/src/extension_store.rs:1154: failed to load github-theme extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-09T11:34:56-05:00 [ERROR] crates/extension/src/extension_store.rs:1154: failed to load macos-classic extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-09T11:34:56-05:00 [ERROR] crates/extension/src/extension_store.rs:1154: failed to load github-dark-default extension.toml

Could you share the contents of your ~/Library/Application\ Support/Zed/extensions/installed/ directory as well as the directories beneath it?

The output of tree might be useful: tree ~/Library/Application\ Support/Zed/extensions/installed/.

michealp-coder commented 7 months ago

Hi @maxdeviant , many thanks

tree isn't installed on my machine.

But what I see when I enter the directory ~/Library/Application\ Support/Zed/extensions/installed/ is:

drwxr-xr-x  7 MYACCOUNT  MYCOMPANY\Domain Users  224 Apr  9 16:57 .
drwxr-xr-x  6 MYACCOUNT  MYCOMPANY\Domain Users  192 Mar 14 15:02 ..
drwxr-xr-x@ 2 MYACCOUNT  MYCOMPANY\Domain Users   64 Apr  9 16:57 catppuccin
drwxr-xr-x  2 MYACCOUNT  MYCOMPANY\Domain Users   64 Mar 15 13:18 github-dark-default
drwxr-xr-x  2 MYACCOUNT  MYCOMPANY\Domain Users   64 Apr  9 10:19 github-theme
drwxr-xr-x@ 2 MYACCOUNT  MYCOMPANY\Domain Users   64 Apr  9 16:57 macos-classic
drwxr-xr-x@ 2 MYACCOUNT  MYCOMPANY\Domain Users   64 Apr  9 16:57 the-dark-side

Which makes sense because above are all extensions I've tried to install.

However, when I cd into any of those directories above, they are empty.

maxdeviant commented 7 months ago

Could you see if downloading an extension manually works?

  1. Go to https://api.zed.dev/extensions/catppuccin/download, this should download an archive.tar.gz file
  2. Extract the .tar.gz archive (you should be able to double-click in Finder and it will create a sibling archive folder)
  3. Rename the archive folder to catppuccin and then move it into ~/Library/Application Support/Zed/extensions/installed/
  4. Open Zed and run the zed: reload extensions command
michealp-coder commented 7 months ago

That's odd.

I'm unable to download https://api.zed.dev/extensions/catppuccin/download on my machine with Zed.

However, I am able to download from another computer.

When I download the archive.tar.gz file from the other computer, copy that file to my Zed machine, then manually extract/rename/reload - all works.

I guess this issue can be closed.

For some reason my machine is blocking the download of archive.tar.gz

Sorry for the trouble here in what I presume is an issue with my local firewall (?)

Really appreciate everything again, and sorry for wasting your time.

JosephTLyons commented 7 months ago

That's odd.

I'm unable to download https://api.zed.dev/extensions/catppuccin/download on my machine with Zed.

However, I am able to download from another computer.

When I download the archive.tar.gz file from the other computer, copy that file to my Zed machine, then manually extract/rename/reload - all works.

I guess this issue can be closed.

For some reason my machine is blocking the download of archive.tar.gz

Sorry for the trouble here in what I presume is an issue with my local firewall (?)

Really appreciate everything again, and sorry for wasting your time.

No need to apologize. Are you able to confirm if it is your local firewall? Not sure if you feel comfortable with disabling it long enough to test? Understandable if you are not, but I guess I'm just curious for confirmation.

michealp-coder commented 7 months ago

@JosephTLyons @maxdeviant

After further review, this might actually be a bug .. and the culprit of a bunch of other open Issues like Language Server Download etc.

My theory: there's malformed gzip / http header handling on the server - and this is the root issue of a variety of other issues related to Zed and downloading assets (like Language Server download and more)


Inconsistent Download Behavior

A. Safari

When I use Safari to download https://api.zed.dev/extensions/catppuccin/download, it fails.

Note: I have no Safari extensions installed, but Safari is my default web browser.

B. Chrome

With Chrome, it download just fine (no problems).

C. curl

With curl, it download just fine (no problems).


Error Message

I re-reviewed the original error from above:

[ERROR] crates/extension/src/extension_store.rs:665: failed to iterate over archive

Caused by:
    Invalid gzip header

Note: the invalid gzip header error.

Could there be a possible issue with the gzip compression on the zed.dev server?


To Test my theory of gzip server issues

Testing Tool: https://iplocation.io/gzip-compression-test

(Above is an online tool to test the integrity of an http/gzip response from a server.)

Test:

a. If I try the following url using the testing tool: https://api.zed.dev/extensions/catppuccin/download

I receive ALERT: Error in request submission.

b. If I try what Link A fully resolves to which is:

https://zed-extensions.nyc3.digitaloceanspaces.com/extensions/catppuccin/0.2.5/archive.tar.gz?x-id=GetObject&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=DO0024BKKDAMB3MYP3DP%2F20240411%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20240411T125055Z&X-Amz-Expires=180&X-Amz-SignedHeaders=host&X-Amz-Signature=b937204a1ad68660c54e0508c2c524882c163c72b2e84a24ab397279d4bc2710

I also receive the same ALERT: Error in request submission.

Note: if I try https://zed.dev with the testing tool, there's no error. So this indicates the issue is coming from digitaloceanspaces.com (not zed.dev)


This makes me wonder if digitaloceanspaces.com is wrongly handling headers/gzip and that's what has been causing the strange behavior with Zed I've experienced like:

Just a thought, but if this was the cause - it would explain a variety of open issues related to downloading assets.


P.S. I'm not able to turn off/on my local firewall due to corporate locked down machine policy.

maxbrunsfeld commented 7 months ago

It sounds like on your computer, Safari might be respecting some proxy setting that Chrome and Curl are not? Could you report what you see under Safari's proxy settings?

proxy-config

maxbrunsfeld commented 7 months ago

For context, I don't think there is a problem with any server-side gzip compression. Our server is just providing a signed URL to download a gzipped tarball from a blob store.

I do worry that there's something we need to do to handle HTTP proxies like the one your computer is using.

michealp-coder commented 7 months ago

It sounds like on your computer, Safari might be respecting some proxy setting that Chrome and Curl are not? Could you report what you see under Safari's proxy settings?

image001

No proxy is set.

michealp-coder commented 7 months ago

For context, I don't think there is a problem with any server-side gzip compression. Our server is just providing a signed URL to download a gzipped tarball from a blob store.

Why would:

a. online tool indicate a gzip issue

b. the original Zed logs indicate there is a gzip issue

Neither of those are Safari dependent.

(I've even tried the online tool with Chrome, and it still fails)

michealp-coder commented 7 months ago

Hi Max

I hear you in thinking it's not server side related, but FYI ...

When I inspect the HTTP Headers of https://api.zed.dev/extensions/catppuccin/download I get the following:

HTTP/2
307
date: Thu, 11 Apr 2024 17:11:29 GMT
content-length: 0
location: https://zed-extensions.nyc3.digitaloceanspaces.com/extensions/catppuccin/0.2.5/archive.tar.gz?x-id=GetObject&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=DO0024BKKDAMB3MYP3DP%2F20240411%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20240411T171129Z&X-Amz-Expires=180&X-Amz-SignedHeaders=host&X-Amz-Signature=7ea368d9f436bc250f0a32a3a92ac82a1537d853acc592cb16f488699f9e5b4c
cf-cache-status: DYNAMIC
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=xMWJrPM2QDoVKEgr4%2BkA7rDh5zpZXRnXhX8yEV%2FpYw67oZUdtLcemyhvdyvaPYiwrRd1%2F3pGDSy8%2FtJwiYn8B3kr4pFsWJCnhOFj1UfFTDjdn6a5W6KDijQYcq5iPf8z5j%2FvPopBKU7l"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 872c989539a23621-FRA

HTTP/2
200
content-length: 9567
accept-ranges: bytes
last-modified: Tue, 02 Apr 2024 22:16:52 GMT
x-rgw-object-type: Normal
etag: "1289e7f7e7e7cea3e5494873b542f38b"
x-amz-request-id: tx00000c5f79639eb747651-00661819c1-a019413-nyc3d
content-type: application/octet-stream
date: Thu, 11 Apr 2024 17:11:29 GMT
vary: Origin, Access-Control-Request-Headers, Access-Control-Request-Method
strict-transport-security: max-age=15552000; includeSubDomains; preload
x-envoy-upstream-healthchecked-cluster:

Note: it's missing the content-encoding: gzip header

maxdeviant commented 7 months ago

@michealp-coder We just released Zed 0.130.6 that should provide us with some more information about the issue you are seeing.

Could you try installing an extension using that version and share what you see in your Zed logs?

michealp-coder commented 7 months ago

Unfortunately, it’s not fixed.

I just updated to Zed Preview 0.131.2

See video and error log below.

Video

https://github.com/zed-industries/zed/assets/84467623/ac150989-3f8c-4108-ae4f-94fcad5888d8

Error

Caused by:
    Invalid gzip header
2024-04-11T14:40:36-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load catppuccin extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:36-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load the-dark-side extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:36-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-theme extension.toml

And again, note the Invalid gzip header

maxdeviant commented 7 months ago

@michealp-coder Are there any more entries in your Zed logs?

The ones shown above don't appear to match the latest video, as there is no mention of macos-classic despite you trying to install it.

The attached log also seems cut off, as this part:

Caused by:
    Invalid gzip header

corresponds to an earlier message that is not included in the provided logs.

maxbrunsfeld commented 7 months ago

Note: it's missing the content-encoding: gzip header

Yup, that's the correct behavior. There shouldn't be a content-encoding: gzip header. The content is not being compressed with gzip. Rather, the content itself is 9567-byte tar.gz file.

Does Safari give any information about the failed download?

michealp-coder commented 7 months ago

@michealp-coder Are there any more entries in your Zed logs?

The ones shown above don't appear to match the latest video, as there is no mention of macos-classic despite you trying to install it.

The attached log also seems cut off, as this part:

Caused by:
    Invalid gzip header

corresponds to an earlier message that is not included in the provided logs.

Here is everything from my Zed log file.

2024-04-11T09:40:40-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:40-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:40-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:40-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:40-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:40-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:40-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:40-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:40-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:40-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:41-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:41-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:41-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:41-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:41-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:41-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:41-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:41-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:41-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:41-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:41-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:41-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:41-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:41-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:41-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:41-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:41-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:41-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:42-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:42-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:42-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:42-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:42-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:42-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:42-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:42-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:42-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:42-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:42-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:42-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:42-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:42-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:42-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:42-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:42-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:42-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:42-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:42-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:45-05:00 [INFO] Language server with id 1 sent unhandled notification $/status/report:
{
  "text": "😺Lua",
  "tooltip": "Workspace   : /Users/MYACCOUNT/Downloads/cc/new-lang.lua\nCached files: 18/12\nMemory usage: 7M"
}
2024-04-11T09:40:45-05:00 [INFO] Language server with id 1 sent unhandled notification $/status/report:
{
  "text": "😺Lua",
  "tooltip": "Workspace   : /Users/MYACCOUNT/Downloads/cc/new-lang.lua\nCached files: 19/12\nMemory usage: 7M"
}
2024-04-11T09:40:46-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:46-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:47-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:47-05:00 [INFO] Language server with id 1 sent unhandled notification $/status/report:
{
  "text": "😺Lua",
  "tooltip": "Workspace   : /Users/MYACCOUNT/Downloads/cc/new-lang.lua\nCached files: 19/12\nMemory usage: 8M"
}
2024-04-11T09:40:47-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:47-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:47-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:47-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:47-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:47-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:47-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:47-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:47-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:47-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:47-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:47-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:47-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:47-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:47-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:47-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:47-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:47-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:47-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:48-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:48-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:48-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:48-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:48-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:48-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:48-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:48-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:48-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:48-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:48-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:48-05:00 [INFO] Language server with id 1 sent unhandled notification $/status/report:
{
  "text": "😺Lua",
  "tooltip": "Workspace   : /Users/MYACCOUNT/Downloads/cc/new-lang.lua\nCached files: 19/12\nMemory usage: 7M"
}
2024-04-11T09:40:48-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:48-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:48-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:48-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:48-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:48-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:48-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:49-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:49-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:49-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:49-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:49-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:49-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:49-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:49-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:49-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:49-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:49-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:49-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:49-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:49-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:49-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:49-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:49-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:49-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:49-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:49-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [INFO] Language server with id 1 sent unhandled notification $/status/report:
{
  "text": "😺Lua",
  "tooltip": "Workspace   : /Users/MYACCOUNT/Downloads/cc/new-lang.lua\nCached files: 20/12\nMemory usage: 7M"
}
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [INFO] Language server with id 1 sent unhandled notification $/status/report:
{
  "text": "😺Lua",
  "tooltip": "Workspace   : /Users/MYACCOUNT/Downloads/cc/new-lang.lua\nCached files: 20/12\nMemory usage: 8M"
}
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:40:50-05:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-04-11T09:40:50-05:00 [ERROR] crates/project/src/project.rs:5512: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-04-11T09:41:03-05:00 [INFO] Language server with id 1 sent unhandled notification $/status/report:
{
  "text": "😺Lua",
  "tooltip": "Workspace   : /Users/MYACCOUNT/Downloads/cc/new-lang.lua\nCached files: 20/12\nMemory usage: 7M"
}
2024-04-11T09:43:46-05:00 [INFO] Language server with id 1 sent unhandled notification $/status/report:
{
  "text": "😺Lua",
  "tooltip": "Workspace   : /Users/MYACCOUNT/Downloads/cc/new-lang.lua\nCached files: 20/12\nMemory usage: 8M"
}
2024-04-11T09:49:19-05:00 [INFO] Language server with id 1 sent unhandled notification $/status/report:
{
  "text": "😺Lua",
  "tooltip": "Workspace   : /Users/MYACCOUNT/Downloads/cc/new-lang.lua\nCached files: 20/12\nMemory usage: 7M"
}
2024-04-11T09:49:24-05:00 [INFO] Language server with id 1 sent unhandled notification $/status/report:
{
  "text": "😺Lua",
  "tooltip": "Workspace   : /Users/MYACCOUNT/Downloads/cc/new-lang.lua\nCached files: 21/12\nMemory usage: 7M"
}
2024-04-11T09:49:24-05:00 [ERROR] crates/lsp/src/lsp.rs:760: oneshot canceled
2024-04-11T11:49:11-05:00 [INFO] ========== starting zed ==========
2024-04-11T11:49:11-05:00 [INFO] Opening main db
2024-04-11T11:49:11-05:00 [INFO] Using git binary path: Some("/Applications/Zed Preview.app/Contents/MacOS/git")
2024-04-11T11:49:11-05:00 [INFO] set environment variables from shell:/bin/ksh, path:/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:/usr/local/laps
2024-04-11T11:49:11-05:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-04-11T11:49:11-05:00 [ERROR] crates/zed/src/zed.rs:628: EOF while parsing a value at line 1 column 0
2024-04-11T11:49:11-05:00 [INFO] Opening main db
2024-04-11T11:49:11-05:00 [ERROR] crates/workspace/src/workspace.rs:906: Error in last_window, select_row_bound expected single row result but found none for: SELECT
  display,
  window_state,
  window_x,
  window_y,
  window_width,
  window_height,
  fullscreen
FROM
  workspaces
WHERE
  workspace_location IS NOT NULL
ORDER BY
  timestamp DESC
LIMIT
  1
2024-04-11T11:49:11-05:00 [INFO] Node runtime install_if_needed
2024-04-11T11:49:15-05:00 [INFO] starting language server. binary path: "/Users/MYACCOUNT/Library/Application Support/Zed/node/node-v18.15.0-darwin-arm64/bin/node", working directory: "/", args: ["/Users/MYACCOUNT/Library/Application Support/Zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-04-11T11:49:15-05:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-04-11T16:49:15.909Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-04-11T16:49:15.909Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-04-11T11:49:15-05:00 [INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "417b1d9d-8175-4033-a787-d5577a177208",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-04-11T11:49:15-05:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-04-11T16:49:15.916Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-04-11T16:49:15.916Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-04-11T12:23:28-05:00 [INFO] ========== starting zed ==========
2024-04-11T12:23:28-05:00 [INFO] Opening main db
2024-04-11T12:23:28-05:00 [INFO] Using git binary path: Some("/Applications/Zed Preview.app/Contents/MacOS/git")
2024-04-11T12:23:28-05:00 [INFO] set environment variables from shell:/bin/ksh, path:/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:/usr/local/laps
2024-04-11T12:23:28-05:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-04-11T12:23:28-05:00 [ERROR] crates/zed/src/zed.rs:628: EOF while parsing a value at line 1 column 0
2024-04-11T12:23:28-05:00 [INFO] Opening main db
2024-04-11T12:23:28-05:00 [ERROR] crates/workspace/src/workspace.rs:906: Error in last_window, select_row_bound expected single row result but found none for: SELECT
  display,
  window_state,
  window_x,
  window_y,
  window_width,
  window_height,
  fullscreen
FROM
  workspaces
WHERE
  workspace_location IS NOT NULL
ORDER BY
  timestamp DESC
LIMIT
  1
2024-04-11T12:23:29-05:00 [INFO] Node runtime install_if_needed
2024-04-11T12:23:32-05:00 [INFO] starting language server. binary path: "/Users/MYACCOUNT/Library/Application Support/Zed/node/node-v18.15.0-darwin-arm64/bin/node", working directory: "/", args: ["/Users/MYACCOUNT/Library/Application Support/Zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-04-11T12:23:33-05:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-04-11T17:23:33.214Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-04-11T17:23:33.214Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-04-11T12:23:33-05:00 [INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "6546fa60-61d2-4d4f-90b8-7b1eef695488",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-04-11T12:23:33-05:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-04-11T17:23:33.222Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-04-11T17:23:33.222Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-04-11T12:34:05-05:00 [INFO] ========== starting zed ==========
2024-04-11T12:34:05-05:00 [INFO] Opening main db
2024-04-11T12:34:05-05:00 [INFO] Using git binary path: Some("/Applications/Zed Preview.app/Contents/MacOS/git")
2024-04-11T12:34:05-05:00 [INFO] set environment variables from shell:/bin/ksh, path:/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:/usr/local/laps
2024-04-11T12:34:05-05:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-04-11T12:34:05-05:00 [ERROR] crates/zed/src/zed.rs:628: EOF while parsing a value at line 1 column 0
2024-04-11T12:34:05-05:00 [INFO] Opening main db
2024-04-11T12:34:05-05:00 [ERROR] crates/workspace/src/workspace.rs:906: Error in last_window, select_row_bound expected single row result but found none for: SELECT
  display,
  window_state,
  window_x,
  window_y,
  window_width,
  window_height,
  fullscreen
FROM
  workspaces
WHERE
  workspace_location IS NOT NULL
ORDER BY
  timestamp DESC
LIMIT
  1
2024-04-11T12:34:06-05:00 [INFO] Node runtime install_if_needed
2024-04-11T12:34:09-05:00 [INFO] starting language server. binary path: "/Users/MYACCOUNT/Library/Application Support/Zed/node/node-v18.15.0-darwin-arm64/bin/node", working directory: "/", args: ["/Users/MYACCOUNT/Library/Application Support/Zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-04-11T13:11:17-05:00 [INFO] ========== starting zed ==========
2024-04-11T13:11:17-05:00 [INFO] Opening main db
2024-04-11T13:11:17-05:00 [INFO] Using git binary path: Some("/Applications/Zed Preview.app/Contents/MacOS/git")
2024-04-11T13:11:17-05:00 [INFO] set environment variables from shell:/bin/ksh, path:/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:/usr/local/laps
2024-04-11T13:11:17-05:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-04-11T13:11:17-05:00 [ERROR] crates/zed/src/zed.rs:628: EOF while parsing a value at line 1 column 0
2024-04-11T13:11:17-05:00 [INFO] Opening main db
2024-04-11T13:11:17-05:00 [ERROR] crates/workspace/src/workspace.rs:906: Error in last_window, select_row_bound expected single row result but found none for: SELECT
  display,
  window_state,
  window_x,
  window_y,
  window_width,
  window_height,
  fullscreen
FROM
  workspaces
WHERE
  workspace_location IS NOT NULL
ORDER BY
  timestamp DESC
LIMIT
  1
2024-04-11T13:11:18-05:00 [INFO] Node runtime install_if_needed
2024-04-11T13:37:20-05:00 [INFO] ========== starting zed ==========
2024-04-11T13:37:20-05:00 [INFO] Opening main db
2024-04-11T13:37:20-05:00 [INFO] Using git binary path: Some("/Applications/Zed Preview.app/Contents/MacOS/git")
2024-04-11T13:37:20-05:00 [INFO] set environment variables from shell:/bin/ksh, path:/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:/usr/local/laps
2024-04-11T13:37:20-05:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-04-11T13:37:20-05:00 [ERROR] crates/zed/src/zed.rs:628: EOF while parsing a value at line 1 column 0
2024-04-11T13:37:20-05:00 [INFO] Opening main db
2024-04-11T13:37:20-05:00 [ERROR] crates/workspace/src/workspace.rs:906: Error in last_window, select_row_bound expected single row result but found none for: SELECT
  display,
  window_state,
  window_x,
  window_y,
  window_width,
  window_height,
  fullscreen
FROM
  workspaces
WHERE
  workspace_location IS NOT NULL
ORDER BY
  timestamp DESC
LIMIT
  1
2024-04-11T13:37:20-05:00 [INFO] Node runtime install_if_needed
2024-04-11T13:51:10-05:00 [INFO] ========== starting zed ==========
2024-04-11T13:51:10-05:00 [INFO] Opening main db
2024-04-11T13:51:10-05:00 [INFO] Using git binary path: Some("/Applications/Zed Preview.app/Contents/MacOS/git")
2024-04-11T13:51:10-05:00 [INFO] set environment variables from shell:/bin/ksh, path:/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:/usr/local/laps
2024-04-11T13:51:10-05:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-04-11T13:51:10-05:00 [ERROR] crates/zed/src/zed.rs:628: EOF while parsing a value at line 1 column 0
2024-04-11T13:51:10-05:00 [INFO] Opening main db
2024-04-11T13:51:10-05:00 [ERROR] crates/workspace/src/workspace.rs:906: Error in last_window, select_row_bound expected single row result but found none for: SELECT
  display,
  window_state,
  window_x,
  window_y,
  window_width,
  window_height,
  fullscreen
FROM
  workspaces
WHERE
  workspace_location IS NOT NULL
ORDER BY
  timestamp DESC
LIMIT
  1
2024-04-11T13:51:11-05:00 [INFO] Node runtime install_if_needed
2024-04-11T14:37:06-05:00 [INFO] ========== starting zed ==========
2024-04-11T14:37:06-05:00 [INFO] Opening main db
2024-04-11T14:37:06-05:00 [INFO] Using git binary path: Some("/Applications/Zed Preview.app/Contents/MacOS/git")
2024-04-11T14:37:06-05:00 [INFO] set environment variables from shell:/bin/ksh, path:/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:/usr/local/laps
2024-04-11T14:37:06-05:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-04-11T14:37:06-05:00 [ERROR] crates/zed/src/zed.rs:628: EOF while parsing a value at line 1 column 0
2024-04-11T14:37:06-05:00 [INFO] Opening main db
2024-04-11T14:37:06-05:00 [ERROR] crates/workspace/src/workspace.rs:906: Error in last_window, select_row_bound expected single row result but found none for: SELECT
  display,
  window_state,
  window_x,
  window_y,
  window_width,
  window_height,
  fullscreen
FROM
  workspaces
WHERE
  workspace_location IS NOT NULL
ORDER BY
  timestamp DESC
LIMIT
  1
2024-04-11T14:37:06-05:00 [INFO] Node runtime install_if_needed
2024-04-11T14:37:10-05:00 [INFO] starting language server. binary path: "/Users/MYACCOUNT/Library/Application Support/Zed/node/node-v18.15.0-darwin-arm64/bin/node", working directory: "/", args: ["/Users/MYACCOUNT/Library/Application Support/Zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-04-11T14:37:10-05:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-04-11T19:37:10.803Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-04-11T19:37:10.803Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-04-11T14:37:10-05:00 [INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "61819408-4229-4672-a3d4-d1041796b288",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-04-11T14:37:10-05:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-04-11T19:37:10.816Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-04-11T19:37:10.816Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-04-11T14:37:20-05:00 [INFO] downloaded update. path:"/var/folders/pv/rc8yz11n13d71076ycth17brvg1j3v/T/zed-auto-update9J9YAG/Zed.dmg"
2024-04-11T14:37:30-05:00 [INFO] ========== starting zed ==========
2024-04-11T14:37:30-05:00 [INFO] Opening main db
2024-04-11T14:37:30-05:00 [INFO] Using git binary path: Some("/Applications/Zed Preview.app/Contents/MacOS/git")
2024-04-11T14:37:30-05:00 [INFO] set environment variables from shell:/bin/ksh, path:/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:/usr/local/laps
2024-04-11T14:37:31-05:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-04-11T14:37:31-05:00 [ERROR] crates/zed/src/zed.rs:628: EOF while parsing a value at line 1 column 0
2024-04-11T14:37:31-05:00 [INFO] Opening main db
2024-04-11T14:37:31-05:00 [ERROR] crates/workspace/src/workspace.rs:906: Error in last_window, select_row_bound expected single row result but found none for: SELECT
  display,
  window_state,
  window_x,
  window_y,
  window_width,
  window_height,
  fullscreen
FROM
  workspaces
WHERE
  workspace_location IS NOT NULL
ORDER BY
  timestamp DESC
LIMIT
  1
2024-04-11T14:37:31-05:00 [INFO] Node runtime install_if_needed
2024-04-11T14:37:31-05:00 [INFO] starting language server. binary path: "/Users/MYACCOUNT/Library/Application Support/Zed/node/node-v18.15.0-darwin-arm64/bin/node", working directory: "/", args: ["/Users/MYACCOUNT/Library/Application Support/Zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-04-11T14:37:32-05:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-04-11T19:37:32.197Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-04-11T19:37:32.197Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-04-11T14:37:32-05:00 [INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "3961566d-646d-458e-82f5-656d36b0358e",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-04-11T14:37:32-05:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-04-11T19:37:32.207Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-04-11T19:37:32.207Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-04-11T14:37:46-05:00 [INFO] installing extension macos-classic latest version
2024-04-11T14:37:47-05:00 [ERROR] crates/extension/src/extension_store.rs:682: failed to iterate over archive

Caused by:
    Invalid gzip header
2024-04-11T14:37:49-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load the-dark-side extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:37:49-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-theme extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:37:49-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load macos-classic extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:37:49-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-dark-default extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:37:49-05:00 [INFO] rebuilt extension index in 69.151792ms
2024-04-11T14:39:31-05:00 [INFO] installing extension macos-classic latest version
2024-04-11T14:39:32-05:00 [ERROR] crates/extension/src/extension_store.rs:682: failed to iterate over archive

Caused by:
    Invalid gzip header
2024-04-11T14:39:33-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load the-dark-side extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:39:33-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-theme extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:39:33-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load macos-classic extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:39:33-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-dark-default extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:39:33-05:00 [INFO] rebuilt extension index in 68.281292ms
2024-04-11T14:39:41-05:00 [INFO] installing extension macos-classic latest version
2024-04-11T14:39:42-05:00 [ERROR] crates/extension/src/extension_store.rs:682: failed to iterate over archive

Caused by:
    Invalid gzip header
2024-04-11T14:39:42-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load the-dark-side extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:39:42-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-theme extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:39:42-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load macos-classic extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:39:42-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-dark-default extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:39:42-05:00 [INFO] rebuilt extension index in 64.618334ms
2024-04-11T14:39:54-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load the-dark-side extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:39:54-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-theme extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:39:54-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load macos-classic extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:39:54-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-dark-default extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:39:54-05:00 [INFO] rebuilt extension index in 2.638084ms
2024-04-11T14:39:54-05:00 [INFO] extensions updated. loading 0, reloading 0, unloading 1
2024-04-11T14:40:22-05:00 [INFO] installing extension macos-classic latest version
2024-04-11T14:40:23-05:00 [ERROR] crates/extension/src/extension_store.rs:682: failed to iterate over archive

Caused by:
    Invalid gzip header
2024-04-11T14:40:23-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load the-dark-side extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:23-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-theme extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:23-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load macos-classic extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:23-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-dark-default extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:23-05:00 [INFO] rebuilt extension index in 3.016167ms
2024-04-11T14:40:25-05:00 [INFO] installing extension catppuccin latest version
2024-04-11T14:40:25-05:00 [ERROR] crates/extension/src/extension_store.rs:682: failed to iterate over archive

Caused by:
    Invalid gzip header
2024-04-11T14:40:25-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load catppuccin extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:25-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load the-dark-side extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:25-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-theme extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:25-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load macos-classic extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:25-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-dark-default extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:25-05:00 [INFO] rebuilt extension index in 2.7825ms
2024-04-11T14:40:26-05:00 [INFO] installing extension the-dark-side latest version
2024-04-11T14:40:27-05:00 [ERROR] crates/extension/src/extension_store.rs:682: failed to iterate over archive

Caused by:
    Invalid gzip header
2024-04-11T14:40:27-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load catppuccin extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:27-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load the-dark-side extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:27-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-theme extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:27-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load macos-classic extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:27-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-dark-default extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:27-05:00 [INFO] rebuilt extension index in 2.613459ms
2024-04-11T14:40:33-05:00 [INFO] installing extension macos-classic latest version
2024-04-11T14:40:34-05:00 [ERROR] crates/extension/src/extension_store.rs:682: failed to iterate over archive

Caused by:
    Invalid gzip header
2024-04-11T14:40:34-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load catppuccin extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:34-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load the-dark-side extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:34-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-theme extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:34-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load macos-classic extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:34-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-dark-default extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:34-05:00 [INFO] rebuilt extension index in 4.396208ms
2024-04-11T14:40:35-05:00 [INFO] installing extension catppuccin latest version
2024-04-11T14:40:35-05:00 [ERROR] crates/extension/src/extension_store.rs:682: failed to iterate over archive

Caused by:
    Invalid gzip header
2024-04-11T14:40:35-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load catppuccin extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:35-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load the-dark-side extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:35-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-theme extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:35-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load macos-classic extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:35-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-dark-default extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:35-05:00 [INFO] rebuilt extension index in 10.806292ms
2024-04-11T14:40:36-05:00 [INFO] installing extension the-dark-side latest version
2024-04-11T14:40:36-05:00 [ERROR] crates/extension/src/extension_store.rs:682: failed to iterate over archive

Caused by:
    Invalid gzip header
2024-04-11T14:40:36-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load catppuccin extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:36-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load the-dark-side extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:36-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-theme extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:36-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load macos-classic extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:36-05:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-dark-default extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-11T14:40:36-05:00 [INFO] rebuilt extension index in 3.313ms
2024-04-11T14:41:17-05:00 [INFO] Opening main db
2024-04-11T15:09:20-05:00 [INFO] ========== starting zed ==========
2024-04-11T15:09:20-05:00 [INFO] Opening main db
2024-04-11T15:09:20-05:00 [INFO] Using git binary path: Some("/Applications/Zed Preview.app/Contents/MacOS/git")
2024-04-11T15:09:20-05:00 [INFO] set environment variables from shell:/bin/ksh, path:/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:/usr/local/laps
2024-04-11T15:09:21-05:00 [ERROR] crates/zed/src/zed.rs:628: EOF while parsing a value at line 1 column 0
2024-04-11T15:09:21-05:00 [INFO] Opening main db
2024-04-11T15:09:21-05:00 [ERROR] crates/workspace/src/workspace.rs:906: Error in last_window, select_row_bound expected single row result but found none for: SELECT
  display,
  window_state,
  window_x,
  window_y,
  window_width,
  window_height,
  fullscreen
FROM
  workspaces
WHERE
  workspace_location IS NOT NULL
ORDER BY
  timestamp DESC
LIMIT
  1
2024-04-11T15:09:21-05:00 [INFO] Node runtime install_if_needed
2024-04-11T15:09:25-05:00 [INFO] starting language server. binary path: "/Users/MYACCOUNT/Library/Application Support/Zed/node/node-v18.15.0-darwin-arm64/bin/node", working directory: "/", args: ["/Users/MYACCOUNT/Library/Application Support/Zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-04-11T15:09:25-05:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-04-11T20:09:25.875Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-04-11T20:09:25.875Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-04-11T15:09:25-05:00 [INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "57da96be-a081-416c-bdcb-365c586bc517",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-04-11T15:09:25-05:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-04-11T20:09:25.888Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-04-11T20:09:25.888Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
michealp-coder commented 7 months ago

Note: it's missing the content-encoding: gzip header

Yup, that's the correct behavior. There shouldn't be a content-encoding: gzip header. The content is not being compressed with gzip. Rather, the content itself is 9567-byte tar.gz file.

Does Safari give any information about the failed download?

image001

Above is the only error I can find.

If there is someplace that would have more detailed Safari errors, please let me know (because I don't think Web Inspector works for downloads).

What happens is Safari begins the download, and it begins to download a file named archive.tar.gz.download and then just hangs.

My understanding of Safari is the .downloadfiles are files in progress of being downloaded but not complete.

michealp-coder commented 7 months ago

@maxbrunsfeld

I can't help but wonder why the Zed logs keep saying Invalid gzip header, and how the content-encoding header is missing in the payload.

Just curious, are you using the CDN provided by Digital Ocean (in conjunction with storing the extension assets)?

I ask because it's been reported that Digital Oceans CDN breaks things due to poorly handling content-encoding header - and to not use the CDN from digital ocean.

https://meta.discourse.org/t/is-do-spaces-cdn-still-broken-any-workarounds/236094

From link above:

Question: I was trying to set up a [Digital Ocean] Spaces CDN for my Spaces bucket ... all the assets load correctly but nothing is executing ... it seems like the content-encoding header is stripped, which is breaking things. Can anyone confirm if this is the source of the problem and that it remains an open bug with Digital Ocean?

Answer: That’s right. You need to use a different CDN.

maxbrunsfeld commented 7 months ago

Again, Zed isn't reading the content-encoding header, so this is not related to the problem.

michealp-coder commented 7 months ago

Anything else you'd like me to try?

Any theories on why Zed log saysInvalid gzip header?

(I just want to say, thank you for all the help and great IDE you've created)

michealp-coder commented 7 months ago

Hi @maxbrunsfeld

Anything else you'd like me to try?


I'm running the latest Zed Preview 0.131.6

What I did was:

a. I launched Zed (which opens to a blank tab)

b. Zed immediately downloaded the latest Preview

c. I restarted Zed

d. I went to the Extensions and tried to Install:

None of them installed.

Below is my log file.

2024-04-17T08:40:33-04:00 [INFO] ========== starting zed ==========
2024-04-17T08:40:33-04:00 [INFO] Opening main db
2024-04-17T08:40:33-04:00 [INFO] Using git binary path: Some("/Applications/Zed Preview.app/Contents/MacOS/git")
2024-04-17T08:40:33-04:00 [INFO] set environment variables from shell:/bin/ksh, path:/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:/usr/local/laps
2024-04-17T08:40:34-04:00 [ERROR] crates/zed/src/zed.rs:628: EOF while parsing a value at line 1 column 0
2024-04-17T08:40:34-04:00 [INFO] Opening main db
2024-04-17T08:40:34-04:00 [ERROR] crates/workspace/src/workspace.rs:906: Error in last_window, select_row_bound expected single row result but found none for: SELECT
  display,
  window_state,
  window_x,
  window_y,
  window_width,
  window_height,
  fullscreen
FROM
  workspaces
WHERE
  workspace_location IS NOT NULL
ORDER BY
  timestamp DESC
LIMIT
  1
2024-04-17T08:40:34-04:00 [INFO] Node runtime install_if_needed
2024-04-17T08:40:37-04:00 [INFO] starting language server. binary path: "/Users/MYACCOUNT/Library/Application Support/Zed/node/node-v18.15.0-darwin-arm64/bin/node", working directory: "/", args: ["/Users/MYACCOUNT/Library/Application Support/Zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-04-17T08:40:37-04:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-04-17T12:40:37.568Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-04-17T12:40:37.568Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-04-17T08:40:37-04:00 [INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "2205f868-b2b4-41b5-a35f-b1a02c604b26",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-04-17T08:40:37-04:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-04-17T12:40:37.576Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-04-17T12:40:37.576Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-04-17T08:40:43-04:00 [INFO] downloaded update. path:"/var/folders/pv/rc8yz11n13d71076ycth17brvg1j3v/T/zed-auto-updatePM8GQf/Zed.dmg"
2024-04-17T08:40:54-04:00 [INFO] ========== starting zed ==========
2024-04-17T08:40:54-04:00 [INFO] Opening main db
2024-04-17T08:40:54-04:00 [INFO] Using git binary path: Some("/Applications/Zed Preview.app/Contents/MacOS/git")
2024-04-17T08:40:54-04:00 [INFO] set environment variables from shell:/bin/ksh, path:/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:/usr/local/laps
2024-04-17T08:40:54-04:00 [ERROR] crates/zed/src/zed.rs:628: EOF while parsing a value at line 1 column 0
2024-04-17T08:40:54-04:00 [INFO] Opening main db
2024-04-17T08:40:54-04:00 [ERROR] crates/workspace/src/workspace.rs:906: Error in last_window, select_row_bound expected single row result but found none for: SELECT
  display,
  window_state,
  window_x,
  window_y,
  window_width,
  window_height,
  fullscreen
FROM
  workspaces
WHERE
  workspace_location IS NOT NULL
ORDER BY
  timestamp DESC
LIMIT
  1
2024-04-17T08:40:54-04:00 [INFO] Node runtime install_if_needed
2024-04-17T08:40:54-04:00 [INFO] starting language server. binary path: "/Users/MYACCOUNT/Library/Application Support/Zed/node/node-v18.15.0-darwin-arm64/bin/node", working directory: "/", args: ["/Users/MYACCOUNT/Library/Application Support/Zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-04-17T08:40:55-04:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-04-17T12:40:55.197Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-04-17T12:40:55.197Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-04-17T08:40:55-04:00 [INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "6ac42f12-2ad4-491a-9827-f2ab0c416be9",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-04-17T08:40:55-04:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-04-17T12:40:55.206Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-04-17T12:40:55.206Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-04-17T08:41:09-04:00 [INFO] installing extension macos-classic latest version
2024-04-17T08:41:12-04:00 [ERROR] crates/extension/src/extension_store.rs:682: failed to iterate over archive

Caused by:
    Invalid gzip header
2024-04-17T08:41:14-04:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load catppuccin extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-17T08:41:14-04:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load the-dark-side extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-17T08:41:14-04:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-theme extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-17T08:41:14-04:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load macos-classic extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-17T08:41:14-04:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-dark-default extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-17T08:41:14-04:00 [INFO] rebuilt extension index in 5.155917ms
2024-04-17T08:41:15-04:00 [INFO] installing extension catppuccin latest version
2024-04-17T08:41:17-04:00 [ERROR] crates/extension/src/extension_store.rs:682: failed to iterate over archive

Caused by:
    Invalid gzip header
2024-04-17T08:41:17-04:00 [INFO] installing extension the-dark-side latest version
2024-04-17T08:41:17-04:00 [ERROR] crates/extension/src/extension_store.rs:682: failed to iterate over archive

Caused by:
    Invalid gzip header
2024-04-17T08:41:17-04:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load catppuccin extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-17T08:41:17-04:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load the-dark-side extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-17T08:41:17-04:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-theme extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-17T08:41:17-04:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load macos-classic extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-17T08:41:17-04:00 [ERROR] crates/extension/src/extension_store.rs:1175: failed to load github-dark-default extension.toml

Caused by:
    No such file or directory (os error 2)
2024-04-17T08:41:17-04:00 [INFO] rebuilt extension index in 5.127959ms
michealp-coder commented 7 months ago

@JosephTLyons @maxbrunsfeld @maxdeviant

Hi all, sorry to bug.

With more languages being pulled out of core Zed and made into an extension, the bug I'm running into where I'm unable to install extensions is making Zed less and less usable for me.

I'm running the current preview (Zed Preview 0.132.0).

What other info do you need from me to help troubleshoot?

(Thanks again in advance for creating Zed. I really love it. I just now want to be able to use it more :))

maxdeviant commented 7 months ago

@JosephTLyons @maxbrunsfeld @maxdeviant

Hi all, sorry to bug.

With more languages being pulled out of core Zed and made into an extension, the bug I'm running into where I'm unable to install extensions is making Zed less and less usable for me.

I'm running the current preview (Zed Preview 0.132.0).

What other info do you need from me to help troubleshoot?

(Thanks again in advance for creating Zed. I really love it. I just now want to be able to use it more :))

At this point I don't think we have any more ideas as to what is going.

Given that this works:

However, I am able to download from another computer.

When I download the archive.tar.gz file from the other computer, copy that file to my Zed machine, then manually extract/rename/reload - all works.

it seems there is something about your computer/network/firewall that is preventing the tarballs from being downloaded or somehow corrupting them in the process. Since no one else has reported this issue, it seems unlikely it's an issue with the extensions infrastructure.

Is there someone who administrates your computer/network (if it's a company computer you're using) that you could ask about any protections that might be in place that could be causing issues?

michealp-coder commented 7 months ago

Since no one else has reported this issue, it seems unlikely it's an issue with the extensions infrastructure.

  1. And you don't think this bug is related? https://github.com/zed-industries/zed/issues/9802

  2. What still so odd is the error message about Invalid gzip header

This is another bug that has an "Invalid gzip header" issue: https://github.com/zed-industries/zed/issues/9424

Question: for you personally, if you use Safari (not Chrome) - are you able to download via Safari browser https://api.zed.dev/extensions/catppuccin/download ?

maxdeviant commented 7 months ago
  1. And you don't think this bug is related? Cannot install extensions #9802

That bug seems unrelated, as the error is related to failing to resolve the extension API hostname:

2024-03-26T13:52:16+08:00 [ERROR] crates/extension/src/extension_store.rs:461: error downloading extension: failed to resolve host name

Question: for you personally, if you use Safari (not Chrome) - are you able to download via Safari browser https://api.zed.dev/extensions/catppuccin/download ?

Yes, downloading it works fine.

I did see this popup that I had to allow:

Screenshot 2024-04-22 at 11 37 30 AM

And interestingly, Safari unzips the archive automatically. When I download in Chrome it downloads an archive.tar.gz, but when I download in Safari it downloads an archive.tar, so Safari must have some sort of built-in gzip handling.

But the archive is still valid, because I can untar it and see the extension contents.

michealp-coder commented 7 months ago

@maxdeviant

One more thing, note that your extension API is missing the Content-Encoding: gzip header

I wonder if that is the root issue of the Invalid gzip header error I keep seeing in my Zed logs.

(Browsers are way more lenient on incorrect headers than desktop APIs)

When I execute:

curl -H "Accept-Encoding: gzip" -I https://api.zed.dev/extensions/catppuccin/download

I get the following response:

HTTP/2 307 
date: Mon, 22 Apr 2024 16:26:48 GMT
content-length: 0
location: https://zed-extensions.nyc3.digitaloceanspaces.com/extensions/catppuccin/0.2.6/archive.tar.gz?x-id=GetObject&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=DO0024BKKDAMB3MYP3DP%2F20240422%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20240422T162648Z&X-Amz-Expires=180&X-Amz-SignedHeaders=host&X-Amz-Signature=79fdeec84f126adb375b6ec2a26c537cf42cf0fb4c949bdff6e62014357b5601
cf-cache-status: DYNAMIC
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=MoG6KkyLKfkz2Sf9EC%2Btbyfdp65sMAWJX8ZeYtm2XqkJBKQjVUymR3U%2Fs0pp%2BlpXbBRRP4CQXzQ2nE3Uoor4TqaIJqMDW%2B6MzGpNI4Osts34oXLY8%2BoqNpEYwXyi"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 8786fa459d98608f-ORD

Note: the Content-Encoding: gzip header is missing.

That would explain why in my Zed log, I keep getting an "Invalid gzip header"

But if I'm the only person with these issues, I guess we should close the issue.

uroybd commented 7 months ago

@michealp-coder I'm also affected by this. Can't Install any extension.

maxdeviant commented 6 months ago

@michealp-coder I'm also affected by this. Can't Install any extension.

@uroybd Are you seeing any errors in your Zed logs?

michealp-coder commented 6 months ago

@michealp-coder I'm also affected by this. Can't Install any extension.

@uroybd

Can you share your Zed log file.

a. Open Zed b. COMMAND + SHIFT + P c. type zed: open log

And copy/paste your log to here.

uroybd commented 6 months ago

@michealp-coder I'm also affected by this. Can't Install any extension.

@uroybd

Can you share your Zed log file.

a. Open Zed b. COMMAND + SHIFT + P c. type zed: open log

And copy/paste your log to here.

Sorry for the late reply. It was a timeout issue which got automatically solved. Seems like just a slow internet issue not so uncommon in Bangladesh.

michealp-coder commented 6 months ago

@maxdeviant

Notice the aggregated issue @Moshyfawn posted (https://github.com/zed-industries/zed/issues/10908#issuecomment-2073471432) and how a number of those issues have Invalid gzip header as an error in the Zed log.

I don't mean to be a broken record on this topic, but I'm raising it again because I don't believe it was ever addressed in this bug report.

I really think there is something wrong with the headers of the extension assets.

And it's not just on my machine:

You can see how the gzip headers are invalid using an online tool (not being run on my machine) by:

a. Go to: https://www.giftofspeed.com/gzip-test/ b. enter in https://api.zed.dev/extensions/catppuccin/download c. I receive an error stating that Gzip Is Not Enabled

Question: have any troubleshooting / investigation been looked into related to these Invalid gzip header?

Note how others have reported that Digital Oceans CDN (which I believe is what Zed uses for the Extension assets) has issues with headers and breaks things.

maxdeviant commented 6 months ago

@maxdeviant

Notice the aggregated issue @Moshyfawn posted (#10908 (comment)) and how a number of those issues have Invalid gzip header as an error in the Zed log.

I don't mean to be a broken record on this topic, but I'm raising it again because I don't believe it was ever addressed in this bug report.

I really think there is something wrong with the headers of the extension assets.

And it's not just on my machine:

  • it's reported in other tickets like above and
  • it's also reported by 3rd party tools (not run on my machine), that the gzip header are invalid using an online tool below.

You can see how the gzip headers are invalid using an online tool (not being run on my machine) by:

a. Go to: https://www.giftofspeed.com/gzip-test/ b. enter in https://api.zed.dev/extensions/catppuccin/download c. I receive an error stating that Gzip Is Not Enabled

Question: have any troubleshooting / investigation been looked into related to these Invalid gzip header?

Note how others have reported that Digital Oceans CDN (which I believe is what Zed uses for the Extension assets) has issues with headers and breaks things.

@michealp-coder Please stop bringing up the gzip issue, it is not relevant here.

You are conflating two completely different concepts of compression.

The responses from the extension blob store are not using gzip compression, rather, the blob store is serving an uncompressed response body that happens to contain gzipped bytes (from the archive.tar.gz on disk).

The online tools you are using are checking for gzip compression of the response itself, which does not matter here.

The errors you are seeing related to "Invalid gzip header" in Zed are very likely related to the extension archive contents from the blob store not being downloaded properly or otherwise being manipulated in-transit due to something between the extension blob store and your computer (could be network settings, firewall, some network adapter on your computer).

Given that the vast majority of Zed users are not having any issues downloading extensions, there is not anything that indicates there is anything wrong with the configuration of the extension server itself.

michealp-coder commented 6 months ago

@maxdeviant

With all due respect, you are asking for people to submit their Zed log files and multiple people are providing them across various issues.

All of which indicate in the log file Invalid gzip header

Regardless of what's causing it, it's clearly an issue it for multiple individuals.

I'm just pleading, please investigate the root cause.

Because:

So I'm just asking, please look into this error.

maxbrunsfeld commented 6 months ago

It’s not an HTTP header that the error is referring to. It’s a “header” structure expected within a gzip file. It has nothing to do with the HTTP headers. It means that once the download completes, we’re attempting to extract the archive, and it doesn’t contain a valid tar.gz file. Somehow, clients are getting the wrong content back.

maxbrunsfeld commented 6 months ago

Can you determine why you can’t download the file with Safari? You seem to have a proxy that is interfering with HTTP requests for some applications including zed.

michealp-coder commented 6 months ago

Can you determine why you can’t download the file with Safari? You seem to have a proxy that is interfering with HTTP requests for some applications including zed.

To summarize what I'm experiencing.

When I attempt to download the file: https://api.zed.dev/extensions/catppuccin/download

What works:

What does not work:

Proxy:

How I navigate:

Both for Chrome and Safari, it open up: macOS Proxy Settings.

Everything is turned off (no proxy set).

Which is why this is super odd for obvious reasons.

image001

Please take my comments from a place of trying to be helpful and loving Zed. And not as a problematic user :)

michealp-coder commented 6 months ago

Hi Max

Any thoughts?

It doesn't seem to be a proxy or firewall issue, since all browsers on macOS use the same system proxy and firewall settings.

But clearly, neither Safari nor Zed are downloading the extension file (as indicated here).

But it does work using curl and Chrome from the same computer.

michealp-coder commented 5 months ago

@maxbrunsfeld

FYI - there's now two other people experiencing this same issue.

Someone else who's company blocks Digital Ocean (which is where the Extensions are hosted for Zed).

And someone else who can't resolve Digital Ocean.

calmyournerves commented 4 months ago

I also couldn't install any extension. In my case, my ISP (largest one in Switzerland) just seems to "block" (aka not resolve) nyc3.digitaloceanspaces.com (maybe it's on some block list?). Switching to different DNS servers fixed the issue for me.

michealp-coder commented 4 months ago

If multiple people are reporting ISP/DNS blocking Digital Ocean - I sure hope the Zed team moves to another CDN for their Extension Assets.

jaeyson commented 4 months ago

Same thing when installing extension (Elixir)

Apple M1 Sonoma 14.2.1 Zed 0.142.6 (Stable), using Apple Silicon

2024-07-08T17:53:50+08:00 [INFO] installing extension elixir latest version
2024-07-08T17:53:51+08:00 [WARN] request completed with error: failed to resolve host name
2024-07-08T17:53:51+08:00 [ERROR] crates/extension/src/extension_store.rs:722: error downloading extension: failed to resolve host name
2024-07-08T17:53:51+08:00 [INFO] installing extension elixir latest version
2024-07-08T17:53:51+08:00 [WARN] request completed with error: failed to resolve host name
2024-07-08T17:53:51+08:00 [ERROR] crates/extension/src/extension_store.rs:722: error downloading extension: failed to resolve host name

If I try to download via Brave browser (https://api.zed.dev/extensions/elixir/download), it redirects to https://zed-extensions.nyc3.digitaloceanspaces.com/extensions/elixir/0.0.5/archive.tar.gz?x-id=GetObject&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=DO0024BKKDAMB3MYP3DP%2F20240708%2Fnyc3%2Fs3%2Faws4_request&X-Amz-Date=20240708T105242Z&X-Amz-Expires=180&X-Amz-SignedHeaders=host&X-Amz-Signature=70a70e1efd77de2fef9f511bdd5164f5fef76244d8f640c002d16fade20850db

and throws:

This site can’t be reached
zed-extensions.nyc3.digitaloceanspaces.com’s DNS address could not be found. Diagnosing the problem.
DNS_PROBE_POSSIBLE

Tried switching safari, chrome, firefox, brave and using vpn or other isp and it's the same error.

AbdulRehman-z commented 4 months ago

I didn't realize installing just an extension would require so much configuration

mpsanchis commented 4 months ago

I have exactly the same issue as https://github.com/zed-industries/zed/issues/10330#issuecomment-2211690908

My Zed.log says:

2024-07-12T10:54:12+02:00 [INFO] installing extension xml latest version
2024-07-12T10:54:12+02:00 [WARN] request completed with error: failed to connect to the server
2024-07-12T10:54:12+02:00 [ERROR] error downloading extension: failed to connect to the server
jaeyson commented 4 months ago

one workaround to install extension:

Finding the extension link

an example link: https://api.zed.dev/extensions/<EXTENSION_ID>/download

where to get EXTENSION_ID?

  1. go to extensions
  2. find the extension you want to install
  3. on the right side you can see its button "Install" and the "Github icon" Screenshot from 2024-07-12 17-58-33
  4. click the Github icon so it'll go to the github page
  5. open the extension.toml
  6. look for the id, in this example:
    id = "macos-classic"   <--- this ID
    name = "macOS Classic Theme"
    description = "A macOS native style theme, let it same like native app in macOS."
    version = "0.0.8"
    schema_version = 1
    authors = ["Jason Lee <huacnlee@gmail.com>"]
    repository = "https://github.com/huacnlee/zed-theme-macos-classic"

so the link will be: https://api.zed.dev/extensions/macos-classic/download

Download the extension using a disposable browser or another way

You can use vpn or any as long as you can download the said link

OR

Visit this site: https://sqrx.com, then click personal. In this step you can use e.g. Brave or Chrome (I think Firefox not supported on this site). From there you can download the link

Where to save the extension after downloading it

Then open Zed, check if installed.

ronkristoff commented 4 months ago

I also cannot install extensions. I cannot also download plugin directly(https://api.zed.dev/extensions/catppuccin/download) it says site cannot be reached. What do i need to check? Thanks.

jaeyson commented 4 months ago

Hey @ronkristoff did you try to follow exactly what is says here?

akbarsaputrait commented 4 months ago

one workaround to install extension:

Finding the extension link

an example link: https://api.zed.dev/extensions/<EXTENSION_ID>/download

where to get EXTENSION_ID?

  1. go to extensions
  2. find the extension you want to install
  3. on the right side you can see its button "Install" and the "Github icon" Screenshot from 2024-07-12 17-58-33
  4. click the Github icon so it'll go to the github page
  5. open the extension.toml
  6. look for the id, in this example:
id = "macos-classic"   <--- this ID
name = "macOS Classic Theme"
description = "A macOS native style theme, let it same like native app in macOS."
version = "0.0.8"
schema_version = 1
authors = ["Jason Lee <huacnlee@gmail.com>"]
repository = "https://github.com/huacnlee/zed-theme-macos-classic"

so the link will be: https://api.zed.dev/extensions/macos-classic/download

Download the extension using a disposable browser or another way

You can use vpn or any as long as you can download the said link

OR

Visit this site: https://sqrx.com, then click personal. In this step you can use e.g. Brave or Chrome (I think Firefox not supported on this site). From there you can download the link

Where to save the extension after downloading it

  • Close Zed editor
  • extract the archive.tar.gz file and rename the extracted folder according to the extension id
  • copy the extracted folder on these path:

    • osx: ~/Library/Application\ Support/Zed/extensions/installed/extracted_folder_name
    • ubuntu: ~/.local/share/zed/extensions/installed/extracted_folder_name

Then open Zed, check if installed.

Based on your advice, "You can use a VPN or any other method as long as you can download the said link," I installed and enabled 1.1.1.1 by Cloudflare, and it works normally by simply clicking the Install button.