Modify

Opened 6 weeks ago

Closed 6 weeks ago

#13316 closed enhancement (fixed)

Adapt to Trac 1.4 API

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: TagsPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

This continues some work started in #12788.

Attachments (0)

Change History (3)

comment:1 Changed 6 weeks ago by Ryan J Ollos

After r16924, the following error is seen on the Wiki edit page:

Traceback (most recent call last):
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/web/main.py", line 639, in _dispatch_request
    dispatcher.dispatch(req)
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/web/main.py", line 262, in dispatch
    method=method)
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/web/chrome.py", line 1423, in render_template
    fragment, iterable, method)
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/web/chrome.py", line 1485, in _render_jinja_template
    iterable)
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/web/chrome.py", line 1917, in _filter_jinja_page
    stream |= self._filter_stream(req, method, filename, data)
  File "/Users/rjollos/Documents/Workspace/trac-dev/pve/lib/python2.7/site-packages/genshi/core.py", line 133, in __or__
    return Stream(_ensure(function(self)), serializer=self.serializer)
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/web/chrome.py", line 1885, in inner
    stream, data)
  File "/Users/rjollos/Documents/Workspace/trac-dev/trac-hacks/tagsplugin/trunk/tractags/wiki.py", line 122, in filter_stream
    return self._wiki_edit(req, stream)
  File "/Users/rjollos/Documents/Workspace/trac-dev/trac-hacks/tagsplugin/trunk/tractags/wiki.py", line 270, in _wiki_edit
    value=req.args.get('tags', ' '.join(self._page_tags(req))))
TypeError: 'Fragment' object is not callable

comment:2 Changed 6 weeks ago by Ryan J Ollos

Status: assignedaccepted

comment:3 Changed 6 weeks ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 16943:

TracTags 0.10dev: Make compatible with Trac 1.3.3dev

Fixes #13316.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.