When activating a pixi environment via pixi shell
the terminal blocks.
It does not produce a prompt.
It does not respond to keyboard input (including Ctrl-C and Ctrl-Z).
The running pixi process does respond to several interrupts:
e.g.
kill -s STOP PID
Backgrounds the process; then the terminal responds to input but it still does not show any sign of handling those inputs.
Here is a trace from running: pixi shell -vvv
INFO pixi_manifest::discovery: Found manifest in directory: "/var/home/phreed/Projects/cts-3.x", continuing further.
DEBUG pixi_config: Loading config from /etc/pixi/config.toml
DEBUG pixi_config: Loading config from /var/home/phreed/.config/pixi/config.toml
DEBUG pixi_config: Loading config from /var/home/phreed/.pixi/config.toml
DEBUG pixi_config: Loading config from /var/home/phreed/Projects/cts-3.x/.pixi/config.toml
DEBUG pixi_config: Failed to load local config: /var/home/phreed/Projects/cts-3.x/.pixi/config.toml (error: no file was found at /var/home/phreed/Projects/cts-3.x/.pixi/config.toml)
INFO pixi::environment: verifying prefix location is unchanged, with prefix file: /var/home/phreed/Projects/cts-3.x/.pixi/envs/conda-meta/pixi_env_prefix
INFO pixi::lock_file::update: the lock-file is up-to-date
INFO pixi::lock_file::update: Environment 'default' is up-to-date with lock file hash
DEBUG pixi::activation: Running activation script for Default
DEBUG pixi::cli::shell: Pixi environment activation:
{"PIXI_ENVIRONMENT_NAME": "default", "PROJECT_DIR": "/var/home/phreed/Projects/cts-3.x", "PIXI_PROMPT": "(cts-3.x) ", "GSETTINGS_SCHEMA_DIR_CONDA_BACKUP": "", "PIXI_PROJECT_NAME": "cts-3.x", "PIXI_PROJECT_VERSION": "0.1.0", "JAVA_HOME": "/var/home/phreed/Projects/cts-3.x/.pixi/envs/default/lib/jvm", "GSETTINGS_SCHEMA_DIR": "/var/home/phreed/Projects/cts-3.x/.pixi/envs/default/share/glib-2.0/schemas", "CONDA_DEFAULT_ENV": "cts-3.x", "PIXI_PROJECT_ROOT": "/var/home/phreed/Projects/cts-3.x", "PATH": "/var/home/phreed/Projects/cts-3.x/.pixi/envs/default/bin:/var/home/phreed/.pixi/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/var/home/phreed/.local/bin:/var/home/phreed/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/home/phreed/.local/share/JetBrains/Toolbox/scripts:/var/home/phreed/.local/share/JetBrains/Toolbox/scripts", "PIXI_ENVIRONMENT_PLATFORMS": "linux-64", "CONDA_PREFIX": "/var/home/phreed/Projects/cts-3.x/.pixi/envs/default", "JAVA_LD_LIBRARY_PATH": "/var/home/phreed/Projects/cts-3.x/.pixi/envs/default/lib/jvm/lib/server", "PIXI_EXE": "/var/home/phreed/.pixi/bin/pixi", "PIXI_PROJECT_MANIFEST": "/var/home/phreed/Projects/cts-3.x/pixi.toml", "PIXI_IN_SHELL": "1"}
DEBUG rattler_shell::shell: Guessing the current shell is bash. Parent process name: bash and args: []
INFO pixi::cli::shell: Starting shell: Bash(Bash)
The last message I see is produced here:
Following that the start_unix_shell
function is called where a tempfile is created.
I do see /tmp/pixi_env_*.sh
files being created.
Here is the contents of an examplar:
export PIXI_PROJECT_VERSION="0.1.0"
export CONDA_DEFAULT_ENV="cts-3.x"
export PIXI_PROJECT_MANIFEST="/var/home/phreed/Projects/cts-3.x/pixi.toml"
export PATH="/var/home/phreed/Projects/cts-3.x/.pixi/envs/default/bin:/var/home/phreed/.pixi/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/var/home/phreed/.local/bin:/var/home/phreed/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/home/phreed/.local/share/JetBrains/Toolbox/scripts:/var/home/phreed/.local/share/JetBrains/Toolbox/scripts"
export PIXI_PROJECT_ROOT="/var/home/phreed/Projects/cts-3.x"
export JAVA_LD_LIBRARY_PATH="/var/home/phreed/Projects/cts-3.x/.pixi/envs/default/lib/jvm/lib/server"
export CONDA_PREFIX="/var/home/phreed/Projects/cts-3.x/.pixi/envs/default"
export PIXI_ENVIRONMENT_NAME="default"
export JAVA_HOME="/var/home/phreed/Projects/cts-3.x/.pixi/envs/default/lib/jvm"
export PIXI_EXE="/var/home/phreed/.pixi/bin/pixi"
export PIXI_IN_SHELL="1"
export PROJECT_DIR="/var/home/phreed/Projects/cts-3.x"
export GSETTINGS_SCHEMA_DIR="/var/home/phreed/Projects/cts-3.x/.pixi/envs/default/share/glib-2.0/schemas"
export PIXI_ENVIRONMENT_PLATFORMS="linux-64"
export PIXI_PROJECT_NAME="cts-3.x"
export GSETTINGS_SCHEMA_DIR_CONDA_BACKUP=""
export PIXI_PROMPT="(cts-3.x) "
echo '=== DONE ==='
export PS1="(cts-3.x) ${PS1:-}"
# shellcheck shell=bash
pixi() {
local first_arg="$1"
local cmd="$PIXI_EXE $*"
eval "$cmd"
case "$first_arg" in
add|a|remove|rm|install|i)
eval "$($PIXI_EXE shell-hook --change-ps1 false)"
hash -r
;;
esac
}
This would indicate it gets at least this far.