Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#6848 closed defect (invalid)

Crash when viewing active tickets

Reported by: mick@… Owned by: Christopher Lenz
Priority: high Milestone:
Component: roadmap Version: 0.10.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Emmanuel Blot)

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 (0)

Change History (1)

comment:1 by Emmanuel Blot, 17 years ago

Description: modified (diff)
Resolution: invalid
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.