kiwix-android icon indicating copy to clipboard operation
kiwix-android copied to clipboard

Zimit-generated zim files take an inordinate amount of time to open.

Open Popolechien opened this issue 4 years ago • 2 comments

Steps to reproduce:

  1. generate zim file via https://youzim.it
  2. Download onto android
  3. Open.

I would say it takes a solid 7-10 seconds to open on kiwix-android 3.4.3 (Huawei p20 lite, Android 9). Generally speaking I find that opening files on 3.4.3 is significantly longer than before.

Popolechien avatar Dec 17 '20 10:12 Popolechien

Before means with 3.4.1 I guess. We would need here:

  • Your time measurement to load the welcome page on both versions
  • The ZIM to run the test.

kelson42 avatar Dec 17 '20 11:12 kelson42

This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.

stale[bot] avatar Feb 21 '21 23:02 stale[bot]

@Popolechien any feedback?

kelson42 avatar Aug 29 '23 09:08 kelson42

@kelson Yup though it is not systematic - testing on Kiwix-android 3.7.1 I can open bibnum, but not athena nor CoopMaths

Popolechien avatar Aug 29 '23 10:08 Popolechien

@Popolechien OK but you understand your comment does to match what your reported first! First you reported "it is (always) slow to open a zimit file" and now you write "it does work (fine?) but only for part of them (zimit files), the others don't work at all!". I understand properly?

kelson42 avatar Aug 29 '23 10:08 kelson42

@kelson42 Yes I understand. If anything I'd say this has become worse. I cannot reproduce the initial step in the ticket as we cannot download files from youzim.it anymore onto android (until 3.8 at least), so that's the closest we can get.

Happy to rename the ticket if you think it's more appropriate.

Popolechien avatar Aug 29 '23 10:08 Popolechien

@MohitMaliFtechiz if confirmed, this is a serious regression. Please have a look.

kelson42 avatar Aug 29 '23 11:08 kelson42

@kelson42, @Popolechien I confirm with 3.7.1 we are unable to read athena , CoopMaths. Yesterday we merged #3216 so I have tested with the develop branch and we are able to read these files, but I have seen a strange behavior sometimes it is unable to read these zim files when we frequently switch to Zimit zim files e.g. if currently CoopMaths is opened and I open Athena and again open the Coopmaths then this error happened. This error is only happening with Zimit files.

@kelson42 I am debugging this error and will place a fix for it.

https://github.com/kiwix/kiwix-android/assets/34593983/7c0df3eb-3df0-4f87-9a38-474331605628

MohitMaliFtechiz avatar Sep 19 '23 07:09 MohitMaliFtechiz