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 schuppenies
Recipients schuppenies
Date 2009-01-04.17:09:26
SpamBayes Score 0.023064585
Marked as misclassified No
Message-id <1231088968.72.0.101458538333.issue4833@psf.upfronthosting.co.za>
In-reply-to
Content
We have an issue with the Python cheeseshop which is probably an issue
with Python itself as well.

When we create a zip file with standard linux tools ('zip os-zipped.zip
*'), uploading it works fine. But if we use the zipfile module from
Python and try to upload the result to the cheeseshop, we get this error
message:

" Error unpacking zipfile:[Errno 2] No such file or directory: 
u'/data/packagedocs/Pympler/_sources/index.txt'"

Turns out that the Python-zipped version does not include explicit
directories. The OS-zipped version contains "directory/,
directory/asizeof.txt", the Python-zipped file only
"directory/asizeof.txt". Digging deeper, Python has no way to explicitly
add directories to a zip file.

It would be useful to have an option which allows the explicit creation
of directories inside of zip files. This would help when working with
applications which do not create directories if they are not explicitly
specified.
History
Date User Action Args
2009-01-04 17:09:29schuppeniessetrecipients: + schuppenies
2009-01-04 17:09:28schuppeniessetmessageid: <1231088968.72.0.101458538333.issue4833@psf.upfronthosting.co.za>
2009-01-04 17:09:27schuppenieslinkissue4833 messages
2009-01-04 17:09:26schuppeniescreate