ananthakumaran / paisa

Paisa – Personal Finance Manager. https://paisa.fyi demo: https://demo.paisa.fyi
https://paisa.fyi
GNU Affero General Public License v3.0
2.23k stars 112 forks source link

Read properties undefined (reading 'scheduled') #249

Open devzspy opened 1 week ago

devzspy commented 1 week ago

OS: Windows 10 Professional App Variant: Desktop

Describe the bug The following error pops up upon opening Paisa and it automatically loading my "Dashboard"

TypeError: Cannot read properties of undefined (reading 'scheduled')
    at http://wails.localhost/_app/immutable/chunks/transaction_sequence.giWNlVyI.js:1:2373
    at http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:22675
    at $e (http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:7225)
    at http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:22651
    at http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:21630
    at http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:28624
    at bf (http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:21602)
    at xf (http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:22624)
    at Function. (http://wails.localhost/_app/immutable/chunks/store.omAut747.js:19:11094)
    at ft (http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:6419)

and

TypeError: Cannot read properties of undefined (reading 'scheduled')
    at $s (http://wails.localhost/_app/immutable/nodes/3.f21ftaE2.js:1:4626)
    at Ct (http://wails.localhost/_app/immutable/chunks/index.0TyeUux6.js:4:2772)
    at new Es (http://wails.localhost/_app/immutable/nodes/3.f21ftaE2.js:1:4777)
    at Gt (http://wails.localhost/_app/immutable/nodes/3.f21ftaE2.js:5:10583)
    at jt (http://wails.localhost/_app/immutable/nodes/3.f21ftaE2.js:5:9263)
    at Object.p (http://wails.localhost/_app/immutable/nodes/3.f21ftaE2.js:5:19441)
    at lt (http://wails.localhost/_app/immutable/chunks/scheduler.rpkcuUjt.js:1:8650)
    at rt (http://wails.localhost/_app/immutable/chunks/scheduler.rpkcuUjt.js:1:8303)

To Reproduce Steps to reproduce the behavior:

  1. Close Paisa if open
  2. Open Paisa

Expected behavior Expecting the dashboard to open as it normally does and be able to use Paisa

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

image

devzspy commented 6 days ago

After removing a few entries within the editor/database I get my dashboard to load. However, if I attempt to insert any more transactions in the month of June I start to get the errors above. If I start to put transactions in July the program operates as expected.

AgileSenthil commented 3 days ago

I also got a similar error.

OS: Windows 11 Home App Variant: Desktop

Describe the bug The following error pops up upon synching a new ledger. I am not able to close the error window as well. I tried to reopen the app. But the error appears again.

TypeError: Cannot read properties of undefined (reading 'scheduled') at http://wails.localhost/_app/immutable/chunks/transaction_sequence.giWNlVyI.js:1:2373 at http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:22675 at $e (http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:7225) at http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:22651 at http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:21630 at http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:28624 at bf (http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:21602) at xf (http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:22624) at Function. (http://wails.localhost/_app/immutable/chunks/store.omAut747.js:19:11094) at ft (http://wails.localhost/_app/immutable/chunks/store.omAut747.js:17:6419)

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

devzspy commented 14 hours ago

Looks like a scheduled Recurring entry was conflicting with a configuration for a credit card under More -> Configuration -> Credit Cards

I had

= Liabilities:CreditCard:Chase
    ; Recurring: ChasePayment
    ; Period: 16W * ?

Which had an entry under configurations. My guess was the period of 16W ? * was conflicting with the entry in my configuration (paisa.yaml)