That was it. Swapping the order of the two plugins fixed the error. In addition, auto_accounts opens the leaves automatically, but it does not add a directive to open an ancestor account if that's missing. I had another set of transactions with a different broker, and all the leaf accounts had an open statement, but not the parent one (...:WiseBanyan was never open, but ...:WiseBanyan:Cash, ...:WiseBanyan:APPL, etc were).
On Mon, Aug 22, 2022 at 3:17 PM Red S <redstre...@gmail.com> wrote: > I don't know -- I don't use the auto_accounts plugin. I assume it inserts > open directives, meaning autoclose_tree should likely come after it. Could > you please try and confirm, and I'll update the doc. > > On Monday, August 22, 2022 at 1:09:01 PM UTC-7 cantas...@gmail.com wrote: > >> Does the order of the directives matter? >> >> Here's what I have (simplified) >> >> plugin "beancount_reds_plugins.autoclose_tree.autoclose_tree" >> plugin "beancount.plugins.auto_accounts" >> 2017-08-10 open Assets:Investments:Non-Retirement:Ciara:Robinhood >> 2017-11-13 close Assets:Investments:Non-Retirement:Ciara:Robinhood >> [... a bunch of transactions into subaccounts, :SIRI, :Cash, etc] >> >> I don't see a close directive for >> Assets:Investments:Non-Retirement:Ciara:Robinhood:SIRI in Fava. >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Beancount" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beancount/mTDZ3sQjH9U/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > beancount+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/90528a93-b602-4f6a-ae1a-091bdeb6d1een%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/90528a93-b602-4f6a-ae1a-091bdeb6d1een%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAMzm8_qv_iARF2%2BuEKmf%2B1caQhZez0t_p_Esu%3Da9d3u4oBh%2BFA%40mail.gmail.com.