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

Execute fail when you has just one distro #37

Open
pengchx opened this issue Dec 30, 2023 · 1 comment
Open

Execute fail when you has just one distro #37

pengchx opened this issue Dec 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@pengchx
Copy link

pengchx commented Dec 30, 2023

Describe the bug
A clear and concise description of what the bug is.
When one distro, variable distroList seems can not parse success.
Please add terminal output if possible:
Getting distros...
Select distro to move:
1: U
1
Enter WSL target directory:
D:\Ubuntu
Move U to "D:\Ubuntu"? (Y|n): y
Exporting VHDX to "D:\Ubuntu\U.tar" ...
There is no distribution with the supplied name.
Error code: Wsl/Service/WSL_E_DISTRO_NOT_FOUND
D:\Downloads\move-wsl-1.4.0\move-wsl-1.4.0\move-wsl.ps1 : ERROR: Export failed
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,move-wsl.ps1

Cleaning up ...

@pengchx pengchx added the bug Something isn't working label Dec 30, 2023
@shinyuta
Copy link

I also have this issue (05/23/2024). Yes, installing a second distro fixed the issue.

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