Crash in Accounts receivable report

Andrew Sackville-West andrew at swclan.homelinux.org
Mon Jan 14 13:53:51 EST 2008


On Tue, Jan 08, 2008 at 08:45:38AM -0500, Josh Sled wrote:

...

> 
> I hadn't yet gotten around to reporting it, but I did see this – as well – in
> the Expense Barchart/Piechart reports over the weekend, though the error was
> a bit different:
> 
>  * 10:51:43  INFO <gnc.gui> [gnc_plugin_page_report_setup] set needs save
> In /opt/gnc/svn/share/gnucash/scm/report.scm:
>     ...
>  552: 23  (set! html (gnc:report-render-html report #t))
>  552: 24* [gnc:report-render-html # #t]
>  518: 25  (if (and (not #) (gnc:report-ctext report)) (gnc:report-ctext report) ...)
>  526: 26  (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
>  529: 27* (set! doc (if template (let* # # # ...) #f))
>  529: 28* (if template (let* # # # ...) #f)
>  530: 29  (let* (# # # ...) (gnc:html-document-set-style-sheet! doc stylesheet) ...)
>  532: 30* [#<procedure #f #> #]
> In /opt/gnc/svn/share/gnucash/guile-modules/gnucash/report/category-barchart.scm:
>  552: 31  [category-barchart-renderer # "Expense Over Time" # ...]
> In unknown file:
>     ...
>    ?: 32  (letrec ((show-acct? #)) (if (not #) (let* # #) ...) ...)
> In /opt/gnc/svn/share/gnucash/guile-modules/gnucash/report/category-barchart.scm:
>  225: 33* (if (not (null? accounts)) (let* (# # # ...) (letrec # # ...)) ...)
>  228: 34  (let* (# # # # ...) (letrec # # # ...))
>     ...
>  402: 35  (begin # # # ...)
>  431: 36* (if (> (length all-data) max-slices) (let* (# # #) (set! all-data #) ...))
>  432: 37  (let* (# # #) (set! all-data #) (let* # # # ...))
>  440: 38  (let* (# #) (gnc:options-copy-values # options) ...)
>  446: 39* [gnc:option-set-value ...
>  447: 40*  [gnc:lookup-option #f "Accounts" "Accounts"]

we're trying to access report options for a report that doesn't
exist. It's caused by line 440: gnc:make-report-options reportname... 
whoops. There is no referring to reports by name. I'm pushing a
changeset to (sorry, I started on the wrong one) piecharts that should
fix this. But, I can't even get links in my charts, so I can't really
test it. What am I missing that I don't get links in my charts?

A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080114/325aac3e/attachment.bin 


More information about the gnucash-devel mailing list