-
Notifications
You must be signed in to change notification settings - Fork 10
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 support for yast #51
Comments
I have WSL installed, will check this in the morning tomorrow for sure and let you know what I observe, as I don't have college tomorrow. : ) |
Hey, @qascade I am working on this today, already made some progress but there are still some blocks, trying to clear them right now. You can assign this issue to me if you want. |
Okay, so the things I have figured out till now :
Currently on doing The reason for this could be the way we are importing files in the code or we need to set up GOPATH differently. Also in between of some the above-mentioned steps, we need to close the terminal(WSL) and open it again to see the changes. I would try to go more in-depth maybe later in the day today if possible. |
@notafk-rajat looks good. Keep going. |
Hey @qascade, I feel stuck on this issue. If I try on an IDE on windows And if I try to do it via WSL, I can't even do Can you guide me to some resources to fix this? I have already tried stack overflow and some random blogs. |
On ide you are probably using windows cmd prompt. Check if |
Okay, I'll try this on WSL today, but something came to my mind last night. |
Yes, we can containerize |
Yep If we can do that, we wouldn't have to worry about on what OS |
I'll add a separate issue for that. What's the progress for current issue? |
To be honest, I have no idea what I am doing right now. I did a lot of stuff, followed many blogs and tutorials, and reinstalled go many times, but now I'm not able to install even go at the moment. I have downloaded the zipped file but for some reason, it's not opening. Before all this mishap I did create a HelloWorld program in go, it worked fine I was able to build and run it. But can't do the same for |
I reinstalled Ubuntu and this worked #52 (comment). I feel so bad, did so much stuff and all I had to do was to do Everything works fine, it even says the stream is starting but nothing is showing on the screen. I selected vlc as the default player. The above streaming thing worked once only, now on a search I'm receiving this error. I'll figure out now what this is and how it can be fixed. |
Use VPN, the panic will go away |
I think it's better to update the docs as well. Just change |
I think a PR is created for it already. And I did use the VPN, the one mentioned in doc. |
Alright, I got the issue now with WSL, don't why but it is not using the VPN service because I'm doing the same stuff on windows PowerShell and I'm able to search there again and again without any issue. |
Install cloudflare inside wsl and connect it using command line. wsl is most probably on a bridged network rather than a NAT network, so the requests generated by wsl won't be tunnelled through VPN enabled in windows. |
@qascade seems like Cloudflare warp does not have wsl2 support yet. Reference - https://community.cloudflare.com/t/warp-support-for-wsl2/382388 Maybe I'll need to find some other VPN for wsl2. |
Ohh that's a bummer. Try openVPN. If that also doesn't work, just add a line that WSL2 will not be able to get yast support until we add targets that don't need a VPN. |
Alright, I'll look into it in a while and let you know. Let's fix this issue today. |
Okay so after researching for a while I came to know that WSL2 currently does not support VPN stuff. So to use a VPN user has to downgrade to WSL1 which might not be logical. Also, there are some workarounds mentioned by people online, like configuring the VPN and Network settings in a way that works for WSL2 but there is no surety of them working, and were quite complex for someone like me. Reference - https://superuser.com/questions/1715764/wsl2-has-no-connectivity-when-windows-is-connected-to-vpn So I guess adding a point for WSL users in the note section would be better for now. We can work on the windows issue after this cause it might be better to run |
@qascade, Let me know if you're okay with it, if yes I'll make a PR adding a point for this in the note section. |
Sure, thanks for your input and efforts. I don't think we should put that much effort into this. Nobody would like to do this much hassle just to get yast setup on wsl. It's better to add windows support. But what I feel is this might only be possible if we use terminal because I don't know if bubbletea will be able to render models on powershell. Last option is to give docker image as you suggested earlier. |
Yep totally agree. So where do you plan to go from here? Try to bring windows support for I personally think it would be better if we do the docker thing. |
Let's just mention that |
Description
yast
currently only supports Unix environments. We need to test whether it is possible to install and runyast
on WSL (Windows SubSystem for Linux) or not. If not? Is there a way to fix it? Do we need to make some changes to the code or provide additional documentation instructions for the different environments? This issue was brought to notice by @notafk-rajat in #28Are you raising this issue under hacktoberfest?
Yes, I'm raising this issue under hacktoberfest 2022. This is a beginner issue, should only require small code changes and some documentation changes.
The text was updated successfully, but these errors were encountered: