Mercurial > kallithea
view docs/index.rst @ 6774:cce5a8388cde stable
email: don't crash on sending mails with unicode comments without appropriate environment configuration (Issue #275)
For example, on Linux, running `gearbox serve` with LANG=C, would crash in:
File ".../kallithea/lib/celerylib/tasks.py", line 307, in send_email
% (' '.join(recipients), headers, subject, body, html_body))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 224: ordinal not in range(128)
Replacing render with render_unicode works in this case ... but there might be
other problems elsewhere.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 30 May 2017 02:59:45 +0200 |
parents | cc21a2b86a30 |
children | 9c6f717823e1 |
line wrap: on
line source
.. _index: ####################### Kallithea Documentation ####################### **Readme** .. toctree:: :maxdepth: 1 readme **Installation** .. toctree:: :maxdepth: 1 overview installation installation_win installation_win_old installation_iis setup installation_puppet **Usage** .. toctree:: :maxdepth: 1 usage/general usage/vcs_support usage/locking usage/statistics **Administrator's guide** .. toctree:: :maxdepth: 1 usage/email usage/performance usage/backup usage/debugging usage/troubleshooting **Development** .. toctree:: :maxdepth: 1 contributing changelog **API** .. toctree:: :maxdepth: 1 api/api api/models Other topics ------------ * :ref:`genindex` * :ref:`search` .. _virtualenv: http://pypi.python.org/pypi/virtualenv .. _python: http://www.python.org/ .. _django: http://www.djangoproject.com/ .. _mercurial: https://www.mercurial-scm.org/ .. _bitbucket: http://bitbucket.org/ .. _subversion: http://subversion.tigris.org/ .. _git: http://git-scm.com/ .. _celery: http://celeryproject.org/ .. _Sphinx: http://sphinx.pocoo.org/ .. _vcs: http://pypi.python.org/pypi/vcs