[issue5500] tarfile: path problem in arcname under windows

2009-10-29 Thread Lars Gustäbel
Lars Gustäbel l...@gustaebel.de added the comment: I suppose this issue is related to issue4750 which I have just closed. If not, please reopen this issue. -- resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org

[issue5500] tarfile: path problem in arcname under windows

2009-10-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: The archive is created, and the path in the archive is 'C:\\testtarfile\\testtarfile.py', not 'test/testtarfile.py' as I would expect. I don't see the path you mention. Which archive manager do you use? I tried with 7-zip, and it

[issue5500] tarfile: path problem in arcname under windows

2009-03-19 Thread Elijah Merkin
Elijah Merkin e...@transas.com added the comment: Tested again under Python 2.6.1 on Windows XP (added Python 2.6 to versions). An archive I attached to the issue contains a .py file that reproduces the bug and an archive created by it. In my case I just put the .py file to C:\testtarfile\

[issue5500] tarfile: path problem in arcname under windows

2009-03-19 Thread Elijah Merkin
Elijah Merkin e...@transas.com added the comment: Sorry for not explaining properly, I was distracted. 1. The absolute path really exists in the .tar.gz file when I view it in a hex editor. 2. Windows archive managers I tried see that absolute path. 3. Linux tar utility, however, somehow

[issue5500] tarfile: path problem in arcname under windows

2009-03-18 Thread Lars Gustäbel
Lars Gustäbel l...@gustaebel.de added the comment: At the moment, I am unable to reproduce the problem you describe. I tried several combinations of what I think you could have meant, but everything seems to work okay here. Could you please provide some stand-alone testcase or code to illustrate

[issue5500] tarfile: path problem in arcname under windows

2009-03-17 Thread Elijah Merkin
New submission from Elijah Merkin e...@transas.com: Tested on Python 2.5.4. 1. Use tarfile.open(fname, w|gz) to create an archive. 2. Add a file using TarFile.add(name, arcname=None, recursive=True, exclude=None) by specifying 2 params: absolute path to a source file as 'name' and something