mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 17:36:01 +03:00
[GH-ISSUE #260] Unicode encode error while displaying 'Identities' #245
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#245
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tonioo on GitHub (Dec 4, 2013).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/260
Originally assigned to: @tonioo on GitHub.
Originally created by Antoine Nguyen on 2012-06-05T15:04:38Z
Using the german translation, displaying the 'Identities' page fails with the following error:
TemplateSyntaxError at /admin/identities/ Caught UnicodeEncodeError while rendering: 'ascii' codec can't encode character u'\xe4' in position 9: ordinal not in range(128) Request Method: GET Request URL: http://modoboa.state-of-mind.de/admin/identities/ Django Version: 1.3 Exception Type: TemplateSyntaxError Exception Value: Caught UnicodeEncodeError while rendering: 'ascii' codec can't encode character u'\xe4' in position 9: ordinal not in range(128) Exception Location: /usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg/django/utils/encoding.py in force_unicode, line 74 Python Executable: /usr/bin/python Python Version: 2.6.6 Python Path: ['/srv/www/modoboa', '/usr/local/bin', '/usr/local/lib/python2.6/dist-packages/Django-1.3-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/South-0.7.3-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/gunicorn-0.12.2-py2.6.egg', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages', '/usr/lib/pymodules/python2.6', '/srv/www', '/srv/www/modoboa'] Server time: Di, 5 Jun 2012 17:02:21 +0200 Template error In template /srv/www/modoboa/templates/common/table_head.html, error at line 3 Caught UnicodeEncodeError while rendering: 'ascii' codec can't encode character u'\xe4' in position 9: ordinal not in range(128) 1 2 3 {% for c in table.columns %} 4 {% if c.sortable %} 5 6 {% else %} 7 8 {% endif %} 9 {{ c|safe }} 10
11
12 {% endfor %}
13