Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Zed] Error when opening the list of projects #11995

Closed
olrtg opened this issue Apr 25, 2024 · 4 comments · Fixed by #12137
Closed

[Zed] Error when opening the list of projects #11995

olrtg opened this issue Apr 25, 2024 · 4 comments · Fixed by #12137
Labels
bug Something isn't working extension: zed-recent-projects Issues related to the zed-recent-projects extension extension Issues related to one of the extensions in the Store

Comments

@olrtg
Copy link

olrtg commented Apr 25, 2024

Extension

https://raycast.com/ewgenius/zed-recent-projects

Description

Error:

Error: Error: in prepare, no such column: workspace_location
  SELECT workspace_location, timestamp FROM workspaces
         ^--- error here

    at /Users/olrtg/.config/raycast/extensions/715b336d-1cef-4f40-be8a-f740b3f1656a/search.js:11:3767
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

I've tried reinstalling the plugin but the error still appears.

Steps To Reproduce

  1. I don't know if it happens with the stable version of zed. I'm using the zed preview version (latest version).
  2. Open raycast menu
  3. Open "Search recent projects"
  4. The error should appear

Current Behaviour

Shows error without showing results.

Expected Behaviour

Should list the recent projects.

@olrtg olrtg added bug Something isn't working extension Issues related to one of the extensions in the Store labels Apr 25, 2024
@raycastbot raycastbot added the extension: zed-recent-projects Issues related to the zed-recent-projects extension label Apr 25, 2024
@raycastbot
Copy link
Collaborator

raycastbot commented Apr 25, 2024

Thank you for opening this issue!

🔔 @ewgenius @tleo19 @jylamont you might want to have a look.

💡 Author and Contributors commands

The author and contributors of ewgenius/zed-recent-projects can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopens the issue.
  • @raycastbot assign me Assigns yourself to the issue.
  • @raycastbot good first issue Adds the "Good first issue" label to the issue.

@JoltCode
Copy link
Contributor

Extension

https://raycast.com/ewgenius/zed-recent-projects

Description

Error:

Error: Error: in prepare, no such column: workspace_location
  SELECT workspace_location, timestamp FROM workspaces
         ^--- error here

    at /Users/olrtg/.config/raycast/extensions/715b336d-1cef-4f40-be8a-f740b3f1656a/search.js:11:3767
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

I've tried reinstalling the plugin but the error still appears.

Steps To Reproduce

  1. I don't know if it happens with the stable version of zed. I'm using the zed preview version (latest version).
  2. Open raycast menu
  3. Open "Search recent projects"
  4. The error should appear

Current Behaviour

Shows error without

Expected Behaviour

Should list the recent projects.

Seems to work fine for me on stable... Perhaps a Zed preview bug then?

@jylamont
Copy link
Contributor

jylamont commented Apr 29, 2024

It does seem like it is a preview bug. Which means it will hit stable on Wednesday.

@jylamont
Copy link
Contributor

jylamont commented May 2, 2024

Relevant commit: zed-industries/zed@e0c83a1#diff-6382f48d94a492f88801acbbe0305809e0f2a81f088fde4c969e0eb225d457d8R300

ALTER TABLE workspaces RENAME COLUMN workspace_location TO local_paths;

Now that this commit is on Zed stable, I'll go ahead and make a patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working extension: zed-recent-projects Issues related to the zed-recent-projects extension extension Issues related to one of the extensions in the Store
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants