[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Allure and git-cl troubleshooting
From: |
Thomas Morley |
Subject: |
Re: Allure and git-cl troubleshooting |
Date: |
Sun, 1 Nov 2015 22:04:47 +0100 |
2015-11-01 19:06 GMT+01:00 David Kastrup <address@hidden>:
> "Phil Holmes" <address@hidden> writes:
>
>> Turns out it is nothing to do with Allura: it's the way Rietveld uses
>> Google for authentication. See
>> https://developers.google.com/identity/protocols/AuthForInstalledApps.
>> Further
>> thanks to Google for this.
>>
>> Question is: should I look into how to fix it, or is there a way to
>> ask the Rietveld team to fix upload.py and we wait for them?
>
> I think they fixed it a long time ago but nobody bothered copying it
> into our git-cl copy yet.
>
> --
> David Kastrup
After having pushed two patches today I wanted to upload a new one for
issue 4643
I get an error similiar to the one Paul initially reported:
~/lilypond-git (dev/quarter-tone-tab)$ git cl upload origin/master
Documentation/changes.tely | 18 ++++++++++++
Documentation/notation/fretted-strings.itely | 38 +++++++++++++++++++++++++
input/regression/tablature-micro-tone.ly | 42 ++++++++++++++++++++++++++++
ly/engraver-init.ly | 3 +-
scm/translation-functions.scm | 36 +++++++++++++++++++-----
5 files changed, 129 insertions(+), 8 deletions(-)
Upload server: codereview.appspot.com (change with -s/--server)
Loaded authentication cookies from /home/hermann/.codereview_upload_cookies
Email (login for uploading to codereview.appspot.com)
[thomasmorley65]: thomasmorley65
Password for thomasmorley65:
Traceback (most recent call last):
File "/home/hermann/git-cl/git-cl", line 629, in <module>
sys.exit(main(sys.argv))
File "/home/hermann/git-cl/git-cl", line 623, in main
return func(argv[2:])
File "/home/hermann/git-cl/git-cl", line 334, in CmdUpload
issue, patchset = upload.RealMain(['upload'] + upload_args + args)
File "/home/hermann/git-cl/upload.py", line 2342, in RealMain
response_body = rpc_server.Send("/upload", body, content_type=ctype)
File "/home/hermann/git-cl/upload.py", line 409, in Send
self._Authenticate()
File "/home/hermann/git-cl/upload.py", line 428, in _Authenticate
super(HttpRpcServer, self)._Authenticate()
File "/home/hermann/git-cl/upload.py", line 318, in _Authenticate
auth_token = self._GetAuthToken(credentials[0], credentials[1])
File "/home/hermann/git-cl/upload.py", line 262, in _GetAuthToken
response = self.opener.open(req)
File "/usr/lib/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 475, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
No idea why this happens, I didn't change anything in my git-settings
Cheers,
Harm