Tar module issue

chaica lordchaica at free.fr
Mon Feb 7 07:23:49 EST 2005


Hi, 

chaica at desktop 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 = /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 untaring my archive with tar jxvf I've random errors :
tar: amsn-0_94/lang/genlangfiles.c: Cannot hard link to
`amsn-0_94/lang/genlangfiles.c': No such file or directory

I checked google and saw that errors like these ones could occur when
you use global path while taring, but I'm not, using fileName which is
local. 

Thx

-- 
chaica <lordchaica at free.fr>




More information about the Python-list mailing list