2017-02-23 * "Exchange" Assets:Vanguard:401k:FUNDA -12.184 FUNDA {32.53 USD} Assets:Vanguard:401k:FUNDB 12.188 FUNDB {32.52 USD}
--
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+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAKD2hyHpFsppu3axQcaBXNUyuWL1SbT-RdaYF%3DNsQe7nV5dAcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
plugin "beancount.plugins.auto_accounts" 2017-02-10 * "Contribution" Assets:Vanguard:401k:FUNDA 12.184 FUNDA {32.04 USD} Assets:Vanguard:401k:Cash -390.37536 USD 2017-02-23 * "Exchange" Assets:Vanguard:401k:FUNDA -12.184 FUNDA {32.53 USD} Assets:Vanguard:401k:FUNDB 12.188 FUNDB {32.52 USD}
Hash:8960232d31fba5113ed6802ab12d5f44Location: /tmp/a:5------------ Balances before transaction------------ Transaction2017-02-23 * "Exchange"------------ Balances after transaction
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhMpnGX_umg243Be4Dqy5C_1c13Y4%2BRk81yHC0kSKNuoAg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAKD2hyF_%2BhssB2JOhbL%2BMVATekxhChDoF7s3JdaBkw4Dm-TRNg%40mail.gmail.com.
# Run interpolation on incomplete entries. entries, balance_errors = booking.book(entries, options_map) # Transform the entries. entries, errors = run_transformations(entries, parse_errors, options_map, log_timings)
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhMMkOQgEXs%2BqsZzLXLST%2BpN6-k6rSnipk%2BcPGwNYer_Pw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
I don't think it's buggy. What I think it happens is that in loader.py (function _load) there are these lines:# Run interpolation on incomplete entries. entries, balance_errors = booking.book(entries, options_map) # Transform the entries. entries, errors = run_transformations(entries, parse_errors, options_map, log_timings)"booking.book" seems to be stripping out the positions with errors, and it seems that plugins are run in "run_transformations", so my plugin doesn't see any account and doesn't open it. My OP was asking if inverting the order of these two operations is safe in general.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAKD2hyEaX-9NkoRK6DbB%3DX9P8ysdWxL3kswS_qTMpDG0oKyQHg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhO%3Da6ex60MYxr5LHQSmff07E%3Dp5Vp%2BPvaSDFbuscx9LJg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
I see.So there is no way to auto-open accounts with "NONE" before booking entries?
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAKD2hyEFJ3ErEiet%3Dm98wfUaUTnethVMb3jusj3Vph_TMWn8gw%40mail.gmail.com.
plugin "beancount.plugins.wonderful" 2017-02-10 * "Contribution" Assets:Vanguard:401k:FUNDA 12.184 FUNDA {32.04 USD} Assets:Vanguard:401k:Cash -390.37536 USD 2017-02-23 * "Exchange" Assets:Vanguard:401k:FUNDA -12.184 FUNDA {32.53 USD} Assets:Vanguard:401k:FUNDB 12.188 FUNDB {32.52 USD}
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhOgseb-7cHd68QnNdpnsgb%3DQO9fXMU%2B3UDKEoCq2Dw%3DTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAKD2hyFYcbTte4gjEUhy3gMXN_69CkTR4f05Sd_xEXO5v7axaQ%40mail.gmail.com.