Ticket #205 (closed defect: fixed)
Trac Wiki: Internal Server Error
| Reported by: | bheekling | Owned by: | ferringb |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | trac-plugins | Version: | |
| Keywords: | lynch_trac | Cc: |
Description
Goto http://www.pkgcore.org/trac/pkgcore/wiki/Branches
Sharpen the pitchforks
Lynch trac.
Oops…
Trac detected an internal error:
AttributeError: NotBranchError instance has no attribute 'args'
There was an internal error in Trac. It is recommended that you inform your local Trac administrator and give him all the information he needs to reproduce the issue.
To that end, you could ==== How to Reproduce ==== While doing a GET operation on `/wiki/Branches`, Trac issued an internal error. ''(please provide additional details here)'' Request parameters: {{{ {'page': u'Branches'} }}} ==== System Information ==== || '''Trac''' || `0.11b2` || || '''Python''' || `2.4.4 (#1, May 29 2008, 21:32:47) ` [[br]] `[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)]` || || '''setuptools''' || `0.6c8` || || '''SQLite''' || `3.5.6` || || '''pysqlite''' || `2.3.5` || || '''Genshi''' || `0.4.4` || || '''Pygments''' || `0.10` || ==== Python Traceback ==== {{{ Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/trac/web/main.py", line 419, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib64/python2.4/site-packages/trac/web/main.py", line 218, in dispatch data, content_type) File "/usr/lib64/python2.4/site-packages/trac/web/chrome.py", line 704, in render_template return stream.render(method, doctype=doctype) File "/usr/lib64/python2.4/site-packages/genshi/core.py", line 154, in render return encode(generator, method=method, encoding=encoding) File "/usr/lib64/python2.4/site-packages/genshi/output.py", line 45, in encode output = u''.join(list(iterator)) File "/usr/lib64/python2.4/site-packages/genshi/output.py", line 274, in __call__ for kind, data, pos in stream: File "/usr/lib64/python2.4/site-packages/genshi/output.py", line 519, in __call__ for kind, data, pos in stream: File "/usr/lib64/python2.4/site-packages/genshi/output.py", line 679, in __call__ for kind, data, pos in chain(stream, [(None, None, None)]): File "/usr/lib64/python2.4/site-packages/genshi/output.py", line 459, in __call__ for ev in stream: File "/usr/lib64/python2.4/site-packages/genshi/core.py", line 212, in _ensure for event in stream: File "/usr/lib64/python2.4/site-packages/genshi/core.py", line 212, in _ensure for event in stream: File "/usr/lib64/python2.4/site-packages/trac/web/chrome.py", line 756, in _strip_accesskeys for kind, data, pos in stream: File "/usr/lib64/python2.4/site-packages/genshi/core.py", line 212, in _ensure for event in stream: File "/usr/lib64/python2.4/site-packages/trac/web/chrome.py", line 745, in _generate for kind, data, pos in stream: File "/usr/lib64/python2.4/site-packages/genshi/template/markup.py", line 252, in _include for event in stream: File "/usr/lib64/python2.4/site-packages/genshi/template/markup.py", line 322, in _match content = list(self._include(content, ctxt)) File "/usr/lib64/python2.4/site-packages/genshi/template/markup.py", line 252, in _include for event in stream: File "/usr/lib64/python2.4/site-packages/genshi/template/markup.py", line 297, in _match for event in stream: File "/usr/lib64/python2.4/site-packages/genshi/template/markup.py", line 286, in _strip event = stream.next() File "/usr/lib64/python2.4/site-packages/genshi/template/markup.py", line 242, in _exec for event in stream: File "/usr/lib64/python2.4/site-packages/genshi/template/base.py", line 421, in _eval result = data.evaluate(ctxt) File "/usr/lib64/python2.4/site-packages/genshi/template/eval.py", line 136, in evaluate return eval(self.code, _globals, {'data': data}) File "/usr/lib64/python2.4/site-packages/trac/wiki/templates/wiki_view.html", line 37, in <Expression u'wiki_to_html(context, page.text)'> ${wiki_to_html(context, page.text)} File "/usr/lib64/python2.4/site-packages/trac/util/compat.py", line 130, in newfunc return func_(*(args + fargs), **dict(kwargs, **fkwargs)) File "/usr/lib64/python2.4/site-packages/trac/wiki/formatter.py", line 1091, in format_to_html return HtmlFormatter(env, context, wikidom).generate(escape_newlines) File "/usr/lib64/python2.4/site-packages/trac/wiki/formatter.py", line 1050, in generate escape_newlines) File "/usr/lib64/python2.4/site-packages/trac/wiki/formatter.py", line 859, in format result = re.sub(self.wikiparser.rules, self.replace, line) File "/usr/lib/python2.4/sre.py", line 142, in sub return _compile(pattern, 0).sub(repl, string, count) File "/usr/lib64/python2.4/site-packages/trac/wiki/formatter.py", line 804, in replace replacement = self.handle_match(fullmatch) File "/usr/lib64/python2.4/site-packages/trac/wiki/formatter.py", line 800, in handle_match return internal_handler(match, fullmatch) File "/usr/lib64/python2.4/site-packages/trac/wiki/formatter.py", line 473, in _macro_formatter e) File "/usr/lib64/python2.4/site-packages/trac/wiki/formatter.py", line 48, in system_message return tag.div(tag.strong(msg), text and tag.pre(text), File "/usr/lib64/python2.4/site-packages/genshi/builder.py", line 249, in __call__ Fragment.__call__(self, *args) File "/usr/lib64/python2.4/site-packages/genshi/builder.py", line 95, in __call__ map(self.append, args) File "/usr/lib64/python2.4/site-packages/genshi/builder.py", line 124, in append map(self.append, iter(node)) AttributeError: NotBranchError instance has no attribute 'args' }}} a ticket at this site.
The action that triggered the error was:
GET: /wiki/Branches
Change History
Note: See
TracTickets for help on using
tickets.
