GNOME Bugzilla – Bug 488846
Running Multicolumn Custom Reports produces an erro
Last modified: 2018-06-29 21:52:42 UTC
Please describe the problem: I created a multicolumn report with two columns and two rows. I inserted two Income Pie charts in the first row and two Expense Pie charts in the second row. I saved the custom report and restarted GnuCash. Now when I try and run the custom report it says: >> Report Error >> An error occurred while running the report. Steps to reproduce: 1. Create a Multicolumn report and insert few piecharts 2. Save this custom report and restart Gnucash 3. Try running the custom report from 'Reports -> Custom -> Custom Report Name' Actual results: A new tab with the report name appears. But instead of the report, it contains an error message: >> Report error >> An error occurred while running the report. Expected results: The report I created. Does this happen every time? Yes Other information: The output on the shell is as follows: In /usr/share/gnucash/scm/report.scm: 437: 17* (set! doc (if template (let* # # # ...) #f)) 437: 18* (if template (let* # # # ...) #f) 438: 19 (let* (# # # ...) (gnc:html-document-set-style-sheet! doc stylesheet) ...) 440: 20* [render-view #] In /usr/share/gnucash/guile-modules/gnucash/report/view-column.scm: 72: 21 (let* (# # # # ...) (let # # #) (for-each # reports) ...) 88: 22* (let ((new-reports #)) (for-each (lambda # #) reports) ...) 89: 23* [for-each #<procedure #f (report-info)> (# # # #)] In unknown file: ?: 24* [#<procedure #f (report-info)> (3 1 1 #f)] In /usr/share/gnucash/guile-modules/gnucash/report/view-column.scm: 91: 25* (let (# # # #) (if # #) (set! new-reports #)) 95: 26* (if (not callback) (begin (set! callback #) (set! report-info #))) 96: 27 (begin (set! callback #) (set! report-info #)) 97: 28* (set! callback (make-child-options-callback report #)) 98: 29* [make-child-options-callback # #f] 60: 30 (let* ((view-opts #) (child-opts #) (id #)) id) 61: 31* [gnc:report-options #f] In unknown file: ?: 32 (and (eq? (quote #) (record-type-descriptor obj)) (struct-ref obj 2)) ?: 33* [eq? #<record-type <report>> ... ?: 34* [record-type-descriptor #f] ?: 35 (if (struct? obj) (struct-vtable obj) (error (quote not-a-record) obj)) ... ?: 36 [scm-error misc-error #f "~A ~S" (not-a-record #f) #f] <unnamed port>: In procedure scm-error in expression (scm-error (quote misc-error) #f ...): <unnamed port>: not-a-record #f
Created attachment 97578 [details] Saved Reports file This bug has already been filed for ver 2.0.x as http://bugzilla.gnome.org/show_bug.cgi?id=348860. But I am filing it again as this bug still exists for 2.2.x versions and custom reports is one of the important features of GnuCash. As noted in Bug#348860, the custom report is not being saved. I have attached the '~/.gnucash/saved-reports-2.0' file.
There's no need to file the bug again. *** This bug has been marked as a duplicate of 348860 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=488846. Please update any external references or bookmarks.