[New-bugs-announce] [issue8442] Broken zipfile with python 3.2 on osx

Ronald Oussoren report at bugs.python.org
Sun Apr 18 17:15:37 CEST 2010


New submission from Ronald Oussoren <ronaldoussoren at mac.com>:

In the output of test_distutils with python 3.2 (current version checkout):
======================================================================
ERROR: test_prune_file_list (distutils.tests.test_sdist.SDistTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ronald/Projects/python/python-3.x/Lib/distutils/tests/test_sdist.py", line 131, in test_prune_file_list
    zip_file = zipfile.ZipFile(join(dist_folder, 'fake-1.0.zip'))
  File "/Users/ronald/Projects/python/python-3.x/Lib/zipfile.py", line 684, in __init__
    self._GetContents()
  File "/Users/ronald/Projects/python/python-3.x/Lib/zipfile.py", line 710, in _GetContents
    self._RealGetContents()
  File "/Users/ronald/Projects/python/python-3.x/Lib/zipfile.py", line 758, in _RealGetContents
    filename = filename.decode('cp437')
LookupError: unknown encoding: cp437

----------
components: Library (Lib)
messages: 103495
nosy: ronaldoussoren
priority: release blocker
severity: normal
stage: needs patch
status: open
title: Broken zipfile with  python 3.2 on osx
type: behavior
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8442>
_______________________________________


More information about the New-bugs-announce mailing list