error in running Account Report

Fuchs Ira irafuchs at gmail.com
Mon Sep 19 19:56:25 EDT 2011


I would like to run an Account Report on the result of a search (based on a date range); however, when I do that I get the message "An error occurred while running the report".

The trace file shows:

653: 17* [reg-renderer #]
In unknown file:
  ?: 18  (letrec ((opt-val #)) (let (# # # ...) (if invoice? #) ...))
In /Applications/Gnucash.app/Contents/Resources/share/gnucash/guile-modules/gnucash/report/standard-reports/register.scm:
707: 19  (let (# # # # ...) (if invoice? #) (set! query #) ...)
729: 20* (set! table (make-split-table splits (gnc:report-options report-obj) ...))
729: 21* [make-split-table (# # # # ...) #<procedure dispatch (key)> "Funds In" ...]
In unknown file:
  ?: 22  (letrec (# # # # ...) (let* # # # ...))
In /Applications/Gnucash.app/Contents/Resources/share/gnucash/guile-modules/gnucash/report/standard-reports/register.scm:
619: 23  (let* (# # # ...) (gnc:html-table-set-col-headers! table #) ...)
631: 24* [do-rows-with-subtotals () (# # # ...) ...]
540: 25  (if (null? splits) (begin # # #) (let* # # # ...))
   ...
558: 26  (let* (# # # # ...) (if multi-rows? #) (if multi-rows? # #) ...)
579: 27* (if multi-rows? (for-each (lambda # #) (xaccTransGetSplitList #)) ...)
580: 28  [for-each #<procedure #f (split)> (#<swig-pointer Split * 39a5710>)]
In unknown file:
  ?: 29* [#<procedure #f (split)> #<swig-pointer Split * 39a5710>]
In /Applications/Gnucash.app/Contents/Resources/share/gnucash/guile-modules/gnucash/report/standard-reports/register.scm:
581: 30* (if (string=? # #) (accumulate-totals split total-collector ...))
581: 31* [string=? #f #f]
/Applications/Gnucash.app/Contents/Resources/share/gnucash/guile-modules/gnucash/report/standard-reports/register.scm:581:31: In procedure string= in expression (string=? (gncAccountGetGUID #) (gncAccountGetGUID #)):
/Applications/Gnucash.app/Contents/Resources/share/gnucash/guile-modules/gnucash/report/standard-reports/register.scm:581:31: Wrong type argument in position 1 (expecting string): #f
* 18:50:40  WARN <GLib-GObject> invalid (NULL) pointer instance
* 18:50:40  CRIT <GLib-GObject> g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

If I search for something in the Notes field, the Account Report works fine but any search based on this date range gives the error.
Is this a bug in Account Report?





More information about the gnucash-user mailing list