last version of zip(2020.3627) not working correctly on Android

Ah, I should have mentioned that you can delete catalog.json to force an update. :smile:

Anyhow, that’s good! My last build (before Vlad’s) was where compression was failing. I’ll try to get these changes cleaned up later and submitted.

1 Like

Made another build. It is up now, please try.

1 Like

All works on Android

1 Like

Confirm, Android now all OK! On Mac.
Thank you so much
Pasquale

1 Like

I have the same problem.
Running zip.uncompress doesn’t finish.
There was no problem a few days ago.
Deleting plugin.zip or deleting catalog.json does not solve the problem.


local options = {
zipFile = filename,
zipBaseDir = system.TemporaryDirectory,
dstBaseDir = system.DocumentsDirectory,
listener = zipListener,
}
zip.uncompress( options )
---- event.respone ----
12:00:20.970 – event.name:zip
12:00:20.970 – event.type:uncompress
12:00:21.759 – event.name:zip
12:00:21.759 – event.type:uncompress
12:00:22.544 – event.name:zip
12:00:22.544 – event.type:uncompress
12:00:23.312 – event.name:zip
12:00:23.312 – event.type:uncompress
12:00:24.096 – event.name:zip
12:00:24.096 – event.type:uncompress
12:00:24.883 – event.name:zip
12:00:24.883 – event.type:uncompress
12:00:25.660 – event.name:zip
12:00:25.660 – event.type:uncompress
12:00:26.445 – event.name:zip
12:00:26.445 – event.type:uncompress
12:00:27.228 – event.name:zip
12:00:27.228 – event.type:uncompress
12:00:28.025 – event.name:zip
12:00:28.025 – event.type:uncompress
12:00:28.809 – event.name:zip
12:00:28.809 – event.type:uncompress
12:00:29.589 – event.name:zip
12:00:29.589 – event.type:uncompress
…loop

Zip sample
https://magnum.sublogics.com/kh416c.zip

plugin.zip
2020.3627 : error(cant finish)
2020.3590 : success
It seems to be a problem of 2020.3627.
Does that mean there is a newer, modified version?

The new plugin.zip doesn’t seem to unzip the empty directory.
images, images_custom, sounds are compressed in hk416c, but empty images_custom is ignored.
If you unzip it with Windows winzip, you can see that it contains 3 folders, but with the new plugin.zip it is 2.
The 2020.3590 plugin.zip correctly contains three folders.

I check the contents of the folder after uncompress is done. If it wasn’t enough, I was running uncompress again. (Sorry, I forget it myself.)
I told you I was looping, but not because of plugin.zip, but because of my check logic.
The reason for this is that previous, very old versions sometimes did not completely uncompress at one time.

@umalemon Sorry I’ve taken so long. Just a bit distracted and a little burned out by this. :smiley:

I think I have something functional (this is just Windows and Android):
data.zip (1.1 MB)

These are very noisy with debug printouts. If it looks okay, I’ll try to make a clean build soon.

(Save your other data.tgz files first, or re-grab them from Discord afterward.)


@redbol @planzieri Could I pester you in the same way, just to make sure these aren’t regressions?

Apologies for all this hassle. :smile:

win:


android:

1 Like

Thank you for your work.
I’ve tried it on Windows and Android and it works fine.
An empty folder was also included.