Re: 2.0.1
Simon Eisenmann <simon-4x/[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.installers |
|---|---|
| Organization | struktur AG |
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Simon Eisenmann wrote: | The problem is that os.stat returns the size even of folders. Pythons | tarfile inserts this size in the tarball entries for folders. Usually | the tar extractors read this n bytes after the start of the entry. This | is of course wrong for folders and should be ignored by the tar extracor | (as *nix tar does it) in case when the folder flag is set. As it isnt | the case for most tar extractors pythons tarfile should set the size for | folders _anytime_ to zero. Then it should work. I will patch tarfile in | the dist_plone script to do so. Probably we should report this to the | python community. I suppose it will work then. | I added a patched version to dist_plone's cvs which uses a working tarfile module. Tarballs created with this one work fine on other extractors than *nix tar. cheers, ~ Simon Simon Eisenmann [ mailto:simon-4x/[email protected] ] [ struktur AG | JunghansstraÃe 5 | 70469 Stuttgart ] [ T. +49.711.896656.68 | F.+49.711.89665610 ] [ http://www.struktur.de | mailto:info-4x/[email protected] ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAmgzEcKXkdvrBGTARAiS5AJ4242IlZknsHXOOCYnFBphFYmjvJQCgmjH+ CFV6FkFSZ4GPEC1XdbVsaLI= =zTXL -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3