-
Notifications
You must be signed in to change notification settings - Fork 132
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
Failure to launch Zed service #2882
Comments
I've studied this a bit more and it seems the symptom varies based on the OS platform. macOSSince I happen to use macOS on the desktop, everything described in the opening text of this issue was first reproduced with macOS. Given this reference:
in #2866 (comment), then comparing the Actions run log from the working build with the failed one, the smoking gun does seem to reveal itself in the failed build's "Build Zui" step:
Doing a web search for "ModuleNotFoundError: No module named 'distutils' node-gyp" uncovered nodejs/node-gyp#2869, where the tl;dr seems to be that node-gyp will fail if Python 3.12 is in use. Sure enough, grepping the raw log from the Actions run for the working build, we find:
whereas for the failed build:
That same thread points to a workaround that I've already tried out in a branch that seems effective. 👍 LinuxThinking that explained everything, something made me think to try on other platforms. While it's true that the most recent Zui Insiders builds also don't work on Linux, in that case 1.3.2-9 actually works ok (that one failed on macOS) but 1.3.2-10 is where it starts failing. Looking at the log for building 1.3.2-10, it's still a problem at the
Notice that it references an older Python version 3.8.10. Not sure what to make of that. WIndowsThis code: zui/packages/zed-node/src/lake.ts Lines 57 to 66 in 4186053
Makes it look like |
After researching this issue I became concerned that Zui effectively has a hard dependency on |
The workaround in #2883 has been merged and builds are ok on macOS again (e.g., Zui Insiders 1.3.2-13). As for the other failure I showed above on Linux, in the notes in #2883 I mention how by the time I was done testing that change I also managed to see that same symptom on macOS as well. That led us to a team discussion about the wider exposure described in #1165 and we decided to move forward with replacing In conclusion, the primary issue originally tracked in this issue has now been addressed and the other problem spotted along the way is being tracked elsewhere, so I'm closing this one. |
This issue seems to repro starting with Zui and Zui Insiders builds created some time starting around November 3, 2023.
I first reported the symptom in detail at #2866 (comment) while I was testing a Dev build based on that branch. However, I've since confirmed that recent Zui Insiders releases starting with 1.3.2-9 all exhibit the same symptom. I also went back and dug up the Dev Build from this Actions run based on commit acb5267 and confirmed it works fine as I remembered it, then just now made another Dev Build in another Actions run also based on commit acb5267 and found that one fails with the symptom. So the problem seems to follow "when the build was made" and not "our code that went into the build".
Conclusion: Based on all this, I have to suspect that maybe there's some dependency for which we're pointing at "the latest" and that dependency has advanced to something that breaks us. I have no idea what that might be though!
The text was updated successfully, but these errors were encountered: