fuzan / rietveld

Automatically exported from code.google.com/p/rietveld
Apache License 2.0
0 stars 0 forks source link

AttributeError while typing password with upload.py #433

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I use command: ./upload.py -s http://10.255.253.17:8010 -e my@email.com -r 
rev@email.com
2.after typing the password of my@email.com, i get a massege "AttributeError: 
can't set attribute"

it is:
Traceback (most recent call last):
  File "./upload.py", line 2234, in <module>
    main()
  File "./upload.py", line 2226, in main
    RealMain(sys.argv)
  File "./upload.py", line 2191, in RealMain
    response_body = rpc_server.Send("/upload", body, content_type=ctype)
  File "./upload.py", line 375, in Send
    self._Authenticate()
  File "./upload.py", line 421, in _Authenticate
    super(HttpRpcServer, self)._Authenticate()
  File "./upload.py", line 310, in _Authenticate
    auth_token = self._GetAuthToken(credentials[0], credentials[1])
  File "./upload.py", line 264, in _GetAuthToken
    e.headers, response_dict)
  File "./upload.py", line 167, in __init__
    self.reason = args["Error"]
AttributeError: can't set attribute

Original issue reported on code.google.com by xMu...@gmail.com on 28 Mar 2013 at 11:01

GoogleCodeExporter commented 9 years ago
This should have been fixed. Please download a new copy of upload.py here: 
https://codereview.appspot.com/static/upload.py

I'm closing this issue. If this still happens with a newer copy of upload.py 
please add a comment.

Related changeset: 
https://code.google.com/p/rietveld/source/detail?r=e2a408c5254a19f2edcc30d69bfdd
cfbebd8c9b2&path=/upload.py

Original comment by albrecht.andi on 28 Mar 2013 at 11:08

GoogleCodeExporter commented 9 years ago
I believe that http://10.255.253.17:8010 version should be updated so that 
upload.py could be downloaded from there.

Original comment by techtonik@gmail.com on 28 Mar 2013 at 4:05