-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
File gets deleted if the name is too long #5200
Comments
Reproducer for ext4:
|
Hi @aliabbasjaffri ! Thanks for reporting this issue! I suppose you have a backup for that file, right? If not, the file is not lost, it is in your cache and can be recovered. I'm preparing a fix for this NAME_MAX issue, but we should definitely handle this nicer in general 🙁 |
No worries. I had a backup. I was testing out dvc as a part of incorporating it in our MLOps pipelines. |
Bug Report
Description
A clear and concise description of what the bug is.
unexpected error - [Errno 63] File name too long
Reproduce
Copy a file with a long name in a folder
ls
(verify file exists)dvc add <file_name>
(results in error)ls
(file not present)Expected
Environment information
dvc version
outputdvc add --verbose
outputThe text was updated successfully, but these errors were encountered: