salemlf / hakubun

Cross-platform, third-party Japanese language learning app for use with WaniKani 🦀🐊
GNU General Public License v3.0
20 stars 7 forks source link

Next card won't appear #359

Open hakubun-bot opened 1 month ago

hakubun-bot commented 1 month ago

Bug/Error Report

What Caused the Bug/Error to Show Up?

I keep having this issue where after a certain number of items, the next card won't appear.

Batch size 50, shuffled, all subjects, back-to-back disabled.

Additional Info

Release Version

2.5.2-beta

Issue Created By

Selias

Device Info

{
    "diskFree": 0,
    "diskTotal": 785186816,
    "model": "LE2115",
    "operatingSystem": "android",
    "osVersion": "14",
    "androidSDKVersion": 34,
    "platform": "android",
    "manufacturer": "OnePlus",
    "isVirtual": false,
    "webViewVersion": "126.0.6478.71"
}
salemlf commented 1 month ago

This bug is hard to reproduce, I'll be adding more error logging and unit tests to hopefully figure out what's happening

Selias4 commented 1 month ago

If it helps, it happens when I haven't done my reviews for a few days and a ton (100+) have built up.

EDIT: Good(?) timing for this to happen, I guess. Here's what it looks like. https://i.ibb.co/hC4xvCx/Screenshot-2024-06-21-02-48-20-87-7c879af1f5f1c2a492ce8d378096bd69.jpg

Selias4 commented 1 month ago

New update still does it. I also excluded hakubun from my VPN, so that's not it either.

Selias4 commented 1 month ago

Not sure if this will help you figure out the issue, but this time the next card started loading before stopping. Screenshot_2024-06-21-19-53-40-37_7c879af1f5f1c2a492ce8d378096bd69

salemlf commented 1 month ago

New update still does it. I also excluded hakubun from my VPN, so that's not it either.

Oh yeah, that included a feature request and bug fix for some other issues. To see what's included in each update you can check the releases page, or it should also be displayed under "What's New" in the Play Store (though there's a character limit on that, so I link to the full release notes). I'll also link a pull request and mark this as closed once it's resolved, so can check the status that way!

Not sure if this will help you figure out the issue, but this time the next card started loading before stopping.

That is very helpful, thank you! Hopefully will be able to reproduce the bug within the next week. In the meantime, I'd recommend doing smaller batch sizes to avoid this issue as I'm sure it's not pleasant having to start another batch when this occurs.

Selias4 commented 1 month ago

Just got a new one. The card was starting to appear, disappeared while it was still small, and now it's just a blank screen (like the first image I linked).

Also, I didn't mention this before, but when I try to click the home button (after the card fails to appear), the window just darkens a bit. I have to close the window and re-open it.