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
Statistics fail to update #10508
Comments
Thanks a lot! |
Thank you for your report; the issue you have reported has just been fixed.
|
The stats will update only upon translation change, not automatically. |
Yes, I have updated a translation, also flag one as "need editing". But still marked as 90% translated. |
None of the "Unfinished" number is correct. French: 1731, but if you click on this number you get 2090 |
Do you still see some errors in the log? I've just pushed 3537b3d so that stats age is visible on the page, that would give us a clue whether it is wrongly calculated or update was skipped. |
No error found in the log. I will wait for the next docker image to be build and I will update! |
Another weirdness: German is 100% translated, it has the green tick. On hover text is: "1859 strings". This "installer" component has the "source code repo" linked to the remote git repo, whereas other components within this 23-05 category point to it using weblate://koha/23-05/installer |
Debug commit applied (docker bleeding 423bbe5) Numbers are still wrong. Master/Spanish components have been updated "6 hours ago" Note that "0" is displayed when at the category level (but I guess it's expected): |
0 is not expected, that means that the stats were not updated with the new code yet. So there is clearly an issue with updating category/language stats. |
These were missing for some time so these were never updated. Fixes WeblateOrg#10508
#10528 should address this. |
These were missing for some time so these were never updated. Fixes WeblateOrg#10508
These were missing for some time so these were never updated. Fixes #10508
Mounted the patch from #10528 into my docker instance and it is now correctly updating. |
Everything is fixed and working perfectly! Thanks again! |
Should this patch be in 5.3 (docker)? I'v updated and still have the issue, it only disappears when I mount the patched file with the fix from here. |
The patch is there, but there is another issue which prevents component wide stat updates from being propagated. That one is fixed in c77ca8b. |
Ok, thanks |
I've just released 5.3.1 with the fix. Docker images will follow shortly. |
Thanks, can confirm that the fix is working. |
Describe the issue
The background job updating the stats is failing with the following error:
Failure while executing task: KeyError: 'stats_timestamp'
I already tried
Steps to reproduce the behavior
Update a translation.
Expected behavior
No response
Screenshots
No response
Exception traceback
How do you run Weblate?
Docker container
Weblate versions
weblate:bleeding (48863d1)
Weblate deploy checks
No response
Additional context
Related to #10473
The text was updated successfully, but these errors were encountered: