Open akuropka opened 2 years ago
I'm also experiencing this issue, not sure of a way to work around it.
This is happening to me as well. Is there any possible workaround?
E.g. you need to temporarily change the LocalAppData
variable to the 8.3 name of your userfolder.
To supplement the above with what worked for me:
cd C:\Users
dir /x
- The 8.3 name will be in the fourth column. Something like FOOB~1
if user was Foo Bar
$env:LOCALAPPDATA = "<YOUR 8.3 NAME>"
cd ~/Downloads/distrod_wsl_launcher-x86-64/
.\distrod_wsl_launcher.exe
Describe the bug
Import of the rootfs-image fails if the user profile folder within Windows includes a space such as
Test User
(derivated from a local user account name).Steps to reproduce
Prerequisites: distrod_wsl_launcher v0.1.5 Profile folder in Windows consisting out of two words.
Steps: Start distrod_wsl_launcher an select an image or use a local file.
Expected behavior
WSL distro will be imported and installed.
Windows version
Microsoft Windows [Version 10.0.22000.466]
Linux kernel version
Linux 5.10.93.3-microsoft-WSL2 #1 SMP Sun Jan 23 18:53:16 CET 2022 x86_64 GNU/Linux
Distro
archlinux
How did you install that distro?
Installed by Distrod wizard
Logs
[Distrod][ERROR] Failed to register the distribution. Caused by: Failed: cmd.exe /C wsl --import Distrod %LocalAppData%\Distrod "C:\TEMP\system\.tmp2OMAbF\install.tar.gz"
additional comment
Fix: Put the install location inside brackets.
%LocalAppData%\Distrod
->"%LocalAppData%\Distrod"