[GNC] Report error: advanced-portfolio (Lipp F.)

John Bonnett jbonnett at internode.on.net
Mon Jul 27 19:53:05 EDT 2020


On 27/07/2020 11:56 pm, "Lipp F." <flipp31a at gmail.com> wrote:

Just installed 4.1 on Windows 10 and advanced portfolio report throws an

error. The report was working fine on 3.10. Here it is:

Report error

An error occurred while running the report.

In c-interface.scm:
      24:4 19 (gnc:call-with-error-handling _ _)
In ice-9/boot-9.scm:
     829:9 18 (catch #t #<procedure 14a9f5a0 at c-interface.scm:25:6…> …)
In c-interface.scm:
     29:37 17 (_)
In unknown file:
           16 (eval-string "(gnc:report-run 9)" #<undefined>)
In ice-9/boot-9.scm:
    2312:4 15 (save-module-excursion #<procedure 10dc9480 at ice-9/ev…>)
In ice-9/eval-string.scm:
      38:6 14 (read-and-eval #<input: string 10d85dc8> #:lang _)
In report-core.scm:
     689:4 13 (gnc:report-run _)
In c-interface.scm:
      66:2 12 (gnc:backtrace-if-exception _ . _)
      24:4 11 (gnc:call-with-error-handling _ _)
In ice-9/boot-9.scm:
     829:9 10 (catch #t #<procedure 14a9f558 at c-interface.scm:25:6…> …)
In c-interface.scm:
     28:40  9 (_)
In report-core.scm:
    691:29  8 (_)
    673:25  7 (gnc:report-render-html #<<report> type: "21d7cfc59fc7…> …)
In standard/advanced-portfolio.scm:
   1057:10  6 (advanced-portfolio-renderer _)
In ice-9/boot-9.scm:
     829:9  5 (catch div/0 #<procedure 14aa2f50 at standard/advanced…> …)
In standard/advanced-portfolio.scm:
    428:10  4 (table-add-stock-rows #<<html-table> col-headers: (("A…> …)
In srfi/srfi-1.scm:
     640:9  3 (for-each #<procedure 14aa1410 at standard/advanced-po…> …)
In standard/advanced-portfolio.scm:
    460:21  2 (_ _)
In srfi/srfi-1.scm:
     640:9  1 (for-each #<procedure eb17118 at standard/advanced-por…> …)
In standard/advanced-portfolio.scm:
    515:41  0 (_ #<swig-pointer Split * 12caf838>)

In procedure module-lookup: Unbound variable: parent-or-sibling?

___________________________________________________________________________

I also have a problem with the same report on Win10 after upgrading to GNC 4.1. My traceback is slightly different so, in case that matters, here it is.

Report error

An error occurred while running the report.

           18 (apply-smob/1 #<catch-closure dcefe50>)
In c-interface.scm:
      24:4 17 (gnc:call-with-error-handling _ _)
In ice-9/boot-9.scm:
     829:9 16 (catch #t #<procedure 1062f918 at c-interface.scm:25:6…> …)
In c-interface.scm:
     29:37 15 (_)
In unknown file:
           14 (eval-string "(gnc:report-run 2)" #<undefined>)
In ice-9/boot-9.scm:
    2312:4 13 (save-module-excursion #<procedure 1062bc10 at ice-9/ev…>)
In ice-9/eval-string.scm:
      38:6 12 (read-and-eval #<input: string 106ac428> #:lang _)
In report-core.scm:
     689:4 11 (gnc:report-run _)
In c-interface.scm:
      66:2 10 (gnc:backtrace-if-exception _ . _)
      24:4  9 (gnc:call-with-error-handling _ _)
In ice-9/boot-9.scm:
     829:9  8 (catch #t #<procedure 1062f8d0 at c-interface.scm:25:6…> …)
In c-interface.scm:
     28:40  7 (_)
In report-core.scm:
    691:29  6 (_)
    673:25  5 (gnc:report-render-html #<<report> type: "21d7cfc59fc7…> …)
In standard/advanced-portfolio.scm:
   1057:10  4 (advanced-portfolio-renderer _)
In ice-9/boot-9.scm:
     829:9  3 (catch div/0 #<procedure 106b1770 at standard/advanced…> …)
In standard/advanced-portfolio.scm:
    428:10  2 (table-add-stock-rows #<<html-table> col-headers: (("A…> …)
In srfi/srfi-1.scm:
     640:9  1 (for-each #<procedure 106c6dc0 at standard/advanced-po…> …)
In standard/advanced-portfolio.scm:
    570:43  0 (_ _)

In procedure module-lookup: Unbound variable: parent-or-sibling?
  
Best Regards,

John Bonnett



More information about the gnucash-user mailing list