-
Notifications
You must be signed in to change notification settings - Fork 32
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
Unable to execute any code #331
Comments
Cannot reproduce it anymore |
Gotta love issues that fix themselves 🙃 |
Hmm I'll try later with a Mac. Not sure how it wouldn't work but if it didn't then something's wrong |
Not sure either, there doesn't seem anything wrong and I was definitely on latest & using the correct binary. |
Unrelated to MacOS. |
Are you invoking it the same way? e.g. is your pwd the same when you invoke it when it's globally installed or via |
This is very weird. Based on your screenshot what's failing is the invocation of Related rust-lang/rust#37868 (comment). In that case that's about relative paths but this is not the case so I don't think it's what's happening here. |
I tried multiple different pwd's, with the release built all work fine (so running target/release). But with the global install it doesn't work from any pwd.
Yeah, this is what I mentioned in my original post, I don't think my change is related either but when I checked out that commit it suddenly worked again. |
Can you give #333 a shot? I don't have access to a macos machine right now but I have a hunch about why this is happening. I don't know why it happens depending on how you invoke the tool but given the issue wasn't there when the Can you make sure you try:
Thanks! |
It also happens on my linux desktop now, so just on unix it seems, though it seems extremely weird to me as I have developed it myself on linux and it worked fine, so really strange issue to me :)
Everything seems to work but then again, it used to before as well so I cannot say with confidence that it is fixed. :) I would say for now that it is fixed and I'll re-report it when it pops up again. |
Thanks for checking! Let me know if it shows up again 🙏 |
Wanted to run a presentation on my work laptop (Apple M1 Max) and all snippets return
error spawning process 'x': No such file or directory (os error 2)
where x can be anything.All the necessary utils are installed to execute (bash, node, rust etc) but none work.
This is a regression from my PR I believe, if I checkout the commit right before the CWD fix was introduced (#323), this wasn't an issue so it's related but don't immediately see why.
The text was updated successfully, but these errors were encountered: