Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#2160 closed defect (fixed)

trac tags stopped working with 0.11 trunk

Reported by: alex@… Owned by: Alec Thomas
Priority: normal Component: TagsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by Alec Thomas)

sometime after r6100 of trac trunk (0.11) my tractags plugin stopped working, when I click on the tags tab at the top of the page (trac nav bar)

I get the following error:

Trac detected an internal error:
HTMLParseError: malformed start tag, at line 120, column 2

Python Traceback

Most recent call last:
File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r6128-py2.4.egg/trac/web/", line 386, in dispatch_request dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r6128-py2.4.egg/trac/web/", line 204, in dispatch req.display(template, content_type or 'text/html')
File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r6128-py2.4.egg/trac/web/", line 312, in display data = self.hdf.render(template, form_token)
File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r6128-py2.4.egg/trac/web/", line 310, in render injector.feed(template.render())
File "", line 108, in feedFile "", line 148, in goaheadFile "", line 226, in parse_starttag
File "", line 301, in check_for_whole_start_tagFile "", line 115, in error

System Information:

User Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/522.11.1 (KHTML, like Gecko) Version/3.0.3 Safari/522.12.1

Trac:	0.11dev-r6128
Python:	2.4.4 (#1, Apr 5 2007, 20:09:06) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)]
setuptools:	0.6c3
MySQL:	server: "5.0.32-Debian_7etch1-log", client: "5.0.32", thread-safe: 0
MySQLdb:	1.2.1_p2
Genshi:	0.5dev-r756
Subversion:	1.4.2 (r22196)

The exact same error happens on another trac project runnig on a completely different system (OSX) So it appeared at the same revision of trac trunk, therefore it ought to be one of the changes made since...r6050 ?

Attachments (0)

Change History (5)

comment:1 Changed 11 years ago by Alec Thomas

Description: modified (diff)

comment:2 Changed 10 years ago by garyo@…

Most likely this is due to the context refactoring that went on the trunk on 11/9/07, see here: Christian sent an email to the trac list about it on the same day. Here's a quote from that email:

The context-refactoring branch is going on trunk today. If you're an early Trac 0.11dev adopter, the implications of this depend on whether you're using plugins or not. If not, the core Trac is still pretty solid and the update should not be problematic. But if you are using plugins, chances are that they're going to break in some ways or another.

It should be relatively easy to adapt the 0.11dev plugins to the new API. For a general overview of the API changes that were discussed the last few months, see the following mail on trac-dev:

comment:3 Changed 10 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

Fixed in 0.6.

comment:4 Changed 10 years ago by Christophe de Vienne

(In [3314]) Disable a debugging purpose feature which make win32 deployment fail. This fix #2160.

comment:5 in reply to:  4 Changed 10 years ago by Christophe de Vienne

Replying to cdevienne:

(In [3314]) Disable a debugging purpose feature which make win32 deployment fail. This fix #2160.

This is a mistake, I wrote 2160 instead of #2168 in my comment. Sorry for the noise.


Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Alec Thomas.
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.