Modify

Opened 18 years ago

Closed 17 years ago

#1299 closed defect (worksforme)

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

Reported by: dclarke Owned by: Alec Thomas
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 18 years ago by Noah Kantrowitz

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

comment:2 Changed 17 years ago by osimons

Resolution: worksforme
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
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.