Skip to content
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

Windows installer messes up environment variables. #8130

Open
samuelbsource opened this issue Nov 23, 2024 · 1 comment
Open

Windows installer messes up environment variables. #8130

samuelbsource opened this issue Nov 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@samuelbsource
Copy link

Describe the bug
After using the Windows installer, environment variable pointing to the installation of windows apps dissapears from the list. If you are WSL2 user, and have, let's say, ubuntu installed on your system, after installing lens, you will not be able to open ubuntu system from windows terminal. No such ubuntu.exe error is shown. Re adding the location of Windows Apps to the env fixes the problem. I've tried lens installer on two different Windows10 systems now and getting the same problem each time.

To Reproduce
Steps to reproduce the behavior:

  1. Install WSL2
  2. Install Windows Terminal app
  3. Install Ubuntu24
  4. Open Windows Terminal, switch to Ubuntu, see that it works, close the terminal.
  5. Download windows lens installer
  6. Install lens
  7. Open Windows Terminal, switch to Ubuntu.
  8. See error 2147942402 (0x80070002) when launching `ubuntu2404.exe'.

Expected behavior
Windows Install should not delete existing environment variables.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Environment (please complete the following information):

  • Lens Version: 2024.11.131815-latest
  • OS: Windows 10
  • Installation method (e.g. snap or AppImage in Linux): Windows Installer

Logs:
When you run the application executable from command line you will see some logging output. Please paste them here:
N/A

Kubeconfig:
N/A

Additional context
Not sure what to add. Install WSL2, Ubuntu, see that it works, install Lens, Ubuntu does not work anymore.

@samuelbsource samuelbsource added the bug Something isn't working label Nov 23, 2024
@koshevka
Copy link

Hello samuelbsource,

Thank you for reaching out to Lens support!

Thank you for reporting a bug.
We are working on your issue. Stand by for further updates.

Regards,
Oleksandr from Lens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants