Modify ↓
#10971 closed defect (cantfix)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 18: ordinal not in range(128)
Reported by: | nathanr | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.12.3 |
Severity: | normal | Keywords: | |
Cc: | support@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /backlog/Sprint Backlog/DT Hyderbad shippment
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'format': u'csv', 'name': u'Sprint Backlog', 'scope': u'DT Hyderbad shippment'}
User agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/17.0 Firefox/17.0
System Information
Trac | 0.12.3
|
Trac | 0.12.3
|
Agilo | 0.9.6.2
|
Babel | 0.9.5
|
Docutils | 0.7
|
Genshi | 0.6
|
mod_wsgi | 2.5 (WSGIProcessGroup trac_wsgi_01 WSGIApplicationGroup %{GLOBAL})
|
Pygments | 1.4dev-20110115
|
pysqlite | 2.4.1
|
Python | 2.5.2 (r252:60911, Jan 24 2010, 18:02:01) [GCC 4.3.2]
|
Python | 2.5.2 (r252:60911, Jan 24 2010, 18:02:01) [GCC 4.3.2]
|
pytz | 2008c
|
pytz | 2008c
|
RPC | 1.1.2
|
setuptools | 0.6c12
|
setuptools | 0.6c12
|
SQLite | 3.7.3
|
Subversion | 1.7.5 (r1336830)
|
jQuery | 1.4.4
|
Enabled Plugins
agilo | 0.9.6.2
|
SecureSession | 0.10dev-r1500
|
TicketImport | 0.8
|
TracAnnouncer | 0.12.1.dev
|
TracDiscussion | 0.8-r9877
|
tracrpc.changeset | N/A
|
TracXMLRPC | 1.1.2
|
Python Traceback
Traceback (most recent call last): File "/usr/local/lib/python2.5/site-packages/Trac-0.12.3-py2.5.egg/trac/web/main.py", line 522, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.5/site-packages/Trac-0.12.3-py2.5.egg/trac/web/main.py", line 243, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/api/view.py", line 155, in process_request return self._call_filters_and_handler(req, handler) File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/api/view.py", line 143, in _call_filters_and_handler data = handler(req) or {} File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/scrum/backlog/web_ui.py", line 321, in do_get send_backlog_as(self.env, req, backlog, req.args['format']) File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/scrum/backlog/csv_export.py", line 50, in send_backlog_as mime.send_converted(req, BACKLOG_CONVERSION_KEY, backlog, format, filename=backlog.scope) File "/usr/local/lib/python2.5/site-packages/Trac-0.12.3-py2.5.egg/trac/mimeview/api.py", line 983, in send_converted content, selector) File "/usr/local/lib/python2.5/site-packages/Trac-0.12.3-py2.5.egg/trac/mimeview/api.py", line 682, in convert_content output = converter.convert_content(req, mimetype, content, ck) File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/scrum/backlog/csv_export.py", line 66, in convert_content return self.export_csv(req, backlog, mimetype='text/csv') File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/scrum/backlog/csv_export.py", line 103, in export_csv self._export_ticket(req, ticket, writer, field_names) File "/usr/local/lib/python2.5/site-packages/agilo-0.9.6.2-py2.5.egg/agilo/scrum/backlog/csv_export.py", line 90, in _export_ticket cols.append(str(value).encode('utf-8')) UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 18: ordinal not in range(128)
Attachments (0)
Note:
See TracTickets
for help on using tickets.
PluginIssue (AgiloForScrum).