Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion failure when using group-by and amount #2330

Open
taviso opened this issue Feb 16, 2024 · 0 comments
Open

Assertion failure when using group-by and amount #2330

taviso opened this issue Feb 16, 2024 · 0 comments

Comments

@taviso
Copy link
Contributor

taviso commented Feb 16, 2024

Test ledger File:

2024/01/01 * Test1
    Expenses:Test                            $1.00
    Assets:Checking
2024/01/01 * Test2
    Expenses:Test                            $1.00
    Assets:Checking
$ ledger --args-only --file test.ldg bal --group-by 'payee' --amount 'amount * 2' ^Expenses:
terminate called after throwing an instance of 'ledger::assertion_failed'
  what():  Assertion failed in "ledger/src/op.h", line 260:void ledger::expr_t::op_t::release() const: refc > 0
$ ledger --version
Ledger 3.3.2-20230330, the command-line accounting tool
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant