dreautall / waterfly-iii

Unofficial Android App for Firefly III, a free and open source personal finance manager.
MIT License
329 stars 25 forks source link

Grey section on overview page #160

Closed davidramiro closed 11 months ago

davidramiro commented 11 months ago

First of all, thanks for your work on this fantastic app. Clean and easy to use, best one of the Firefly apps on mobile so far. 🙂

Since the last update - I'm on 0.2.0-beta+176 - there is a grey section which can be scrolled infinitely on the bottom of the overview page. I saw the addition of a net worth graph in the changelog, I suppose the gray area is where it is supposed to be? I attached a screenshot from my Android 13 phone.

photo_2023-10-02_14-12-07

Let me know if I can provide anything else to help debugging.

dreautall commented 11 months ago

What Firefly version are you using?

If it's a recent one: Could you please generate a debug log (settings -> tap on app version, enable logs, go back to homescreen, refresh once by pulling down, back to settings -> tap on app version, send logs, then disable)

Thank you!

davidramiro commented 11 months ago

Using latest Firefly 6.0.26. Here you go:

Debug log ``` 2023-10-02 20:32:02.323698: [Settings - FINEST] notify SettingsProvider->setDebug() 2023-10-02 20:32:09.305058: [Pages.Navigation - FINER] NavPageElements->setAppBarActions equal, skipping 2023-10-02 20:32:09.309428: [Pages.Navigation - FINER] NavPageElements->setAppBarBottom equal, skipping 2023-10-02 20:32:09.310690: [Pages.Navigation - FINER] NavPageElements->setFab equal, skipping 2023-10-02 20:32:09.312343: [Pages.Navigation - FINEST] notify NavPageElements->setAppBarTitle() 2023-10-02 20:32:09.315146: [Pages.Navigation.Page - FINEST] nav build(page: 0) 2023-10-02 20:32:09.317116: [Pages.Home.Page - FINEST] build(tab: 0) 2023-10-02 20:32:09.322454: [Pages.Home.Main - FINEST] build() 2023-10-02 20:32:09.330197: [Pages.Navigation - FINEST] notify NavPageElements->setAppBarBottom() 2023-10-02 20:32:09.331504: [Pages.Home.Page - FINER] _handleTabChange(0) 2023-10-02 20:32:09.332256: [Pages.Navigation - FINEST] notify NavPageElements->setFab() 2023-10-02 20:32:09.332921: [Pages.Navigation - FINER] NavPageElements->setAppBarActions equal, skipping 2023-10-02 20:32:09.333431: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/accounts?type=asset 2023-10-02 20:32:09.333911: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/income/category?start=2023-10-01&end=2023-10-02 2023-10-02 20:32:09.334350: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/chart/account/overview?start=2023-07-02&end=2023-10-02 2023-10-02 20:32:09.334863: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/expense/total?start=2023-10-01&end=2023-10-02 2023-10-02 20:32:09.335291: [Auth.AuthUser - FINEST] APIv2 query to https://firefly.mydomain.com/api/v2/chart/account/dashboard?start=2022-11-01&end=2023-10-31 2023-10-02 20:32:09.335724: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/budgets 2023-10-02 20:32:09.406268: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/income/total?start=2023-10-01&end=2023-10-02 2023-10-02 20:32:09.507098: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/expense/category?start=2023-10-01&end=2023-10-02 2023-10-02 20:32:09.513919: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/expense/total?start=2023-09-01&end=2023-09-30 2023-10-02 20:32:09.527677: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/budget-limits?start=2023-10-01&end=2023-10-02 2023-10-02 20:32:09.543544: [Auth.AuthUser - FINEST] APIv2 query to https://firefly.mydomain.com/api/v2/chart/balance/balance?start=2023-09-26&end=2023-10-02&accounts%5B%5D=95&accounts%5B%5D=98&accounts%5B%5D=208&accounts%5B%5D=194&accounts%5B%5D=345&accounts%5B%5D=349&accounts%5B%5D=352&accounts%5B%5D=353&period=1D 2023-10-02 20:32:09.620018: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/income/total?start=2023-09-01&end=2023-09-30 2023-10-02 20:32:09.694431: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/expense/total?start=2023-08-01&end=2023-08-31 2023-10-02 20:32:09.793686: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/income/total?start=2023-08-01&end=2023-08-31 2023-10-02 20:32:11.535615: [Pages.Home.Main - FINEST] build() 2023-10-02 20:32:11.541774: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/accounts?type=asset 2023-10-02 20:32:11.542279: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/income/category?start=2023-10-01&end=2023-10-02 2023-10-02 20:32:11.542692: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/chart/account/overview?start=2023-07-02&end=2023-10-02 2023-10-02 20:32:11.543075: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/expense/total?start=2023-10-01&end=2023-10-02 2023-10-02 20:32:11.543555: [Auth.AuthUser - FINEST] APIv2 query to https://firefly.mydomain.com/api/v2/chart/account/dashboard?start=2022-11-01&end=2023-10-31 2023-10-02 20:32:11.543967: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/budgets 2023-10-02 20:32:11.608023: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/income/total?start=2023-10-01&end=2023-10-02 2023-10-02 20:32:11.685273: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/expense/category?start=2023-10-01&end=2023-10-02 2023-10-02 20:32:11.690103: [Auth.AuthUser - FINEST] APIv2 query to https://firefly.mydomain.com/api/v2/chart/balance/balance?start=2023-09-26&end=2023-10-02&accounts%5B%5D=95&accounts%5B%5D=98&accounts%5B%5D=208&accounts%5B%5D=194&accounts%5B%5D=345&accounts%5B%5D=349&accounts%5B%5D=352&accounts%5B%5D=353&period=1D 2023-10-02 20:32:11.692559: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/expense/total?start=2023-09-01&end=2023-09-30 2023-10-02 20:32:11.716798: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/budget-limits?start=2023-10-01&end=2023-10-02 2023-10-02 20:32:11.783249: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/income/total?start=2023-09-01&end=2023-09-30 2023-10-02 20:32:11.874062: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/expense/total?start=2023-08-01&end=2023-08-31 2023-10-02 20:32:11.949554: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/income/total?start=2023-08-01&end=2023-08-31 2023-10-02 20:32:15.630333: [Pages.Navigation - FINER] NavPageElements->setAppBarActions equal, skipping 2023-10-02 20:32:15.634716: [Pages.Navigation - FINEST] notify NavPageElements->setAppBarBottom() 2023-10-02 20:32:15.635798: [Pages.Navigation - FINEST] notify NavPageElements->setFab() 2023-10-02 20:32:15.636983: [Pages.Navigation - FINEST] notify NavPageElements->setAppBarTitle() 2023-10-02 20:32:15.639288: [Pages.Navigation.Page - FINEST] nav build(page: 2) 2023-10-02 20:32:15.641099: [Pages.Settings.Page - FINEST] build() ```

