GNOME Bugzilla – Bug 319173
Crash when trying to print out invoice
Last modified: 2018-06-29 20:53:58 UTC
Version details: 1.8.11 Distribution/Version: Red Hat Fedora Core 4 1) Opened GNUCash with a business account with a large amount of invoices 2) Select Reports, Custom, Printable Invoice from the GNUCash Main window menu 3) GNUCash crashes. Backtrace below. Backtrace: In /usr/share/gnucash/scm/report.scm: ... 167: 83267 (let ((options #)) (gnc:register-option options stylesheet) ...) 167: 83268* [options-gen] In /home/ljboucha/.gnucash/saved-reports-1.8: 253: 83269 (let ((options #)) (let (#) (# option)) (let (#) (# option)) ...) 253: 83270* [gnc:report-template-new-options/name "Printable Invoice"] In /usr/share/gnucash/scm/report.scm: 127: 83271 (let ((templ #)) (if templ (gnc:report-template-new-options templ) #f)) In unknown file: ... ?: 83272 [gnc:report-template-new-options #] In /usr/share/gnucash/scm/report.scm: 146: 83273 (let (# # #) (if # # #)) 153: 83274* [gnc:make-multichoice-option "General" "Stylesheet" ... ... 157: 83275* [map #<procedure #f (ss)> ... 164: 83276* [gnc:get-html-style-sheets] In /usr/share/gnucash/scm/html-style-sheet.scm: 271: 83277 (let ((ss #)) (hash-for-each (lambda # #) *gnc:_style-sheets_*) ...) 274: 83278 [sort (# # #) #<procedure #f (a b)>] In unknown file: ?: 83279* [#<procedure #f #> # #] In /usr/share/gnucash/scm/html-style-sheet.scm: 276: 83280* [string<? ... 276: 83281* [gnc:html-style-sheet-name #] In unknown file: ?: 83282 (and (eq? (quote #) (record-type-descriptor obj)) (struct-ref obj 0)) ?: 83283* [eq? #<record-type <html-style-sheet>> ... ?: 83284* [record-type-descriptor #] ?: 83285 (if (struct? obj) (struct-vtable obj) (error (quote not-a-record) obj)) ?: 83286* (struct? obj) <unnamed port>: In expression (struct? obj): <unnamed port>: Stack overflow I need the invoices for my business. I can use the fancy invoice but that does not meet my needs like the regular invoice does.
Could you describe the nature of your "large number of invoices" a bit more? Or is there any chance you can submit an example gnucash file?
You cannot "Save Report" unless you first change the report name. See the GnuCash FAQ: http://wiki.gnucash.org/wiki/FAQ#Q:_GnuCash_crashes_when_I_run_a_Custom_Report_saying_something_about_a_Stack_Overflow.__What_does_this_mean.3F *** This bug has been marked as a duplicate of 168250 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=319173. Please update any external references or bookmarks.