Error generating report "Advanced Portfolio" in gnucash-1.8.3

John Reynolds gnucash at reynj.fastmail.fm
Mon May 19 11:35:57 CDT 2003


On Saturday 17 May 2003 12:00 am, Kok-Thiam Yong wrote:
> I generate report "Advanced Portfolio" for my
> investment,
> With gnucash-1.8.2-1.RH8.0, there was no problem.
>
> But after I upgraded to gnucash-1.8.3-1.RH8.0
> recently, it can not generate the same
> report, with error in the report:
>
> An error occurred while running the report.
>
> I copy the details from the terminal:
>
> ************************************************************************
>  9* [lazy-catch #t #<procedure ()> #<procedure dumper
> (key . args)>]
> 10* [#<procedure ()>]
> 11* [apply #<procedure ()> ()]
> 12  [#<procedure ()>]
>     ...
> 13  (set! html (gnc:report-render-html report #t))
> 14* [gnc:report-render-html # #t]
> 15  (if (and # #) (begin #) (let # # doc))
> 16  (let ((template #) (doc #f)) (set! doc (if
> template # #f)) doc)
> 17* (set! doc (if template (let* # # # ...) #f))
> 18* (if template (let* # # # ...) #f)
> 19  (let* (# # # ...)
> (gnc:html-document-set-style-sheet! doc stylesheet)
> ...)
> 20* [advanced-portfolio-renderer #]
> 21  (let (# #) (letrec # # #))
>     ...
> 22  (let (# # # ...) (gnc:html-document-set-title!
> document #) ...)
> 23* (if (not #) (let* # # # ...)
> (gnc:html-document-add-object! document #))
> 24  (let* (# # #) (gnc:html-table-set-col-headers!
> table #) ...)
> 25* [table-add-stock-rows # # # ...]
> 26  (let ((share-print-info #)) (letrec (#) (set!
> work-to-do #) ...))
>     ...
> 27  (let* (# # # # ...) (for-each # #) (gaincoll #
> moneyoutcoll #f) ...)
> 28* [car ()]
> /usr/share/gnucash/guile-modules/gnucash/report/advanced-portfolio.scm:162:
>30: In procedure car in expression (car price-list):
> /usr/share/gnucash/guile-modules/gnucash/report/advanced-portfolio.scm:162:
>30: Wrong type argument in position 1: ()
> ************************************************************************
>
> I am running Redhat Linux 8.0 on my computer.
>
> I would be glad if someone can answer me why this
> could happens.

This happened to me. I recompiled... and still did not work... Then I went 
into the options for the "Advanced Portfolio" , under the Accounts Tab, and 
unchecked "Include accounts with no shares". That did the trick. 

I'm guessing some to the additions to these release causes the "problem", but 
in reality it just seems that it is using more strict handling.
... but then why the checkbox??

John
>
>
> Sincerely,
> Yong
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user



More information about the gnucash-user mailing list