(Just replaced my actual domain with a dummy)

dreautall commented 11 months ago

Okay that's really odd, no error there either. Just throwing out a couple of ideas for potential issues:

davidramiro commented 11 months ago

Is it showing the budget card below the grey box, or is it basically infinite?

I can't scroll past it. It's literally infinite, if I swipe down 10 times, I have to swipe up 10 times again to reach the top. I can't reach the budgets below.

Is your overall balance shown on the Firefly main page (topright, blue box) positive or negative?

Positive.

Do you have transactions older than three months in your Firefly instance? Older than a year?

Yes, my transactions go back to 2020.

I'll try reinstalling with the APK from GitHub next. Edit: Same thing here 🙁

Fallenbagel commented 11 months ago

Same issue here too with the latest update

marcogiorgio commented 11 months ago

Same here

dreautall commented 11 months ago

Okay that's really strange. Affecting multiple users but not all...

I built a debug version of the app with a ton of additional debugging around the Net Worth chart. The app should install additionally to the main app and show a "DEBUG" banner on the top right. Please log in, enable debug logging, refresh the main page, and check the debug logs. The logs now contain a lot of number values which indicate your net worth, so maybe just submit the last entries censored if you can see an error or something (or send the complete log via the mail option in-app). The grey box might now also show a big red flashy error message which could be useful.

https://github.com/dreautall/waterfly-iii/blob/master/.github/app-debug-issue160.apk

WARNING: That debug version is pretty slow and has no additional features that the main app does not have. Please don't use it for production, feel free to uninstall after sending the log. Thank you!

davidramiro commented 11 months ago

Thanks for the build, there's something:

Telegram_2023-10-03_20-23-00

Here's the truncated debug log, I've just replaced the money values with some random values:

