-
Notifications
You must be signed in to change notification settings - Fork 346
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
"error libmamba Could not set lock" when run
commands are piped
#1993
Comments
Thanks for filing this issue! Do you know if this is a new bug or if it was present before? |
I just investigated quickly; micromamba 0.21.2 does not seem to have the issue, but I could confirm errors since 0.22.0. I tested against the above case as well as bioinformatics tools (minimap2 and samtools) that almost always gave me errors. (EDIT: wording) |
Thanks @yamaton for checking. I think this might be related to WSL2 being slightly slower with filesystem operations and therefore we see an error. With the latest micromamba you can disable file locks by adding |
Thank you @wolfv. Just adding extra information: I could also confirm the issue on a docker container on Ubuntu instance hosted in AWS with EBS. (Specifically, a self-hosted JupyterHub. Maybe it's adding overheads similar to WSL2 filesystem ops?) |
EBS is a network drive, right? There might be some delay coming that way. We should definitely look into fixing this on our side! Thanks! |
Issue
When two
micromamba run
commands are piped, "libmamba Could not set lock" error seems to appear occasionally.Environment
Reproduce
Assumes the root prefix is at
~/mambaforge
.Repeat the last command multiple times. Then one would start observing the error:
The text was updated successfully, but these errors were encountered: