Why does this journal throws error? Is it a bug or my misunderstanding of
how budgeting works?
*journal.ldg* content:
~ Yearly
Expenses:Car €1000.00
Assets
2017/01/01 * Fail
Expenses:Food $40.00 @ €0.83
Assets
Output of ledger --file journal.ldg -X € budget
While evaluating value expression:
justify(scrub((get_at(display_total, 1) + get_at(display_total, 0))), 12,
((((12 + 1) + 12) + 1) + 12), true, color)
While adding to €-1000.00:
While calling function 'scrub <#EXPR (get_at(display_total, {1}) +
get_at(display_total, {0}))>':
While calling function 'justify (<#EXPR scrub((get_at(display_total, {1}) +
get_at(display_total, {0})))>, <#EXPR {12}>, <#EXPR (((({12} + {1}) + {12})
+ {1}) + {12})>, 1, 1)':
Error: Cannot add an uninitialized value to an amount
--
---
You received this message because you are subscribed to the Google Groups
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.