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

WSL Path is incorrect with Custom built Distro #138

Closed
artman41 opened this issue Aug 1, 2020 · 5 comments · Fixed by #132
Closed

WSL Path is incorrect with Custom built Distro #138

artman41 opened this issue Aug 1, 2020 · 5 comments · Fixed by #132
Labels
Bug This is either an issue that describes a bug or a PR that resolves a bug Status: Pending Release This is fixed but not yet released. Target: 3.x This is targeted to the 3.x version.

Comments

@artman41
Copy link

artman41 commented Aug 1, 2020

Background Information:

  • Build: 19041
  • WSL: Fedora 31
  • Version: 3.1.1

WSLU Version

[artman41@DESKTOP-TQGCI07 portfolio_site ]$ yum list installed | grep wslu
wslu.noarch                                  3.1.1-1                             @copr:copr.fedorainfracloud.org:wslutilities:wslu

Windows Version
image

Describe the bug
wslusc appears to generate an incorrect path to wsl.exe

[artman41@DESKTOP-TQGCI07 bin ]$ ll
total 168
-rw-r--r-- 1 artman41 artman41   136 Jul 27 11:45 appletviewer.policy
-rwxr-xr-x 1 artman41 artman41   224 Jul 27 11:45 format.sh
-rwxr-xr-x 1 artman41 artman41 26660 Jul 27 11:45 fsnotifier
-rwxr-xr-x 1 artman41 artman41 32888 Jul 27 11:45 fsnotifier64
-rw-r--r-- 1 artman41 artman41   506 Jul 27 11:45 idea64.vmoptions
-rw-r--r-- 1 artman41 artman41  5462 Jul 27 11:45 idea.png
-rw-r--r-- 1 artman41 artman41 11281 Jul 27 11:45 idea.properties
-rwxr-xr-x 1 artman41 artman41  8173 Jul 27 11:45 idea.sh
-rw-r--r-- 1 artman41 artman41  2317 Jul 27 11:45 idea.svg
-rw-r--r-- 1 artman41 artman41   514 Jul 27 11:45 idea.vmoptions
-rwxr-xr-x 1 artman41 artman41   299 Jul 27 11:45 inspect.sh
-rw-r--r-- 1 artman41 artman41 39520 Jul 27 11:45 libdbm64.so
-rw-r--r-- 1 artman41 artman41  2613 Jul 27 11:45 log.xml
-rwxr-xr-x 1 artman41 artman41   646 Jul 27 11:45 printenv.py
-rwxr-xr-x 1 artman41 artman41   808 Jul 27 11:45 restart.py
[artman41@DESKTOP-TQGCI07 bin ]$ wslusc -g idea.sh
[info] Create shortcut idea.sh.lnk successful
[artman41@DESKTOP-TQGCI07 bin ]$ pwd
/home/artman41/idea/current/bin
[artman41@DESKTOP-TQGCI07 bin ]$ wslusc -i `pwd`/idea.png -g `pwd`/idea.sh
[info] You choose to use custom icon: /home/artman41/idea/current/bin/idea.png. Processing...
[info] Converting png icon to ico...
[info] Create shortcut idea.sh.lnk successful

Annotation 2020-08-01 233844

To Reproduce

  • Add a Custom Distro (in this case, I used Fedora 31)
  • Create an Installation of IntelliJ IDEA Community
  • Run wslusc

Expected behavior
The path to be correct & idea to start

WSL Distros

[artman41@DESKTOP-TQGCI07 portfolio_site ]$ wsl.exe -l
Windows Subsystem for Linux Distributions:
fedora (Default)
Ubuntu
docker-desktop
docker-desktop-data
@patrick330602
Copy link
Member

Which version of wslu you are using and which windows build of windows are you using? Need to narrow down the problem

@artman41
Copy link
Author

artman41 commented Aug 2, 2020

WSLU Version

[artman41@DESKTOP-TQGCI07 portfolio_site ]$ yum list installed | grep wslu
wslu.noarch                                  3.1.1-1                             @copr:copr.fedorainfracloud.org:wslutilities:wslu

Windows Version
image

I've added them to the issue 👍

@artman41
Copy link
Author

artman41 commented Aug 2, 2020

@patrick330602 I've also updated the issue with my wsl distros

[artman41@DESKTOP-TQGCI07 portfolio_site ]$ wsl.exe -l
Windows Subsystem for Linux Distributions:
fedora (Default)
Ubuntu
docker-desktop
docker-desktop-data

@patrick330602 patrick330602 added Bug This is either an issue that describes a bug or a PR that resolves a bug Target: 3.x This is targeted to the 3.x version. labels Aug 2, 2020
@patrick330602
Copy link
Member

Thank you for adding the report. I will look into the problem and will release the fix as part of 3.2.0.

@patrick330602 patrick330602 linked a pull request Aug 5, 2020 that will close this issue
@patrick330602 patrick330602 added the Status: In Progress This is being worked on and not ready. label Aug 5, 2020
@patrick330602
Copy link
Member

Just commited the fix. It is currently working will be released as part of wslu 3.2.0

@patrick330602 patrick330602 added Status: Pending Release This is fixed but not yet released. and removed Status: In Progress This is being worked on and not ready. labels Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is either an issue that describes a bug or a PR that resolves a bug Status: Pending Release This is fixed but not yet released. Target: 3.x This is targeted to the 3.x version.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants