Modify

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

Description

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/main.py", line 379, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 237, in dispatch
    req.display(template, content_type or 'text/html')
  File "/usr/lib/python2.3/site-packages/trac/web/api.py", line 357, in display
    data = self.hdf.render(template, form_token)
  File "/usr/lib/python2.3/site-packages/trac/web/clearsilver.py", line 296, in render
    injector.feed(template.render())
  File "/usr/lib/python2.3/HTMLParser.py", line 108, in feed
    self.goahead(0)
  File "/usr/lib/python2.3/HTMLParser.py", line 148, in goahead
    k = self.parse_starttag(i)
  File "/usr/lib/python2.3/HTMLParser.py", line 239, in parse_starttag
    endpos = self.check_for_whole_start_tag(i)
  File "/usr/lib/python2.3/HTMLParser.py", line 314, in check_for_whole_start_tag
    self.error("malformed start tag")
  File "/usr/lib/python2.3/HTMLParser.py", 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 clearsilver.py in my Trac insallation, what version have you insalled?

comment:3 Changed 8 years ago by datenimperator

Revision 4199 of http://svn.edgewall.com/repos/trac/branches/0.10-stable (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

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from Blackhex. Next status will be '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.