Skip to content
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

micromamba shell -n myenv broken in 1.3.0 #2271

Closed
2 tasks done
jonashaag opened this issue Feb 6, 2023 · 3 comments · Fixed by #2272 or #2538
Closed
2 tasks done

micromamba shell -n myenv broken in 1.3.0 #2271

jonashaag opened this issue Feb 6, 2023 · 3 comments · Fixed by #2272 or #2538
Labels
type::bug Something isn't working
Projects

Comments

@jonashaag
Copy link
Collaborator

Troubleshooting docs

  • My problem is not solved in the Troubleshooting docs

Search tried in issue tracker

/

Latest version of Mamba

  • My problem is not solved with the latest version

Tried in Conda?

Not applicable

Describe your issue

⋊> ~ micromamba shell -n base
critical libmamba The given prefix does not exist: "base"
⋊> ~ micromamba run -n base ls
...works fine...

Curious why this isn't covered by a test

mamba info / micromamba info

No response

Logs

No response

environment.yml

No response

~/.condarc

No response

@jonashaag jonashaag added the type::bug Something isn't working label Feb 6, 2023
@jonashaag jonashaag mentioned this issue Feb 6, 2023
@jonashaag
Copy link
Collaborator Author

With 1.3.1 we now have

$ micromamba env list | grep boa
  boa                 /Users/j/micromamba/envs/boa
$ micromamba shell -n boa
critical libmamba The given prefix does not exist: "envs/boa"

I wonder why the test is ok.

@jonashaag jonashaag reopened this Feb 14, 2023
jonashaag added a commit to jonashaag/mamba that referenced this issue Feb 17, 2023
@Hind-M
Copy link
Member

Hind-M commented Feb 20, 2023

$ micromamba env list | grep boa
boa /Users/j/micromamba/envs/boa
$ micromamba shell -n boa
critical libmamba The given prefix does not exist: "envs/boa"

That means that the root_prefix is considered empty while it's supposed to be /Users/j/micromamba/. Is it related to a special setting of the root_prefix?

@jonashaag
Copy link
Collaborator Author

See my test case in #2305

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug Something isn't working
Projects
QC
Backlog (random order)
2 participants