Modify ↓
Opened 18 years ago
Closed 18 years ago
#6565 closed defect (duplicate)
One ticket causes an error, all other work great
| Reported by: | Ivan | Owned by: | Jonas Borgström |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | attachment | Version: | 0.10.3 |
| Severity: | normal | Keywords: | |
| Cc: | ivanbessarabov@… | Branch: | |
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
In my trac system i have one ticken that causes the error message below. All other tickets opens fine. Trac is working about an year, and nothing spesial was done lateley.
Oops…
Trac detected an internal error:
If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team.
Go to http://trac.edgewall.org/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below.
TracGuide — The Trac User and Administration Guide
Python Traceback
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/var/lib/python-support/python2.4/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/var/lib/python-support/python2.4/trac/ticket/web_ui.py", line 302, in process_request
get_reporter_id(req, 'author'))
File "/var/lib/python-support/python2.4/trac/ticket/web_ui.py", line 625, in _insert_ticket_data
change['comment'] = wiki_to_html(comment, self.env, req, db)
File "/var/lib/python-support/python2.4/trac/wiki/formatter.py", line 999, in wiki_to_html
Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
File "/var/lib/python-support/python2.4/trac/wiki/formatter.py", line 822, in format
result = re.sub(self.wiki.rules, self.replace, line)
File "sre.py", line 142, in sub
return _compile(pattern, 0).sub(repl, string, count)
File "/var/lib/python-support/python2.4/trac/wiki/formatter.py", line 768, in replace
replacement = self.handle_match(fullmatch)
File "/var/lib/python-support/python2.4/trac/wiki/formatter.py", line 764, in handle_match
return internal_handler(match, fullmatch)
File "/var/lib/python-support/python2.4/trac/wiki/formatter.py", line 444, in _macro_formatter
e)
File "/var/lib/python-support/python2.4/trac/wiki/formatter.py", line 38, in system_message
return html.DIV(html.STRONG(msg), text and html.PRE(text),
File "/var/lib/python-support/python2.4/trac/util/html.py", line 432, in __call__
return Fragment.__call__(self, *args)
File "/var/lib/python-support/python2.4/trac/util/html.py", line 303, in __call__
self.append(arg)
File "/var/lib/python-support/python2.4/trac/util/html.py", line 438, in append
Fragment.append(self, node)
File "/var/lib/python-support/python2.4/trac/util/html.py", line 296, in append
for child in node:
AttributeError: HTMLParseError instance has no attribute 'args'
Thank you in advance for your help!
Attachments (0)
Change History (2)
comment:1 by , 18 years ago
| Cc: | added |
|---|
comment:2 by , 18 years ago
| Component: | ticket system → attachment |
|---|---|
| Keywords: | needinfo removed |
| Resolution: | → duplicate |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



I have found the solution of this bug.
The problem was with the double quotes.
Here is the description of how to reproduce the bug:
So, after this actions the ticket will show the error message.
PS The solution is simple - you have just to remove double quotes in the description using the database editor