Opened 15 years ago
Closed 15 years ago
#5528 closed defect (invalid)
reinstall gives error
Reported by: | anonymous | Owned by: | Radek Bartoň |
---|---|---|---|
Priority: | normal | Component: | DownloadsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
# easy_install http://trac-hacks.org/svn/downloadsplugin/0.11/ Downloading http://trac-hacks.org/svn/downloadsplugin/0.11/ Doing subversion checkout from http://trac-hacks.org/svn/downloadsplugin/0.11/ to /tmp/easy_install-LdrxeJ/0.11 Processing 0.11 Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-LdrxeJ/0.11/egg-dist-tmp-9OoC_t zip_safe flag not set; analyzing archive contents... TracDownloads 0.2 is already the active version in easy-install.pth
Installed /opt/csw/lib/python2.6/site-packages/TracDownloads-0.2-py2.6.egg Processing dependencies for TracDownloads==0.2 Traceback (most recent call last):
File "/opt/csw/bin/easy_install", line 8, in <module>
load_entry_point('setuptools==0.6c9', 'console_scripts', 'easy_install')()
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 1671, in main
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 1659, in with_ei_usage
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 1675, in <lambda>
File "/opt/csw/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/opt/csw/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/opt/csw/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 211, in run
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 422, in easy_install
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 478, in install_item
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 519, in process_distribution
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 529, in resolve
requirements.extend(dist.requires(req.extras)[::-1])
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 2108, in requires
deps = []
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 2100, in _dep_map
if extra: extra = safe_extra(extra)
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 2519, in split_sections
if line.startswith("["):
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 1813, in yield_lines
for ss in strs:
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 2122, in _get_metadata
yield line
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 1140, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 1137, in get_metadata
return self._get(self._fn(self.egg_info,name))
File "/opt/csw/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py", line 1197, in _get
"Can't perform this operation for loaders without 'get_data()'"
zipimport.ZipImportError: bad local file header in /opt/csw/lib/python2.6/site-packages/TracDownloads-0.2-py2.6.egg
I don't think it's problem with plugin itself. See #2447 #2765 #2766 #4412 #5403.