Hi,
I'm trying to link bash on pythonanywhere with my Github account, according to the Djangogirls tutorial.
I get the following error message when running
pa_autoconfigure_django.py --python=3.8 https://github.com/<Username>/<RepoName>.git
:
< Running API sanity checks >
\
~<:>>>>>>>>>
Cloning into '/home/Suqui/suqui.pythonanywhere.com'...
Username for 'https://github.com': Username
Password for 'https://Username@github.com':
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/Username/RepoName.git/'
Traceback (most recent call last):
File "/home/Suqui/.local/bin/pa_autoconfigure_django.py", line 47, in <module>
main(arguments['<git-repo-url>'], arguments['--domain'], arguments['--python'], nuke=arguments.get('--nuke'))
File "/home/Suqui/.local/bin/pa_autoconfigure_django.py", line 30, in main
project.download_repo(repo_url, nuke=nuke),
File "/home/Suqui/.local/lib/python3.8/site-packages/pythonanywhere/django_project.py", line 18, in download_repo
subprocess.check_call(['git', 'clone', repo, str(self.project_path)])
File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['git', 'clone', 'https://github.com/UserName/RepoName.git', '/home/Suqui/suqui.pythonanywhere.com']' returned non-zero exit status 128.
Username and password are definitively correct, I've tried various times and double - and triple checked.
Thanks in advance! :)