Debug log ``` [...] 2023-10-03 20:21:47.524727: [Pages.Home.Main - FINEST] [4] trying to parse 12345.670000000000 2023-10-03 20:21:47.525132: [Pages.Home.Main - FINEST] [4] parsed value as 12345.67 2023-10-03 20:21:47.525564: [Pages.Home.Main - FINEST] value positive, adding to lastMonthsAsset[2023-09-01 00:00:00.000] 2023-10-03 20:21:47.525933: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-02T00:00:00+02:00 2023-10-03 20:21:47.526286: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-02 00:00:00.000 2023-10-03 20:21:47.526636: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-03T00:00:00+02:00 2023-10-03 20:21:47.526997: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-03 00:00:00.000 2023-10-03 20:21:47.527344: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-04T00:00:00+02:00 2023-10-03 20:21:47.527700: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-04 00:00:00.000 2023-10-03 20:21:47.528057: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-05T00:00:00+02:00 2023-10-03 20:21:47.528412: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-05 00:00:00.000 2023-10-03 20:21:47.528767: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-06T00:00:00+02:00 2023-10-03 20:21:47.529136: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-06 00:00:00.000 2023-10-03 20:21:47.529496: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-07T00:00:00+02:00 2023-10-03 20:21:47.529854: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-07 00:00:00.000 2023-10-03 20:21:47.530186: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-08T00:00:00+02:00 2023-10-03 20:21:47.530590: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-08 00:00:00.000 2023-10-03 20:21:47.530916: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-09T00:00:00+02:00 2023-10-03 20:21:47.531306: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-09 00:00:00.000 2023-10-03 20:21:47.531641: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-10T00:00:00+02:00 2023-10-03 20:21:47.532746: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-10 00:00:00.000 2023-10-03 20:21:47.533057: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-11T00:00:00+02:00 2023-10-03 20:21:47.533391: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-11 00:00:00.000 2023-10-03 20:21:47.533718: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-12T00:00:00+02:00 2023-10-03 20:21:47.534133: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-12 00:00:00.000 2023-10-03 20:21:47.534642: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-13T00:00:00+02:00 2023-10-03 20:21:47.535005: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-13 00:00:00.000 2023-10-03 20:21:47.535331: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-14T00:00:00+02:00 2023-10-03 20:21:47.535684: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-14 00:00:00.000 2023-10-03 20:21:47.536014: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-15T00:00:00+02:00 2023-10-03 20:21:47.536367: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-15 00:00:00.000 2023-10-03 20:21:47.536695: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-16T00:00:00+02:00 2023-10-03 20:21:47.537047: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-16 00:00:00.000 2023-10-03 20:21:47.537386: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-17T00:00:00+02:00 2023-10-03 20:21:47.537743: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-17 00:00:00.000 2023-10-03 20:21:47.538086: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-18T00:00:00+02:00 2023-10-03 20:21:47.538462: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-18 00:00:00.000 2023-10-03 20:21:47.538798: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-19T00:00:00+02:00 2023-10-03 20:21:47.539162: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-19 00:00:00.000 2023-10-03 20:21:47.539487: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-20T00:00:00+02:00 2023-10-03 20:21:47.539858: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-20 00:00:00.000 2023-10-03 20:21:47.540200: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-21T00:00:00+02:00 2023-10-03 20:21:47.540561: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-21 00:00:00.000 2023-10-03 20:21:47.540900: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-22T00:00:00+02:00 2023-10-03 20:21:47.541300: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-22 00:00:00.000 2023-10-03 20:21:47.541660: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-23T00:00:00+02:00 2023-10-03 20:21:47.542349: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-23 00:00:00.000 2023-10-03 20:21:47.542693: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-24T00:00:00+02:00 2023-10-03 20:21:47.543075: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-24 00:00:00.000 2023-10-03 20:21:47.543431: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-25T00:00:00+02:00 2023-10-03 20:21:47.543808: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-25 00:00:00.000 2023-10-03 20:21:47.544160: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-26T00:00:00+02:00 2023-10-03 20:21:47.544536: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-26 00:00:00.000 2023-10-03 20:21:47.544968: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-27T00:00:00+02:00 2023-10-03 20:21:47.545366: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-27 00:00:00.000 2023-10-03 20:21:47.545729: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-28T00:00:00+02:00 2023-10-03 20:21:47.546101: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-28 00:00:00.000 2023-10-03 20:21:47.546510: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-29T00:00:00+02:00 2023-10-03 20:21:47.546885: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-29 00:00:00.000 2023-10-03 20:21:47.547248: [Pages.Home.Main - FINEST] [3] trying to parse 2023-09-30T00:00:00+02:00 2023-10-03 20:21:47.547647: [Pages.Home.Main - FINEST] [3] parsed date as 2023-09-30 00:00:00.000 2023-10-03 20:21:47.548007: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-01T00:00:00+02:00 2023-10-03 20:21:47.548387: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-01 00:00:00.000 2023-10-03 20:21:47.548744: [Pages.Home.Main - FINEST] [4] trying to parse 23456.780000000000 2023-10-03 20:21:47.549108: [Pages.Home.Main - FINEST] [4] parsed value as 23456.78 2023-10-03 20:21:47.549485: [Pages.Home.Main - FINEST] value positive, adding to lastMonthsAsset[2023-10-01 00:00:00.000] 2023-10-03 20:21:47.549859: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-02T00:00:00+02:00 2023-10-03 20:21:47.550246: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-02 00:00:00.000 2023-10-03 20:21:47.550609: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-03T00:00:00+02:00 2023-10-03 20:21:47.550980: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-03 00:00:00.000 2023-10-03 20:21:47.551357: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-04T00:00:00+02:00 2023-10-03 20:21:47.551709: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-04 00:00:00.000 2023-10-03 20:21:47.552066: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-05T00:00:00+02:00 2023-10-03 20:21:47.552438: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-05 00:00:00.000 2023-10-03 20:21:47.552802: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-06T00:00:00+02:00 2023-10-03 20:21:47.553178: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-06 00:00:00.000 2023-10-03 20:21:47.553572: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-07T00:00:00+02:00 2023-10-03 20:21:47.553946: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-07 00:00:00.000 2023-10-03 20:21:47.554306: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-08T00:00:00+02:00 2023-10-03 20:21:47.554697: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-08 00:00:00.000 2023-10-03 20:21:47.555033: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-09T00:00:00+02:00 2023-10-03 20:21:47.555379: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-09 00:00:00.000 2023-10-03 20:21:47.555744: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-10T00:00:00+02:00 2023-10-03 20:21:47.556130: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-10 00:00:00.000 2023-10-03 20:21:47.556490: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-11T00:00:00+02:00 2023-10-03 20:21:47.556870: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-11 00:00:00.000 2023-10-03 20:21:47.557245: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-12T00:00:00+02:00 2023-10-03 20:21:47.557607: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-12 00:00:00.000 2023-10-03 20:21:47.557972: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-13T00:00:00+02:00 2023-10-03 20:21:47.558359: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-13 00:00:00.000 2023-10-03 20:21:47.558711: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-14T00:00:00+02:00 2023-10-03 20:21:47.559085: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-14 00:00:00.000 2023-10-03 20:21:47.559440: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-15T00:00:00+02:00 2023-10-03 20:21:47.559817: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-15 00:00:00.000 2023-10-03 20:21:47.560170: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-16T00:00:00+02:00 2023-10-03 20:21:47.560548: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-16 00:00:00.000 2023-10-03 20:21:47.560904: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-17T00:00:00+02:00 2023-10-03 20:21:47.561278: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-17 00:00:00.000 2023-10-03 20:21:47.561680: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-18T00:00:00+02:00 2023-10-03 20:21:47.562062: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-18 00:00:00.000 2023-10-03 20:21:47.562416: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-19T00:00:00+02:00 2023-10-03 20:21:47.562790: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-19 00:00:00.000 2023-10-03 20:21:47.563142: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-20T00:00:00+02:00 2023-10-03 20:21:47.563519: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-20 00:00:00.000 2023-10-03 20:21:47.563872: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-21T00:00:00+02:00 2023-10-03 20:21:47.564249: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-21 00:00:00.000 2023-10-03 20:21:47.564606: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-22T00:00:00+02:00 2023-10-03 20:21:47.564988: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-22 00:00:00.000 2023-10-03 20:21:47.565338: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-23T00:00:00+02:00 2023-10-03 20:21:47.565712: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-23 00:00:00.000 2023-10-03 20:21:47.566063: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-24T00:00:00+02:00 2023-10-03 20:21:47.566439: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-24 00:00:00.000 2023-10-03 20:21:47.566785: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-25T00:00:00+02:00 2023-10-03 20:21:47.567164: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-25 00:00:00.000 2023-10-03 20:21:47.567518: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-26T00:00:00+02:00 2023-10-03 20:21:47.567895: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-26 00:00:00.000 2023-10-03 20:21:47.568253: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-27T00:00:00+02:00 2023-10-03 20:21:47.568626: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-27 00:00:00.000 2023-10-03 20:21:47.568980: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-28T00:00:00+02:00 2023-10-03 20:21:47.569351: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-28 00:00:00.000 2023-10-03 20:21:47.569716: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-29T00:00:00+02:00 2023-10-03 20:21:47.570080: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-29 00:00:00.000 2023-10-03 20:21:47.570439: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-30T00:00:00+01:00 2023-10-03 20:21:47.570824: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-30 00:00:00.000 2023-10-03 20:21:47.571203: [Pages.Home.Main - FINEST] [3] trying to parse 2023-10-31T00:00:00+01:00 2023-10-03 20:21:47.571579: [Pages.Home.Main - FINEST] [3] parsed date as 2023-10-31 00:00:00.000 2023-10-03 20:21:47.624257: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/income/total?start=2023-10-01&end=2023-10-03 2023-10-03 20:21:47.632515: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/budget-limits?start=2023-10-01&end=2023-10-03 2023-10-03 20:21:47.634951: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/expense/category?start=2023-10-01&end=2023-10-03 2023-10-03 20:21:47.638075: [Auth.AuthUser - FINEST] APIv2 query to https://firefly.mydomain.com/api/v2/chart/balance/balance?start=2023-09-27&end=2023-10-03&accounts%5B%5D=95&accounts%5B%5D=98&accounts%5B%5D=208&accounts%5B%5D=194&accounts%5B%5D=345&accounts%5B%5D=349&accounts%5B%5D=352&accounts%5B%5D=353&period=1D 2023-10-03 20:21:47.718069: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/expense/total?start=2023-09-01&end=2023-09-30 2023-10-03 20:21:47.807321: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/income/total?start=2023-09-01&end=2023-09-30 2023-10-03 20:21:47.938823: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/expense/total?start=2023-08-01&end=2023-08-31 2023-10-03 20:21:48.052358: [Auth.AuthUser - FINEST] API query to https://firefly.mydomain.com/api/v1/insight/income/total?start=2023-08-01&end=2023-08-31 2023-10-03 20:21:50.060995: [Pages.Navigation - FINER] NavPageElements->setAppBarActions equal, skipping 2023-10-03 20:21:50.064576: [Pages.Navigation - FINEST] notify NavPageElements->setAppBarBottom() 2023-10-03 20:21:50.065624: [Pages.Navigation - FINEST] notify NavPageElements->setFab() 2023-10-03 20:21:50.066531: [Pages.Navigation - FINEST] notify NavPageElements->setAppBarTitle() 2023-10-03 20:21:50.072: [Pages.Navigation.Page - FINEST] nav build(page: 2) 2023-10-03 20:21:50.076870: [Pages.Settings.Page - FINEST] build() ```

