2

Today I got this error message: "WSL not found at: C:\Users\Nick\AppData\Local\Microsoft\WindowsApps\debian.exe"

Error message

Before this message today, everything worked fine (I start Debian through start menu, restart the ssh service, then start CLion and it linked up just fine.).

The executable is there, just 0kb. The strange thing is that the Linux environment can be opened from windows as always (debian), I can ssh into it just fine (looks like CLion can as well, see picture).

Toolchain window Apps folder refered to

This happened after an update tot CLion 2018.2.2 from 2018.2.1. Rolling back did not fix the issue.

What could be going wrong here?

user12042
  • 235
  • 3
  • 7
  • Hello @Biswapriyo, I'm not entirely certain what you mean. Google was not really clear either, I understand that in the wsl dev cycle it was renamed from wsl.exe/bash.exe to _distribution_.exe? Do you suggest to rename debian.exe to wsl.exe/bash.exe? – user12042 Aug 29 '18 at 12:46
  • Debian.exe or Ubuntu.exe opens wsl.exe. So I guess what happens if you use wsl.exe path instead of that path. – Biswapriyo Aug 29 '18 at 15:17
  • CLion (v. 2018.2.2) does not give me the option to select anything other than the pre-found debian.exe and ubuntu.exe. – user12042 Aug 29 '18 at 15:39

1 Answers1

0

I've found a fix for the issue. In Windows config select the apps list, find Debian and press advanced settings. Then end the service and recover it (the mild recovery was enough for my case). Although I'm not certain it aided in fixing the issue I've also removed the Jetbrains folder in the LocalCache/Local folder of the Debian folder in my AppData\Local\Packages.

user12042
  • 235
  • 3
  • 7
  • 1
    Hi, I have met the same problem, could you please describe how to open "Windows config"? Is it `msconfig` command? But I cannot find "Debian" in the opened dialog. – Kelvin Hu Feb 18 '19 at 06:43
  • 2
    Press start button (lower left corner) -> press configuration button (gear button) -> press apps -> find Debian in the list -> (I dont currently have Debian installed an my windows is in non-english so the following is a guess) Select debian, through right mouse button or another button there and then you should be in the menu that allows you to recover Debian. I hope this helps. – user12042 Feb 19 '19 at 11:41
  • Thanks for your detailed description, I finally found it, however I tried recovering, resetting, even reinstalling, all have no luck. I thought it must be JetBrains's problem. – Kelvin Hu Feb 20 '19 at 12:22
  • That's rough to hear, I'd advice you to file a bug report with JetBrains then. I hope you find a fix soon. – user12042 Feb 21 '19 at 13:06