-
Notifications
You must be signed in to change notification settings - Fork 206
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
failed to link 'share/terminfo/h/hp70092A' in wsl2 ubuntu when UTF-8 character included in directory #1362
Comments
BTW, I've encountered utf-8 issues a few times on this project, particularly with directory paths. Would it be possible to include related tests in our automated testing process? |
Does this also happen with non-utf8 paths? Are you perhaps storing your environment on a Windows drive? Windows is case insensitive but the package you are trying to install needs a case sensitive file system. Imagine you have the following case: fileA
filea # symbolic link to `fileA` On a case insensitive filesystem this will be a single file and the symbolic link will point to itself creating the infinite recursion.
Yes! Contributions are welcome! :) |
No.
I am using WSL, and it seems that this issue has nothing to do with uppercase and lowercase letters. |
I am more than willing to contribute, but I am concerned that adding content related to UTF-8 characters to the CI process may cause many CI to fail in the short term, leading to chaos in the project. I believe it would be better for the maintainers to make the changes yourself, as you have a better grasp of the entire project. |
@IncubatorShokuhou this issue might indeed be best fixed in Just to be sure, does this issue also occur on Windows itself? We already fixed a couple of Unicode related issues ... so I would hope that not that much is failing. |
I tested the issue where the path contains UTF-8 characters, and the results are as follows:
|
Yeah that confirms my suspicion. |
I'm getting a similar issue which I'm not sure is related: ├─▶ failed to link 'share/terminfo/2/2621a'
├─▶ unexpected io operation while removing clobbered file
╰─▶ No such file or directory (os error 2) Pixi v0.22.0 in a docker container running ubuntu 22.04 |
I am running into this too, I managed to create a pretty minimal repro on my machine https://github.com/benmoss/pixi-symbolic-link-bug
|
The conda world if ncurses-linux-64 didn't have |
Might it have something to with the locals not set properly? Adding locales to my container fixed it for me. |
I'm seeing this running |
I'm closing this issue. It has to do with mounted a case-insensitive file system in a case-sensitive environment. This is the same issue as: #234 The solution is to make sure that your pixi environment is not on case-insensitive filesystem. Please open a new issue if you feel I closed this issue too soon. |
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
on WSL2 ubuntu 22.04, in a directory include Chinese character:
cd /mnt/d/测试
pixi init test
cd test
pixi add numpy
and then error:
Issue description
fail to run pixi on wsl ubuntu when directory includes utf-8 characters
Expected behavior
no error happened
The text was updated successfully, but these errors were encountered: