<3>WSL (424) ERROR: UtilTranslatePathList:2866: Failed to translate M:\vcpkg
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
### Windows Version
Microsoft Windows [Version 10.0.22631.4037]
### WSL Version
2.2.4.0
### Are you using WSL 1 or WSL 2?
- [ ] WSL 2
- [X] WSL 1
### Kernel Version
5.15.153.1-2
### Distro Version
Ubuntu 22.04
### Other Software
SUBST
### Repro Steps
1. Use SUBST to create a new drive letter from an existing path.
2. Add a folder on the new drive to the PATH.
3. Start a new terminal (so that the new PATH is loaded).
4. Start Ubuntu and observe the error as the first line in the Ubuntu terminal window.
### Expected Behavior
I expect a valid path to actually be valid. I don't expect a program to exclude specific drives based on what type of drive they might be. I don't expect a path error naming an existing location every time I start Ubuntu.
### Actual Behavior
These are _always_ the first two lines in my Ubuntu terminal window:
```
<3>WSL (424) ERROR: UtilTranslatePathList:2866: Failed to translate M:\vcpkg
root@Barney:~#
```
### Diagnostic Logs
[WslLogs-2024-09-10_10-07-47.zip](https://github.com/user-attachments/files/16946213/WslLogs-2024-09-10_10-07-47.zip)
Contributor guide
Research direction
Start by reproducing the issue with WSL 1, Ubuntu 22.04, Windows 10.0.22631.4037, and a SUBST drive mapped into PATH; review the attached diagnostic logs alongside the reported UtilTranslatePathList error. Done means starting Ubuntu no longer reports a translation failure for the existing M:\vcpkg path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100