Account Summary crash

Robert C. Ramsdell III rcriii at ramsdells.net
Sun Jul 17 09:17:25 EDT 2005


Today I tried to create an Account Summary report, and the Gnucash
application crashed.  I tried running a "Check and Repair" on all
accounts, found two unbalanced transactions, fixed them, but the report
still crashes.  The command line output from the crash is below.  Any
ideas are welcome.

Backtrace:
In /home/rcriii/.gnucash/saved-reports-1.8:
   5: 78064  (let ((options #)) (let (#) (# option)) (let (#) (#
option)) ...)
   5: 78065* [gnc:report-template-new-options/name "Account Summary"]
In /usr/share/gnucash/scm/report.scm:
 127: 78066  (let ((templ #)) (if templ (gnc:report-template-new-options
templ) #f))
In unknown file:
       ...
   ?: 78067  [gnc:report-template-new-options #]
In /usr/share/gnucash/scm/report.scm:
 146: 78068  (let (# # #) (if # # #))
 153: 78069* [gnc:make-multichoice-option "General" "Stylesheet" ... ...
 157: 78070* [map #<procedure #f (ss)> (# #)]
In unknown file:
   ?: 78071  (if (null? rest) (map1 f list1) ...)
       ...
   ?: 78072  (begin (set-cdr! p (list (f #))) (lp (cdr ls) (cdr p)))
   ?: 78073* [set-cdr! (#(Default "Default" "Default Stylesheet")) ...
   ?: 78074* [list ...
   ?: 78075* [#<procedure #f #> #]
In /usr/share/gnucash/scm/report.scm:
 159: 78076  [vector ...
 160: 78077* [string->symbol ...
 160: 78078* [gnc:html-style-sheet-name #]
In unknown file:
   ?: 78079  (and (eq? (quote #) (record-type-descriptor obj)) (struct-
ref obj 0 ))
   ?: 78080* [eq? #<record-type <html-style-sheet>> ...
   ?: 78081* [record-type-descriptor #]
   ?: 78082  (if (struct? obj) (struct-vtable obj) (error (quote not-a-
record) o bj))
   ?: 78083* (struct? obj)

<unnamed port>: In expression (struct? obj):
<unnamed port>: Stack overflow

Just in case it helps, here is the contents of ~/.gnucash/saved-
reports-1.8:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Options for saved report "Account Summary", based on template
"Account Summary"
(let ()
 (define (options-gen)
  (let ((options (gnc:report-template-new-options/name "Account
Summary")))

; Section: Display


; Section: Accounts

(let ((option (gnc:lookup-option options
                                 "Accounts"
                                 "Accounts")))
  ((lambda (option) (if option ((gnc:option-setter option)
'("ce4492ca10274af9c362726d79f2b92f" "7fcd7421d8423de18e25b1bae9133b20"
"d1491732cba72d9db26d85e1803285d8" "521de91a61f13467b77636ecc1edf0f6"
"42b01947077efe9b933cb6e6a13e7e67")))) option))


; Section: General

(let ((option (gnc:lookup-option options
                                 "General"
                                 "Date")))
  ((lambda (option) (if option ((gnc:option-setter option) '(absolute
1117515600 . 0)))) option))

  options))
 (gnc:define-report 
  'version 1
  'name "Account Summary"
  'options-generator options-gen
  'menu-path (list gnc:menuname-custom)
  'renderer (gnc:report-template-renderer/name "Account Summary")))

-- 
Robert C. Ramsdell III
5528 Middaugh Avenue
Downers Grove, IL 60516
(630) 435-1776
rcriii at ramsdells.net



More information about the gnucash-user mailing list