Opened 8 years ago

Closed 8 years ago

#894 closed defect (fixed)

Error when adding a forum group with incomplete data

Reported by: datenimperator Owned by: Blackhex
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 8 years ago by Blackhex

  • Status changed from new to assigned

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 8 years ago by Blackhex

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

comment:3 Changed 8 years ago by datenimperator

Revision 4199 of (the latest stable 0.10 source)

comment:4 Changed 8 years ago by Blackhex

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

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 8 years ago by Blackhex

  • Resolution worksforme deleted
  • Status changed from closed to reopened

Oops, I invoked it with latest revision.

comment:6 Changed 8 years ago by Blackhex

  • Resolution set to fixed
  • Status changed from reopened to closed

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

Add Comment

Modify Ticket

as closed The owner will remain Blackhex.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.