-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Wrong editor time displayed in all time summary #600
Comments
Can you please try to go to Settings -> Danger Zone, then Regenerate summaries and see if that helps? |
I've tried that (and waited for about 20 Minutes). Now the charts are a complete mess. AndroidStudio has even less time and "idea" which I use far more often is basically not visible. My languages chart doesn't really look correct either. It seems that old data was not taken into account while generating the charts. |
Do you see any error or warning messages in the server's console? Also, are the stats more accurate if you add |
I can't spot any errors in the log. There are multiple weird lines like:
And it goes on like that for ~40 lines. I don't know if this is the expected behaviour. And this warning is logged:
|
Those log messages are fine. Something seems to be wrong with your summary calculation. Small discrepancies of a few minutes are common, but hours is too much. Would you be open to send me a dump of your database (with all sensitive information like passwords, etc. removed) as a private message? I'm aware that's a lot to ask for, but would probably be the easiest way to debug this. |
In general, I would be willing to send a dump. However, since my instance has multiple users, I would need to limit the data to my user account and I would also like to anonymize the data a bit. |
Yes, you can remove all users and their data from the dump. Best contact me via e-mail (see my GH profile). |
What data exactly do you need from the various tables? Which tables can I delete and which do I need to anonymize? |
I've sent you the dump via email. |
This also happens in my instance. And I can confirm 2.10.2 is fine and 2.10.3 is buggy. |
|
@ddadaal Any immediate ideas about that? |
I can confirm this problem also exists in my MSSQL instance. Editor, Languages, OS and machine time are wrong, but the sum of numbers of all of these 4 items are identical, and the I checked my DB and found out all of the existing This commit 791f5cc removes foreign constraints and adds I assume it is because the A quick fix would be to manually persist the other |
No! It's not fixed yet! It doesn't persist entities correctly. The result is correct because no summary or summaryitem is persisted and the data are always calculated live. I have a working fix that does persist data and and I will push it later. |
Realized that just now. I'm getting errors like:
Will wait for your fix. Thanks a lot again! |
The release note should remind users to clear and regenerate summaries. |
yay it works again 🎉 |
Describe the bug
The editor time displayed on the main page of the summary (in my case for Android Studio) is oddly low. If you click on a project that mainly used this editor, the time is higher than on the main page. This is strange as it should contain all the data from the subprojects.
System information
2.10.4
Ubuntu 22.04.3 LTS
ghcr.io/muety/wakapi:2.10.4
Postgres
Global Editor chart (All Time):

Editor Chart of a project (All Time)

The text was updated successfully, but these errors were encountered: