-
Notifications
You must be signed in to change notification settings - Fork 2
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
WSL: "No such file or directory" }', src/main.rs:163:14 #36
Comments
Hi @PriNova - I think you're not running into a port conflict. Rather, it seems like It looks like this code in specific is failing, when trying to create a Unix socket: Does |
Hey @slimsag thank you for your answer. I'm on Ubuntu 22..04 in WSL container. When running Cody App in the user home folder, I got the "Address not found" error. |
I have the same stack trace (
|
Hm, curious, I have this package already installed on my WSL container and it don't helped that much. |
I have the same error in the same environment (WSL2 / Ubuntu 22.04). Installing xdg-utils didn't help. Maybe MetricMike has other packages installed that we don't? |
I get the same behavior from Cody when logged in as User (I do have an existing /tmp folder) whether I run it from ${HOME} or ${HOME}/myfakeproject or /tmp. I've also had this distro since the WSL1 days, so its been through a few upgrades and has accumulated a package or two. Specifically, I think I have it using software opengl instead of WSLg's hardware support (so some combination of If I get time I'll see about trying to compile from source with some debug flags, but I'm not 100% clear on how to do that for the cody app (it's got its own repo at sourcegraph/cody, but that repo doesn't appear to have rust sources?) |
I figured out a way to get it working. It's not pretty. I have to warn you, it will install 1GB of packages: sudo apt install gnome Also while the program window is visible, I'm still stuck now after clicking on "Connect to sourcegraph.com". My guess is it tries to open a browser and that's somehow not working in wsl2? |
The cody app stayed in the sourcegraph/sourcegraph repo. in the /cody repo is the Cody Chat functionality outsourced. |
It sounds like this primarily happens in WSL. We are working on windows native builds, I don't have an ETA on them yet but hoping to have them available soon. |
great thanks @sourcegraph and @tfriedel
|
Did you have installed a browser in WSL? Standard is Chrome, but with installing snap you can have firefox too. I don't know the correct settings to do. Thank you for this workaround, which is not my reliable way to do. For me it is suspicious that the app wants to listen to tauri in a root folder. |
@PriNova |
We are super interested in the Windows native version of the Cody app. |
I was on the same boat here: WSL Ubuntu 22. And now i'm stuck at embedding. It embedded 1 file and then receives a timeouout for a POST. Of course are we desperately waiting for the Windows-Version :) Update: after going to settings: "Embedding jobs" / "Schedule repositories for embedding" and readding the repo twice finally it indexed and embedded 1588 files and skipped 450. |
I'm having the same issue on a debian sid machine that is running on bare metal (not through WSL). It would be nice if the desktop app showed the directory it was trying to access instead of just unwrapping the error. |
Reported by @PriNova in #27 (comment)
The text was updated successfully, but these errors were encountered: