Edgewall Software
Modify

Opened 8 years ago

Closed 8 years ago

#10246 closed defect (invalid)

Problem with Tags in Wiki Page: TypeError: __call__() got an unexpected keyword argument 'tags_link'

Reported by: dannywoo888@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.7
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:

Description

When I go to edit the wiki page, I get this error. Otherwise, everything else is fine with the wiki page.

How to Reproduce

While doing a GET operation on /wiki/WikiStart, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'action': u'edit', 'page': u'WikiStart'}

User Agent was: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.112 Safari/534.30

System Information

Trac 0.11.7
Python 2.6 (r26:66714, Nov 3 2009, 17:33:18)
[GCC 4.4.1 20090725 (Red Hat 4.4.1-2)]
setuptools 0.6c9
MySQL server: "5.1.47-log", client: "5.1.47", thread-safe: 1
MySQLdb 1.2.3c1
Genshi 0.5.1
Pygments 1.3.1
FullBlog 0.1.1
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 227, in dispatch
    data, content_type)
  File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 745, in render_template
    stream |= self._filter_stream(req, method, filename, stream, data)
  File "/usr/lib64/python2.6/site-packages/genshi/core.py", line 128, in __or__
    return Stream(_ensure(function(self)), serializer=self.serializer)
  File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 848, in inner
    data)
  File "build/bdist.linux-x86_64/egg/tractags/wiki.py", line 57, in filter_stream
    return self._wiki_edit(req, stream)
  File "build/bdist.linux-x86_64/egg/tractags/wiki.py", line 141, in _wiki_edit
    tag_("Tag under: (%(tags_link)s)", tags_link=tags_link),
TypeError: __call__() got an unexpected keyword argument 'tags_link'

Attachments (0)

Change History (1)

comment:1 by Mikael Relbe, 8 years ago

Resolution: invalid
Status: newclosed

PluginIssue: The Traceback indicates that the problem occurs in the TH:TagsPlugin.

Please address this problem there. (Is the plugin installed correctly? It's not listed in the System Information section, and it's not running in the site-packages directory…)

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 as closed 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.