Modify ↓
Opened 12 years ago
Closed 12 years ago
#10947 closed defect (worksforme)
DistributionNotFound: MarkupSafe>=0.9.2
Reported by: | puls | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 1.0 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /changeset
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'new': u'46', 'new_path': u'/', 'old': u'40', 'old_path': u'/'}
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
System Information
Trac | 1.0
|
Babel | 0.9.6 (translations unavailable)
|
Genshi | 0.6 (without speedups)
|
Pygments | 1.5
|
pysqlite | 2.6.0
|
Python | 2.7.2 (default, Aug 19 2011, 20:41:43) [GCC]
|
setuptools | 0.6
|
SQLite | 3.7.8
|
Subversion | 1.6.19 (r1383947)
|
jQuery | 1.7.2
|
Enabled Plugins
Python Traceback
Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/trac/web/main.py", line 497, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.7/site-packages/trac/web/main.py", line 214, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib/python2.7/site-packages/trac/versioncontrol/web_ui/changeset.py", line 353, in process_request self._render_html(req, repos, chgset, restricted, xhr, data) File "/usr/local/lib/python2.7/site-packages/trac/versioncontrol/web_ui/changeset.py", line 619, in _render_html diffs = _content_changes(old_node, new_node) File "/usr/local/lib/python2.7/site-packages/trac/versioncontrol/web_ui/changeset.py", line 548, in _content_changes if mview.is_binary(old_node.content_type, old_node.path): File "/usr/local/lib/python2.7/site-packages/trac/mimeview/api.py", line 950, in is_binary mimetype = self.get_mimetype(filename, content) File "/usr/local/lib/python2.7/site-packages/trac/mimeview/api.py", line 922, in get_mimetype mimetype = get_mimetype(filename, content, self.mime_map, File "/usr/local/lib/python2.7/site-packages/trac/mimeview/api.py", line 900, in mime_map for mimetype, kwds in renderer.get_extra_mimetypes() or []: File "/usr/local/lib/python2.7/site-packages/trac/mimeview/pygments.py", line 100, in get_extra_mimetypes for lexname, aliases, _, mimetypes in get_all_lexers(): File "/usr/local/lib/python2.7/site-packages/pygments/lexers/__init__.py", line 45, in get_all_lexers for lexer in find_plugin_lexers(): File "/usr/local/lib/python2.7/site-packages/pygments/plugin.py", line 53, in find_plugin_lexers yield entrypoint.load() File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1990, in load if require: self.require(env, installer) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2003, in require working_set.resolve(self.dist.requires(self.extras),env,installer)) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 584, in resolve raise DistributionNotFound(req) DistributionNotFound: MarkupSafe>=0.9.2
Attachments (0)
Change History (2)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
No feedback, closing.
As nobody else had this issue, I suppose this was not a generic Pygments 1.5 installation. To be sure, I just upgraded from 1.4, and Pygments 1.6rc1 works fine for me.
Note:
See TracTickets
for help on using tickets.
Interesting. So Pygments has plugins as well. What was the extension you used for triggering this? Did the problem happen just with the normal Trac and Pygments installation, or did you have to configure/install something else (like some Pygments extensions)?