Xiaolong Liu added the comment:
Andrei: No multiprocessing or multithreading was used when creating the zip
file.
--
___
Python tracker
<https://bugs.python.org/issue41
Xiaolong Liu added the comment:
Andrei: Never mind.
Yes. It is hardly impossible to sort out a problem when it cannot be
reproduced. Just close it plz.
Anyway, many thanks for your suggestions.
--
___
Python tracker
<https://bugs.python.
Xiaolong Liu added the comment:
It seems the indents were automatically removed in the message box. I shared
the code snippet formmated here:
https://www.online-python.com/cDojvl2CMS
--
___
Python tracker
<https://bugs.python.org/issue41
Xiaolong Liu added the comment:
Serhiy: Thanks for your explanation.
The file was created by zipfile module. I used the script hundreds of times,
while only once (the uploaded zipped file) was abnormal.
Since the project ended a long time ago, I cannot reproduce the error right
now. I
Xiaolong Liu added the comment:
Andrei:
The zipped file was created by zipfile module of Python. That's the reason I
posted it here.
I achived more than 2000 files to the abnormal zipped file. And no tool can
extract whole files archived within. 7zip got the first part, and other tools
Xiaolong Liu added the comment:
Andrei: Exactly, different extraction tool gave different results.
File no.tool platform
674the built-in tool on Win10win10
674winrarwin10
13997zipwin10
1399360zipwin10
674
Xiaolong Liu added the comment:
Dear Andrei,
It's about 63MB. I reshared it on Google Drive. Please check the following link.
https://drive.google.com/file/d/1534MdIcGbXtMwYfuo2zeFxm6BVgHa4XX/view?usp=sharing
Bruce / Xiaolong Liu / 刘小龙
From: Andrei Kulakov
Date: 2021-08-14 20:49
New submission from Xiaolong Liu :
I used zipfile module to archive thousands of .geojson file to zip files and
access those .geojson file by ZipFile.open() method. In my hundreds of
runnings, one of them was abnormal.
As the title says, the ZipFile.namelist() did not match all the files