This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients alexis, eric.araujo, pitrou
Date 2011-08-02.18:20:18
SpamBayes Score 3.68684e-09
Marked as misclassified No
Message-id <>
Here’s the distutils error:

ERROR: test_manual_manifest (distutils.tests.test_sdist.SDistTestCase)
Traceback (most recent call last):
  File "D:\Buildslave\3.x.moore-windows\build\lib\", line 1802, in gzopen
    fileobj = gzip.GzipFile(name, mode + "b", compresslevel, fileobj)
  File "D:\Buildslave\3.x.moore-windows\build\lib\", line 145, in __init__
    fileobj = self.myfileobj =, mode or 'rb')
IOError: [Errno 2] No such file or directory: 'c:\\docume~1\\pydev\\locals~1\\temp\\tmptlkdmc\\dist\\fake-1.0.tar.gz'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Buildslave\3.x.moore-windows\build\lib\distutils\tests\", line 385, in test_manual_manifest
    archive =
  File "D:\Buildslave\3.x.moore-windows\build\lib\", line 1736, in open
    return func(name, "r", fileobj, **kwargs)
  File "D:\Buildslave\3.x.moore-windows\build\lib\", line 1806, in gzopen
AttributeError: 'NoneType' object has no attribute 'close'

It looks like an issue with a temporary file removed too soon.  I’ll look into it shortly.

For packaging, the bug is related to os.path.relpath.  I actually want to remove the use of relpath because of another bug (not reported yet, will do soon), so we’ll have to live with this failure for a while until the code is changed.
Date User Action Args
2011-08-02 18:20:19eric.araujosetrecipients: + eric.araujo, pitrou, alexis
2011-08-02 18:20:19eric.araujosetmessageid: <>
2011-08-02 18:20:18eric.araujolinkissue12678 messages
2011-08-02 18:20:18eric.araujocreate