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 623467 - Budget report gives error
Budget report gives error
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Reports
2.3.x
Other Linux
: Normal normal
: ---
Assigned To: Andreas Köhler
Andreas Köhler
Depends on:
Blocks:
 
 
Reported: 2010-07-03 12:11 UTC by Jonathan Dieter
Modified: 2018-06-29 22:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jonathan Dieter 2010-07-03 12:11:08 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
Comment 1 Jonathan Dieter 2010-07-08 17:44:01 UTC
Ping.  Is there anything I can do to help track this down?
Comment 2 Denis-Gilles Laurent 2010-07-15 21:40:53 UTC
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.
Comment 3 Carsten Rinke 2013-04-27 18:01:52 UTC
Hi Jonathan,

now, a couple of releases later, are you still seeing this problem or can this bug be closed?
Comment 4 Jonathan Dieter 2013-04-27 19:16:02 UTC
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.
Comment 5 John Ralls 2018-06-29 22:41:39 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=623467. Please update any external references or bookmarks.