dreautall / waterfly-iii

Unofficial Android App for Firefly III, a free and open source personal finance manager.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No bars on daily summary graph

rsergeychik opened this issue · comments

Hello,

bars are missing on the Daily Summary graph, even though I have a lot of transactions. App version 1.0.3+291, firefly iii v6.1.15

telegram-cloud-photo-size-2-5348479425060136624-y

Hi,

could you please enable the debug log (tap on the version number in settings), go back to the main screen, pull-to-refresh once, go back to settings, click on version and send/upload the log?

Make sure to censor your host name and other identifying information if you upload it here!

Additional question: What's your default currency in the FF3 settings?

Thank you

Default currency is thai baht (THB), and I get the following logs:

2024-05-18 11:04:22.255887: [Settings - FINEST] notify SettingsProvider->setDebug()
2024-05-18 11:04:22.256901: [Settings - INFO] Enabling debug logs, app Waterfly III, 1.0.3+291
2024-05-18 11:04:22.263600: [App - FINEST] _startup = false
2024-05-18 11:04:22.264835: [App - FINEST] _requiresAuth = true
2024-05-18 11:04:22.265373: [TimeZoneHandler - FINEST] set useServertime to true
2024-05-18 11:04:22.265917: [App - CONFIG] signedIn: true
2024-05-18 11:04:22.269348: [TimeZoneHandler - INFO] Device Timezone: Asia/Bangkok (Asia/Bangkok)
2024-05-18 11:04:25.297512: [App - FINEST] App pausing now
2024-05-18 11:04:30.340117: [Pages.Navigation - FINER] NavPageElements->setAppBarActions equal, skipping
2024-05-18 11:04:30.344814: [Pages.Navigation - FINER] NavPageElements->setAppBarBottom equal, skipping
2024-05-18 11:04:30.348359: [Pages.Navigation - FINER] NavPageElements->setFab equal, skipping
2024-05-18 11:04:30.348780: [Pages.Navigation - FINEST] notify NavPageElements->setAppBarTitle()
2024-05-18 11:04:30.349921: [Pages.Navigation.Page - FINEST] nav build(page: 0)
2024-05-18 11:04:30.350779: [Pages.Home.Page - FINEST] build(tab: 0)
2024-05-18 11:04:30.354265: [Pages.Home.Main - FINEST] build()
2024-05-18 11:04:30.359496: [Pages.Navigation - FINEST] notify NavPageElements->setAppBarBottom()
2024-05-18 11:04:30.361294: [Pages.Home.Page - FINER] _handleTabChange(0)
2024-05-18 11:04:30.361795: [Pages.Navigation - FINEST] notify NavPageElements->setFab()
2024-05-18 11:04:30.362534: [Pages.Navigation - FINER] NavPageElements->setAppBarActions equal, skipping
2024-05-18 11:04:30.363124: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/accounts?type=asset
2024-05-18 11:04:30.363704: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/income/category?start=2024-05-01&end=2024-05-18
2024-05-18 11:04:30.364229: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/chart/account/overview?start=2024-02-18&end=2024-05-18
2024-05-18 11:04:30.364799: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/expense/total?start=2024-05-01&end=2024-05-18
2024-05-18 11:04:30.365358: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/accounts?type=asset
2024-05-18 11:04:30.365743: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/budgets
2024-05-18 11:04:30.366110: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/bills?start=2024-05-18&end=2024-05-25
2024-05-18 11:04:30.939448: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/budget-limits?start=2024-05-01&end=2024-05-18
2024-05-18 11:04:30.943011: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/income/total?start=2024-05-01&end=2024-05-18
2024-05-18 11:04:30.944297: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/expense/category?start=2024-05-01&end=2024-05-18
2024-05-18 11:04:31.034356: [Auth.AuthUser - FINEST] APIv2 query to https://<my_url>/api/v2/chart/balance/balance?start=2024-05-12&end=2024-05-18&accounts%5B%5D=1&accounts%5B%5D=4&accounts%5B%5D=5&accounts%5B%5D=15&accounts%5B%5D=21&period=1D
2024-05-18 11:04:31.240991: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/expense/total?start=2024-04-01&end=2024-04-30
2024-05-18 11:04:31.457739: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/accounts?type=liabilities
2024-05-18 11:04:31.485054: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/income/total?start=2024-04-01&end=2024-04-30
2024-05-18 11:04:31.720411: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/expense/total?start=2024-03-01&end=2024-03-31
2024-05-18 11:04:31.723742: [Auth.AuthUser - FINEST] APIv2 query to https://<my_url>/api/v2/chart/account/dashboard?start=2023-06-01&end=2024-05-31&preselected=assets
2024-05-18 11:04:32.064716: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/income/total?start=2024-03-01&end=2024-03-31
2024-05-18 11:04:33.097637: [Pages.Home.Main - FINEST] build()
2024-05-18 11:04:33.110732: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/accounts?type=asset
2024-05-18 11:04:33.112363: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/income/category?start=2024-05-01&end=2024-05-18
2024-05-18 11:04:33.112631: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/chart/account/overview?start=2024-02-18&end=2024-05-18
2024-05-18 11:04:33.112966: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/expense/total?start=2024-05-01&end=2024-05-18
2024-05-18 11:04:33.113250: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/accounts?type=asset
2024-05-18 11:04:33.113493: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/budgets
2024-05-18 11:04:33.113719: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/bills?start=2024-05-18&end=2024-05-25
2024-05-18 11:04:33.594361: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/budget-limits?start=2024-05-01&end=2024-05-18
2024-05-18 11:04:33.600165: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/expense/category?start=2024-05-01&end=2024-05-18
2024-05-18 11:04:33.601822: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/income/total?start=2024-05-01&end=2024-05-18
2024-05-18 11:04:33.704868: [Auth.AuthUser - FINEST] APIv2 query to https://<my_url>/api/v2/chart/balance/balance?start=2024-05-12&end=2024-05-18&accounts%5B%5D=1&accounts%5B%5D=4&accounts%5B%5D=5&accounts%5B%5D=15&accounts%5B%5D=21&period=1D
2024-05-18 11:04:33.854613: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/expense/total?start=2024-04-01&end=2024-04-30
2024-05-18 11:04:34.162507: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/income/total?start=2024-04-01&end=2024-04-30
2024-05-18 11:04:34.165513: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/accounts?type=liabilities
2024-05-18 11:04:34.421541: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/expense/total?start=2024-03-01&end=2024-03-31
2024-05-18 11:04:34.429717: [Auth.AuthUser - FINEST] APIv2 query to https://<my_url>/api/v2/chart/account/dashboard?start=2023-06-01&end=2024-05-31&preselected=assets
2024-05-18 11:04:34.680449: [Auth.AuthUser - FINEST] API query to https://<my_url>/api/v1/insight/income/total?start=2024-03-01&end=2024-03-31
2024-05-18 11:04:36.148180: [Pages.Navigation - FINER] NavPageElements->setAppBarActions equal, skipping
2024-05-18 11:04:36.150684: [Pages.Navigation - FINEST] notify NavPageElements->setAppBarBottom()
2024-05-18 11:04:36.151013: [Pages.Navigation - FINEST] notify NavPageElements->setFab()
2024-05-18 11:04:36.151323: [Pages.Navigation - FINEST] notify NavPageElements->setAppBarTitle()
2024-05-18 11:04:36.152114: [Pages.Navigation.Page - FINEST] nav build(page: 4)
2024-05-18 11:04:36.152704: [Pages.Settings.Page - FINEST] build()
2024-05-18 11:04:49.422498: [App - FINEST] App pausing now

Did it work at some point before, or was it always broken? The log is uneventful, the average is calculated correctly (which uses the same data as the bar chart), and everything else is pretty recent.. I also tried very large numbers here and don't have an issue.

It didn't work from the start, I thought there might be some issue with how little data I have (I just started using both firefly and waterfly) so I waited for a week or so, but bars did not appear

so I did some research and found it to be a time zone related issue: containsKey did not match. I'm not completely sure if that's the most idiomatic way to fix that but it seems to work