Just started working with this: "HTTP Error 302: Found"

148 views
Skip to first unread message

Edward S. Marshall

unread,
Mar 29, 2009, 3:34:20 AM3/29/09
to codereview-discuss
Hi,

I just started using this on my own domain (Google Apps-hosted), and
ran into a problem while testing uploading an issue:

$ upload.py -s codereview.logic.net
Upload server: codereview.logic.net (change with -s/--server)
New issue subject: gui update
Loaded authentication cookies from /home/
esm/.codereview_upload_cookies
Traceback (most recent call last):
File "/home/esm/bin/upload.py", line 1388, in <module>
main()
File "/home/esm/bin/upload.py", line 1380, in main
RealMain(sys.argv)
File "/home/esm/bin/upload.py", line 1348, in RealMain
response_body = rpc_server.Send("/upload", body,
content_type=ctype)
File "/home/esm/bin/upload.py", line 327, in Send
f = self.opener.open(req)
File "/usr/lib64/python2.5/urllib2.py", line 387, in open
response = meth(req, response)
File "/usr/lib64/python2.5/urllib2.py", line 498, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.5/urllib2.py", line 425, in error
return self._call_chain(*args)
File "/usr/lib64/python2.5/urllib2.py", line 360, in _call_chain
result = func(*args)
File "/usr/lib64/python2.5/urllib2.py", line 506, in
http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 302: Found

(The URL having a problem, after adding a bit of debugging output,
appears to be "http://codereview.logic.net/upload".)

Any ideas? Have I done something obviously foolish? :)

Guido van Rossum

unread,
Mar 29, 2009, 9:19:53 AM3/29/09
to coderevie...@googlegroups.com
Possibly there's something wrong with the login. Try throwing away the
cookies file.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)

Edward S. Marshall

unread,
Mar 29, 2009, 10:02:56 AM3/29/09
to codereview-discuss
On Mar 29, 8:19 am, Guido van Rossum <gu...@python.org> wrote:
> Possibly there's something wrong with the login. Try throwing away the
> cookies file.

Thank you, Guido! That was it.
Reply all
Reply to author
Forward
0 new messages