Re: Tar module issue

2005-02-07 Thread Eddie Corns
I don't have the original query any more but I think your problem is related to mixing absolute and relative file paths. That is the filenames themselves, I think I recall in your original message you were mixing up the idea of global variables in your code versus the filenames stored in the TAR a

Re: Tar module issue

2005-02-07 Thread chaica
Thx for your response. The fact is that I use tar.close() at the end of my code. This is really a random behaviour cause with an archive which has a short directory tree, I don't have this kind of beahavior and the archive works. thx On Mon, 2005-02-07 at 13:01 +, Russell Bungay wrote: > Hel

Re: Tar module issue

2005-02-07 Thread Russell Bungay
Hello, I'm using tarfile module to create an archive. For my example I'm using Amsn file and directory tree. My variables are like these ones: path = /home/chaica/downloads/amsn-0_94/skins/Tux/smileys/shades.gif fileName = amsn-0_94/skins/Tux/smileys/shades.gif tar.add( path, fileName ) and while

Tar module issue

2005-02-07 Thread chaica
Hi, [EMAIL PROTECTED] chaica $ python Python 2.4 (#1, Jan 10 2005, 22:28:10) [GCC 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)] on linux2 I'm using tarfile module to create an archive. For my example I'm using Amsn file and directory tree. My variables are like these ones: path = /hom