Q: how to debug reports.
Steven Cramer
steven.cramer at verizon.net
Tue Aug 4 16:42:57 EDT 2015
I found this in the tracefile. Not knowing anything about Gnucash internals
I assume there is more here than I can recognize.
I see a "WARN", "Failed to execute", "unknown", and "invalid argument".
But I guess what I really need is someone that can translate this into a
course of action I should take to fix this??
* 10:37:52 WARN <gnc.app-utils> Could not spawn perl: Failed to execute
child process (No such file or directory)
* 10:37:52 WARN <gnc.scm> In C:\Program Files
(x86)\gnucash\share\gnucash/scm/gnucash/main.scm:
117: 6* [lazy-catch #t #<procedure #f ()> #<procedure dumper (key .
args)>]
In unknown file:
?: 7* [#<procedure #f ()>]
In C:\Program Files (x86)\gnucash\share\gnucash/scm/gnucash/main.scm:
118: 8* [apply #<procedure #f ()> ()]
In unknown file:
?: 9 [#<procedure #f ()>]
In C:\Program Files (x86)\gnucash\share\gnucash/scm/report.scm:
...
756: 10 (begin (set! html #) (set! html #) (set! html #))
757: 11* (set! html (gnc:report-render-html report #t))
757: 12* [gnc:report-render-html # #t]
716: 13 (if (and (not #) (gnc:report-ctext report)) (gnc:report-ctext
report) ...)
724: 14 (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
727: 15* (set! doc (if template (let* (# # # ...) (if # # ...) ...) ...))
727: 16* (if template (let* (# # # ...) (if # # ...) ...) ...)
728: 17 (let* (# # # #) (if # # #) (gnc:report-set-ctext! report html)
...)
730: 18* [#<procedure #f #> #]
In C:\Program Files
(x86)\gnucash\share\gnucash/scm/gnucash/report/standard-reports/net-barchart
.scm:
480: 19 [net-renderer # #t]
...
159: 20 (let* (# # # # ...) (define # #) (define # # #) ...)
163: 21* [gnc:timepair-start-day-time (0 . 0)]
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 ...)]
C:\Program Files (x86)\gnucash\share\gnucash/scm/date-utilities.scm:41:28:
In procedure mktime in expression (mktime date):
C:\Program Files (x86)\gnucash\share\gnucash/scm/date-utilities.scm:41:28:
Invalid argument
-----Original Message-----
From: Derek Atkins [mailto:warlord at MIT.EDU]
Sent: Tuesday, August 04, 2015 10:25 AM
To: Steven Cramer <steven.cramer at verizon.net>
Cc: gnucash-user at gnucash.org
Subject: Re: Q: how to debug reports.
"Steven Cramer" <steven.cramer at verizon.net> writes:
> I was unable to find a gnucash.trace file. How do I get to the console?
http://wiki.gnucash.org/wiki/Tracefile
> I am running the executable version for windows 7 if that makes a
> difference?
Yes, that makes a bit of a difference -- you wont find a console on Windows.
But check the trace file.
-derek
More information about the gnucash-user
mailing list