Modify ↓
Ticket #6848 (closed defect: invalid)
Opened 4 years ago
Last modified 4 years ago
Crash when viewing active tickets
| Reported by: | mick@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | roadmap | Version: | 0.10.4 |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description (last modified by eblot) (diff)
Each time when I click on roadmap -> active tickets of any milestone, the script crashes, see traceback below:
Traceback (most recent call last):
File "/data/devjavu/current/trac/lib/trac/web/main.py", line 418, in dispatch_request
dispatcher.dispatch(req)
File "/data/devjavu/current/trac/lib/trac/web/main.py", line 241, in dispatch
resp = chosen_handler.process_request(req)
File "/data/devjavu/current/trac/lib/trac/ticket/query.py", line 443, in process_request
self.display_html(req, query)
File "/data/devjavu/current/trac/lib/trac/ticket/query.py", line 606, in display_html
ticket[field] = armor_email(req, value)
File "/data/devjavu/current/trac/lib/trac/web/chrome.py", line 79, in armor_email
if str(email).find('@') != -1:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 18: ordinal not in range(128)
Attachments
Change History
comment:1 Changed 4 years ago by eblot
- Description modified (diff)
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.



There is no such code in Trac:
File "/data/devjavu/current/trac/lib/trac/web/chrome.py", line 79, in armor_email if str(email).find('@') != -1:The original file has been patched, see tags/trac-0.10.4/trac/web/chrome.py#L79