Edgewall Software
Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10973 closed defect (cantfix)

UnicodeEncodeError: 'ascii' codec can't encode character u'\xc9' in position 9: ordinal not in range(128)

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

Description

How to Reproduce

While doing a POST operation on /admin/agilo/backlogs/Sprint Backlog, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'3533e20f3d59375476c0908f',
 'alternative_description': u'',
 'alternative_drp_resources': u'',
 'alternative_estimated_remaining_time': u'',
 'alternative_keywords': u'',
 'alternative_mandatory_story_points': u'',
 'alternative_owner': u'',
 'alternative_rd_points': u'',
 'alternative_remaining_time': u'total_remaining_time',
 'alternative_reporter': u'',
 'alternative_resolution': u'',
 'alternative_roif': u'',
 'alternative_sprint': u'',
 'alternative_status': u'',
 'alternative_story_priority': u'',
 'alternative_time': u'',
 'alternative_total_remaining_time': u'',
 'alternative_total_story_points': u'',
 'cat_id': u'agilo',
 'order_description': u'',
 'order_drp_resources': u'2',
 'order_estimated_remaining_time': u'',
 'order_keywords': u'',
 'order_mandatory_story_points': u'',
 'order_owner': u'1',
 'order_rd_points': u'',
 'order_remaining_time': u'0',
 'order_reporter': u'',
 'order_resolution': u'',
 'order_roif': u'',
 'order_sprint': u'',
 'order_status': u'',
 'order_story_priority': u'',
 'order_time': u'',
 'order_total_remaining_time': u'',
 'order_total_story_points': u'',
 'panel_id': u'backlogs',
 'path_info': u'Sprint Backlog',
 'save': u'Save',
 'scope': u'1',
 'show_drp_resources': u'True',
 'show_owner': u'True',
 'show_remaining_time': u'True',
 'ticket_types': [u'story', u'task', u'Bug']}

User agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0

System Information

Trac 0.12.4
Agilo 0.9.8
Genshi 0.6 (without speedups)
Mercurial 2.2.3
psycopg2 2.4.5
Pygments 1.1.1
Python 2.6.8 (unknown, Sep 17 2012, 03:13:50)
[GCC 4.6.2 20111027 (Red Hat 4.6.2-1)]
setuptools 0.6c11
jQuery 1.4.4

Enabled Plugins

agilo 0.9.8
TicketImport 0.8.3
TracMercurial 0.12.0.31dev

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 522, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 243, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/trac/admin/web_ui.py", line 117, in process_request
    path_info)
  File "/usr/lib/python2.6/site-packages/agilo-0.9.8-py2.6.egg/agilo/api/admin.py", line 51, in render_admin_panel
    return self.detail_save_view(req, cat, page, path_info)
  File "/usr/lib/python2.6/site-packages/agilo-0.9.8-py2.6.egg/agilo/scrum/backlog/admin.py", line 125, in detail_save_view
    backlog_config.save()
  File "/usr/lib/python2.6/site-packages/agilo-0.9.8-py2.6.egg/agilo/scrum/backlog/backlog_config.py", line 187, in save
    self._save_to_config()
  File "/usr/lib/python2.6/site-packages/agilo-0.9.8-py2.6.egg/agilo/scrum/backlog/backlog_config.py", line 233, in _save_to_config
    config.save()
  File "/usr/lib/python2.6/site-packages/agilo-0.9.8-py2.6.egg/agilo/utils/config.py", line 415, in save
    self.agilo_config.reload()
  File "/usr/lib/python2.6/site-packages/agilo-0.9.8-py2.6.egg/agilo/utils/config.py", line 674, in reload
    self.notify_other_components_of_config_change()
  File "/usr/lib/python2.6/site-packages/agilo-0.9.8-py2.6.egg/agilo/utils/config.py", line 631, in notify_other_components_of_config_change
    listener.config_reloaded()
  File "/usr/lib/python2.6/site-packages/agilo-0.9.8-py2.6.egg/agilo/utils/permissions.py", line 67, in config_reloaded
    self.get_actions_for_custom_types()
  File "/usr/lib/python2.6/site-packages/agilo-0.9.8-py2.6.egg/agilo/utils/permissions.py", line 71, in get_actions_for_custom_types
    plain_name = str('CREATE_' + typename.upper())
UnicodeEncodeError: 'ascii' codec can't encode character u'\xc9' in position 9: ordinal not in range(128)

Attachments (0)

Change History (2)

comment:1 by Jun Omae, 11 years ago

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

comment:2 by stefano.rago@…, 11 years ago

@jomae: thanks for the cc @reporter: please write to support@…

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.