Modify ↓
Opened 15 years ago
Closed 15 years ago
#9315 closed defect (cantfix)
UnicodeEncodeError: ('ascii', u'Zg\u0142oszona poprawka - ju\u017c wprowadzona i do test\xf3w - kiedy dostajemy FREEGAMES, nie dostajemy double (serwer gier nie akceptowa\u0142 takiego przej\u015bcia)', 2, 3, 'ordinal not in range(128)')
Reported by: | czarny | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.7 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a POST operation on /ticket/40
, Trac issued an internal error.
During posting Add/Change to the ticket (not modyfying description - this is OK) an error is occuring. NOTE: posted changes are saved into DB, but error is getting pretty annoying.
Oops… Trac detected an internal error: UnicodeEncodeError: ('ascii', u'Zg\u0142oszona poprawka - ju\u017c wprowadzona i do test\xf3w - kiedy dostajemy FREEGAMES, nie dostajemy double (serwer gier nie akceptowa\u0142 takiego przej\u015bcia)', 2, 3, 'ordinal not in range(128)') This is probably a local installation issue.
Request parameters:
{'__FORM_TOKEN': u'35360b3c54a615759ce6d2e4', 'action': u'accept', 'cnum': u'2', 'comment': u'Zg\u0142oszona poprawka - ju\u017c wprowadzona i do test\xf3w - kiedy dostajemy FREEGAMES, nie dostajemy double (serwer gier nie akceptowa\u0142 takiego przej\u015bcia)', 'field_billable': u'1', 'field_blockedby': u'', 'field_blocking': u'', 'field_cc': u'marcin', 'field_checkbox_billable': u'1', 'field_checkbox_internal': u'1', 'field_component': u'MultiGame', 'field_description': u'Prosz\u0119 o przetestowanie wst\u0119pnej wersji BurningTarget, jak tylko zostanie dostarczona.', 'field_estimatedhours': u'0.0', 'field_hours': u'0', 'field_keywords': u'', 'field_milestone': u'Wypuszczenie Burning Target', 'field_priority': u'krytyczny', 'field_reporter': u'czarny', 'field_summary': u'[MG.HS.BT] BurningTarget - testy', 'field_totalhours': u'0', 'field_type': u'Zadanie', 'id': u'40', 'replyto': u'', 'submit': u'Submit changes', 'ts': u'2010-05-05 08:43:24+00:00'}
User Agent was: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2) Gecko/20100207 Namoroka/3.6
System Information
Trac | 0.11.7
|
Python | 2.6.4 (r264:75706, Dec 7 2009, 19:02:09) [GCC 4.4.1]
|
setuptools | 0.6c9
|
psycopg2 | 2.0.8
|
Genshi | 0.6
|
mod_python | 3.3.1
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/web/main.py", line 450, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/web/main.py", line 206, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/ticket/web_ui.py", line 182, in process_request return self._process_ticket_request(req) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/ticket/web_ui.py", line 513, in _process_ticket_request self._do_save(req, ticket, action) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/ticket/web_ui.py", line 1034, in _do_save cnum=internal_cnum): File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.7-py2.6.egg/trac/ticket/model.py", line 299, in save_changes listener.ticket_changed(self, comment, author, old_values) File "build/bdist.linux-i686/egg/notify/notify.py", line 50, in ticket_changed (str(ticket), str(comment), str(author), str(old_values))) UnicodeEncodeError: 'ascii' codec can't encode character u'\u0142' in position 2: ordinal not in range(128)
Attachments (0)
Note:
See TracTickets
for help on using tickets.
PluginIssue (notify?).