> [2022-03-14 15:21]:
> I am trying to run an old ledger file where I have lots of metadata tags
> (key/value pairs) and I am getting theses errors.
> % ledger -f test.ledger bal
> Warning: "test.ledger", line 7: Unknown metadata tag 'MyTag'
You probably have --strict in your ~/.ledgerrc.
The manual says:
If using the --strict or --pedantic options, you must declare this tag to avoid warnings and errors.
(This wasn't fully checked in the past due to bugs; they have been
fixed, which is why you see this now and not before.)
> Here's the test file:
> account Cash
> account Expenses
You miss the tag declaration here: