Report of custom reports
Rory O'Connor
rory at thewhiteroom.com
Fri Oct 31 12:02:56 EDT 2008
Hi,
First off I need to say I love gnucash. I've been using it for eight years,
but just now joined this list.
My question has to do with custom reports. I have created custom reports
like this:
401k stocks (based on "Advanced Portfolio" report)
401k bonds (based on "Advanced Portfolio" report)
401k cash (based on "Account Summary" report)
They work great. However, I tried to create another custom report that
shows all three in one, called "401k Full View".
I can create the report and save it just fine. But when I re-start gnucash
and try to view it on the screen I see:
Report error
An error occurred while running the report.
And on the command line I get the error below. Any ideas? I'm running
version 2.2.7 built from r17597M (installed via fink) on Mac OS X 10.5
(leopard).
Error:
In /sw/share/gnucash/scm/report.scm:
454: 15 (if (and (not #) (gnc:report-ctext report)) (gnc:report-ctext
report) ...)
462: 16 (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
465: 17* (set! doc (if template (let* # # # ...) #f))
465: 18* (if template (let* # # # ...) #f)
466: 19 (let* (# # # ...) (gnc:html-document-set-style-sheet! doc
stylesheet) ...)
468: 20* [render-view #]
In /sw/share/gnucash/guile-modules/gnucash/report/view-column.scm:
71: 21 (let* (# # # # ...) (let* # # #) (for-each # reports) ...)
87: 22* (let* ((new-reports #)) (for-each (lambda # #) reports) ...)
88: 23* [for-each #<procedure #f (report-info)> (# # # #)]
In unknown file:
?: 24* [#<procedure #f (report-info)> (18 1 1 #f)]
In /sw/share/gnucash/guile-modules/gnucash/report/view-column.scm:
90: 25* (let (# # # #) (if # #) (set! new-reports #))
94: 26* (if (not callback) (begin (set! callback #) (set! report-info #)))
95: 27 (begin (set! callback #) (set! report-info #))
96: 28* (set! callback (make-child-options-callback report #))
97: 29* [make-child-options-callback # #f]
59: 30 (let* ((view-opts #) (child-opts #) (id #)) id)
60: 31* [gnc:report-options #f]
In unknown file:
?: 32 (if (eq? # #) (struct-ref obj 2) (%record-type-error # obj))
?: 33* [eq? ...
?: 34* [struct-vtable #f]
<unnamed port>: In procedure struct-vtable in expression (struct-vtable
obj):
<unnamed port>: Wrong type argument in position 1 (expecting struct): #f
More information about the gnucash-user
mailing list