Ticket #2160 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

trac tags stopped working with 0.11 trunk

Reported by: alex@farbflash.de Assigned to: athomas
Priority: normal Component: TagsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (Last modified by athomas)

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

Change History

11/11/07 06:15:23 changed by athomas

  • description changed.

11/29/07 14:21:15 changed by garyo@genarts.com

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

01/20/08 17:28:01 changed by athomas

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in 0.6.

(follow-up: ↓ 5 ) 03/05/08 22:20:20 changed by cdevienne

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

(in reply to: ↑ 4 ) 03/06/08 13:28:11 changed by cdevienne

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


Add/Change #2160 (trac tags stopped working with 0.11 trunk)




Change Properties
Action