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

Cursor vanishes in zsh after doing any pixi command which requires choosing an environment and doing ctrl+c #2625

Open
adrinjalali opened this issue Dec 3, 2024 · 2 comments

Comments

@adrinjalali
Copy link

I'm adding pixi to a project here (skops-dev/skops#451) and I realised everytime I do ctrl+C while choosing an environment, it makes my cursor vanish until I run a reset.

The PR is here if relevant: skops-dev/skops#451

@ruben-arts
Copy link
Contributor

Hey @adrinjalali, could you provide some more information as I'm having a hard time to reproduce.

  • Could you share the output of pixi info
  • What shell and prompt are you using?
  • Could you add a screenshot?

@adrinjalali
Copy link
Author

I'm using zsh

$ env
SYSTEMD_EXEC_PID=3718
SESSION_MANAGER=***
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/***
LANG=en_US.UTF-8
XDG_CURRENT_DESKTOP=GNOME
WAYLAND_DISPLAY=wayland-0
USER=***
DESKTOP_SESSION=gnome
XDG_MENU_PREFIX=gnome-
OLDPWD=/home/***
HOME=/home/***
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
XDG_DATA_DIRS=/home/***/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
VTE_VERSION=7802
XDG_SESSION_DESKTOP=gnome
GNOME_SETUP_DISPLAY=:1
MAIL=/var/spool/mail/***
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
LOGNAME=***
GNOME_TERMINAL_SERVICE=:1.218
PATH=/home/***/micromamba/condabin:/home/***/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/org.gnome.Shell@wayland.service/memory.pressure
SHELL=/usr/bin/zsh
XDG_SESSION_TYPE=wayland
XDG_RUNTIME_DIR=/run/user/1000
USERNAME=***
MOTD_SHOWN=pam
GDM_LANG=en_CA.UTF-8
COLORTERM=truecolor
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.Y2LMX2
PWD=/home/***/***
DISPLAY=:0
TERM=xterm-256color
GDMSESSION=gnome
XDG_SESSION_CLASS=user
SHLVL=1
ZSH=/home/***/.oh-my-zsh
PAGER=less
LESS=-R
LSCOLORS=Gxfxcxdxbxegedabagacad
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.7z=01;31:*.ace=01;31:*.alz=01;31:*.apk=01;31:*.arc=01;31:*.arj=01;31:*.bz=01;31:*.bz2=01;31:*.cab=01;31:*.cpio=01;31:*.crate=01;31:*.deb=01;31:*.drpm=01;31:*.dwm=01;31:*.dz=01;31:*.ear=01;31:*.egg=01;31:*.esd=01;31:*.gz=01;31:*.jar=01;31:*.lha=01;31:*.lrz=01;31:*.lz=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.lzo=01;31:*.pyz=01;31:*.rar=01;31:*.rpm=01;31:*.rz=01;31:*.sar=01;31:*.swm=01;31:*.t7z=01;31:*.tar=01;31:*.taz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tgz=01;31:*.tlz=01;31:*.txz=01;31:*.tz=01;31:*.tzo=01;31:*.tzst=01;31:*.udeb=01;31:*.war=01;31:*.whl=01;31:*.wim=01;31:*.xz=01;31:*.z=01;31:*.zip=01;31:*.zoo=01;31:*.zst=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:
EDITOR=vim
DOCKER_HOST=unix:///run/user/1000/docker.sock
MAMBA_EXE=/usr/bin/micromamba
MAMBA_ROOT_PREFIX=/home/***https://github.com/user-attachments/assets/dd80b342-be6d-46d4-af1d-e466b23e5dd7
/micromamba
CONDA_SHLVL=0
SKLEARN_WARNINGS_AS_ERRORS=1
SCIPY_ARRAY_API=1
_=/usr/bin/env
$ pixi info
System
------------
      Pixi version: 0.39.0
          Platform: linux-64
  Virtual packages: __unix=0=0
                  : __linux=6.12.1=0
                  : __glibc=2.40=0
                  : __archspec=1=zen4
         Cache dir: /home/***/.cache/rattler/cache
      Auth storage: /home/***/.rattler/credentials.json
  Config locations: /home/***/Projects/gh/me/skops/.pixi/config.toml

Global
------------
           Bin dir: /home/***/.pixi/bin
   Environment dir: /home/***/.pixi/envs
      Manifest dir: /home/***/.pixi/manifests/pixi-global.toml

Project
------------
              Name: skops
     Manifest file: /home/***/Projects/gh/me/skops/pyproject.toml
      Last updated: 03-12-2024 11:13:39

