Issue136

Title Exception AttributeError: 'NoneType' raised when package is not found on Python 2.5 only
Priority bug Status chatting
Superseder Nosy List pje, sorin
Assigned To Keywords

Created on 2011-11-10.15:35:22 by sorin, last changed 2011-11-10.17:42:33 by sorin.

Messages
msg652 (view) Author: sorin Date: 2011-11-10.17:42:33
The latest version for Python 2.5 on Windows (setuptools-0.6c11-py2.5.egg) contains this bug, and it makes sense because it was build on 2009-10-20.
msg651 (view) Author: pje Date: 2011-11-10.17:36:10
Are you saying this is still in the c11 release?
msg650 (view) Author: sorin Date: 2011-11-10.15:43:58
As a side note, what's the use if the latest release is more than 2 years old.
msg649 (view) Author: sorin Date: 2011-11-10.15:43:01
Oops was solved in trunk.
msg648 (view) Author: sorin Date: 2011-11-10.15:35:21
Windows, Python 2.5

easy_install image

Output:
Searching for image
Reading http://pypi.python.org/simple/image/
Reading https://github.com/francescortiz/image
Reading https://github.com/francescortiz/image/tarball/master
No local packages or download links found for image
Best match: None
Traceback (most recent call last):
  File "C:\Program Files\JetBrains\PyCharm 110.303\helpers\pydev\pydevd.py", line 1281, in <module>
    debugger.run(setup['file'], None, None)
  File "C:\Program Files\JetBrains\PyCharm 110.303\helpers\pydev\pydevd.py", line 1010, in run
    pydev_imports.execfile(file, globals, locals) #execute the script
  File "C:/Python25/Scripts/easy_install-2.5-script.py", line 8, in <module>
    load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install-2.5')()
  File "C:\Python25\lib\site-packages\setuptools\command\easy_install.py", line 1712, in main
    with_ei_usage(lambda:
  File "C:\Python25\lib\site-packages\setuptools\command\easy_install.py", line 1700, in with_ei_usage
    return f()
  File "C:\Python25\lib\site-packages\setuptools\command\easy_install.py", line 1716, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "C:\Python25\lib\distutils\core.py", line 151, in setup
    dist.run_commands()
  File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.run()
  File "C:\Python25\lib\site-packages\setuptools\command\easy_install.py", line 211, in run
    self.easy_install(spec, not self.no_deps)
  File "C:\Python25\lib\site-packages\setuptools\command\easy_install.py", line 434, in easy_install
    self.local_index
  File "C:\Python25\lib\site-packages\setuptools\package_index.py", line 475, in fetch_distribution
    return dist.clone(location=self.download(dist.location, tmpdir))
AttributeError: 'NoneType' object has no attribute 'clone'
History
Date User Action Args
2011-11-10 17:42:33sorinsetmessages: + msg652
2011-11-10 17:36:10pjesetstatus: in-progress -> chatting
nosy: + pje
messages: + msg651
2011-11-10 15:43:58sorinsetmessages: + msg650
2011-11-10 15:43:01sorinsetstatus: unread -> in-progress
messages: + msg649
2011-11-10 15:35:22sorincreate