No obvious errors here... Not sure what exactly gets parsed, but the values, added up together, seem to make up my net worth, but I've not validated that.

I can also try creating a new test user on my Firefly instance and see if I can reproduce how the error occurs.

dreautall commented 11 months ago

Thank you! Looks like not the chart itself is the issue, but the table below it. I guess you have zero liabilities in a few or all months (lucky you ;)), and that mixes the table up. I'll implement a fix and release a hotfix tonight!

davidramiro commented 11 months ago

Amazing, thanks for the quick fix! I can see the net worth section now.

Although I still have a niche bug here: The net worth differs from the total value shown on Firefly. I have multiple accounts, but I don't show all accounts on the front page. You can select which accounts you want to show on the graph/front page in the Firefly settings. If I enable all accounts, the net worth in Waterfly shows the correct value, if I hide some accounts the exact value of those accounts will be missing.

I think it's a very cool feature to actually query all the assets and liabilities and sum them up into a graph like you're doing here, so I would love if that query could be tweaked to include all accounts.

Edit: I can also make another issue out of this if it makes it easier to plan for you.

dreautall commented 11 months ago

Glad that it works (wow google is fast with deploying updates)!

Please file a separate bug for this, as I need to file a bug with firefly based on this to include it in the API. Right now, there is no endpoint to get what I need for all asset accounts.

davidramiro commented 11 months ago

wow google is fast with deploying updates

Nah, I've pulled the apk from releases, update didn't show for me yet 😄

Please file a separate bug for this

Done at #163, thanks for taking this on!