Skip to content
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

Crash when running report by Category (and/ or filtered by project) #51

Open
dmbxmas opened this issue Oct 9, 2024 · 4 comments
Open

Comments

@dmbxmas
Copy link

dmbxmas commented Oct 9, 2024

I have been a long-term user of Financisto and then Financisto Holo. I'm currently using Financisto Holo v2024-10-08 on Android 14.

For some time now, when I try to report 'By Category' I get all the top-level categories (amounts displayed as bar charts). But when I click on one of the categories (expecting it to give me the sub-categories, it simply says 'Calculating...', the app hangs, and then it needs restarting. The same thing happens if I filter the 'By Category' report by project. The app displays the total for that project but when I click on the bar chart it hangs. I was expecting it to show how much was spent by category within that project.

This used to be possible, perhaps in the older version of the app. I've tried the integrity fix and looking at the settings, but I can't see why it wouldn't work. Everything else seems to be fine.

Anything I should be doing? Thanks.

@tiberiusteng
Copy link
Owner

I tried on my own device but can't reproduce it (yet). When it displays 'Calculating ...' it's actually querying database to build report, perhaps you can check the filter settings (bottom-left funnel button) and see if you have a duration filter in place, if not, it will run through full database, but it should not take very long (for my 15-year database it runs for about 5 seconds). You can try to set the filter to 'this month' or 'this year' and see if it works.

If it indeed crashed when creating the report, the stack trace (without data content) will show up on Google Play Console and I'll see if I can trace the bug and fix it.

@tiberiusteng
Copy link
Owner

And if you have foreign currency accounts, you probably need to download/set an exchange rate for the report to work correctly.

@dmbxmas
Copy link
Author

dmbxmas commented Oct 9, 2024

It was the duration filter. I've got transactions going back over two decades so it was probably just taking forever to run. But if I set the duration filter for the period that the project occurred within (in this case, a holiday in the last year), it now works as expected. Thank you for such a quick reply and a solution.

@tiberiusteng
Copy link
Owner

Glad it worked! I'll probably spend some time to figure out if I can make those eternal reports generate faster.

And it shouldn't hang the app - while it show 'Calculating ...' you should able to switch to other tabs and it'll cancel the background report job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants