New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kiwix 3.9.1 and Wikivoyage 2023-12 apps crashing when opening zim files on Fire OS 7.3.2.9 #3692
Comments
@MohitMaliFtechiz Can you please help @Otmooron ? |
I sideloaded Kiwix 3.7.1 and it’s working fine, so it’s something between 3.7.1 and 3.9.1. Hope this helps. |
@Otmooron is this behavior is same for other ZIM files too? or you are only facing this issue with
Thanks for the additional information it would be helpful. |
I was only interested in getting access to Wikivoyage, but thought I should try the Wikipedia file to make sure it wasn’t just a Wikivoyage issue. If you would like to suggest some other files I can go back to 3.9.1 and try them? |
Can you please try with these two small ZIM files? |
OK. those two crash on 3.8.0 and 3.9.1, but everything works again when I revert back to 3.7.1. I think that ties in with when the problems started. |
@Otmooron Thanks for your testing. So it means every ZIM file is crashing on your device when you try to open them in the recent version of Kiwix. We are investigation this bug. |
@MohitMaliFtechiz I guess a log file would be helpful at this stage... or do you have another approach to try to identify where the crash comes from? |
@kelson42 I was thinking of creating an emulator with Fire OS but they are discontinued now, and another approach I have just tried which is mentioned on the official amazon docs but on this I am not able to reproduce this issue. Version |
@MohitMaliFtechiz I trust this is what you are looking for? |
@Otmooron Thanks for providing the log file, it was very helpful for us to diagonse the problem. We have fix the error you are facing can you please try this APK https://drive.google.com/file/d/11JYfBfYf3H4dIUibZ0tuMlT_vtOEm0xn/view?usp=sharing and please provide your feedback if this resolve issue on your device? One more thing i want to ask, the application is crashing when you were selecting the ZIM file via file picker, were those ZIM files are showing in Library screen? |
@MohitMaliFtechiz Sorry, that hasn't worked. ZIM Files downloaded from the online repository into my library crash as before. The two files you sent above now come up with the error message "The selected ZIM file could not be found" when I try and load them from the file picker in Kiwix or I double-click them from the Files app. There is a Leaks icon on the home screen with 2 distinct leaks, but I'm not sure what you might want for debugging. |
@Otmooron Thanks for your testing. We only placed a fix in the above APK on behalf of the logs you have provided. Both crashing scenarios are different.
Ok so now it is not crashing while you are selecting the ZIM file via file picker, but it should open the ZIM file we have added some more paths to get the actual path from the uri. Unfortunately, it is not getting the actual path so it means the URI content prefix is different and we need that prefix.
We have not placed a fix for this issue as we don't have logs of the crash of this scenario. but in the below APK, It will ask you to send the crash report. Can you please help us to diagnose the actual problem in both scenarios? First, try this APK https://drive.google.com/file/d/11JYfBfYf3H4dIUibZ0tuMlT_vtOEm0xn/view?usp=sharing. First step:
Second step:
|
OK Here is the diagnostic report for the first step - In the second step it didn't properly crash out to the home screen - the screen went out to Home but the app was still running. I also didn't get asked to send the crash report, but I created a diagnostic report here - Hope you understand - I'm just a layman! |
@MohitMaliFtechiz What is the status here on this issue? |
@kelson42 The user facing the same issue as we are facing in #3661 on the |
@MohitMaliFtechiz Any reason to not merge the tickets? |
Whether I try and open the largest or smallest Wikivoyage zim files (or the Wikimedia Top 100 in the case of Kiwix), the apps crash to the home screen. Zim files download but do not open.
iOS Kiwix app works fine with same content and Wikivoyage app worked brilliantly on Kindle until recently, so I assume bug is in latest versions of apps.
Device is Kindle Fire HD8 (8th generation) running Fire OS 7.3.2.9 (latest available for device, equivalent of Android 9 Pie). Apps were installed from Play Store.
The text was updated successfully, but these errors were encountered: