Prior activation of the environment failed to start, or completed

Ive seen this error pop up on 2 different machines now with my default environment which causes packages to not be loaded when starting a new shell.

Any idea what causes this? My fix so far has been to uninstall and reinstall flox, but this is pretty tedious. Restarting my terminal and restarting my computer both fail to fix this issue.

This is what I see when opening a new shell.

Last login: Sat Jan  4 13:13:38 on ttys042
Prior activation of the environment failed to start, or completed.

Retrying ...
Prior activation of the environment failed to start, or completed.

Retrying ...
Prior activation of the environment failed to start, or completed.

Error: Prior activation of the environment failed to start, or completed.

Prior activation of the environment failed to start, or completed.

Retrying ...
Prior activation of the environment failed to start, or completed.

Retrying ...
Prior activation of the environment failed to start, or completed.

Error: Prior activation of the environment failed to start, or completed.

The same thing started happening to me just now. I opened a new terminal window and I got this error message. Now none of my packages installed through flox are available.

When I run flox activate, I get ❌ ERROR: Environment 'default' is already active.

I have version 1.3.8 installed.

Thanks for the bug reports and apologies for the inconvenience!

We’ve just merged two fixes that should prevent and recover from this happening in the future:

These will be released in v1.3.9 tomorrow.

2 Likes

These fixes have now been released:

Please let us know if you’re still experiencing any problems after upgrading.

Hi @dcarley !

I was also experiencing that issue on flox 1.3.8.
But after the upgrading to 1.3.9 it’s gone.

Thank you for fixing this! :clap:

1 Like

Thanks, working great for me now as well!

1 Like