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

Assets->Balance page hangs #210

Open
nitinkgp23 opened this issue Apr 9, 2024 · 7 comments
Open

Assets->Balance page hangs #210

nitinkgp23 opened this issue Apr 9, 2024 · 7 comments

Comments

@nitinkgp23
Copy link

Describe your Environment
OS: Mac Ventura (silicon or intel)
Paisa Version: 0.6.6
App Variant: Desktop

Describe the bug
When I click on Assets->Balance, the app hangs. No loader loading. It seems like it is stuck processing something, and makes the app unresponsive. The only way is to close the app and restart. But even after restart, Balance page doesn't load up, while other pages load fine.

To Reproduce
Not sure whether this can be reproduced on other system consistently.

Expected behavior
Balance page should show up.

Screenshots
I clicked on Balance, and the app froze.

image

Journal
If applicable, provide a minimal journal to help explain your problem.

@nitinkgp23
Copy link
Author

Logs of the event:

2024-04-09 13:49:25
INFO
GET 200 83ms /api/assets/balance
clientIP=192.0.2.1file=/Users/runner/work/paisa/paisa/internal/server/logger.go:43func=github.com/ananthakumaran/paisa/internal/server.Logger.func1referer=wails://wails/assets/balance
2024-04-09 13:46:17
INFO
GET 200 2993ms /api/dashboard
clientIP=192.0.2.1file=/Users/runner/work/paisa/paisa/internal/server/logger.go:43func=github.com/ananthakumaran/paisa/internal/server.Logger.func1referer=wails://wails/
2024-04-09 13:46:14
INFO
GET 200 4ms /api/config
clientIP=192.0.2.1file=/Users/runner/work/paisa/paisa/internal/server/logger.go:43func=github.com/ananthakumaran/paisa/internal/server.Logger.func1referer=wails://wails/
2024-04-09 13:46:14
INFO
GET 200 1ms /
clientIP=192.0.2.1file=/Users/runner/work/paisa/paisa/internal/server/logger.go:43func=github.com/ananthakumaran/paisa/internal/server.Logger.func1referer=
2024-04-09 13:46:14
INFO
Using config file: /Users/nitinchoudhary/Documents/paisa/paisa.yaml
file=/Users/runner/work/paisa/paisa/internal/config/config.go:295func=github.com/ananthakumaran/paisa/internal/config.LoadConfigFile
2024-04-09 13:46:14
INFO
Set LANG to en_US.UTF-8
file=/Users/runner/work/paisa/paisa/cmd/root.go:115func=github.com/ananthakumaran/paisa/cmd.InitConfig

@nitinkgp23
Copy link
Author

nitinkgp23 commented Apr 9, 2024

Actually, after wiating for around 3 minutes, got this error. Since the app is unresponsive, cannot get the main error.
image

@nitinkgp23
Copy link
Author

Verified that it is working fine in version 0.6.5

@ananthakumaran
Copy link
Owner

ananthakumaran commented Apr 9, 2024

Verified that it is working fine in version 0.6.5

So it works on 0.6.5, but fails on 0.6.6? Not much has changed between the two. Do you see any issues on the gains page?. Not sure if this is somehow related to XIRR.

If you want to debug further, you can use the paisa-cli (web-gui) version with export PAISA_DEBUG=true. This will start to log lot more info to the console.

@nitinkgp23
Copy link
Author

nitinkgp23 commented Apr 9, 2024

No issue on other pages like Gain, Allocation etc. Only Balance page hangs. One difference that I see in this version is , custom sorting based on column and grouping of assets and ability to expand into each asset type. Maybe there is a bug in this workflow?

Edit: I tried it with paisa-cli and it is loading just fine.

@ananthakumaran
Copy link
Owner

Possible, I introduced a new js library (to support sorting by column etc) and rearranged some code on client side, which might have introduced a bug?

Edit: I tried it with paisa-cli and it is loading just fine.

That's strange.

But not much info for me to start debugging. I personally use paisa-cli and chrome, haven't faced any issue on balance page.

@daltonfury42
Copy link

I am also able to observe the same issue on MacOS 14.4.1. Downgraded to 0.6.5 to get around this.

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

3 participants