Opened 13 years ago

Last modified 11 years ago

#8684 closed defect

[Patch] Unexpected keyword argument 'tags_link' — at Version 3

Reported by: Daniel Kahn Gillmor Owned by: Alec Thomas
Priority: highest Component: TagsPlugin
Severity: normal Keywords: genshi builder translation wrapper
Cc: Felix Schwarz, Patrick Schaaf Trac Release: 0.11

Description (last modified by Ryan J Ollos)

I'm trying to use TagsPlugin from svn (r9419) against trac 0.11.7.

When i go to edit a wiki page, i get:

Trac detected an internal error:

TypeError: __call__() got an unexpected keyword argument 'tags_link'

The attached patch appears to resolve things for me as expected.

Change History (5)

Changed 13 years ago by Daniel Kahn Gillmor

Attachment: fix-tags-link.patch added

bugfix for #8684

comment:1 Changed 13 years ago by Felix Schwarz

Cc: Felix Schwarz added; anonymous removed

Changed 13 years ago by Felix Schwarz

better patch for the issue

comment:2 Changed 13 years ago by Felix Schwarz

Actually while fix-tags-link.patch works around the issue, the underlying problem is that genshi.builder.tag does not provide the same interface as trac.util.translations.tag_. Therefore I copied code from Trac 0.12 to provide a compat interface.

comment:3 Changed 13 years ago by Ryan J Ollos

Description: modified (diff)
Summary: unexpected keyword argument 'tags_link'[Patch] Unexpected keyword argument 'tags_link'

I'm seeing the same issue under Trac 0.11.7.

Note: See TracTickets for help on using tickets.