Debugging is hard sometimes :-) One thing that strikes me is that you have posted the output from ledger. People have taken that output and shown that it balances in ledger. The only possibility is that there is something in the input file that is causing it not to balance. It could be many things: some strange character in the input that isn't making it to the output, a different entry that is causing a problem with this one, etc, etc.
To narrow down the problem: * Step 1: Make a copy of your original input file! Don't skip this step because you can easily make mistakes editing stuff and forget what it was like before you started. * Step 2: Do exactly what others have done: take the information in the email and enter it into a new file. Then run ledger to ensure that it indeed balances. If it does, then you know the problem is somewhere else. If it doesn't, then I would start looking at the encoding of your files. It's a bit complicated, so if your new file (with just that one transaction) doesn't balance, feel free to email it to me and I will investigate. * Step 3: If Step 2 balances, *copy* the input from your original input file into a new file and see if it balances. If it doesn't, try to figure out the difference between the file in Step 2 and the file in Step 3. * Step 4: If Step 3 balances, go back to your original file (remember to check that you have a copy of the original!!!) and delete everything except that one transaction. See if that balances. If it doesn't, try to figure out the difference between the original with everything deleted and the files in Step 2 and Step 3. * Step 5: If Step 4 balances, start adding one transaction at a time from your copy back into the original, running ledger each time. Keep doing that until the transaction stops balancing. This will be the thing causing the problem. Try to make the smallest possible file that still breaks and send it to the list. * Alternate Step 5: Instead of adding one transaction at a time, restore your original from the copy and start deleting one transaction at a time (but *don't* delete the transaction you have shown us). Keep doing that until it starts to balance. The last thing you deleted is the thing that broke everything. Again, make the smallest possible file that still breaks and send it to the list. This technique will probably lead you to finding the problem. I know it is a pain. I've had to do it a couple of times to find problems in my files. So far, all of my problems have come from illegal input or trying features that don't actually exist in ledger :-) Hopefully it will be the same for you. Hope that helps! On 3 October 2014 02:40, o1bigtenor <[email protected]> wrote: > I am now officially very confused. > > I ran the balance command 2 x. > Both times gave the listed output (see below). > Entered another transaction (to see if the error would still be sorted out) > and the verdict is that all is in balance. > > That's just weird!! > > Any ideas as to what might have caused the issue? > (I save the file before I run the command. (Every time!!)) > > Dee > > > On Thu, Oct 2, 2014 at 8:31 PM, Craig Earls <[email protected]> wrote: > >> No errors with that transaction using the same build as you. >> >> On Thu, Oct 2, 2014 at 6:28 PM, o1bigtenor <[email protected]> wrote: >> > >> > >> > On Thu, Oct 2, 2014 at 8:06 PM, J. Collins Conover <[email protected]> >> wrote: >> >> >> >> I ran that verbatim in Ledger 2.6.1. >> > >> > >> > Sorry - - - I'm running: >> > >> > Ledger 3.0.3-20140608, the command-line accounting tool >> > >> > Really have no idea where to look for the error either. >> > >> > Any suggestions? >> > >> >> >> >> No error >> >> >> >> :~$ ledger -f test.dat balance >> >> $ -62.68 Assets >> >> $ 62.68 Expenses >> >> >> >> :~$ ledger -f test.dat reg >> >> 2013/01/26 Banville & Jones W.. Ex: x: 9350.10.15.11 $ 13.90 >> >> $ 13.90 >> >> Ex: x: 8762.10.10.20 >> >> $ 0.65 $ 14.55 >> >> Ex: x: 9350.10.62.01 >> >> $ 45.98 $ 60.53 >> >> Ex: x: 8762.10.10.20 >> >> $ 2.15 $ 62.68 >> >> As: x: 1002.20.00.12 >> >> $ -62.68 0 >> >> >> >> On Thu, Oct 2, 2014 at 5:55 PM, o1bigtenor <[email protected]> >> wrote: >> >>> >> >>> Greetings >> >>> >> >>> Adding items to my file, doing a balance check after every complex >> >>> transaction >> >>> I got this: >> >>> >> >>> $ ledger balance -f 2013.ledger >> >>> While parsing file "/home/dee/Documents/xxxxx", line 99: >> >>> While balancing transaction from "/home/dee/Documents/xxxx", lines >> 94-99: >> >>> > 2013.01.26 Banville & Jones Wine Co >> >>> > Expenses: xxxxxxxx: 9350.10.15.11 >> >>> > $ 13.90 >> >>> > Expenses: xxxxxxxxxxxxxx: 8762.10.10.20 >> >>> > $ 0.65 >> >>> > Expenses: xxxxxxxxxxxxx: 9350.10.62.01 >> >>> > $ 45.98 >> >>> > Expenses: xxxxxxxxxxxxxx: 8762.10.10.20 >> >>> > $ 2.15 >> >>> > Assets: xxxxxxxxxxxxx: 1002.20.00.12 >> >>> > $ -62.68 >> >>> Unbalanced remainder is: >> >>> $ 0.08 >> >>> Amount to balance against: >> >>> $ 62.68 >> >>> Error: Transaction does not balance >> >>> >> >>> >> >>> The problem is that the transaction does balance (checked it 3 times >> >>> too). >> >>> >> >>> What to do to resolve this? >> >>> >> >>> TIA >> >>> >> >>> Dee >> >>> >> >>> -- >> >>> >> >>> --- >> >>> 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 [email protected]. >> >>> For more options, visit https://groups.google.com/d/optout. >> >> >> >> >> >> -- >> >> >> >> --- >> >> 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 [email protected]. >> >> For more options, visit https://groups.google.com/d/optout. >> > >> > >> > -- >> > >> > --- >> > 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 [email protected]. >> > For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> Craig, Corona De Tucson, AZ >> enderw88.wordpress.com >> >> -- >> >> --- >> 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 [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > > --- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
