pyenv/pyenv-virtualenv

virtualenv-init break mc (Midnight Commander) subshell

fizista opened this issue · 0 comments

When this plugin is running, the midnight commander shell does not work when you press CTRL+O.

Steps needed to repeat the problem:

  1. Create file .bash_test_rc

    export PYENV_ROOT="$HOME/.pyenv"
    command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
    eval "$(pyenv init -)"
    eval "$(pyenv virtualenv-init -)"

  2. Run bash --rcfile ~/.bash_test_rc --verbose

  3. Run mc

  4. Press CTRL+O

  5. The bash shell should appear, but unfortunately it does not appear.

pyenv-virtualenv-bash-debug.txt

Prerequisite

  • Make sure your problem is not listed in the common build problems.
  • Make sure no duplicated issue has already been reported in the pyenv-virtualenv issues. You should look in closed issues, too.
  • Make sure you are not asking us to help solving your specific issue.
    • GitHub issues is opened mainly for development purposes. If you want to ask someone to help solving your problem, go to some community site like Gitter, StackOverflow, etc.
  • Make sure your problem is not derived from packaging (e.g. Homebrew).
    • Please refer to the package documentation for the installation issues, etc.
  • Make sure your problem is not derived from other plugins.
    • This repository is maintaining the pyenv-virtualenv plugin only. Please refrain from reporting issues of other plugins here.

Description

  • Platform information (e.g. Ubuntu Linux 20.04): Kubuntu 22.04
  • OS architecture (e.g. amd64): amd64
  • pyenv version: 3.8.3
  • pyenv-virtualenv version: 1.2.3
  • Python version: 3.8.3
  • virtualenv version (if installed): 20.0.21
  • Please attach the debug log of a faulty Pyenv invocation as a gist