|Reported by:||Dinko Korunic <dinko.korunic@…>||Owned by:||athomas|
With Trac trunk (r3411) it stopped working with KeyError (check attached log). Code according to backtrace seems this section:
def _heading_formatter(self, match, fullmatch): ... anchor = self._anchors[-1] ...
I have modified it to the following (code taken from Trac Wiki formatter directly):
def _heading_formatter(self, match, fullmatch): ... anchor = fullmatch.group('hanchor') or '' ...
Seems to be working now. Hope this helps.
Change History (19)
Changed 9 years ago by Dinko Korunic <dinko.korunic@…>
Changed 9 years ago by cboos
comment:8 Changed 9 years ago by maxb
- Summary changed from Stopped working with trac trunk, error in using anchor to 0.10-incompatibility: Broken.
comment:10 Changed 9 years ago by coderanger
- Resolution set to fixed
- Status changed from new to closed