zed icon indicating copy to clipboard operation
zed copied to clipboard

Extensions: Unable to Install any extension

Open michealp-coder opened this issue 1 year ago • 40 comments

Environment:

  • Zed Preview 0.130.2
  • macOS 14.4.1
  • Apple M1

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

michealp-coder avatar Apr 09 '24 15:04 michealp-coder

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)?

maxdeviant avatar Apr 09 '24 16:04 maxdeviant

@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 avatar Apr 09 '24 17:04 michealp-coder

@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.

michealp-coder avatar Apr 10 '24 20:04 michealp-coder

@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/.

maxdeviant avatar Apr 10 '24 20:04 maxdeviant

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.

michealp-coder avatar Apr 10 '24 21:04 michealp-coder

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

maxdeviant avatar Apr 10 '24 22:04 maxdeviant

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.

michealp-coder avatar Apr 10 '24 23:04 michealp-coder

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.

JosephTLyons avatar Apr 11 '24 03:04 JosephTLyons

@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:

  • Language Server download error messages
  • Really any issue with "downloading" --> https://github.com/zed-industries/zed/issues?q=is%3Aissue+is%3Aopen+download
  • or Extensions not installing (like this issue)

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.

michealp-coder avatar Apr 11 '24 13:04 michealp-coder

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 avatar Apr 11 '24 16:04 maxbrunsfeld

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.

maxbrunsfeld avatar Apr 11 '24 16:04 maxbrunsfeld

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 avatar Apr 11 '24 16:04 michealp-coder

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 avatar Apr 11 '24 16:04 michealp-coder

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

michealp-coder avatar Apr 11 '24 17:04 michealp-coder

@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?

maxdeviant avatar Apr 11 '24 19:04 maxdeviant

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

michealp-coder avatar Apr 11 '24 19:04 michealp-coder

@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.

maxdeviant avatar Apr 11 '24 19:04 maxdeviant

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?

maxbrunsfeld avatar Apr 11 '24 19:04 maxbrunsfeld

@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 avatar Apr 11 '24 20:04 michealp-coder

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 .download files are files in progress of being downloaded but not complete.

michealp-coder avatar Apr 11 '24 20:04 michealp-coder

@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.

michealp-coder avatar Apr 12 '24 03:04 michealp-coder

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

maxbrunsfeld avatar Apr 12 '24 19:04 maxbrunsfeld

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 avatar Apr 12 '24 19:04 michealp-coder

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:

  • "macOS Classic Theme"
  • Cappuccino Themes
  • The Dark Side

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 avatar Apr 16 '24 13:04 michealp-coder

@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 :))

michealp-coder avatar Apr 22 '24 13:04 michealp-coder

@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?

maxdeviant avatar Apr 22 '24 14:04 maxdeviant

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 ?

michealp-coder avatar Apr 22 '24 15:04 michealp-coder

  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.

maxdeviant avatar Apr 22 '24 15:04 maxdeviant

@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.

michealp-coder avatar Apr 22 '24 16:04 michealp-coder

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

uroybd avatar Apr 23 '24 03:04 uroybd