Reports broken?
J. Alex Aycinena
alex.aycinena at gmail.com
Sun Jul 25 01:46:54 EDT 2010
Mike,
> ---------- Forwarded message ----------
> From: Mike Evans <mikee at saxicola.idps.co.uk>
> To: gnucash-devel at gnucash.org
> Date: Sat, 24 Jul 2010 12:49:54 +0100
> Subject: Reports broken?
> SVN r19378 on Fedora12
>
> I get the following log output when running any report .
>
>
> In /usr/local/share/gnucash/scm/report.scm:
> 649: 17* (set! doc (if template (let* (# # # ...) (if # # ...) ...) ...))
> 649: 18* (if template (let* (# # # ...) (if # # ...) ...) ...)
> 650: 19 (let* (# # # #) (if # # #) (gnc:report-set-ctext! report html) ...)
> 654: 20* (if (string? doc) (set! html doc) ...)
> 656: 21 (begin (gnc:html-document-set-style-sheet! doc stylesheet) (set!
> html #))
> 658: 22 (set! html (gnc:html-document-render doc headers?))
> 658: 23* [gnc:html-document-render # #t]
> In /usr/local/share/gnucash/scm/html-document.scm:
> 131: 24 (let (# # #) (if stylesheet # #))
> In unknown file:
> ...
> ?: 25 [gnc:html-style-sheet-render # # #t]
> In /usr/local/share/gnucash/scm/html-style-sheet.scm:
> 233: 26 (let (# #) (gnc:html-document-set-title! newdoc #) ...)
> 233: 27* [easy-renderer #<procedure dispatch #> #]
> In /usr/local/share/gnucash/guile-modules/gnucash/report/stylesheet-easy.scm:
> 180: 28 (let* (# # # ...) (gnc:html-document-add-object! ssdoc #) ...)
> 317: 29* (let* ((t #)) (gnc:html-table-set-style! t "table" ...) ...)
> 331: 30* [add-css-information-to-doc #<procedure dispatch #> #]
> In /usr/local/share/gnucash/scm/html-fonts.scm:
> 115: 31 (let* (# # # # ...) (gnc:html-document-set-style-text! ssdoc #))
> 120: 32* [#<procedure #f (section name)> "General" "Enable Alternate Line
> Shading"]
> 118: 33 [gnc:option-value #f]
> In /usr/local/share/gnucash/scm/options.scm:
> 139: 34 (let* ((getter (gnc:option-getter option))) (getter))
> 139: 35* [gnc:option-getter #f]
> 112: 36 [vector-ref #f 5]
> /usr/local/share/gnucash/scm/options.scm:112:3: In procedure vector-ref in
> expression (vector-ref option 5):
> /usr/local/share/gnucash/scm/options.scm:112:3: Wrong type argument in
> position 2: 5
>
>
>
> --
> GPG Key: 1024D/050895C2
> Keyserver: http://pgp.mit.edu/
> Search String: 0x050895C2
>
This is due to changes in a patch I sent in. If, in the report
options, you specify the stylesheet as 'default', they should work for
now. I will have to send in patches for the other stylesheets to
conform to changes in 'html-fonts.scm' so that they will work also. I
will do this soon.
Alex
More information about the gnucash-devel
mailing list