alex-sparus ยท GitHub

โฏ hledger-ui --version
hledger-ui 1.50-g75c3b2cfe-20250903, mac-aarch64

running on macOS 15.6.1

Start with this journal:

decimal-mark .
2025-09-01 opening balances
    assets:one  10,000 = 10,000
    assets:two  1,000 = 1,000
    equity:opening/closing balances
2025-09-03 Dinner ; stuff: dinner
    assets:three   -80
    expenses:dinner
  1. Run hledger-ui like this (assuming the journal above is saved to test.journal):
hledger-ui -f test.journal --all --watch acct:assets tag:stuff --pivot=stuff

It shows the dinner balance as expected.

  1. Introduce an error in the journal by editing the last line to expenses:dinner 1
    It shows an error as expected
test.journal:8-10:
 8 | 2025-09-03 Dinner  ; stuff: dinner
   |     assets:three                -80
   |     expenses:dinner               1
 This transaction is unbalanced.
 The real postings' sum should be 0 but is: -79
  1. Remove the error by removing the added 1.
    hledger-ui shows a weird error and it's stuck in that state until quitting and starting it again
test.journal:5:23:
   | 2025-09-01 opening balances
   |              10,000. = 10,000.
 5 |               1,000. = 1,000.
   |                      ^^^^^^^^
   |             -11,000.
 Balance assertion failed in
 In commodity "" at this point, excluding subaccounts, ignoring costs,
 the asserted balance is:         1,000
 but the calculated balance is:  11,000
 (difference: -10,000)
 To troubleshoot, check this account's running balance with assertions disabled, eg:
 hledger reg -I '$' cur:

P.S. Thank you so much for hledger ๐Ÿ™! Both my wife and I enjoy using it and we find it extremely useful

Read the original on github.com โ†—