-
-
Notifications
You must be signed in to change notification settings - Fork 413
1.30: Strange assertion error #2150
Copy link
Copy link
Closed
Labels
A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.affects3-fewAffects just a few users.Affects just a few users.annoyance4-majorMajor usability/doc bug, or any regression or crash.Major usability/doc bug, or any regression or crash.bountyThar's some kind o' loot on offer..Thar's some kind o' loot on offer..duplicatejournalThe journal file format, and its features.The journal file format, and its features.regressionA backwards step, indicating a weakness in our QA. We don't like these.A backwards step, indicating a weakness in our QA. We don't like these.
Description
Activity
Metadata
Metadata
Assignees
Labels
A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.affects3-fewAffects just a few users.Affects just a few users.annoyance4-majorMajor usability/doc bug, or any regression or crash.Major usability/doc bug, or any regression or crash.bountyThar's some kind o' loot on offer..Thar's some kind o' loot on offer..duplicatejournalThe journal file format, and its features.The journal file format, and its features.regressionA backwards step, indicating a weakness in our QA. We don't like these.A backwards step, indicating a weakness in our QA. We don't like these.
Originally reported in mailing list: https://groups.google.com/g/hledger/c/UXBTSuTB-6s
My
hledger --versionishledger 1.30.1, linux-x86_64I noticed this at the end of the year when closing my balances that there was one posting that was being reported as not balanced by assertions even though it is balanced according what
hledger reg -Iandhledger bal -Ireports and after a few tries managed to reproduce it down to following journal file:When running hledger with this it reports balances as unbalanced. Removing the currency from assertion in "closing balances" transaction or removing assertion entirely from "Exchange" transaction removes the error.