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

chore: add more info to an failure of activation #873

Conversation

ruben-arts
Copy link
Contributor

No description provided.

@ruben-arts ruben-arts changed the title misc: add more info to an failure of activation chore: add more info to an failure of activation Feb 27, 2024
@ruben-arts
Copy link
Contributor Author

@baszalmstra What do you think? Should we do something like this or improve the error in rattler?

@daenny
Copy link

daenny commented Feb 27, 2024

This is awesome!

Previous output was:

❯ pixi shell -v
 INFO pixi::lock_file::update: the lock-file is up-to-date
  × Failed to run activation script (status: exit status: 1)

afterwards:

❯ pixi shell -v
INFO pixi::lock_file::update: the lock-file is up-to-date
× Failed to run activation script (status: exit status: 1)
  × Failed to run activation script for Default. Status: exit status: 1. Stdout: SHELL=/bin/bash
│ ROS_VERSION=1
│ SESSION_MANAGER=local/pop-os:@/tmp/.ICE-unix/3165,unix/pop-os:/tmp/.ICE-unix/3165
│ QT_ACCESSIBILITY=1
│ COLORTERM=truecolor
[...] snip
│ . Stderr: Error [sr_logging]: At least one of these two environment variables must be set: 'CONDA_ENV_PATH' or 'PREFIX'. Script: /usr/bin/env
[...] snip

Showing me exactly where to look for my issue!

@baszalmstra baszalmstra merged commit 12b8dc3 into prefix-dev:main Feb 27, 2024
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants