View Single Post
Old 01-01-2024, 03:21 PM   #377
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,250
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by ownedbycats View Post
The book I finished on 2023-12-31, which I suspected of causing the division-by-zero error, is 5999.
That can't be the cause, because I have a book finished on 2023-12-31 and it worked just fine.

Quote:
Originally Posted by ownedbycats View Post
The 7753 deletion issue I was able to replicate a second time after restoring my backup.
This is puzzling me, as I could not reproduce here with my database or yours. Deleting the 7753 entry in 2023's goal did not erased it from 2024's after it has migrated.

Quote:
Originally Posted by ownedbycats View Post
It's possible the division error could be caused by the migration?
I don't think so. The division error occurs when showing the statistics. It doesn't happen when you are deleting the book.

Quote:
Originally Posted by Terisa de morgan View Post
I've already sent you the link to the file, thank you very much (it happened before changing from 2023 to 2024 too).
Quote:
Originally Posted by Terisa de morgan View Post
BTW, Thiago, I think the problem is today is the first day of the year, so calculating the current speed is not going well. I'll be back to you tomorrow to confirm it.
Quote:
Originally Posted by ownedbycats View Post
Seems correct! If I set my computer date to January 2, Statistics works.
I think this error is already fixed. I just forgot to release a new version.
There were two division by zero errors: for 2023-12-31 and 2024-01-01. Both remaining days would return zero. First I only fixed the error for the last day of the year. Then I made the second fix but forgot to release a new version.

Please test the new version and see if it works now (if you guys are still in the 2024-01-01... maybe not Terisa).
thiago.eec is offline   Reply With Quote