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

Fatal error: list index out of range for Python 3.6 #197

Closed
schollii opened this issue Jul 17, 2019 · 3 comments
Closed

Fatal error: list index out of range for Python 3.6 #197

schollii opened this issue Jul 17, 2019 · 3 comments
Labels

Comments

@schollii
Copy link

pip3 install git-repo
git repo config
Do you want to configure the bitbucket service?
[Yn]>
Is your service self-hosted?
[yN]>
Please enter your credentials to connect to the service:
username> me@someplace.com
password>
» Login to bitbucket…
Fatal error: list index out of range

@guyzmo
Copy link
Owner

guyzmo commented Aug 26, 2019

hello @schollii could you rerun with -v ?

the bitbucket authentication process is a real dirty hack, and it's likely they changed the login page (it's basically scraping the actual login page, as they did not provide an API for that).

Don't hesitate to have a look at that part, fix it accordingly and make a PR.

If you don't want/cannot/don't have time to do that, you can still get the token and set it up manually in the .gitconfig file.

@guyzmo guyzmo added the wontfix label Aug 27, 2019
@guyzmo
Copy link
Owner

guyzmo commented Aug 27, 2019

I just checked the new login of bitbucket, it's now an openid global to atlassian. I should totally disable bitbucket auto configuration, as it cannot work anymore. Though you should still be able to generate a token and use it when added manually to the configuration file.

@guyzmo guyzmo closed this as completed Aug 27, 2019
@guyzmo
Copy link
Owner

guyzmo commented Aug 27, 2019

Though there's a little hope with https://github.com/atlassian-api/atlassian-python-api that we could connect and generate the token using that API. But let's not have too much hopes.

cf #199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants