Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 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:

Oops…
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/main.py", line 386, in dispatch_request dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r6128-py2.4.egg/trac/web/main.py", 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/api.py", 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/clearsilver.py", line 310, in render injector.feed(template.render())
File "HTMLParser.py", line 108, in feedFile "HTMLParser.py", line 148, in goaheadFile "HTMLParser.py", line 226, in parse_starttag
File "HTMLParser.py", line 301, in check_for_whole_start_tagFile "HTMLParser.py", 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
Pygments:	
Subversion:	1.4.2 (r22196)
jQuery:	1.1.3.1

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 9 years ago by Alec Thomas

Description: modified (diff)

comment:2 Changed 9 years ago by garyo@…

Most likely this is due to the context refactoring that went on the trunk on 11/9/07, see here: http://trac.edgewall.org/changeset/6139. 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:

http://groups.google.com/group/trac-dev/browse_frm/thread/e3d41dc0021814e0

comment:3 Changed 9 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

Fixed in 0.6.

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

Christophe

Modify Ticket

Action
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.