Q: how to debug reports.
Geert Janssens
geert.gnucash at kobaltwit.be
Wed Aug 5 03:32:08 EDT 2015
On Tuesday 04 August 2015 15:42:57 Steven Cramer wrote:
> In C:\Program Files
> (x86)\gnucash\share\gnucash/scm/gnucash/report/standard-reports/net-ba
> rchart
So you have opened the Net Barchart report in this case. And you are
running on Windows.
Which verson of Windows ? And which version of GnuCash ?
> 163: 21* [gnc:timepair-start-day-time (0 . 0)]
The values in this function call are unusual in my opinion.
> In C:\Program Files
> (x86)\gnucash\share\gnucash/scm/date-utilities.scm: 422: 22 (let*
> ((bdt (gnc:timepair->date tp))) (set-tm:sec bdt 0) ...) ...
> 41: 23 [gnc:secs->timepair ...
> 41: 24* [car ...
> 41: 25* [mktime #(0 0 0 31 11 69 3 364 -1 ...)]
The unusual date value of 0 in the above call to gnc:timepair-start-day-
time is interpreted as Dec 31, 1969, which is an invalid date on Windows
(it's a valid date on Linux and OS X though). Hence the error in your
report.
The question now is where does this invalid selection come from. Which
period (start date and end date) are set for this report ?
Regards,
Geert
P.S. The warning about perl is harmless. It only means you didn't set up
Finance::Quote (yet), so you won't be able to fetch online quotes.
That's totally irrelevant to the report issue you are experiencing.
More information about the gnucash-user
mailing list