Modify

Opened 8 years ago

Closed 7 years ago

#1299 closed defect (worksforme)

HTMLParser is throwing an error on a web browser request to xmlrpc

Reported by: dclarke Owned by: athomas
Priority: low Component: XmlRpcPlugin
Severity: trivial Keywords:
Cc: Trac Release: 0.10

Description

Access xmlrpc via a web browser, and I receive this:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 244, in dispatch
    req.display(template, content_type or 'text/html')
  File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 358, in display
    data = self.hdf.render(template, form_token)
  File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 296, in render
    injector.feed(template.render())
  File "HTMLParser.py", line 108, in feed
    self.goahead(0)
  File "HTMLParser.py", line 150, in goahead
    k = self.parse_endtag(i)
  File "HTMLParser.py", line 314, in parse_endtag
    self.error("bad end tag: %r" % (rawdata[i:j],))
  File "HTMLParser.py", line 115, in error
    raise HTMLParseError(message, self.getpos())
HTMLParseError: bad end tag: '</script\n\n</div>', at line 697, column 1

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by coderanger

This was fixed a long time ago, please make sure you have the most recent version of the plugin.

comment:2 Changed 7 years ago by osimons

  • Resolution set to worksforme
  • Status changed from new to closed

No reason for this ticket to stay open - it certainly works fine with Trac 0.10.4 and latest 0.10 version of the plugin.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.