Skip to content

Instantly share code, notes, and snippets.

@JoshAshby
Created April 12, 2010 03:17
Show Gist options
  • Save JoshAshby/363241 to your computer and use it in GitHub Desktop.
Save JoshAshby/363241 to your computer and use it in GitHub Desktop.
joshua@josh-320:~/Desktop/Stuff/github/repos/PyTe$ python upload.py -s http://codereview.joshashby.com --base_url [email protected]:JoshAshby/PyTe.git
The following files are not added to version control:
keyboard.pyc
upload.py
virtkeyboard.pyc
Are you sure to continue?(y/N) y
Upload server: http://codereview.joshashby.com (change with -s/--server)
New issue subject: test
Email (login for uploading to http://codereview.joshashby.com) [[email protected]]:
Password for [email protected]:
Traceback (most recent call last):
File "upload.py", line 1693, in <module>
main()
File "upload.py", line 1685, in main
RealMain(sys.argv)
File "upload.py", line 1653, in RealMain
response_body = rpc_server.Send("/upload", body, content_type=ctype)
File "upload.py", line 339, in Send
self._Authenticate()
File "upload.py", line 377, in _Authenticate
super(HttpRpcServer, self)._Authenticate()
File "upload.py", line 316, in _Authenticate
self._GetAuthCookie(auth_token)
File "upload.py", line 258, in _GetAuthCookie
response = self.opener.open(req)
File "/usr/lib/python2.6/urllib2.py", line 389, in open
response = self._open(req, data)
File "/usr/lib/python2.6/urllib2.py", line 407, in _open
'_open', req)
File "/usr/lib/python2.6/urllib2.py", line 367, in _call_chain
result = func(*args)
File "/usr/lib/python2.6/urllib2.py", line 1146, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.6/urllib2.py", line 1099, in do_open
h = http_class(host, timeout=req.timeout) # will parse host:port
File "/usr/lib/python2.6/httplib.py", line 656, in __init__
self._set_hostport(host, port)
File "/usr/lib/python2.6/httplib.py", line 673, in _set_hostport
raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
httplib.InvalidURL: nonnumeric port: ''
joshua@josh-320:~/Desktop/Stuff/github/repos/PyTe$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment