v3ss0n / rietveld

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

traceback while running upload.py #411

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. uploaded patchset, saw error, deleted patchset
2. uploading revised patchset yields traceback
3. Deleting the half-loaded patchset and trying to upload another produces the 
same results.

        Upload server: codereview.appspot.com (change with -s/--server)
        Message describing this patch set: improved tests, fixed empty page transclusion, transclusion as link alternate
        Loaded authentication cookies from C:\Users\roger/.codereview_upload_cookies
        Traceback (most recent call last):
          File "upload.py", line 2214, in <module>
            main()
          File "upload.py", line 2206, in main
            RealMain(sys.argv)
          File "upload.py", line 2174, in RealMain
            response_body = rpc_server.Send("/upload", body, content_type=ctype)
          File "upload.py", line 392, in Send
            f = self.opener.open(req)
          File "C:\Python26\lib\urllib2.py", line 397, in open
            response = meth(req, response)
          File "C:\Python26\lib\urllib2.py", line 510, in http_response
            'http', request, response, code, msg, hdrs)
          File "C:\Python26\lib\urllib2.py", line 435, in error
            return self._call_chain(*args)
          File "C:\Python26\lib\urllib2.py", line 369, in _call_chain
            result = func(*args)
          File "C:\Python26\lib\urllib2.py", line 518, in http_error_default
            raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
        urllib2.HTTPError: HTTP Error 500: Internal Server Error

What is the expected output? What do you see instead?

When I try to view html_out.py file within issue 6928049 I see "upload in 
progress".

What browser are you using?  What version? On what operating system?

SRWare Iron Version 23.0.1300.0 (170000). But problem appears to be in 
upload.py.

At what URL are you accessing Rietveld?  

https://codereview.appspot.com/6928049/diff/50001/MoinMoin/converter/html_out.py

Please note if you are using the Google Apps Labs version (e.g.
codereview.<yourdomain>).

*** If you are a Google employee please say so or mail rietveld-admins@
directly. ***

Please provide any additional information below.

Have performed similar patchset deletion followed by upload of new patchset 
several times before.  Server seemed very sluggish today.  

Original issue reported on code.google.com by haas...@gmail.com on 15 Jan 2013 at 7:09

GoogleCodeExporter commented 9 years ago
There were App Engine wide problems this morning.  They say they are resolved 
now.  Can you try again?

Original comment by gvanrossum@gmail.com on 15 Jan 2013 at 8:46

GoogleCodeExporter commented 9 years ago
When I try to delete patch #4:

Invalid XSRF token.

However, this was the data posted to the server:

xsrf_token: a22bfbba4cc36c85e3d631405a9d71c8
_method: delete

----------
Please reload the previous page and post again.

However I was able to upload a new patchset successfully.  Issue may be closed.

Original comment by haas...@gmail.com on 15 Jan 2013 at 10:17

GoogleCodeExporter commented 9 years ago

Original comment by gvanrossum@gmail.com on 15 Jan 2013 at 10:18