openzim / zim-tools

Various ZIM command line tools
https://download.openzim.org/release/zim-tools/
GNU General Public License v3.0
125 stars 34 forks source link

zimdump 3.3.0 fails to extract many .zim files?! #390

Open Sanmayce opened 9 months ago

Sanmayce commented 9 months ago

Hi, in the past used zimdump successfully with Gutenberg multigigabytes .zim, however failed to dump files as these:

https://download.kiwix.org/zim/stack_exchange/beer.stackexchange.com_en_all_2023-11.zim https://download.kiwix.org/zim/stack_exchange/ai.stackexchange.com_en_all_2023-10.zim

[sanmayce@djudjeto3 download.kiwix.org_zim]$ ls -l
total 130132
-rw-r--r--. 1 sanmayce sanmayce 90170667 Dec 18 06:16 ai.stackexchange.com_en_all_2023-10.zim
-rw-r--r--. 1 sanmayce sanmayce 13432954 Dec 18 06:25 beer.stackexchange.com_en_all_2023-11.zim
-rwxr-xr-x. 1 sanmayce sanmayce 14734344 Nov 17 13:56 zimcheck
-rwxr-xr-x. 1 sanmayce sanmayce 14750152 Nov 17 13:56 zimdump
[sanmayce@djudjeto3 download.kiwix.org_zim]$ mkdir beer
[sanmayce@djudjeto3 download.kiwix.org_zim]$ ./zimdump dump --dir beer/ beer.stackexchange.com_en_all_2023-11.zim 
Error writing file to errors dir. beer/_exceptions/
Exception: Error writing file to errors dir. beer/_exceptions/
[sanmayce@djudjeto3 download.kiwix.org_zim]$ mkdir ai
[sanmayce@djudjeto3 download.kiwix.org_zim]$ ./zimdump dump --dir ai/ ai.stackexchange.com_en_all_2023-10.zim 
Error writing file to errors dir. ai/_exceptions/
Exception: Error writing file to errors dir. ai/_exceptions/
[sanmayce@djudjeto3 download.kiwix.org_zim]$ 

What is wrong, are all these files corrupt, what is the workaround/fix?

kelson42 commented 6 months ago

Strongly this is a duplicate of #213