GNOME Bugzilla – Bug 623467
Budget report gives error
Last modified: 2018-06-29 22:41:39 UTC
When I go to Reports, Budget, Budget Report, I get: Report Error An error occured while running the report. This is on a computer that was just updated from Fedora 11 to Fedora 13, so GnuCash has been upgraded from whatever was in Fedora 11 to 2.3.13. If I run gnucash from a terminal, the terminal shows: In /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/budget.scm: 162: 27 (let* (# # # # ...) (letrec # #)) ... 472: 28 (let* (# # # ...) (#<procedure while-helper #> #) ...) 498: 29* (while (< rownum num-rows) (let* # # #)) 498: 30 [while-helper #<procedure #f (break continue)>] In unknown file: ?: 31 (do ((key (make-symbol "while-key"))) ((catch key (lambda () #) ...))) ?: 32* [catch #<uninterned-symbol while-key 7fae207edaa0> #<procedure #f ()> ...] ?: 33* [#<procedure #f ()>] ?: 34* [#<procedure #f (break continue)> #<procedure #f ()> #<procedure #f ()>] ?: 35* (do () ((#<primitive-procedure not> (< rownum num-rows))) ...) In /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/budget.scm: 499: 36* (let* (# # #) (gnc:html-table-add-budget-line! html-table rownum ...) ...) 506: 37* [gnc:html-table-add-budget-line! # 0 1 ...] 246: 38 (let* (# # # # ...) (letrec # #)) In unknown file: ... ?: 39 [while-helper #<procedure #f (break continue)>] ?: 40 (do ((key (make-symbol "while-key"))) ((catch key (lambda () #) ...))) ?: 41* [catch #<uninterned-symbol while-key 7fae207ed960> #<procedure #f ()> ...] ?: 42* [#<procedure #f ()>] ?: 43* [#<procedure #f (break continue)> #<procedure #f ()> #<procedure #f ()>] ?: 44* (do () ((#<primitive-procedure not> (not #))) ...) In /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/budget.scm: 355: 45* (let* ((col-info #)) (cond (# #) (# #) ...) ...) 356: 46* (cond (# #) (# #) (t #)) /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/budget.scm:356:11: In expression (cond (# #) (# #) ...): /usr/share/gnucash/guile-modules/gnucash/report/standard-reports/budget.scm:356:11: Unbound variable: t
Ping. Is there anything I can do to help track this down?
I'm having the same error. In revision 19148 of budget.scm line "(use-modules (ice-9 slib))" was retrieved. slib provide backward compatibility with old scheme R4RS (Cf. slib doc §2.5.2 : "The following procedures were present in Scheme until R4RS (see Section “Language changes ” in Revised(4) Scheme). They are provided by all SLIB implementations. t Defined as #t.") I dont understand precisely the goal of correction in 19148, but changing line "(t" by "(#t" (two occurences in budget.scm and nowhere else in reports if my 'greps' are OK) seems to me to be the simplest fix.
Hi Jonathan, now, a couple of releases later, are you still seeing this problem or can this bug be closed?
Yeah, I think I manually fixed the file using the advice in comment #2 and have been through numerous updates that should have overwritten the file, but I haven't seen this again.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=623467. Please update any external references or bookmarks.