Opened 18 years ago
Closed 14 years ago
#1120 closed defect (wontfix)
After installing TracPygmentsPlugin PatchRenderer don't render diff files and Pygments too
Reported by: | mou | Owned by: | Matt Good |
---|---|---|---|
Priority: | high | Component: | TracPygmentsPlugin |
Severity: | normal | Keywords: | |
Cc: | haizaar@… | Trac Release: | 0.10 |
Description
Attachments (4)
Change History (12)
comment:1 Changed 18 years ago by
comment:2 Changed 18 years ago by
Owner: | changed from Matt Good to Enrico Straube |
---|---|
Status: | new → assigned |
Yes the rst processor stops working... I hope you can fix that soon...
comment:3 Changed 18 years ago by
Owner: | changed from Enrico Straube to Matt Good |
---|---|
Status: | assigned → new |
comment:4 Changed 17 years ago by
+1 I've got this problem too. Had to revert back to use enscript :( Trac-0.10.4 with latest Pytments
comment:5 Changed 17 years ago by
Cc: | haizaar@… added; anonymous removed |
---|
comment:6 Changed 17 years ago by
Priority: | normal → high |
---|
+1 sorry if I shouldn't but I change the priority. will the rst problem be fixed anytime soon? thanks!
comment:7 Changed 17 years ago by
I found a fix (or a workaround) for this. Add below to line 214:
if name != 'reStructuredText' :
The code should look like below after fix:
def _init_types(self): if self._types is None: self._types = {} self._languages = {} if have_pygments: for name, aliases, _, mimetypes in get_all_lexers(): if name != 'reStructuredText' : for mimetype in mimetypes: self._types[mimetype] = (aliases[0], self.QUALITY_RATIO) for alias in aliases: self._languages[alias] = name self._types.update( Mimeview(self.env).configured_modes_mapping('pygments') )
Changed 17 years ago by
Attachment: | fix_proposal_r2113.patch added |
---|
This is my workaround for this issue
Changed 17 years ago by
Attachment: | fix_proposal_r2113.2.patch added |
---|
This is my workaround for this issue
Changed 17 years ago by
Attachment: | fix_proposal2_r2113.patch added |
---|
This is my workaround for this issue, fight one :)
Changed 17 years ago by
Attachment: | fix_proposal_3_r2113.patch added |
---|
This is right one (I would need ticket admin rights to replace invalid attachments)
comment:8 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Closing ticket since plugin is unmaintained and support can be found by upgrading to Trac 0.11.
The
rst
processor stops working too, presumably because Pygments takes precedence.