Opened 4 months ago

Closed 4 months 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:


This continues some work started in #12788.

Attachments (0)

Change History (3)

comment:1 Changed 4 months 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/", line 639, in _dispatch_request
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/web/", line 262, in dispatch
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/web/", line 1423, in render_template
    fragment, iterable, method)
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/web/", line 1485, in _render_jinja_template
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/web/", 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/", line 133, in __or__
    return Stream(_ensure(function(self)), serializer=self.serializer)
  File "/Users/rjollos/Documents/Workspace/trac-dev/teo-rjollos.git/trac/web/", line 1885, in inner
    stream, data)
  File "/Users/rjollos/Documents/Workspace/trac-dev/trac-hacks/tagsplugin/trunk/tractags/", line 122, in filter_stream
    return self._wiki_edit(req, stream)
  File "/Users/rjollos/Documents/Workspace/trac-dev/trac-hacks/tagsplugin/trunk/tractags/", line 270, in _wiki_edit
    value=req.args.get('tags', ' '.join(self._page_tags(req))))
TypeError: 'Fragment' object is not callable

comment:2 Changed 4 months ago by Ryan J Ollos

Status: assignedaccepted

comment:3 Changed 4 months 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
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.