Modify ↓
#4840 closed defect (wontfix)
zipimport.ZipImportError when installing TracAccountManager egg
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
I'm using SuSe 10.1 with Python 2.4.2
Output:
neo:/srv/www/trac/conf # easy_install http://trac-hacks.org/svn/accountmanagerplugin/0.10 Downloading http://trac-hacks.org/svn/accountmanagerplugin/0.10 Doing subversion checkout from http://trac-hacks.org/svn/accountmanagerplugin/0.10 to /tmp/easy_install-h6vaCN/0.10 Processing 0.10 Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-h6vaCN/0.10/egg-dist-tmp-J9PtGJ TracAccountManager 0.1.3dev-r2031 is already the active version in easy-install.pth Installed /usr/local/lib/python2.4/site-packages/TracAccountManager-0.1.3dev_r2031-py2.4.egg Processing dependencies for TracAccountManager==0.1.3dev-r2031
Traceback (most recent call last):
File "/usr/local/bin/easy_install", line 7, in ?
sys.exit(
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/setuptools/command/easy_install.py", line 1670, in main
with_ei_usage(lambda:
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/setuptools/command/easy_install.py", line 1659, in with_ei_usage
return f()
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/setuptools/command/easy_install.py", line 1674, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib/python2.4/distutils/core.py", line 149, in setup
dist.run_commands()
File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/setuptools/command/easy_install.py", line 211, in run
self.easy_install(spec, not self.no_deps)
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/setuptools/command/easy_install.py", line 422, in easy_install
return self.install_item(None, download, tmpdir, deps, True)
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/setuptools/command/easy_install.py", line 473, in install_item
self.process_distribution(spec, dist, deps)
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/setuptools/command/easy_install.py", line 518, in process_distribution
distros = WorkingSet([]).resolve(
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py", line 488, in resolve
requirements.extend(dist.requires(req.extras)[::-1])
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py", line 2025, in requires
dm = self._dep_map
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py", line 2017, in _dep_map
for extra,reqs in split_sections(self._get_metadata(name)):
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py", line 2436, in split_sections
for line in yield_lines(s):
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py", line 1731, in yield_lines
for ss in strs:
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py", line 2039, in _get_metadata
for line in self.get_metadata_lines(name):
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py", line 1058, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py", line 1055, in get_metadata
return self._get(self._fn(self.egg_info,name))
File "/usr/local/lib/python2.4/site-packages/setuptools-0.6c5-py2.4.egg/pkg_resources.py", line 1113, in _get
return self.loader.get_data(path)
zipimport.ZipImportError: bad local file header in /usr/local/lib/python2.4/site-packages/TracAccountManager-0.1.3dev_r2031-py2.4.egg
Attachments (0)
Change History (3)
comment:1 by , 19 years ago
| Description: | modified (diff) |
|---|---|
| Priority: | high → normal |
| Resolution: | → wontfix |
| Severity: | blocker → normal |
| Status: | new → closed |
comment:2 by , 17 years ago
I had the same problem after installing the Account Manager for a second project (probably unnecessarily so). Restarting apache solved it for me.
Note:
See TracTickets
for help on using tickets.



This bug tracker is dedicated to Trac development.
For issues w/ plugins, please report the issue to the plugin's author. See th:wiki:AccountManagerPlugin.