One issue with the feature is that if the transaction fails and is thus skipped from the stream of parsed transactions, it won't be findable and you can't look at the context. This has a few times been annoying but I haven't addressed the problem yet.
On Mon, Aug 28, 2017 at 7:07 AM, <[email protected]> wrote: > Hmm, when I run that command everything looks empty. Perhaps there's > something fundamentally wrong in my input file? Here's the transaction: > > 2016-12-22 * "Coinbase" "Bitcoin purchase" > Expenses:Crypto:Fees:Coinbase 0.37 USD > Assets:Crypto:Bitcoin 0.02814847 BTC {871.10 USD} > Assets:Checking:CapitalOne -24.89 USD > > And here's what I got running bean-doctor: > > joel@bregalad:~/Documents/finances/beancount$ bean-doctor context > 2016ledger.org 1501 > Hash:48d22ca3f707bacc38d77b051c86409d > Location: /home/joel/Documents/finances/beancount/2016ledger.org:1501 > > ------------ Balances before transaction > > > ------------ Transaction > > 2016-12-22 * "Coinbase" "Bitcoin purchase" > > > > ------------ Balances after transaction > > I'm pretty sure something's amiss in my file, if its just giving me blank > lines. > > > Le dimanche 27 août 2017 18:54:09 UTC+2, Martin Blais a écrit : >> >> There's no command to anonymize for debugging, but I can share a tip for >> debugging this. >> What you want is to list the contents of the inventory for each of the >> accounts before the transaction is summed / applied. >> You can do this using the "bean-doctor context" command, which accepts a >> filename and line number to select a particular transaction. >> (If you use the Emacs support, just put the cursor over the transaction >> to select and type "C-c x".) >> This will list the balances of each of the accounts involve prior to the >> transaction, the residual unbalanced amount, the tolerances for each >> currency, and the balances of the accounts after applying the transaction. >> >> I hope this helps, >> >> >> >> >> On Mon, Aug 21, 2017 at 12:31 PM, <[email protected]> wrote: >> >>> Hello beancount users, >>> >>> I'm running bean-check against my ledger and its giving me "No position >>> matches" errors for entries purchasing a commodity. I don't understand what >>> that error could mean on a purchase transaction - if I were reducing lots, >>> it would make perfect sense, but when augmenting lots? >>> >>> Does beancount have a command to anonymize input files to make it easier >>> to share them for debugging? >>> >>> Thanks! >>> >>> -- >>> 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/ms >>> gid/beancount/0243d101-d59a-4762-b95e-dfa407e9f7cd%40googlegroups.com >>> <https://groups.google.com/d/msgid/beancount/0243d101-d59a-4762-b95e-dfa407e9f7cd%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> 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/f6575f46-9f6f-4b1a-b35d-037cb3b974ea%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/f6575f46-9f6f-4b1a-b35d-037cb3b974ea%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > 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%2BhORXA7y-9%2BSff61YqZ7ard0q9ZNq-7h-QfbeUaLu4K%2BqQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
