Modify ↓
Opened 14 years ago
Closed 14 years ago
#9413 closed defect (duplicate)
Wrong parameter type in ticket/web_ui.py in method _process_ticket_request
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.1-py2.6.egg/trac/web/main.py", line 423, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.1-py2.6.egg/trac/web/main.py", line 197, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.1-py2.6.egg/trac/ticket/web_ui.py", line 170, in process_request return self._process_ticket_request(req) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.1-py2.6.egg/trac/ticket/web_ui.py", line 482, in _process_ticket_request tag.p('in your ', tag.tt('trac.ini'), '.')) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.1-py2.6.egg/trac/web/chrome.py", line 116, in add_warning req.chrome['warnings'].append(msg % args) TypeError: unsupported operand type(s) for %: 'Fragment' and 'tuple'
I solved this problem this way:
add_warning(req, tag(tag.p('Please review your configuration, ' 'probably starting with'), tag.pre('[trac]\nworkflow = ...\n'), tag.p('in your ', tag.tt('trac.ini'), '.')).__html__()
Attachments (0)
Change History (1)
comment:1 by , 14 years ago
Milestone: | 0.11.7.1 |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Version: | 0.11.7 → 0.11.1 |
Note:
See TracTickets
for help on using tickets.
Have you tried to upgrade?
Duplicate of #7474.