Environments
------------
       Environment: default
          Features: default
          Channels: conda-forge
  Dependency count: 2
      Dependencies: rich, python
 PyPI Dependencies: skops, scikit-learn, huggingface-hub, tabulate, packaging
  Target platforms: linux-64, osx-arm64, osx-64, win-64

       Environment: lint
          Features: lint, default
          Channels: conda-forge
  Dependency count: 3
      Dependencies: pre-commit, rich, python
 PyPI Dependencies: skops, scikit-learn, huggingface-hub, tabulate, packaging
  Target platforms: win-64, linux-64, osx-arm64, osx-64
             Tasks: lint

       Environment: docs
          Features: docs, default
          Channels: conda-forge
  Dependency count: 11
      Dependencies: matplotlib, pandas, fairlearn, sphinx, sphinx-gallery, sphinx-rtd-theme, numpydoc, sphinx-prompt, sphinx-issues, rich, python
 PyPI Dependencies: skops, scikit-learn, huggingface-hub, tabulate, packaging
  Target platforms: win-64, osx-arm64, osx-64, linux-64

       Environment: dev
          Features: docs, tests, lint, dev, rich, default
          Channels: conda-forge
  Dependency count: 18
      Dependencies: matplotlib, pandas, fairlearn, sphinx, sphinx-gallery, sphinx-rtd-theme, numpydoc, sphinx-prompt, sphinx-issues, pytest, pytest-cov, flake8, types-requests, flaky, rich, pre-commit, ipython, python
 PyPI Dependencies: lightgbm, xgboost, rich, skops, scikit-learn, huggingface-hub, tabulate, packaging
  Target platforms: linux-64, win-64, osx-arm64, osx-64
             Tasks: tests, lint

       Environment: ci-min-deps
          Features: rich, tests, lint, min-deps, default
          Channels: conda-forge
  Dependency count: 15
      Dependencies: pytest, pytest-cov, flake8, types-requests, flaky, rich, matplotlib, pandas, pre-commit, python, quantile-forest, scikit-learn, catboost, lightgbm, xgboost
 PyPI Dependencies: rich, lightgbm, xgboost, skops, scikit-learn, huggingface-hub, tabulate, packaging
  Target platforms: linux-64, osx-arm64, win-64, osx-64
             Tasks: lint, tests

       Environment: ci-sklearn11
          Features: rich, tests, lint, sklearn11, default
          Channels: conda-forge
  Dependency count: 12
      Dependencies: pytest, pytest-cov, flake8, types-requests, flaky, rich, matplotlib, pandas, pre-commit, scikit-learn, catboost, python
 PyPI Dependencies: rich, lightgbm, xgboost, skops, scikit-learn, huggingface-hub, tabulate, packaging
  Target platforms: linux-64, osx-64, osx-arm64, win-64
             Tasks: tests, lint

       Environment: ci-sklearn12
          Features: rich, tests, lint, sklearn12, default
          Channels: conda-forge
  Dependency count: 12
      Dependencies: pytest, pytest-cov, flake8, types-requests, flaky, rich, matplotlib, pandas, pre-commit, scikit-learn, catboost, python
 PyPI Dependencies: rich, lightgbm, xgboost, skops, scikit-learn, huggingface-hub, tabulate, packaging
  Target platforms: win-64, linux-64, osx-64, osx-arm64
             Tasks: tests, lint

       Environment: ci-sklearn13
          Features: rich, tests, lint, sklearn13, default
          Channels: conda-forge
  Dependency count: 12
      Dependencies: pytest, pytest-cov, flake8, types-requests, flaky, rich, matplotlib, pandas, pre-commit, scikit-learn, catboost, python
 PyPI Dependencies: rich, lightgbm, xgboost, skops, scikit-learn, huggingface-hub, tabulate, packaging
  Target platforms: linux-64, osx-arm64, osx-64, win-64
             Tasks: tests, lint

       Environment: ci-sklearn14
          Features: rich, tests, lint, sklearn14, default
          Channels: conda-forge
  Dependency count: 12
      Dependencies: pytest, pytest-cov, flake8, types-requests, flaky, rich, matplotlib, pandas, pre-commit, scikit-learn, catboost, python
 PyPI Dependencies: rich, lightgbm, xgboost, skops, scikit-learn, huggingface-hub, tabulate, packaging
  Target platforms: linux-64, win-64, osx-arm64, osx-64
             Tasks: lint, tests

       Environment: ci-sklearn15
          Features: rich, tests, lint, sklearn15, default
          Channels: conda-forge
  Dependency count: 13
      Dependencies: pytest, pytest-cov, flake8, types-requests, flaky, rich, matplotlib, pandas, pre-commit, scikit-learn, fairlearn, python, quantile-forest
 PyPI Dependencies: rich, lightgbm, xgboost, skops, scikit-learn, huggingface-hub, tabulate, packaging
  Target platforms: osx-arm64, osx-64, win-64, linux-64
             Tasks: lint, tests

       Environment: ci-sklearn16
          Features: rich, tests, lint, sklearn16, default
          Channels: conda-forge/label/scikit-learn_rc, conda-forge
  Dependency count: 12
      Dependencies: pytest, pytest-cov, flake8, types-requests, flaky, rich, matplotlib, pandas, pre-commit, scikit-learn, fairlearn, python
 PyPI Dependencies: rich, lightgbm, xgboost, skops, scikit-learn, huggingface-hub, tabulate, packaging
  Target platforms: linux-64, win-64, osx-arm64, osx-64
             Tasks: tests, lint

       Environment: ci-sklearn17
          Features: rich, tests, lint, sklearn17, default
          Channels: conda-forge
  Dependency count: 10
      Dependencies: pytest, pytest-cov, flake8, types-requests, flaky, rich, matplotlib, pandas, pre-commit, python
 PyPI Dependencies: rich, lightgbm, xgboost, scikit-learn, fairlearn, pandas, skops, huggingface-hub, tabulate, packaging
  Target platforms: linux-64, osx-arm64, osx-64, win-64
             Tasks: tests, lint
Screencast.From.2024-12-03.11-34-44.mp4

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

No branches or pull requests

2 participants