[Mailman-Developers] MM 3 alpha 4: UnicodeWarning

Mark Sapiro mark at msapiro.net
Mon Nov 30 22:39:24 CET 2009


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

>  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.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Developers mailing list