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

Conda blocks powershell startup when in a screen session #12094

Closed
2 tasks done
CCRcmcpe opened this issue Nov 12, 2022 · 2 comments
Closed
2 tasks done

Conda blocks powershell startup when in a screen session #12094

CCRcmcpe opened this issue Nov 12, 2022 · 2 comments
Labels
backlog issue has been triaged but has not been earmarked for any upcoming release cli::powershell pertains to the CLI in PowerShell source::community catch-all for issues filed by community members stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity type::bug describes erroneous operation, use severity::* to classify the type

Comments

@CCRcmcpe
Copy link

CCRcmcpe commented Nov 12, 2022

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

I upgraded to powershell 7.3.0, then opening pwsh in a screen session will stuck indefinitely.

I assume the problem source is conda, then:

Tried running conda "shell.powershell" "hook" outside a screen session is normal.
Tried running screen -S test pwsh -nop then run conda "shell.powershell" "hook". Stuck indefinitely.

So that's a problem of the conda hook.

As a tempoary resolution, downgrading to powershell 7.2.7 can solve the issue. (sudo apt install powershell=7.2.7-1.deb)

Conda Info

active environment : base
    active env location : /home/ubuntu/mambaforge
            shell level : 1
       user config file : /home/ubuntu/.condarc
 populated config files : /home/ubuntu/mambaforge/.condarc
          conda version : 22.9.0
    conda-build version : not installed
         python version : 3.10.6.final.0
       virtual packages : __linux=5.4.0=0
                          __glibc=2.31=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /home/ubuntu/mambaforge  (writable)
      conda av data dir : /home/ubuntu/mambaforge/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /home/ubuntu/mambaforge/pkgs
                          /home/ubuntu/.conda/pkgs
       envs directories : /home/ubuntu/mambaforge/envs
                          /home/ubuntu/.conda/envs
               platform : linux-64
             user-agent : conda/22.9.0 requests/2.25.1 CPython/3.10.6 Linux/5.4.0-131-generic ubuntu/20.04.5 glibc/2.31
                UID:GID : 1000:1000
             netrc file : /home/ubuntu/.netrc
           offline mode : False

Conda Config

==> /home/ubuntu/mambaforge/.condarc <==
channels:
  - conda-forge

Conda list

No response

Additional Context

No response

@CCRcmcpe CCRcmcpe added the type::bug describes erroneous operation, use severity::* to classify the type label Nov 12, 2022
@travishathaway travishathaway added backlog issue has been triaged but has not been earmarked for any upcoming release source::community catch-all for issues filed by community members labels Jan 26, 2023
@travishathaway
Copy link
Contributor

Hi @CCRcmcpe,

Thank you for filing this bug report. I can confirm that I was able to reproduce it. Here were the steps I took on my OSX computer:

brew install powershell screen
screen
# ... launches screen session
pwsh
conda --help 
# at this point everything freezes

I can't promise for sure when we will get to this issue, but if you are able to make a fix for it, I encourage you to submit a pull request. We will be more than happy to review it for you.

@travishathaway travishathaway added the cli::powershell pertains to the CLI in PowerShell label Jan 26, 2023
Copy link

Hi there, thank you for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue at hand
  2. Comment that the issue is still reproducible and include:
    - What OS and version you reproduced the issue on
    - What steps you followed to reproduce the issue

NOTE: If this issue was closed prematurely, please leave a comment.

Thanks!

@github-actions github-actions bot added the stale [bot] marked as stale due to inactivity label Jan 27, 2024
@github-actions github-actions bot added the stale::closed [bot] closed after being marked as stale label Feb 26, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog issue has been triaged but has not been earmarked for any upcoming release cli::powershell pertains to the CLI in PowerShell source::community catch-all for issues filed by community members stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity type::bug describes erroneous operation, use severity::* to classify the type
Projects
Archived in project
Development

No branches or pull requests

2 participants