Opened 18 years ago
Closed 18 years ago
#5100 closed defect (worksforme)
UndefinedError: "query" not defined
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /search
, Trac issued an internal error.
Just clicking on search after trying to upgrade to .11dev
System Information
Trac | 0.11dev-r5187
|
Python | 2.4.3 (#1, Oct 23 2006, 14:19:45) [GCC 4.1.1 20060525 (Red Hat 4.1.1-1)]
|
setuptools | 0.6c2
|
SQLite | 3.3.3
|
pysqlite | 1.1.7
|
Genshi | 0.4dev-r532
|
Subversion | 1.3.2 (r19776)
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5187-py2.4.egg/trac/web/main.py", line 429, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5187-py2.4.egg/trac/web/main.py", line 231, in dispatch content_type) File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5187-py2.4.egg/trac/web/chrome.py", line 567, in render_template return stream.render(method, doctype=doctype) File "build/bdist.linux-x86_64/egg/genshi/core.py", line 152, in render File "build/bdist.linux-x86_64/egg/genshi/output.py", line 180, in __call__ File "build/bdist.linux-x86_64/egg/genshi/output.py", line 425, in __call__ File "build/bdist.linux-x86_64/egg/genshi/output.py", line 585, in __call__ File "build/bdist.linux-x86_64/egg/genshi/output.py", line 365, in __call__ File "build/bdist.linux-x86_64/egg/genshi/core.py", line 221, in _ensure File "build/bdist.linux-x86_64/egg/genshi/core.py", line 221, in _ensure File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5187-py2.4.egg/trac/web/chrome.py", line 584, in _generate for kind, data, pos in stream: File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 241, in _include File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 311, in _match File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 241, in _include File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 286, in _match File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 275, in _strip File "build/bdist.linux-x86_64/egg/genshi/template/markup.py", line 231, in _exec File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 382, in _eval File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 431, in _flatten File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 244, in _apply_directives File "build/bdist.linux-x86_64/egg/genshi/template/directives.py", line 375, in __call__ File "build/bdist.linux-x86_64/egg/genshi/template/eval.py", line 131, in evaluate File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r5187-py2.4.egg/trac/search/templates/search.html", line 10, in <Expression u'query'> <title>Search<py:if test="query"> Results</py:if></title> File "build/bdist.linux-x86_64/egg/genshi/template/eval.py", line 230, in _lookup_name UndefinedError: "query" not defined
Attachments (0)
Change History (4)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Weird, I'm not able to reproduce this issue, using the same Trac version and the same Genshi version.
Could you provide the URL you've used?
comment:3 by , 18 years ago
I wonder what version you're upgrading from, because the last change on search/web_ui.py I think would have fixed exactly this problem.
comment:4 by , 18 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I was upgrading from 0.10.3. It's strange, when I run svn update
it says I'm at 5187, but web_ui.py isn't updated in the svn folder. I will try checking out again, but it's probably just a local issue. Thanks!
Hrm…what version did you upgrade from?