Message242843
I can reproduce the failure by arbitrarily adding a non-ascii character to one of the mailcap files searched for by the mailcap module (https://docs.python.org/3/library/mailcap.html#mailcap.getcaps), like $HOME/.mailcap, and by setting the process to an ascii-only locale (export LANG=C). While this might be a somewhat unusual combination in practice, mailcap should be able to handle it.
By the way, this is a Python 3 problem since test_mailcap does not exist in Python 2. 2.7.6 might be the version of the system-supplied Python, but you appeared to be running with a Python you built. Try
./python -V
to show the version of the Python you are using. |
|
Date |
User |
Action |
Args |
2015-05-09 21:42:06 | ned.deily | set | recipients:
+ ned.deily, petrosr2 |
2015-05-09 21:42:06 | ned.deily | set | messageid: <1431207726.47.0.905480320163.issue24152@psf.upfronthosting.co.za> |
2015-05-09 21:42:06 | ned.deily | link | issue24152 messages |
2015-05-09 21:42:06 | ned.deily | create | |
|