classification
Title: unicode decode error due to improperly entered text "Martin v. Löwis"
Type: compile error Stage:
Components: Distutils Versions: Python 3.1
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: tarek Nosy List: loewis, srid, tarek, trentm
Priority: normal Keywords: patch

Created on 2009-05-08 22:11 by srid, last changed 2009-05-09 07:13 by loewis. This issue is now closed.

Files
File name Uploaded Description Edit
issue5974.patch srid, 2009-05-08 22:42 Patch that is verified to fix this issue.
Messages (2)
msg87476 - (view) Author: Sridhar Ratnakumar (srid) Date: 2009-05-08 22:11
$ python3.1 -Wi -tt -O
/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/compileall.py
-x badsyntax -x site-packages -x test
/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/distutils/command/
Listing
/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/distutils/command/
...
Compiling
/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/distutils/command/bdist_msi.py
...
*** UnicodeDecodeError: 'utf8' codec can't decode bytes in position
62-65: invalid data


...

$ grep -R Martin
/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1//Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/distutils/command/bdist_msi.py:#
Copyright (C) 2005, 2006 Martin v. L####
....
/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/idlelib/CREDITS.txt:Jim
Jewett, Martin v. L####, Jason Orendorff, Guilherme Polo, Josh Robb,

..

This is causing the ActivePython postinstall script to fail.

As a suggestion only, it may be a good idea to have a separate test case
that to look for unicode decode errors in modules.
msg87484 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2009-05-09 07:13
Thanks for the patch. Fixed in r72496.
History
Date User Action Args
2009-05-09 07:13:38loewissetstatus: open -> closed

nosy: + loewis
messages: + msg87484

resolution: accepted
2009-05-08 22:42:04sridsetfiles: + issue5974.patch
keywords: + patch
2009-05-08 22:11:42sridcreate