On Sun, Aug 20, 2017 at 1:37 AM, Ken Mankoff <[email protected]> wrote:
> An MWE: > > 2007-01-01 open Assets:Cash:DKK DKK > 2007-01-01 open Expenses:Food:Restaurants DKK,USD > 2017-08-10 pad Assets:Cash:DKK Expenses:Food:Restaurants > 2017-08-11 balance Assets:Cash:DKK 1130 DKK > > Seems to be the "DKK,USD". I know you advise to keep each account as its > own currency, but we live/work in two countries (and travel in others) and > it just makes sense to have one restaurant budget and not sub-budgets by > currency. Maybe I'm missing something here in the > bookkeeping/finance/organization > logic? > No, that should be fine. I do the same thing. For expenses accounts it makes sense. I'm able to bake this example to HTML without generating errors. > > -k. > > > > On 2017-08-20 at 04:36, Martin Blais <[email protected]> wrote: > > On Sun, Aug 20, 2017 at 12:09 AM, Ken Mankoff <[email protected]> wrote: > > > >> > >> On 2017-08-19 at 21:54, Martin Blais <[email protected]> wrote: > >> > It looks like you're hitting a TypeError on sorting. This should not > >> > happen. (I suspect something to do with renaming your 5 account types, > >> > yet this should never happen.) > >> > >> After bisecting the file I discovered that this is causing the error: > >> > >> 2017-08-10 pad Assets:Cash:DKK Expenses:Food:Restaurants > >> 2017-08-11 balance Assets:Cash:DKK 1130 DKK > >> > >> Is this incorrect syntax? "bean-check" reports no errors. > >> > > > > This is correct syntax. > > This alone, by itself, does not generate the error. > > Could you > > 1. copy your file > > 2. remove bits and pieces, check the error still exists > > 3. repeat 2 as much as possible > > 4. share a minimal file, possibly removing private infos / changing > numbers? > > That would be very useful in figuring out where this bug comes from. > > > > > > > > > > > >> > >> -k. > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups > >> "Beancount" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an > >> email to [email protected]. > >> To post to this group, send email to [email protected]. > >> To view this discussion on the web visit https://groups.google.com/d/ > >> msgid/beancount/m2efs62843.fsf%40gmail.com. > >> For more options, visit https://groups.google.com/d/optout. > >> > > -- > You received this message because you are subscribed to the Google Groups > "Beancount" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beancount/m2d17q241r.fsf%40gmail.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhM4sEafLgkaAEuQnnWqrO4iRbZ3m-RejfnHnDUxeyXi0A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
