Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7455 closed defect (worksforme)

Pygments required version is not what's documented?

Reported by: abarrei@… 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 anonymous, 16 years ago

Same Error here on Debian 4.0 (Etch) all patches applied.

Workaround: dpkg -P python-pygments easy_install Pygments

comment:2 by anonymous, 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 Remy Blank, 16 years ago

Resolution: worksforme
Status: newclosed

Trac requires Pygments-0.6 since [5998]. I have fixed TracSyntaxColoring, which still mentioned 0.5.1.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.