Modify ↓
Opened 19 years ago
Closed 19 years ago
#4046 closed defect (worksforme)
TypeError: href() takes at least 2 arguments (1 given)
| 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 /ticket/149, Trac issued an internal error.
System Information
| Python | 2.4.3 (#1, Jun 13 2006, 16:41:45) [GCC 4.0.2 20051125 (Red Hat 4.0.2-8)] |
| SQLite | 3.1.2
|
| pysqlite | 1.1.6
|
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 361, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 213, in dispatch
content_type)
File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line 502, in render_template
return stream.render(method, doctype=doctype)
File "build/bdist.linux-x86_64/egg/genshi/core.py", line 141, in render
File "build/bdist.linux-x86_64/egg/genshi/output.py", line 200, in __call__
File "build/bdist.linux-x86_64/egg/genshi/output.py", line 488, in __call__
File "build/bdist.linux-x86_64/egg/genshi/output.py", line 436, in __call__
File "build/bdist.linux-x86_64/egg/genshi/core.py", line 202, in _ensure
File "build/bdist.linux-x86_64/egg/genshi/core.py", line 202, in _ensure
File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line 505, in _strip_accesskeys
for kind, data, pos in stream:
File "build/bdist.linux-x86_64/egg/genshi/filters.py", line 147, in __call__
File "build/bdist.linux-x86_64/egg/genshi/template.py", line 1143, in _match
File "build/bdist.linux-x86_64/egg/genshi/filters.py", line 147, in __call__
File "build/bdist.linux-x86_64/egg/genshi/template.py", line 1118, in _match
File "build/bdist.linux-x86_64/egg/genshi/template.py", line 1107, in _strip
File "build/bdist.linux-x86_64/egg/genshi/template.py", line 943, in _eval
File "build/bdist.linux-x86_64/egg/genshi/template.py", line 943, in _eval
File "build/bdist.linux-x86_64/egg/genshi/template.py", line 912, in _eval
File "build/bdist.linux-x86_64/egg/genshi/template.py", line 922, in _eval
File "build/bdist.linux-x86_64/egg/genshi/eval.py", line 97, in evaluate
TypeError: href() takes at least 2 arguments (1 given)
I clicked on the ticket after an upgrade to .11dev (latest)
Attachments (0)
Note:
See TracTickets
for help on using tickets.



Probably an early Trac 0.11dev issue…