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 <1312309219.29.0.7170500732.issue12678@psf.upfronthosting.co.za>
In-reply-to
Content
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\tarfile.py", line 1802, in gzopen
    fileobj = gzip.GzipFile(name, mode + "b", compresslevel, fileobj)
  File "D:\Buildslave\3.x.moore-windows\build\lib\gzip.py", line 145, in __init__
    fileobj = self.myfileobj = builtins.open(filename, 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\test_sdist.py", line 385, in test_manual_manifest
    archive = tarfile.open(archive_name)
  File "D:\Buildslave\3.x.moore-windows\build\lib\tarfile.py", line 1736, in open
    return func(name, "r", fileobj, **kwargs)
  File "D:\Buildslave\3.x.moore-windows\build\lib\tarfile.py", line 1806, in gzopen
    fileobj.close()
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.
History
Date User Action Args
2011-08-02 18:20:19eric.araujosetrecipients: + eric.araujo, pitrou, alexis
2011-08-02 18:20:19eric.araujosetmessageid: <1312309219.29.0.7170500732.issue12678@psf.upfronthosting.co.za>
2011-08-02 18:20:18eric.araujolinkissue12678 messages
2011-08-02 18:20:18eric.araujocreate