This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Patrick.von.Reth
Recipients Patrick.von.Reth
Date 2012-01-03.16:42:42
SpamBayes Score 7.576084e-05
Marked as misclassified No
Message-id <1325608963.69.0.695216553795.issue13702@psf.upfronthosting.co.za>
In-reply-to
Content
when extracting http://www.openssl.org/source/openssl-1.0.0d.tar.gz with python3.2 on windows 7 extraction fails with 

  File "C:\python32\lib\tarfile.py", line 2175, in extract
    set_attrs=set_attrs)
  File "C:\python32\lib\tarfile.py", line 2259, in _extract_member
    self.makelink(tarinfo, targetpath)
  File "C:\python32\lib\tarfile.py", line 2359, in makelink
    targetpath)
  File "C:\python32\lib\tarfile.py", line 2251, in _extract_member
    self.makefile(tarinfo, targetpath)
  File "C:\python32\lib\tarfile.py", line 2292, in makefile
    target = bltn_open(targetpath, "wb")
IOError: [Errno 22] Invalid argument: 'R:\\tmp\\os\\openssl-1.0.0d\\apps\\md4.c'

the reason is that the symlink is broken

R:\>dir R:\tmp\os\openssl-1.0.0d\apps\md4.c
 Volume in drive R has no label.
 Volume Serial Number is E8F0-7223
 Directory of R:\tmp\os\openssl-1.0.0d\apps
02.01.2012  20:13    <SYMLINK>      md4.c [../crypto/md4/md4.c]

it must be backslashes instead of front slashes and that's why python cant access the file the symlink is pointing to.
History
Date User Action Args
2012-01-03 16:42:43Patrick.von.Rethsetrecipients: + Patrick.von.Reth
2012-01-03 16:42:43Patrick.von.Rethsetmessageid: <1325608963.69.0.695216553795.issue13702@psf.upfronthosting.co.za>
2012-01-03 16:42:43Patrick.von.Rethlinkissue13702 messages
2012-01-03 16:42:42Patrick.von.Rethcreate