Edgewall Software
Modify

Ticket #1367 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Error when entering report:1

Reported by: shad Owned by: daniel
Priority: normal Milestone:
Component: report system Version: devel
Severity: minor Keywords:
Cc:
Release Notes:
API Changes:

Description (last modified by cmlenz) (diff)

Error accessing URL:
http://projects.edgewall.com/trac/report/1

Trac detected an internal error:
string index out of range

Python traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/ModPythonHandler.py", line 200, in handler
    core.dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 453, in dispatch_request
    module.run(req)
  File "/usr/lib/python2.3/site-packages/trac/Module.py", line 46, in run
    self.render(req)
  File "/usr/lib/python2.3/site-packages/trac/Report.py", line 429, in render
    self.render_report_list(req, id)
  File "/usr/lib/python2.3/site-packages/trac/Report.py", line 355, in render_report_list
    value['parsed'] = wiki_to_html(cell, req.hdf, self.env, self.db)
  File "/usr/lib/python2.3/site-packages/trac/WikiFormatter.py", line 619, in wiki_to_html
    Formatter(hdf, env, db, absurls).format(wikitext, out)
  File "/usr/lib/python2.3/site-packages/trac/WikiFormatter.py", line 596, in format
    result = re.sub(rules, self.replace, line)
  File "/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/WikiFormatter.py", line 67, in replace
    return getattr(self, '_' + itype + '_formatter')(match, fullmatch)
  File "/usr/lib/python2.3/site-packages/trac/WikiFormatter.py", line 385, in _heading_formatter
    if anchor[0].isdigit():
IndexError: string index out of range

Attachments

Change History

comment:1 Changed 7 years ago by cmlenz

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed

The problem leading to that error has been fixed in trunk. I've removed the description of the ticket causing the problem, so the report now works here again.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from daniel. Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.