[New-bugs-announce] [issue6053] distutils error on windows
Hirokazu Yamamoto
report at bugs.python.org
Mon May 18 13:07:51 CEST 2009
New submission from Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp>:
I found two distutils error on windows.
1. If the implementation of ensure_relative is correct, test should be
fixed like attached patch.
2. I got tar error. This happens because tar command I'm using cannot
recognize path with drive letter. For example, "tar -cf r:/foo ." fails
with error. I'm using http://gnuwin32.sourceforge.net/packages/gtar.htm
E:\python-dev\trunk\Lib\distutils\tests>py test_archive_util.py
..tar: Cannot open
c:\docume~1\whiter~1\locals~1\temp\tmprd9lcc\archive.tar: Fun
ction not implemented
tar: Error is not recoverable: exiting now
E.
======================================================================
ERROR: test_make_tarball (__main__.ArchiveUtilTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_archive_util.py", line 35, in test_make_tarball
make_tarball(base_name, '.')
File "e:\python-dev\trunk\lib\distutils\archive_util.py", line 47, in
make_tar
ball
spawn(cmd, dry_run=dry_run)
File "e:\python-dev\trunk\lib\distutils\spawn.py", line 37, in spawn
_spawn_nt(cmd, search_path, dry_run=dry_run)
File "e:\python-dev\trunk\lib\distutils\spawn.py", line 86, in _spawn_nt
"command '%s' failed with exit status %d" % (cmd[0], rc)
DistutilsExecError: command 'tar' failed with exit status 2
----------------------------------------------------------------------
Ran 4 tests in 0.591s
FAILED (errors=1)
[32258 refs]
----------
assignee: tarek
components: Distutils
messages: 88025
nosy: ocean-city, tarek
severity: normal
status: open
title: distutils error on windows
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6053>
_______________________________________
More information about the New-bugs-announce
mailing list