Crash in Accounts receivable report

Josh Sled jsled at asynchronous.org
Tue Jan 8 08:45:38 EST 2008


Nigel Titley <nigel at titley.com> writes:
> A freshly built 2.2.99 from trunk on Ubuntu Gutsy gives me the following 
>   crash when I click on the "Total" amount for any line in the Accounts 
> Receivable Ageing report.
>
> Backtrace:
> In unknown file:
>     ?: 0* [gnc:owner-report-create # #]
> In /opt/gnucash/share/gnucash/guile-modules/gnucash/report/owner-report.scm:
>   733: 1* [owner-report-create # #]
>   715: 2  (let ((type #)) (cond (# #) (# #) (# #) ...))
>     ...
>   706: 3  (let* (# # #) (gnc:option-set-value owner-op owner) ...)
>   710: 4* [gnc:option-set-value #f #<swig-pointer GncOwner * -407d6d7c>]
> In /opt/gnucash/share/gnucash/scm/options.scm:
>   143: 5  (let ((setter (gnc:option-setter option))) (setter value))
>   143: 6* [gnc:option-setter #f]
>   114: 7  [vector-ref #f 6]
>
> /opt/gnucash/share/gnucash/scm/options.scm:114:3: In procedure 
> vector-ref in expression (vector-ref option 6):
> /opt/gnucash/share/gnucash/scm/options.scm:114:3: Wrong type argument in 
> position 1: #f

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"]
In /opt/gnc/svn/share/gnucash/scm/options.scm:
1467: 41   ((options (quote lookup)) section name)
1467: 42*  [#f lookup]
/opt/gnc/svn/share/gnucash/scm/options.scm:1467:4: In expression (options (quote lookup)):
/opt/gnc/svn/share/gnucash/scm/options.scm:1467:4: Wrong type to apply: #f

The crash is not present on branches/v2.2/.

-- 
...jsled
http://asynchronous.org/ - a=jsled; b=asynchronous.org; echo ${a}@${b}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080108/b2005941/attachment.bin 


More information about the gnucash-devel mailing list