Opened 16 years ago
Closed 16 years ago
#7455 closed defect (worksforme)
Pygments required version is not what's documented?
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | rendering | Version: | 0.11 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I have a debian stable (etch) setup and I have everything installed and working. Syntax coloring is working fine in the source browser but when I tried to use it as a preprocessor on a wiki page, (or for example in the actual WikiProcessors wiki page), syntax coloring is not working.
I enabled logging and I got the following:
ERROR: Skipping "trac.mimeview.pygments = trac.mimeview.pygments [pygments]": (version conflict "(Pygments 0.5.1 (/usr/lib/python2.4/site-packages), Requirement.parse('Pygments≥0.6'))")
The error is obvious, but as the trac document pages says 0.5.1 or higher and the source browser syntax coloring works I thought it worths posting this issue.
Attachments (0)
Change History (3)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Same Error here on Debian 4.0 (Etch) all patches applied.
Workaround:
dpkg -P python-pygments easy_install Pygments
comment:3 by , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Trac requires Pygments-0.6 since [5998]. I have fixed TracSyntaxColoring, which still mentioned 0.5.1.
Same Error here on Debian 4.0 (Etch) all patches applied.
Workaround: dpkg -P python-pygments easy_install Pygments