On 25.02.18,00:04, [email protected] wrote:
> Forgot to add the file. Here it is.
> 
> Matt

It works if you remove the brackets from the date in line 9 and set a 
real date like 2018/01/01.


Jostein


> 
> On Sunday, February 25, 2018 at 7:03:39 PM UTC+11, [email protected] 
> wrote:
> >
> > Hello!
> >
> > I'm trying to test scheduled transactions as shown in the manual: 
> > https://www.ledger-cli.org/3.0/doc/ledger-mode.html#Scheduling-Transactions
> >
> > My test file is attached.
> >
> > For some reason, it keeps telling me that it has unexpected whitespace at 
> > the line below the scheduled transaction's date (currently line 10, but 
> > that moves if I move the scheduled transaction around).
> >
> > I have double, triple, and quadruple checked for any whitespace out of 
> > place...
> > Deleting the square brackets and changing it to a valid date removes the 
> > error and the file processes as you would expect.
> >
> > Googling, I can't seem to find anything about this error, or about 
> > scheduled transactions not working for others.
> >
> > Anyone know what is going on here?
> >
> > Thanks,
> > Matt
> >
> 
> -- 
> 
> --- 
> 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.

> ;ALWAYS IMPORT THE BUDGET FILE IN BEFORE THE TX FILE. THE AUTOMATED STUFF IS 
> RUN BEFORE THE OTHER
> ;FILE IS PROCESSED, SO THE AUTOMATIONS WONT HAPPEN IF YOU GO THE OTHER WAY.
> 
> = /^Expenses:/
>       * [Budget:$account]     -1.0
>       * [Assets:Budgeted Money]       1.0
> 
> ;Try a scheduled Transaction
> [2018/*/1]    BudgetAllocation
>       [Budget:Expenses:Food]  $100
>       [Assets:Budgeted Money]
> 
> 2018/01/01 * Opening Balance
>       Assets:Fake Account     $1000
>       Equity:Opening Balance
> 
> 2018/01/02 * Fake KFC
>       Expenses:Food   $50
>       Assets:Fake Account
> 
> 2018/01/10 * "Fake McDonalds"
>       Expenses:Food   $10
>       Assets:Fake Account
> 
> 2018/02/05 * Fake KFC
>       Expenses:Food   $50
>       Assets:Fake Account
> 
> 2018/03/10 * Fake KFC
>       Expenses:Food   $50
>       Assets:Fake Account
> 

-- 

--- 
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.

Reply via email to