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

Facing various type error issues when viewing my Investments. #154

Closed
LEvinson2504 opened this issue Jan 21, 2024 · 2 comments
Closed

Facing various type error issues when viewing my Investments. #154

LEvinson2504 opened this issue Jan 21, 2024 · 2 comments

Comments

@LEvinson2504
Copy link

Describe your Environment
OS: Win 10
Paisa Version: 0.6.3
App Variant: Desktop

Describe the bug
Facing following Type errors when viewing investments.

To Reproduce
Steps to reproduce the behavior:

  1. Open Paisa App
  2. Go to Expenses > Monthly
  3. See error: TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
    at Function.from ()
    at F (http://wails.localhost/_app/immutable/chunks/each.MG8Yzj7Q.js:1:140)
    at Object.p (http://wails.localhost/_app/immutable/chunks/LegendCard.Oo1Zx2S0.js:1:2832)
    at it (http://wails.localhost/_app/immutable/chunks/scheduler.gG-dQSMC.js:1:8451)
    at nt (http://wails.localhost/_app/immutable/chunks/scheduler.gG-dQSMC.js:1:8104)

Please report this issue at https://github.com/ananthakumaran/paisa/issues. Closing and reopening the app may help.

Expected behavior
View empty charts, and no exceptions.

Screenshots
If applicable, add screenshots to help explain your problem.

Journal
Empty journal

@adityagovindaraj
Copy link

adityagovindaraj commented Jan 21, 2024

Facing the same problem.

OS: Win 11
Paisa Version: Latest
App Variant: Desktop

2024-01-21_17-39

@ananthakumaran
Copy link
Owner

The last refactor related to legends introduced these errors on a few pages. I will push a fix to this issue soon. The root cause for all the issues is nearly the same, if you have no investment/expense it might fail. You can add a dummy investment (asset) /expense for now to move ahead. The next version should handle empty journals better.

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