Opened 11 years ago

Closed 11 years ago

#894 closed defect (fixed)

Error when adding a forum group with incomplete data

Reported by: Christian Aust Owned by: Radek Bartoň
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


I wasn't sure what a "forum group" might be and tried to add one, filling just one of the two fields of the form with the value "test". When I try to get to the list of forum groups afterwards, this is what I get:

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/", line 379, in dispatch_request
  File "/usr/lib/python2.3/site-packages/trac/web/", line 237, in dispatch
    req.display(template, content_type or 'text/html')
  File "/usr/lib/python2.3/site-packages/trac/web/", line 357, in display
    data = self.hdf.render(template, form_token)
  File "/usr/lib/python2.3/site-packages/trac/web/", line 296, in render
  File "/usr/lib/python2.3/", line 108, in feed
  File "/usr/lib/python2.3/", line 148, in goahead
    k = self.parse_starttag(i)
  File "/usr/lib/python2.3/", line 239, in parse_starttag
    endpos = self.check_for_whole_start_tag(i)
  File "/usr/lib/python2.3/", line 314, in check_for_whole_start_tag
    self.error("malformed start tag")
  File "/usr/lib/python2.3/", line 115, in error
    raise HTMLParseError(message, self.getpos())
HTMLParseError: malformed start tag, at line 77, column 55

How could I correct the situation? Directly editing the sqlite3 database? And if so, what table and column?

Attachments (0)

Change History (6)

comment:1 Changed 11 years ago by Radek Bartoň

Status: newassigned

Looks like you messed up some template and it is reporting that you don't have valid html page when rendering, but I'll have to look to trac code to be sure.

comment:2 Changed 11 years ago by Radek Bartoň

I don't have line 296 in in my Trac insallation, what version have you insalled?

comment:3 Changed 11 years ago by Christian Aust

Revision 4199 of (the latest stable 0.10 source)

comment:4 Changed 11 years ago by Radek Bartoň

Resolution: worksforme
Status: assignedclosed

As I said it doesn't look like that it is connected to empty data field when adding group. Try it with original DiscussionPlugin's tempates or check if you don't have unclosed tags in them.

comment:5 Changed 11 years ago by Radek Bartoň

Resolution: worksforme
Status: closedreopened

Oops, I invoked it with latest revision.

comment:6 Changed 11 years ago by Radek Bartoň

Resolution: fixed
Status: reopenedclosed

How could one quotation mark 1538 make such a problems :-).

Modify Ticket

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