GNOME Bugzilla – Bug 793568
"Cash Flow" report crashes
Last modified: 2018-06-30 00:04:40 UTC
Created attachment 368524 [details] GnuCash file with example data In current unstable GnuCash version crashes the "Cash Flow" report (Version: 2.7.4, Build ID: git 2.7.4-69-g595dbf7bf+ (2018-02-18)). The report "Cash Flow Barchart" works fine. You can reproduce this behavior with an example file from attachment. GnuCash: "Report error An error occurred while running the report." Console: " In report.scm: 752: 19 [gnc:report-run 2] In c-interface.scm: 70: 18 [gnc:backtrace-if-exception #<procedure 561aedc2e210 at report.scm:753:5 ()>] 22: 17 [gnc:call-with-error-handling #<procedure 561aedc2e210 at report.scm:753:5 ()> ...] In ice-9/boot-9.scm: 160: 16 [catch #t #<procedure 561aedc2e1e0 at c-interface.scm:23:8 ()> ...] In c-interface.scm: 27: 15 [#<procedure 561aedc2e1e0 at c-interface.scm:23:8 ()>] In report.scm: 756: 14 [#<procedure 561aedc2e210 at report.scm:753:5 ()>] 735: 13 [gnc:report-render-html # #t] In html-document.scm: 175: 12 [gnc:html-document-render # #t] In srfi/srfi-1.scm: 616: 11 [for-each #<procedure 561aedcd8d80 at html-document.scm:176:11 (child)> #] In html-document.scm: 178: 10 [#<procedure 561aedcd8d80 at html-document.scm:176:11 (child)> #] In html-text.scm: 217: 9 [gnc:html-text-render # #] In srfi/srfi-1.scm: 616: 8 [for-each #<procedure 561aedc4ba20 at html-text.scm:218:5 (elt)> #] In html-text.scm: 220: 7 [#<procedure 561aedc4ba20 at html-text.scm:218:5 (elt)> #<procedure 561aedc3c870 at html-text.scm:78:2 (doc)>] 247: 6 [gnc:html-text-render-markup # "ul" #f ...] In srfi/srfi-1.scm: 616: 5 [for-each #<procedure 561aedc4b9f0 at html-text.scm:248:5 (elt)> #] In html-text.scm: 250: 4 [#<procedure 561aedc4b9f0 at html-text.scm:248:5 (elt)> #<procedure 561aedc3c900 at html-text.scm:78:2 (doc)>] 247: 3 [gnc:html-text-render-markup # "li" #f ...] In srfi/srfi-1.scm: 616: 2 [for-each #<procedure 561aedc4b9c0 at html-text.scm:248:5 (elt)> #] In html-text.scm: 250: 1 [#<procedure 561aedc4b9c0 at html-text.scm:248:5 (elt)> #<procedure 561aedc3ca20 at html-text.scm:129:2 (doc)>] In unknown file: ?: 0 ["~a" #f "~a" ...] ERROR: Wrong type to apply: "~a" "
Thanks for catching that so quickly. This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.
Hello John, I compiled GnuCash with new files from Github today. I have built it from "unstable" branch (Version: 2.7.4, Build ID: git 2.7.4-67-ffeafad636+ on 2018-02-18). I think it's a *new* problem that has not been resolved yet. For checking this problem you can use the example file, which I have created for another bug, but it works here too. See attachment. I'm currently learning how the reports in GnuCash work (technical side). If I'm doing something wrong or if this bug report is wrong, please get me short info. Thanks, DiMang
It was a new problem, which I fixed in ec0656e7d52 and pushed just before closing the bug. Try again!
Thanks for a quick fix!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=793568. Please update any external references or bookmarks.