[GNC] Getting Report Error

Adrien Monteleone adrien.monteleone at lusfiber.net
Fri Apr 10 09:47:09 EDT 2020


The trace output will help the devs, though I think the idea is to eventually replace this report with the experimental version rather than fix this one.

For now, I don’t think you can do the replacement yourself. This will probably happen by 4.0 later this year. Please use the new version as much as possible and report any issues so they can be ironed out prior to becoming the official version.

I had a bug report about linking the experimental versions of the owner-report (customer/vendor) to the experimental versions of the aging reports, but this was deemed a mess to handle at the moment. So the workflow for running owner reports is not as simple, but doable in the interim.

Regards,
Adrien

> On Apr 10, 2020 w15d101, at 8:22 AM, Tom Balaban <tbalabanjr at gmail.com> wrote:
> 
> Hi Adrien,
> 
> 1st, many thanks for your excellent and most helpful advice.
> 
> I upgraded to v 3.9 n Windows 10 then I tried to run the Customer Report for the previously failing customer. I got an error report with the following:
> 
> Report error
> 
> An error occurred while running the report.
> 
>           18 (apply-smob/1 #<catch-closure ecdf170>)
> In c-interface.scm:
>      22:4 17 (gnc:call-with-error-handling _ _)
> In ice-9/boot-9.scm:
>     829:9 16 (catch #t #<procedure fb89978 at c-interface.scm:23:6 …> …)
> In c-interface.scm:
>     27:37 15 (_)
> In unknown file:
>           14 (eval-string "(gnc:report-run 0)" #<undefined>)
> In ice-9/boot-9.scm:
>    2312:4 13 (save-module-excursion #<procedure f9722e0 at ice-9/eva…>)
> In ice-9/eval-string.scm:
>      38:6 12 (read-and-eval #<input: string fccb930> #:lang _)
> In report.scm:
>     776:4 11 (gnc:report-run _)
> In c-interface.scm:
>     64:23 10 (gnc:backtrace-if-exception _ . _)
>      22:4  9 (gnc:call-with-error-handling _ _)
> In ice-9/boot-9.scm:
>     829:9  8 (catch #t #<procedure fb89930 at c-interface.scm:23:6 …> …)
> In c-interface.scm:
>     26:40  7 (_)
> In report.scm:
>    780:24  6 (_)
>    756:25  5 (gnc:report-render-html #<<report> type: c146317be32e4…> …)
> In owner-report.scm:
>    772:20  4 (reg-renderer #<<report> type: c146317be32e4948a561ec7f…>)
>    521:10  3 (make-txn-table #<procedure dispatch (key)> #<swig-poi…> …)
>     240:4  2 (make-aging-table _ _ #(1578805199 1581397199 # # #) #f …)
> In srfi/srfi-1.scm:
>     640:9  1 (for-each #<procedure f9731a0 at owner-report.scm:241:…> …)
> In owner-report.scm:
>    234:13  0 (_ _)
> 
> Wrong type (expecting exact integer): #<unspecified>
> 
> I'm sure this is informative to the people who wrote the code but I'm not sure what to do with it.
> 
> I then ran the experimental customer report and it worked so my final question for the moment is how can I make the experimental Customer Report the operational version?
> 
> Again, Many thanks.
> Tom
> 




More information about the gnucash-user mailing list