Edgewall Software

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#12087 closed defect (cantfix)

UnicodeEncodeError: 'ascii' codec can't encode characters in position 75-76: ordinal not in range(128)

Reported by: vstjoar Owned by:
Priority: normal Milestone:
Component: general Version: 1.0.1
Severity: normal Keywords:
Cc: support@… Branch:
Release Notes:
API Changes:
Internal Changes:


How to Reproduce

While doing a POST operation on /newticket, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'a3546508b91eaa707be9c0d4',
 'field_checkbox_unplanned': u'1',
 'field_description': u'',
 'field_found_sw': u'',
 'field_integrated_sw': u'',
 'field_owner': u'vntrotq',
 'field_planned_time': u'32',
 'field_remaining_time': u'32',
 'field_reporter': u'vstjoar',
 'field_sprint': u'Sprint7 - Simula\xe7\xf5es',
 'field_summary': u'Gr\xe1ficos para simula\xe7\xe3o',
 'field_type': u'task',
 'field_worked_hours': u'0',
 'src': u'806',
 'submit': u'Create ticket'}

User agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36

System Information

Trac 1.0.1
Trac 1.0.1
Agilo 1.3.13-PRO
Genshi 0.7 (with speedups)
mod_python 3.3.1
psycopg2 2.4.5
Pygments 1.6
Python 2.7.3 (default, Dec 18 2014, 19:25:50)
[GCC 4.6.3]
Python 2.7.3 (default, Dec 18 2014, 19:25:50)
[GCC 4.6.3]
RPC 1.1.2
setuptools 0.6c11
setuptools 0.6c11
Subversion 1.6.17 (r1128011)
jQuery 1.7.2

Enabled Plugins

AdvancedTicketWorkflowPlugin 0.11dev
binary-agilo 1.3.13-PRO
TicketImport 0.8.3
TracTicketValidator 0.1
TracXMLRPC 1.1.2

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 497, in _dispatch_request
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 256, in dispatch
    raise HTTPInternalError(e)
  File "build/bdist.linux-x86_64/egg/trac/web/api.py", line 140, in __init__
UnicodeEncodeError: 'ascii' codec can't encode characters in position 75-76: ordinal not in range(128)

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 7 years ago

Cc: support@… added
Resolution: cantfix
Status: newclosed

Weird, I suppose there must be some str(x) statement involved, with x being unicode, when the exception (e then self.detail) is converted into a string (inside a __str__ method?). If the error is easily reproducible, it would help to add some logging before the raise HTTPInternalError(e) line to see exactly what e is, here.

Most likely a PluginIssue (AgiloForScrum?), as I don't think we had such thing in the core. Please reopen if not.

comment:2 by claudio.dicosmo@…, 7 years ago

Hi, @reporter: can you please send us an email at support@… with the detail of the issue?

Thank you

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) 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.