[GNC] GnuCash 2.6.20 Report Problem
Christopher Lam
christopher.lck at gmail.com
Sun Apr 15 11:22:19 EDT 2018
Hmm sounds like Windows versions come with guile-1.8. The following
change should fix this. Change line 271-272 in category-barchart.scm to:
(define the-acount-destination-alist
(account-destination-alist accounts account-types
(if (equal? account-levels 'all)
(gnc:get-current-account-tree-depth)
account-levels)))
C
On 15/04/18 23:05, Cristian Marchi via gnucash-user wrote:
> Same problem here with 2.6.20 and 2.6.21.
>
> Here is the tracefile:
>
> * 16:58:52 WARN <gnc.app-utils> Could not spawn perl: Esecuzione del
> processo figlio non riuscita (No such file or directory)
> * 16:59:13 WARN <gnc.scm> In
> D:\Programmi\gnucash\share\gnucash/scm/report.scm:
> 755: 2* [gnc:backtrace-if-exception #<procedure #f ()>]
> In unknown file:
> ?: 3 (letrec ((dumper #)) (catch (quote ignore) (lambda () #)
> (lambda # #f)))
> In D:\Programmi\gnucash\share\gnucash/scm/gnucash/main.scm:
> 114: 4 [catch ignore #<procedure #f ()> #<procedure #f (key . args)>]
> In unknown file:
> ?: 5* [#<procedure #f ()>]
> In D:\Programmi\gnucash\share\gnucash/scm/gnucash/main.scm:
> 117: 6* [lazy-catch #t #<procedure #f ()> #<procedure dumper (key .
> args)>]
> In unknown file:
> ?: 7* [#<procedure #f ()>]
> In D:\Programmi\gnucash\share\gnucash/scm/gnucash/main.scm:
> 118: 8* [apply #<procedure #f ()> ()]
> In unknown file:
> ?: 9 [#<procedure #f ()>]
> In D:\Programmi\gnucash\share\gnucash/scm/report.scm:
> ...
> 758: 10 (begin (set! html #) (set! html #) (set! html #))
> 759: 11* (set! html (gnc:report-render-html report #t))
> 759: 12* [gnc:report-render-html # #t]
> 718: 13 (if (and (not #) (gnc:report-ctext report))
> (gnc:report-ctext report) ...)
> 726: 14 (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
> 729: 15* (set! doc (if template (let* (# # # ...) (if # # ...) ...)
> ...))
> 729: 16* (if template (let* (# # # ...) (if # # ...) ...) ...)
> 730: 17 (let* (# # # #) (if # # #) (gnc:report-set-ctext! report
> html) ...)
> 732: 18* [#<procedure #f #> #]
> In
> D:\Programmi\gnucash\share\gnucash/scm/gnucash/report/standard-reports/category-barchart.scm:
> 691: 19 [category-barchart-renderer # "Income Over Time" ...]
> In unknown file:
> ...
> ?: 20 (letrec (# # #) (if # # #) (gnc:report-finished) ...)
> In
> D:\Programmi\gnucash\share\gnucash/scm/gnucash/report/standard-reports/category-barchart.scm:
> 272: 21* [account-destination-alist (# # # # ...) (8) ...
> D:\Programmi\gnucash\share\gnucash/scm/gnucash/report/standard-reports/category-barchart.scm:272:7:
> While evaluating arguments to account-destination-alist in expression
> (account-destination-alist accounts account-types ...):
> D:\Programmi\gnucash\share\gnucash/scm/gnucash/report/standard-reports/category-barchart.scm:272:7:
> Variable used before given a value: tree-depth
> * 16:59:53 WARN <gnc.scm> In
> D:\Programmi\gnucash\share\gnucash/scm/report.scm:
> 755: 2* [gnc:backtrace-if-exception #<procedure #f ()>]
> In unknown file:
> ?: 3 (letrec ((dumper #)) (catch (quote ignore) (lambda () #)
> (lambda # #f)))
> In D:\Programmi\gnucash\share\gnucash/scm/gnucash/main.scm:
> 114: 4 [catch ignore #<procedure #f ()> #<procedure #f (key . args)>]
> In unknown file:
> ?: 5* [#<procedure #f ()>]
> In D:\Programmi\gnucash\share\gnucash/scm/gnucash/main.scm:
> 117: 6* [lazy-catch #t #<procedure #f ()> #<procedure dumper (key .
> args)>]
> In unknown file:
> ?: 7* [#<procedure #f ()>]
> In D:\Programmi\gnucash\share\gnucash/scm/gnucash/main.scm:
> 118: 8* [apply #<procedure #f ()> ()]
> In unknown file:
> ?: 9 [#<procedure #f ()>]
> In D:\Programmi\gnucash\share\gnucash/scm/report.scm:
> ...
> 758: 10 (begin (set! html #) (set! html #) (set! html #))
> 759: 11* (set! html (gnc:report-render-html report #t))
> 759: 12* [gnc:report-render-html # #t]
> 718: 13 (if (and (not #) (gnc:report-ctext report))
> (gnc:report-ctext report) ...)
> 726: 14 (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
> 729: 15* (set! doc (if template (let* (# # # ...) (if # # ...) ...)
> ...))
> 729: 16* (if template (let* (# # # ...) (if # # ...) ...) ...)
> 730: 17 (let* (# # # #) (if # # #) (gnc:report-set-ctext! report
> html) ...)
> 732: 18* [#<procedure #f #> #]
> In
> D:\Programmi\gnucash\share\gnucash/scm/gnucash/report/standard-reports/category-barchart.scm:
> 691: 19 [category-barchart-renderer # "Expense Over Time" ...]
> In unknown file:
> ...
> ?: 20 (letrec (# # #) (if # # #) (gnc:report-finished) ...)
> In
> D:\Programmi\gnucash\share\gnucash/scm/gnucash/report/standard-reports/category-barchart.scm:
> 272: 21* [account-destination-alist (# # # # ...) (9) ...
> D:\Programmi\gnucash\share\gnucash/scm/gnucash/report/standard-reports/category-barchart.scm:272:7:
> While evaluating arguments to account-destination-alist in expression
> (account-destination-alist accounts account-types ...):
> D:\Programmi\gnucash\share\gnucash/scm/gnucash/report/standard-reports/category-barchart.scm:272:7:
> Variable used before given a value: tree-depth
> * 16:59:53 WARN <gnc.scm> In
> D:\Programmi\gnucash\share\gnucash/scm/report.scm:
> 755: 2* [gnc:backtrace-if-exception #<procedure #f ()>]
> In unknown file:
> ?: 3 (letrec ((dumper #)) (catch (quote ignore) (lambda () #)
> (lambda # #f)))
> In D:\Programmi\gnucash\share\gnucash/scm/gnucash/main.scm:
> 114: 4 [catch ignore #<procedure #f ()> #<procedure #f (key . args)>]
> In unknown file:
> ?: 5* [#<procedure #f ()>]
> In D:\Programmi\gnucash\share\gnucash/scm/gnucash/main.scm:
> 117: 6* [lazy-catch #t #<procedure #f ()> #<procedure dumper (key .
> args)>]
> In unknown file:
> ?: 7* [#<procedure #f ()>]
> In D:\Programmi\gnucash\share\gnucash/scm/gnucash/main.scm:
> 118: 8* [apply #<procedure #f ()> ()]
> In unknown file:
> ?: 9 [#<procedure #f ()>]
> In D:\Programmi\gnucash\share\gnucash/scm/report.scm:
> ...
> 758: 10 (begin (set! html #) (set! html #) (set! html #))
> 759: 11* (set! html (gnc:report-render-html report #t))
> 759: 12* [gnc:report-render-html # #t]
> 718: 13 (if (and (not #) (gnc:report-ctext report))
> (gnc:report-ctext report) ...)
> 726: 14 (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
> 729: 15* (set! doc (if template (let* (# # # ...) (if # # ...) ...)
> ...))
> 729: 16* (if template (let* (# # # ...) (if # # ...) ...) ...)
> 730: 17 (let* (# # # #) (if # # #) (gnc:report-set-ctext! report
> html) ...)
> 732: 18* [#<procedure #f #> #]
> In
> D:\Programmi\gnucash\share\gnucash/scm/gnucash/report/standard-reports/category-barchart.scm:
> 691: 19 [category-barchart-renderer # "Expense Over Time" ...]
> In unknown file:
> ...
> ?: 20 (letrec (# # #) (if # # #) (gnc:report-finished) ...)
> In
> D:\Programmi\gnucash\share\gnucash/scm/gnucash/report/standard-reports/category-barchart.scm:
> 272: 21* [account-destination-alist (# #) (9) ...
> D:\Programmi\gnucash\share\gnucash/scm/gnucash/report/standard-reports/category-barchart.scm:272:7:
> While evaluating arguments to account-destination-alist in expression
> (account-destination-alist accounts account-types ...):
> D:\Programmi\gnucash\share\gnucash/scm/gnucash/report/standard-reports/category-barchart.scm:272:7:
> Variable used before given a value: tree-depth
>
>
> Il 10/04/2018 20.18, Glenn Bordonada via gnucash-user ha scritto:
>> Any help would be appreciated.
>>
>> I just installed ver. 2.6.20 over ver. 2.6.19 (which was
>> automatically uninstalled).
>> When I run the reports Expense Barchart and Income Barchart, the
>> program comes out with an error screen(see attached snapshot). The
>> other reports work just fine as before.
>> In my previous installation ver. 2.6.19 and in ver. 3.0 which I
>> tried, the reports work without problems.
>> I have Windows 10.
>> Regards,Glenn
>>
>>
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at gnucash.org
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> If you are using Nabble or Gmane, please see
>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> -----
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
More information about the gnucash-user
mailing list