Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#10388 closed defect (cantfix)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 49: ordinal not in range(128)

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

Description

How to Reproduce

While doing a POST operation on /admin/agilo/fields/fase, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'713567f40d9550a87e7e49c9',
 'cat_id': u'agilo',
 'cols': u'',
 'label': u'Fase',
 'name': u'fase',
 'options': u'Planejamento\r\nProjeto\r\nDesenvolvimento\r\nTeste\r\nAceita\xe7\xe3o\r\nN\xe3o se aplica',
 'order': u'0',
 'panel_id': u'fields',
 'path_info': u'fase',
 'rows': u'',
 'save': u'Save',
 'type': u'select',
 'value': u'Planejamento'}

User Agent was: Mozilla/5.0 (Windows NT 6.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2

System Information

Trac 0.11.2.1
Python 2.4.3 (#1, Sep 3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
setuptools 0.6c8
SQLite 3.3.6
pysqlite 1.1.7
Genshi 0.5.1
Pygments 1.0
Agilo 0.7.3.3-r1417-20090313
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/main.py", line 432, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/web/main.py", line 204, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/admin/web_ui.py", line 113, in process_request
    path_info)
  File "/usr/lib/python2.4/site-packages/agilo-0.7.3.3_r1417_20090313-py2.4.egg/agilo/admin/api.py", line 54, in render_admin_panel
    return self.detail_save_view(req, cat, page, path_info)
  File "/usr/lib/python2.4/site-packages/agilo-0.7.3.3_r1417_20090313-py2.4.egg/agilo/admin/custom_fields.py", line 77, in detail_save_view
    self.cfapi.update_custom_field(cfdict)
  File "/usr/lib/python2.4/site-packages/agilo-0.7.3.3_r1417_20090313-py2.4.egg/agilo/admin/custom_fields.py", line 246, in update_custom_field
    self._store_all_options_for_custom_field(customfield)
  File "/usr/lib/python2.4/site-packages/agilo-0.7.3.3_r1417_20090313-py2.4.egg/agilo/admin/custom_fields.py", line 183, in _store_all_options_for_custom_field
    self.tc.save()
  File "/usr/lib/python2.4/site-packages/agilo-0.7.3.3_r1417_20090313-py2.4.egg/agilo/utils/config.py", line 225, in save
    self.env.config.save()
  File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1-py2.4.egg/trac/config.py", line 199, in save
    fileobj.write('%s = %s\n' % (key, val.encode('utf-8')))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 49: ordinal not in range(128)

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 13 years ago

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

comment:2 by Christian Boos, 13 years ago

Must be a duplicate of #8276.

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.