I am trying to upgrade to the latest greatest version of TurboGears. I
grabbed the tree out of subversion and tried to install it, but got this
error:

% python24 setup.py develop
The required version of setuptools (>=0.6a9dev_r41815) is not available, and
can't be installed while this script is running. Please install
 a more recent version first.

So I tried to refresh setuptools like so, and got a really weird "HTTP Error
300: Multiple Choices" error:

% python24 ez_setup.py setuptools==dev
Downloading
http://www.turbogears.org/download/eggs/setuptools-0.6a9dev_r41815-py2.4.egg
setuptools-0.6a9dev_r41815-py2.4.egg
Traceback (most recent call last):
  File "ez_setup.py", line 214, in ?
    main(sys.argv[1:])
  File "ez_setup.py", line 167, in main
    main(list(argv)+[download_setuptools(delay=0)])
  File "ez_setup.py", line 128, in download_setuptools
    src = urllib2.urlopen(url)
  File "/usr/local/python24/lib/python2.4/urllib2.py", line 130, in urlopen
    return _opener.open(url, data)
  File "/usr/local/python24/lib/python2.4/urllib2.py", line 364, in open
    response = meth(req, response)
  File "/usr/local/python24/lib/python2.4/urllib2.py", line 471, in
http_response
    response = self.parent.error(
  File "/usr/local/python24/lib/python2.4/urllib2.py", line 402, in error
    return self._call_chain(*args)
  File "/usr/local/python24/lib/python2.4/urllib2.py", line 337, in
_call_chain
    result = func(*args)
  File "/usr/local/python24/lib/python2.4/urllib2.py", line 480, in
http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 300: Multiple Choices

The http error 300 Multiple Choices means that there are more than one file
that match the URL (i.e. different content types, etc). I'm able to get the
file with "wget", though. I dunno why it would work for wget but not for
urllib2 -- maybe it has to send something in the headers asking for the
right language or content type? Is there an extra file that's tripping up
the server? 

        -Don
 

Reply via email to