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
dstack ls
fails on macOS and Windows if an artifact contains "case-sensitive" symlinks
#189
Comments
Additional context: According to conda/conda#10333 (comment), the problem is caused by loading a package that is designed for a file system that is case-sensitive (i.e. Linux) onto a filesystem that is case-insensitive (i.e. macOS or Windows). ls -l /Users/cheptsov/.dstack/artifacts/github.com/kengz/lean-dl-example/tasty-warthog-0,setup-conda,0/opt/conda/envs/dl/share/terminfo/N/ncr260vt300wpp
lrwxr-xr-x 1 cheptsov staff 19 Feb 17 13:26 /Users/cheptsov/.dstack/artifacts/github.com/kengz/lean-dl-example/tasty-warthog-0,setup-conda,0/opt/conda/envs/dl/share/terminfo/N/ncr260vt300wpp -> ../N/NCR260VT300WPP |
Implementation notes: Similar to Additional information:
|
… many levels of symbolic links #189
dstack ls
fails on macOS and Windows if an artifact contains "case-sensitive" symlinks
Describe the bug
Running
dstack ls
on large artifacts (Conda env in this case) throws an error:OSError: [Errno 62] Too many levels of symbolic links
(see screenshot and logs below)Version
dstack
CLI version 0.1pip freeze
orconda list
)Minimal example
Source code kengz/lean-dl-example@f4c06f0
Steps to reproduce
dstack run setup-conda
dstack ls great-starfish-0
(or whatever the run name is)Expected behavior
Shows the conda env folder
Logs
a82a3ec14d6f463cb76e83261598d865.zip
Screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: