-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Crashing because folder github-copilot doesn't exist #17501
Comments
I have found the issue and fixed it, basically creating the folder if missing; |
Happy to review PRs. |
@notpeter its there Thanks ! |
@Madscientiste Could you include the commit SHA that you saw this on? |
In the Linux file watcher implementation we already ignore errors when adding the file to the watcher: Lines 588 to 593 in 2d06d5c
We do log the error here, though, which would put it in the logs (and with @Madscientiste Are you sure that this error is the one responsible for the crash? |
I'll do another test once i get home, but yes the log you are seeing in the issue is the logs produced when is There is something else going on i think. I forgot to mention this, I'm using a X11 server and not WSLg |
Okay, so i've been trying to understand what happened and why this made crash. Firstly zed didn't crash, turns out it was WSLg/X11 just doing weird things; the error itself was harmless just i thought it was the issue on why it wasn't starting. Then on why fixing the creation of the folder fixed my issue, well it didn't since it was a WSL thing all along ... Basically i didn't pay enough attention as i modified a env variable inside a session, and ran zed on another session which made it look like it was doing nothing ... I have to pay more attention on what i'm doing to avoid wasting time like this. Sorry guys ! Question:
|
I'm closing because I think you've sorted your issue, if not please comment with more details and we can reopen. For anyone who finds this issue because the see the copilot error in their logs, the issue for tracking that is here: |
Check for existing issues
Describe the bug / provide steps to reproduce it
Just barely cloned the repo i haven't done anything particular, here is what i've done:
cargo run
Environment
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.The text was updated successfully, but these errors were encountered: