After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 488846 - Running Multicolumn Custom Reports produces an erro
Running Multicolumn Custom Reports produces an erro
Status: VERIFIED DUPLICATE of bug 348860
Product: GnuCash
Classification: Other
Component: Reports
2.2.x
Other All
: Normal normal
: ---
Assigned To: Andreas Köhler
Andreas Köhler
Depends on:
Blocks:
 
 
Reported: 2007-10-21 19:33 UTC by Sarangan Thuraisingham
Modified: 2018-06-29 21:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Saved Reports file (1.21 KB, text/plain)
2007-10-21 19:40 UTC, Sarangan Thuraisingham
Details

Description Sarangan Thuraisingham 2007-10-21 19:33:04 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
Comment 1 Sarangan Thuraisingham 2007-10-21 19:40:16 UTC
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.
Comment 2 Josh Sled 2007-10-21 21:36:04 UTC
There's no need to file the bug again.

*** This bug has been marked as a duplicate of 348860 ***
Comment 3 John Ralls 2018-06-29 21:52:42 UTC
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.