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

Bitbucket remote repo failed #20

Closed
OksanaShc opened this issue Mar 16, 2018 · 4 comments
Closed

Bitbucket remote repo failed #20

OksanaShc opened this issue Mar 16, 2018 · 4 comments
Assignees
Labels

Comments

@OksanaShc
Copy link

After input of password to my account from command line I received exception:

Traceback (most recent call last):
File "/tmp/tmpr61y4z6r.py", line 203, in
main()
File "/tmp/tmpr61y4z6r.py", line 198, in main
setup_git_repo()
File "/tmp/tmpr61y4z6r.py", line 129, in setup_git_repo
auth_base = base64.b64encode('{}:{}'.format(*auth_info))
File "/home/oshcherbyna/PycharmProjects/test_venv/lib/python3.6/base64.py", line 58, in b64encode
encoded = binascii.b2a_base64(s, newline=False)
TypeError: a bytes-like object is required, not 'str'
Stopping generation because post_gen_project hook script didn't exit successfully

@NathanUrwin
Copy link
Owner

NathanUrwin commented Mar 16, 2018

Hey @OksanaShc 👋

I appreciate the feedback! I need to integrate continuous integration testing (see #8 and #9), but I'll manually test Bitbucket and get that working today. I only use GitHub and GitLab myself, so apologies for the slight oversight. 😞

Thanks for your interest in cookiecutter-git! 🙂

@NathanUrwin NathanUrwin self-assigned this Mar 16, 2018
@OksanaShc
Copy link
Author

Hey @NathanUrwin !
I guess that it will be a problem with Python versions. I used 3.6.4. Is it supported?

@NathanUrwin
Copy link
Owner

I thought it was only a Bitbucket thing, but you were right it was a Python 3 error! Manually testing takes some time and is not all comprehensive, but both Bitbucket and Python 3 should be working now (I'm going to push the release here in a minute). Thank you for your time! 👍

NathanUrwin added a commit that referenced this issue Mar 16, 2018
@OksanaShc
Copy link
Author

thank you too for your work and quick fix!

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