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

rever check freezed after github login typing #216

Open
anki-code opened this issue May 5, 2020 · 2 comments
Open

rever check freezed after github login typing #216

anki-code opened this issue May 5, 2020 · 2 comments

Comments

@anki-code
Copy link
Contributor

anki-code commented May 5, 2020

Hi! It's my first try to use rever.

I created rever.xsh:

$ACTIVITIES = ['tag', 'push_tag', 'ghrelease', 'pypi']

$GITHUB_ORG = 'anki-code'
$PROJECT = $GITHUB_REPO = 'xontrib-prompt-bar'

$TAG_REMOTE = '[email protected]:anki-code/xontrib-prompt-bar.git'
$TAG_TARGET = 'master'

$PYPI_SIGN = False

And when I run rever check:

xonsh$ cd ~/git/xontrib-prompt-bar                                                                                                                                                                            
xonsh$ rever check                                                                                                                                                                                                                          
No checks needed for tag activity
All CLI and import requirements met for push_tag activity
Initialized empty Git repository in ~/git/xontrib-prompt-bar/rever/git-have-push-perm/.git/
~/git/xontrib-prompt-bar/rever/git-have-push-perm ~/git/xontrib-prompt-bar
Switched to a new branch '__rever__'
[__rever__ (root-commit) 19567c4] Checking rever permissions
Username for 'https://github.com': anki-code

# FREEZED HERE

^C^C^C^C^C^C^C^C^C^C
~/git/xontrib-prompt-bar
Exception ignored in: <module 'threading' from '/opt/miniconda/lib/python3.8/threading.py'>
Traceback (most recent call last):
  File "/opt/miniconda/lib/python3.8/threading.py", line 1388, in _shutdown
    lock.acquire()
  File "/opt/miniconda/lib/python3.8/site-packages/xonsh/proc.py", line 793, in _signal_int
    signal.pthread_kill(threading.get_ident(), signal.SIGINT)
  File "/opt/miniconda/lib/python3.8/site-packages/xonsh/proc.py", line 793, in _signal_int
    signal.pthread_kill(threading.get_ident(), signal.SIGINT)
  File "/opt/miniconda/lib/python3.8/site-packages/xonsh/proc.py", line 793, in _signal_int
    signal.pthread_kill(threading.get_ident(), signal.SIGINT)
  [Previous line repeated 495 more times]
  File "/opt/miniconda/lib/python3.8/site-packages/xonsh/proc.py", line 789, in _signal_int
    self.send_signal(signal.CTRL_C_EVENT if ON_WINDOWS else signum)
  File "/opt/miniconda/lib/python3.8/site-packages/xonsh/proc.py", line 969, in send_signal
    rtn = self.proc.send_signal(signal)
RecursionError: maximum recursion depth exceeded

What I'm doing wrong?

@anki-code
Copy link
Contributor Author

It's definitely relates to xonsh/xonsh#3525 xonsh/xonsh#3555

Workaround:

$ conda create --name rever
$ conda activate rever
$ conda install rever
$ conda install xonsh==0.9.13
$ bash
bash$ rever check

@scopatz
Copy link
Collaborator

scopatz commented May 31, 2020

Hmmm Thanks for reporting

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