Issue #20 resolved

InvalidURL: nonnumeric port - during "easy_install wphp"

Sridhar Ratnakumar
created an issue

{{{

!python

Searching for wphp Reading http://pypi.python.org/simple/wphp/ Reading http://pythonpaste.org/wphp Best match: wphp dev Downloading http://http://svn.pythonpaste.org/Paste/wphp/trunk#egg=wphp-dev Traceback (most recent call last): File "e2/bin/easy_install", line 8, in <module> load_entry_point('setuptools==0.6c9', 'console_scripts', 'easy_install')() File "/private/tmp/i/e2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 1671, in main File "/private/tmp/i/e2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 1659, in with_ei_usage File "/private/tmp/i/e2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 1675, in <lambda> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 152, in setup dist.run_commands() File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 975, in run_commands self.run_command(cmd) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 995, in run_command cmd_obj.run() File "/private/tmp/i/e2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 211, in run File "/private/tmp/i/e2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 433, in easy_install File "/private/tmp/i/e2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/package_index.py", line 463, in fetch_distribution File "/private/tmp/i/e2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/package_index.py", line 449, in find File "/private/tmp/i/e2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/package_index.py", line 392, in download File "/private/tmp/i/e2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/package_index.py", line 612, in _download_url File "/private/tmp/i/e2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/package_index.py", line 621, in _attempt_download File "/private/tmp/i/e2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/package_index.py", line 542, in _download_to File "/private/tmp/i/e2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/package_index.py", line 579, in open_url File "/private/tmp/i/e2/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/package_index.py", line 717, in open_with_auth File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 124, in urlopen return _opener.open(url, data, timeout) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 383, in open response = self._open(req, data) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 401, in _open '_open', req) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 361, in _call_chain result = func(*args) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 1130, in http_open return self.do_open(httplib.HTTPConnection, req) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 1087, in do_open h = http_class(host, timeout=req.timeout) # will parse host:port File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 656, in init self._set_hostport(host, port) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 668, in _set_hostport raise InvalidURL("nonnumeric port: '%s'" % host[i+1:]) httplib.InvalidURL: nonnumeric port: ''

}}}

Comments (2)

  1. Log in to comment