Modify ↓
#1779 closed defect (fixed)
headings duplication causes Oops
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.9 |
| Component: | wiki system | Version: | devel |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
==== QUIT ==== ...snip... === 3) Установленное соединение === ==== Доступные управляющие комманды: `PUT', `QUIT' ==== ==== PUT ==== ...snip... ==== QUIT ==== Выход, переход на фазу (0)
Note "QUIT" heading duplication. This causes oops.
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/cgi_frontend.py", line 103, in run
dispatch_request(os.getenv('PATH_INFO', ''), req, env)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 421, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 283, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/wiki/web_ui.py", line 115, in process_request
self._render_view(req, db, page)
File "/usr/lib/python2.3/site-packages/trac/wiki/web_ui.py", line 345, in _render_view
req.hdf['wiki.page_html'] = wiki_to_html(page.text, self.env, req)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 661, in wiki_to_html
Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 563, in format
result = re.sub(self.rules, self.replace, line)
File "/var/tmp/python2.3-2.3.5-root/usr/lib/python2.3/sre.py", line 143, in sub
return _compile(pattern, 0).sub(repl, string, count)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 222, in replace
return getattr(self, '_' + itype + '_formatter')(match, fullmatch)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 354, in _heading_formatter
while anchor in self._anchors:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
Attachments (0)
Change History (3)
comment:1 by , 20 years ago
| Status: | new → assigned |
|---|
comment:2 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.



Thanks! fixed in [1931].