[ python-Bugs-1519452 ] zipfile -- too many files?

SourceForge.net noreply at sourceforge.net
Tue Jul 11 22:08:23 CEST 2006


Bugs item #1519452, was opened at 2006-07-09 01:57
Message generated for change (Comment added) made by shmengie
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1519452&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Extension Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Joe Brown (shmengie)
Assigned to: Nobody/Anonymous (nobody)
Summary: zipfile -- too many files?

Initial Comment:
While creating a huge zipfile (probably too big) the
following error appeared.

Exception exceptions.OverflowError: 'long int too large
to convert to int' in <bound method ZipFile.__del__ of
<zipfile.ZipFile instance at 0x009BD198>> ignored

I assume this is during the closing of the zipfile,
further assuming too many files were added to the archive.

----------------------------------------------------------------------

>Comment By: Joe Brown (shmengie)
Date: 2006-07-11 16:08

Message:
Logged In: YES 
user_id=729883

The zip file was on order of 6-9 GBs, surely over 32000
files.  I will give Python2.5 a shot and see how that works.

I've stumbled on another bug with tarfile.  It's not
reporting an error, but I only find 350 files when I
unarchive.  That's entirely different bug tho :-o

----------------------------------------------------------------------

Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-07-11 13:47

Message:
Logged In: YES 
user_id=580910

How large is the resulting file? Zipfile in python2.4 cannot handle zipfiles that 
require the zip64 extensions and fails misserably when you do cross that limit.

This was fixed in python 2.5.

----------------------------------------------------------------------

Comment By: Joe Brown (shmengie)
Date: 2006-07-09 02:01

Message:
Logged In: YES 
user_id=729883

Platform: Windows SBS 2003
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit
(Intel)] on win32

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1519452&group_id=5470


More information about the Python-bugs-list mailing list