Re: Is this a bug? Unknown account warning with --strict when using $account
> "RJ" == Radoslaw Jurgawrites: RJ> I get a warning that I think shouldn't be there when I use the --strict RJ> option. This is definitely a bug! John -- --- 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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Is this a bug? Unknown account warning with --strict when using $account
> "RJ" == Radoslaw Jurgawrites: JR> I get a warning that I think shouldn't be there when I use the --strict RJ> option. >> Warning: "Budget.dat", line 16: Unknown account 'Budget:$account' Yes, you're right, this is a bug. The Bugzilla is still down, but I'd like to migrate the issues to GitHub. Let me spend some time over the next week and see how difficult that will really be. John -- --- 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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Is this a bug? Unknown account warning with --strict when using $account
I get a warning that I think shouldn't be there when I use the --strict option. > Warning: "Budget.dat", line 16: Unknown account 'Budget:$account' Here are the relevant lines in Budget.dat: > = /^Expenses:(?=Groceries|Rent|Utilities)/ > (Budget:$account)-1.0 When the referenced $account is parsed during execution, Budget:$account always yields accounts that are already known. So in my opinion there should be no warning and I would consider this a bug. A workaround is to add the following at the top of the Budget.dat file: > account Budget:$account Please let me know if you know better ways to deal with this situation. Thanks! -- --- 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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.