Closed Madscientiste closed 1 week ago
I have found the issue and fixed it, basically creating the folder if missing; should i open a PR ?
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:
We do log the error here, though, which would put it in the logs (and with RUST_BACKTRACE=1
it would include the backtrace in the log).
@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 RUST_BACKTRACE
set
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.