Does zip extract work properly?

by lighfu

Version 1 (February 7, 2024)

Download (5 downloads)

Is your Automate able to extract this correct zip file?


I tried unzipping some zips. Of course, some things can be extract, but the following error may occur.

F 912881@5: java.lang.IllegalArgumentException: newLimit > capacity: (4103 > 4096)

F 912891@5: java.util.zip.ZipException: illegal signature


My guess is that media files and the like are unaffected, and files containing source code tend to be more prone to error.

Logcat
E AutomateService: onTaskFailure: o7.e@f89772f[flowId=580, fiberId=912898, statementId=5]
02-07 19:31:50.967 24233 24949 E AutomateService: java.util.zip.ZipException: illegal signature
02-07 19:31:50.967 24233 24949 E AutomateService: at com.llamalab.safs.zip.a.w(SourceFile:500)
02-07 19:31:50.967 24233 24949 E AutomateService: at com.llamalab.safs.zip.a.(SourceFile:377)
02-07 19:31:50.967 24233 24949 E AutomateService: at com.llamalab.safs.zip.ZipFileSystemProvider.newFileSystem(Unknown Source:2)
02-07 19:31:50.967 24233 24949 E AutomateService: at o7.e.N1(SourceFile:37)
02-07 19:31:50.967 24233 24949 E AutomateService: at com.llamalab.automate.h5.run(Unknown Source:0)
02-07 19:31:50.967 24233 24949 E AutomateService: at java.lang.Thread.run(Thread.java:1012)