[GNC] Date error running report from gnucash-cli, report runs fine in GUI

William Starrs wjstarrsiii at gmail.com
Tue Sep 20 19:38:21 EDT 2022


Update:  I tried also setting a fixed Start Date and end of "Today", as
well as a fixed start and end date.  All configurations give the same
error.  Again, no error in the GUI.

Thanks,

Bill

On Mon, Sep 19, 2022 at 3:27 PM William Starrs <wjstarrsiii at gmail.com>
wrote:

> Hello,
>
> I would like to script a report that will show me all transactions on
> credit cards since their last closing date.  I'll maintain closing dates
> outside of Gnucash.  I have the report set to show me all transactions
> since the start of the previous quarter (so it is rolling) through today.
> I would then filter out transactions prior to the closing date in
> post-processing.
>
> The report runs fine in the GUI, but when I try to run from gnucash-cli I
> get the following error:
>
>     ERROR <gnc.engine.sx> Bad End Date: Invalid or before Start Date
>
> The -R show command shows options regarding the dates that ought to work:
>
> General / Start Date: relative . start-prev-quarter
> General / End Date: relative . today
>
> So I can't think of a situation where the start of previous quarter would
> be missing or before today.
>
> Any suggestions?
>
> Thanks
>
> Bill
>


More information about the gnucash-user mailing list