Hi,

easy_install from setuptools 0.6b3 fails when trying to download Amara
XML Toolkit from PyPI. Full backtrace in attachement.

mk
--
. o .       >>  http://joker.linuxstuff.pl  <<
. . o   It's easier to get forgiveness for being wrong
o o o   than forgiveness for being right.
# easy_install -v -n Amara_XML_Toolkit==0.9.0
Searching for Amara-XML-Toolkit==0.9.0
Reading http://www.python.org/pypi/Amara_XML_Toolkit/
Reading http://www.python.org/pypi/Amara-XML-Toolkit/
Couldn't find index page for 'Amara_XML_Toolkit' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://www.python.org/pypi/
Reading http://www.python.org/pypi/Amara%20XML%20Toolkit/0.9.0
Reading http://uche.ogbuji.net/tech/4Suite/amara/
Found link: http://uche.ogbuji.net/tech/4Suite/etc/Amara-1.1.7-allinone.win32-py2.4.exe
Found link: http://uche.ogbuji.net/tech/4Suite/etc/Amara-allinone-1.0.win32-py2.4.exe
Found link: http://uche.ogbuji.net/tech/4Suite/etc/Amara-1.1.7-allinone.tar.gz
Found link: http://uche.ogbuji.net/tech/4Suite/etc/Amara-1.0-allinone.tar.gz
Found link: http://uche.ogbuji.net/tech/4Suite/etc/Amara-1.1.7-allinone.tar.bz2
Found link: http://uche.ogbuji.net/tech/4Suite/etc/Amara-1.0-allinone.tar.bz2
Found link: http://uche.ogbuji.net/tech/4Suite/etc/Amara-1.1.7.zip
Found link: http://uche.ogbuji.net/tech/4Suite/etc/Amara-1.0.zip
Found link: http://uche.ogbuji.net/tech/4Suite/etc/Amara-1.1.7.tar.gz
Found link: http://uche.ogbuji.net/tech/4Suite/etc/Amara-1.0.tar.gz
Found link: http://uche.ogbuji.net/tech/4Suite/etc/Amara-1.1.7.tar.bz2
Found link: http://uche.ogbuji.net/tech/4Suite/etc/Amara-1.0.tar.bz2
Found link: ftp://ftp.4suite.org/pub/cvs-snapshots/Amara-CVS.zip
Found link: ftp://ftp.4suite.org/pub/cvs-snapshots/Amara-CVS.tar.gz
Found link: ftp://ftp.4suite.org/pub/cvs-snapshots/Amara-CVS.tar.bz2
Reading ftp://ftp.4suite.org/pub/Amara/
Traceback (most recent call last):
  File "/usr/bin/easy_install", line 7, in ?
    sys.exit(
  File "/usr/lib/python2.3/site-packages/setuptools-0.6b3-py2.3.egg/setuptools/command/easy_install.py", line 1547, in main
    with_ei_usage(lambda:
  File "/usr/lib/python2.3/site-packages/setuptools-0.6b3-py2.3.egg/setuptools/command/easy_install.py", line 1536, in with_ei_usage
    return f()
  File "/usr/lib/python2.3/site-packages/setuptools-0.6b3-py2.3.egg/setuptools/command/easy_install.py", line 1550, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/usr/lib/python2.3/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/lib/python2.3/distutils/dist.py", line 907, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.3/distutils/dist.py", line 927, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.3/site-packages/setuptools-0.6b3-py2.3.egg/setuptools/command/easy_install.py", line 211, in run
    self.easy_install(spec, not self.no_deps)
  File "/usr/lib/python2.3/site-packages/setuptools-0.6b3-py2.3.egg/setuptools/command/easy_install.py", line 432, in easy_install
    dist = self.package_index.fetch_distribution(
  File "/usr/lib/python2.3/site-packages/setuptools-0.6b3-py2.3.egg/setuptools/package_index.py", line 421, in fetch_distribution
    self.find_packages(requirement)
  File "/usr/lib/python2.3/site-packages/setuptools-0.6b3-py2.3.egg/setuptools/package_index.py", line 278, in find_packages
    self.scan_url(url)
  File "/usr/lib/python2.3/site-packages/setuptools-0.6b3-py2.3.egg/setuptools/package_index.py", line 614, in scan_url
    self.process_url(url, True)
  File "/usr/lib/python2.3/site-packages/setuptools-0.6b3-py2.3.egg/setuptools/package_index.py", line 173, in process_url
    page = self.process_index(url, page)
  File "/usr/lib/python2.3/site-packages/setuptools-0.6b3-py2.3.egg/setuptools/package_index.py", line 242, in process_index
    self.scan_url(new_url)
  File "/usr/lib/python2.3/site-packages/setuptools-0.6b3-py2.3.egg/setuptools/package_index.py", line 614, in scan_url
    self.process_url(url, True)
  File "/usr/lib/python2.3/site-packages/setuptools-0.6b3-py2.3.egg/setuptools/package_index.py", line 165, in process_url
    if 'html' not in f.headers['content-type'].lower():
  File "/usr/lib/python2.3/rfc822.py", line 390, in __getitem__
    return self.dict[name.lower()]
KeyError: 'content-type'
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to