[Mailman-Developers] MM 3 alpha 4: UnicodeWarning

Ian Eiloart iane at sussex.ac.uk
Tue Dec 1 14:05:15 CET 2009



--On 30 November 2009 13:39:24 -0800 Mark Sapiro <mark at msapiro.net> wrote:

> Ian Eiloart wrote:
>>
>> I got a unicode warning, too. Running alpha4 with python26 on OSX 10.5.
>> I didn't have Pyrex installed, and got warnings during the build
>> process. Don't know if that's related.
>
>
> It's different from Patrick's warning.
>
> In your case, the issue appears to be the non-ascii character (0xe2
> a-circumflex) in the name of the
> /Users/iane/Downloads ?/ directory

Ah. Good spot. That's • alt-8 on an Apple keyboard. The character 
prevents my backup client backing up the directory. Wouldn't happen in a 
production environment. Thanks, Mark.

>
>>  File "/Users/iane/Downloads
>> •/mailman-3.0.0a4/src/mailman/tests/test_bounces.py", line 193, in
>> test_SMTP32_failure
>>    with open(os.path.join(MSGDIR, 'postfix_01.txt')) as fp:
>>  File
>> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2
>> .6/posixpath.py", line 70, in join
>>    path += '/' + b
>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 22:
>> ordinal not in range(128)
>
> Presumably MSGDIR has the same "/Users/iane/Downloads
> •/mailman-3.0.0a4/" prefix.



-- 
Ian Eiloart
IT Services, University of Sussex
01273-873148 x3148
For new support requests, see http://www.sussex.ac.uk/its/help/


More information about the Mailman-Developers mailing list