-
Notifications
You must be signed in to change notification settings - Fork 10
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
Adding measurements with specific date (today) breaks database, resulting in blank screen and infinite loading animation #70
Comments
@Toasty2004 I am sorry that you are facing this issue. But I guess you just found the error source of #65, so thx a lot :) |
@Toasty2004 I am also sorry for the inconvenience. And thx for identifying a bug :) Apparently we had some leakage of an animationcontroller ticker (see #75). |
+1 I'm having this same issue on 0.6.1 |
I've been enjoying this app the past 90 days, or so. |
Unfortunately, the animation controller ticker leak does not seem to be the cause of the observed bug. Apparently, it has something to do with the newly introduced interpolation... so I think it would be best if @braniii could give it a try. In the meantime I tried a quick-and-dirty bugfix (app-arm64-v8a-release.apk.zip). The apk is taken from https://github.com/QuantumPhysique/trale/actions/runs/8555591995. And at least on my device it was able to fix the bug. So I would be interested to see if it helps you too. |
@LinuxFella, @danikuci1 I am sorry for the inconvenience. And just in case my bugfix doesn't help, would it be interesting if the bug appeared immediately after upgrading to 0.6.1 or after adding a measurement? |
I believe but am not positive the bug appeared immediately after upgrading |
I did the update through F-Driod to 0.6.1 and prior to that all was fine. I've not had the chance to enter new weight, the 'bug animation' happened right after the update. It's a brilliant app indeed and I hope to see it working again soon. |
As @gwosd pointed out, it is me to blame for this issue. Refactoring the interpolation code, it seems that I've introduced this issue. However, I am sadly not able to reproduce this issue. Inserting the same measurements as shown by @Toasty2004 the app works flawless 🤔 . So I've cleaned up some code which (as far as I can guess) causes this issue. It would be helpful if some of you @danikuci1 @LinuxFella @Toasty2004 could give me feedback if the provided APK solves the issue. |
I was affected by the bug, too. |
I can also confirm that the attached APK fixes the issue. Thanks for the effort! To give a bit more detail in case you still need it: I was updating to the provided APK while the previously installed version was in error state (infinite starting animation). After updating, it worked flawless, the app started and showed the chart with the same database that was giving trouble earlier. |
Glad to hear. I will push later a new version to github (and fdroid). If someone does not want to wait up to one week for the fdroid build, feel free to upgrade from the release page. The signing key is the same, so switching between fdroid and github should work flawless. |
I've not tried the apk. But if the update / correction will be available on F-Droid in a week or so, I can wait until then. |
Describe the bug
The database breaks the app if it contains measurements on March 30 and March 31, resulting in no charts and the app not starting.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Nice charts and quick starts
Screenshots
I attached a video of the full replication process below.
User Information (please complete the following information):
Additional context
I suspect it could have something to do with the change to daylight savings time this night. I'm in Germany in case the time zone is relevant.
PS: I love the app, thank you guys so much! BTW I couldn't find the donate button yet.
Trale.Bugreport.mp4
The text was updated successfully, but these errors were encountered: