Modify ↓
Opened 16 years ago
Closed 14 years ago
#5403 closed defect (fixed)
TagsPlugin reinstall is broken
Reported by: | rupert thurner | Owned by: | Alec Thomas |
---|---|---|---|
Priority: | high | Component: | TagsPlugin |
Severity: | minor | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
reinstalling TagsPlugin leads to
# easy_install http://trac-hacks.org/svn/tagsplugin/trunk Downloading http://trac-hacks.org/svn/tagsplugin/trunk Doing subversion checkout from http://trac-hacks.org/svn/tagsplugin/trunk to /tmp/easy_install-DJyff_/trunk Processing trunk Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-DJyff_/trunk/egg-dist-tmp-tck7xT unrecognized .svn/entries format in zip_safe flag not set; analyzing archive contents... TracTags 0.6 is already the active version in easy-install.pth Installed /opt/csw/lib/python2.6/site-packages/TracTags-0.6-py2.6.egg Processing dependencies for TracTags==0.6 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/TracTags-0.6-py2.6.egg
Attachments (0)
Change History (3)
comment:1 Changed 16 years ago by
Component: | SELECT A HACK → TagsPlugin |
---|---|
Owner: | changed from anonymous to Alec Thomas |
Priority: | normal → high |
Severity: | normal → minor |
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
This issue is generally a result of updating the plugin while the trac process is still running.
Restart the trac process and it should work.
This is not a problem with the tags code itself.
Note: See
TracTickets for help on using
tickets.
This is unlikely the source of your problem, but I've seen it recommended to use at least setuptools version >= 0.6c10. See t:TracDev/DevelopmentEnvironmentSetup#Geteasy_install.