Q: how to debug reports.
Steven Cramer
steven.cramer at verizon.net
Wed Aug 5 20:00:30 EDT 2015
I'm using windows 7
GnuCash 2.6.5
When I clicked on the report. I was never given an option to put in a date,
it went straight to the error message
Glad to hear the perl warning is harmless, I thought that was the problem
and was looking to see if there were some
Installation instructions I missed.
-----Original Message-----
From: gnucash-user
[mailto:gnucash-user-bounces+steven.cramer=verizon.net at gnucash.org] On
Behalf Of Geert Janssens
Sent: Wednesday, August 05, 2015 2:32 AM
To: gnucash-user at gnucash.org
Subject: Re: Q: how to debug reports.
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.
_______________________________________________
gnucash-user mailing list
gnucash-user at gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
More information about the gnucash-user
mailing list