Read error: Undefined error: 0
Closed this issue · 4 comments
skabbit commented
Here is example of such file:
Shimanvj%202014.zip
zvezdochiot commented
???
(runzip || unzipru) 1.4
$ unzipru Shimanvj.202014.zip
Shimanvj.202014.zip contains 599 files
Управляющего делами администрации.html: FIXED (CP866 -> UTF-8)
2014 сов_files/: FIXED (CP866 -> UTF-8)
2014 сов_files/0.png: FIXED (CP866 -> UTF-8)
...
Директора МБУ Межмуниципальное.html: FIXED (CP866 -> UTF-8)
Заместителя главы администрации.html: FIXED (CP866 -> UTF-8)
Заместителя начальника МУ Управление по образованию.html: FIXED (CP866 -> UTF-8)
No errors!
skabbit commented
I'm using last master commit from this repo on MacOS Mojave.
$ runzip Shimanvj.202014.zip
Shimanvj.202014.zip: Read error: Undefined error: 0
What is unzipru?
???
(runzip || unzipru) 1.4
$ unzipru Shimanvj.202014.zip Shimanvj.202014.zip contains 599 files Управляющего делами администрации.html: FIXED (CP866 -> UTF-8) 2014 сов_files/: FIXED (CP866 -> UTF-8) 2014 сов_files/0.png: FIXED (CP866 -> UTF-8) ... Директора МБУ Межмуниципальное.html: FIXED (CP866 -> UTF-8) Заместителя главы администрации.html: FIXED (CP866 -> UTF-8) Заместителя начальника МУ Управление по образованию.html: FIXED (CP866 -> UTF-8)
No errors!
zvezdochiot commented
@skabbit say> What is unzipru?
Unzipru
- renamed runzip
for convenience.
unzipru test.zip
unzip test.zip
PS: Debian GNU/Linux
src$ grep -n "Read" *
(none)
libzip-0.7.1/lib$ grep -n "Read" *
zip_err_str.c:20: "Read error",
This is a libzip error, not runzip!
Ask at http://www.nih.at/libzip/
skabbit commented
This is a libzip error, not runzip!
Ask at http://www.nih.at/libzip/
Thank you!
I think it depends on libzip version, so I'm closing this issue, but will write the proper version (ot options) after figure out the reason.