This bug looks like it is still around (ledger 3.2.1). Is there an accounting reason that we can't budget with multiple commodities? Or is that just a bug that hasn't been fixed? Looking at Github, I see Bug #1957 <https://github.com/ledger/ledger/issues/1957> seems to be this one. Except, using "-X $" doesn't solve the problem for me. I also note that the error here (mine too) is different from the bug's error listed. The bug has the error "Cannot convert a balance with multiple commodities into an amount", where m error is like listed in here "Cannot negate an uninitialized value".
Thanks, Matt On Monday, June 19, 2017 at 10:19:11 PM UTC+10 Lifepillar wrote: > On 19/06/2017 14:10, Lifepillar wrote: > > On 19/06/2017 12:16, Roman Root wrote: > >> any fix for whis bug? > > > > Using the following format, 'ledger -p april budget -f ledger.dat' does > > not give me any error: > > > > [snip] > > > > If I add -X PLN, however, I get 'Error: Cannot negate an uninitialized > > value'. > > This works for me, however (using my format): > > ledger -f ledger.dat -p '2010/04' budget -X PLN > ledger -f ledger.dat -p '2010/04' budget -X PLN Expenses > > Note the value of -p. It might depend on my date format, which might be > different from yours. > > Life. > > -- --- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/95c5cda8-1cf1-4177-b5d2-38c0f1910702n%40googlegroups.com.
