investment portfolio report error

Brad Haack bradhaack at yahoo.com
Sun Feb 22 00:59:51 EST 2009


Here ya go


In /usr/share/gnucash/scm/report.scm:
  488: 23* [gnc:report-render-html # #t]
  454: 24  (if (and (not #) (gnc:report-ctext report)) (gnc:report-ctext 
report) ...)
  462: 25  (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
  465: 26* (set! doc (if template (let* # # # ...) #f))
  465: 27* (if template (let* # # # ...) #f)
  466: 28  (let* (# # # ...) (gnc:html-document-set-style-sheet! doc 
stylesheet) ...)
  468: 29* [portfolio-renderer #]
In /usr/share/gnucash/guile-modules/gnucash/report/portfolio.scm:
   99: 30  (let (# #) (letrec # # #))
     ...
  168: 31  (let (# # # ...) (gnc:html-document-set-title! document #) ...)
  190: 32* (if (not #) (let* # # # ...) (gnc:html-document-add-object! 
document #))
  191: 33  (let* (# # # ...) (gnc:html-table-set-col-headers! table #) ...)
  234: 34* [table-add-stock-rows # # # ...]
  112: 35  (let ((share-print-info #)) (letrec (#) (set! work-to-do #) ...))
     ...
  136: 36  (begin # # #)
  137: 37* [gnc:html-table-append-row/markup! # "normal-row" ...
  140: 38* [list #<<html-text> body: # style: #> "FCPVX" "FUND" ... ...
  146: 39* [gnc:make-html-table-header-cell/markup "number-cell" ...
  148: 40* [gnc:html-price-anchor #f ...
  150: 41* [gnc:make-gnc-monetary ...
  150: 42* [gnc-price-get-currency #f]
/usr/share/gnucash/guile-modules/gnucash/report/portfolio.scm:150:56: In 
procedure gnc-price-get-currency in expression (gnc-price-get-currency 
(car price-info)):
/usr/share/gnucash/guile-modules/gnucash/report/portfolio.scm:150:56: 
Wrong type argument in position 1: #f
* 22:57:07  WARN <gnc.scm> In /usr/share/gnucash/scm/report.scm:
  488: 23* [gnc:report-render-html # #t]
  454: 24  (if (and (not #) (gnc:report-ctext report)) (gnc:report-ctext 
report) ...)
  462: 25  (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
  465: 26* (set! doc (if template (let* # # # ...) #f))
  465: 27* (if template (let* # # # ...) #f)
  466: 28  (let* (# # # ...) (gnc:html-document-set-style-sheet! doc 
stylesheet) ...)
  468: 29* [portfolio-renderer #]
In /usr/share/gnucash/guile-modules/gnucash/report/portfolio.scm:
   99: 30  (let (# #) (letrec # # #))
     ...
  168: 31  (let (# # # ...) (gnc:html-document-set-title! document #) ...)
  190: 32* (if (not #) (let* # # # ...) (gnc:html-document-add-object! 
document #))
  191: 33  (let* (# # # ...) (gnc:html-table-set-col-headers! table #) ...)
  234: 34* [table-add-stock-rows # # # ...]
  112: 35  (let ((share-print-info #)) (letrec (#) (set! work-to-do #) ...))
     ...
  136: 36  (begin # # #)
  137: 37* [gnc:html-table-append-row/markup! # "normal-row" ...
  140: 38* [list #<<html-text> body: # style: #> "FCPVX" "FUND" ... ...
  146: 39* [gnc:make-html-table-header-cell/markup "number-cell" ...
  148: 40* [gnc:html-price-anchor #f ...
  150: 41* [gnc:make-gnc-monetary ...
  150: 42* [gnc-price-get-currency #f]
/usr/share/gnucash/guile-modules/gnucash/report/portfolio.scm:150:56: In 
procedure gnc-price-get-currency in expression (gnc-price-get-currency 
(car price-info)):
/usr/share/gnucash/guile-modules/gnucash/report/portfolio.scm:150:56: 
Wrong type argument in position 1: #f
In /usr/share/gnucash/scm/report.scm:
  488: 20* [gnc:report-render-html # #t]
  454: 21  (if (and (not #) (gnc:report-ctext report)) (gnc:report-ctext 
report) ...)
  462: 22  (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
  465: 23* (set! doc (if template (let* # # # ...) #f))
  465: 24* (if template (let* # # # ...) #f)
  466: 25  (let* (# # # ...) (gnc:html-document-set-style-sheet! doc 
stylesheet) ...)
  468: 26* [portfolio-renderer #]
In /usr/share/gnucash/guile-modules/gnucash/report/portfolio.scm:
   99: 27  (let (# #) (letrec # # #))
     ...
  168: 28  (let (# # # ...) (gnc:html-document-set-title! document #) ...)
  190: 29* (if (not #) (let* # # # ...) (gnc:html-document-add-object! 
document #))
  191: 30  (let* (# # # ...) (gnc:html-table-set-col-headers! table #) ...)
  234: 31* [table-add-stock-rows # # # ...]
  112: 32  (let ((share-print-info #)) (letrec (#) (set! work-to-do #) ...))
     ...
  136: 33  (begin # # #)
  137: 34* [gnc:html-table-append-row/markup! # "normal-row" ...
  140: 35* [list #<<html-text> body: # style: #> "FCPVX" "FUND" ... ...
  146: 36* [gnc:make-html-table-header-cell/markup "number-cell" ...
  148: 37* [gnc:html-price-anchor #f ...
  150: 38* [gnc:make-gnc-monetary ...
  150: 39* [gnc-price-get-currency #f]
/usr/share/gnucash/guile-modules/gnucash/report/portfolio.scm:150:56: In 
procedure gnc-price-get-currency in expression (gnc-price-get-currency 
(car price-info)):
/usr/share/gnucash/guile-modules/gnucash/report/portfolio.scm:150:56: 
Wrong type argument in position 1: #f
* 22:57:07  WARN <gnc.scm> In /usr/share/gnucash/scm/report.scm:
  488: 20* [gnc:report-render-html # #t]
  454: 21  (if (and (not #) (gnc:report-ctext report)) (gnc:report-ctext 
report) ...)
  462: 22  (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
  465: 23* (set! doc (if template (let* # # # ...) #f))
  465: 24* (if template (let* # # # ...) #f)
  466: 25  (let* (# # # ...) (gnc:html-document-set-style-sheet! doc 
stylesheet) ...)
  468: 26* [portfolio-renderer #]
In /usr/share/gnucash/guile-modules/gnucash/report/portfolio.scm:
   99: 27  (let (# #) (letrec # # #))
     ...
  168: 28  (let (# # # ...) (gnc:html-document-set-title! document #) ...)
  190: 29* (if (not #) (let* # # # ...) (gnc:html-document-add-object! 
document #))
  191: 30  (let* (# # # ...) (gnc:html-table-set-col-headers! table #) ...)
  234: 31* [table-add-stock-rows # # # ...]
  112: 32  (let ((share-print-info #)) (letrec (#) (set! work-to-do #) ...))
     ...
  136: 33  (begin # # #)
  137: 34* [gnc:html-table-append-row/markup! # "normal-row" ...
  140: 35* [list #<<html-text> body: # style: #> "FCPVX" "FUND" ... ...
  146: 36* [gnc:make-html-table-header-cell/markup "number-cell" ...
  148: 37* [gnc:html-price-anchor #f ...
  150: 38* [gnc:make-gnc-monetary ...
  150: 39* [gnc-price-get-currency #f]
/usr/share/gnucash/guile-modules/gnucash/report/portfolio.scm:150:56: In 
procedure gnc-price-get-currency in expression (gnc-price-get-currency 
(car price-info)):
/usr/share/gnucash/guile-modules/gnucash/report/portfolio.scm:150:56: 
Wrong type argument in position 1: #f


Charles Day wrote:
> On Sat, Feb 21, 2009 at 3:53 PM, Brad Haack <bradhaack at yahoo.com 
> <mailto:bradhaack at yahoo.com>> wrote:
> 
>     There's an empty gnucash.trace in /tmp.  No other debugging output
>     to console.
> 
> 
> Hmm, perhaps I didn't introduce Scheme debugging into gnucash.trace 
> until 2.2.7. Could you try running gnucash with the following command, 
> and see what shows up in the console?
> 
> gnucash --logto stdout
> 
> Anyone else have any suggestions?
> 
> -Charles
> 
> 
> 
>     Charles Day wrote:
> 
>         On Sat, Feb 21, 2009 at 11:58 AM, Brad Haack
>         <bradhaack at yahoo.com <mailto:bradhaack at yahoo.com>
>         <mailto:bradhaack at yahoo.com <mailto:bradhaack at yahoo.com>>> wrote:
> 
>            When I try to generate an Investment Portfolio report all I
>         get is:
>            "Report error
>            An error occurred while running the report."
> 
>            I've tried different accounts, which I know have shares or
>         money in
>            them.
> 
>            Advanced Portfolio does work, however the 1st time I ran it I
>         got the
>            same error when it had the default selection of accounts.  When I
>            selected fewer accounts it worked.  No such luck with the
>         Investment
>            Portfolio report.
> 
>            gnucash 2.2.6 on ubuntu 8.10
> 
> 
>         There should have been some debugging output either to your
>         console or to a gnucash trace file. I'm not sure where the trace
>         files would be on your system, but you can search with:
>         find / -name gnucash.trace\*
> 
>         -Charles
> 
> 


More information about the gnucash-user mailing list