Advanced portfolio doing weird things after upgrade to 2.0.5

Oliver Iberien odilist at sonic.net
Mon Apr 9 11:04:18 EDT 2007


On Monday 09 April 2007 07:42, Derek Atkins wrote:
> "Stephen J. Gowdy" <gowdy at slac.stanford.edu> writes:
> > "Report error
> > An error occurred while running the report."
>
> And what's printed on the controlling terminal from where you started
> "gnucash &" ?

I get the following:

gnucash: [M] "Found Finance::Quote version ""1.13"
gnucash: [W] "gnc:case-exchange-fn: bad price-source 
value: "pricedb-latest-before
In /usr/local/share/gnome/gnucash/guile-modules/gnucash/main.scm:
 162: 19* [lazy-catch #t #<procedure #f ()> #<procedure dumper (key . args)>]
In unknown file:
   ?: 20* [#<procedure #f ()>]
In /usr/local/share/gnome/gnucash/guile-modules/gnucash/main.scm:
 163: 21* [apply #<procedure #f ()> ()]
In unknown file:
   ?: 22  [#<procedure #f ()>]
In /usr/local/share/gnome/gnucash/scm/report.scm:
    ...
 444: 23  (set! html (gnc:report-render-html report #t))
 444: 24* [gnc:report-render-html # #t]
 409: 25  (if (and (not #) (gnc:report-ctext report)) (gnc:report-ctext 
report) ...)
 417: 26  (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
 420: 27* (set! doc (if template (let* # # # ...) #f))
 420: 28* (if template (let* # # # ...) #f)
 421: 29  (let* (# # # ...) (gnc:html-document-set-style-sheet! doc 
stylesheet) ...)
 423: 30* [advanced-portfolio-renderer #]
In /usr/local/share/gnome/gnucash/guile-modules/gnucash/report/advanced-portfolio.scm:
 179: 31  (let (# # #) (letrec # # #))
    ...
 552: 32  (let (# # # ...) (gnc:html-document-set-title! document #) ...)
 592: 33* (if (not (null? accounts)) (let* (# # # ...) (if show-symbol 
#) ...) ...)
 594: 34  (let* (# # # # ...) (if show-symbol #) (if show-listing #) ...)
 648: 35* [table-add-stock-rows # # # ...]
 288: 36  (let ((share-print-info #)) (letrec (#) (set! work-to-do #) ...))
    ...
 295: 37  (let* (# # # # ...) (for-each # #) (set! use-txn #) ...)
 323: 38* (exchange-fn (gnc:make-gnc-monetary commodity units) currency)
/usr/local/share/gnome/gnucash/guile-modules/gnucash/report/advanced-portfolio.scm:323:25: 
In expression (exchange-fn (gnc:make-gnc-monetary commodity units) currency):
/usr/local/share/gnome/gnucash/guile-modules/gnucash/report/advanced-portfolio.scm:323:25: 
Wrong type to apply: #<unspecified>
gnucash: [W] "gnc:case-exchange-fn: bad price-source 
value: "pricedb-latest-before
In /usr/local/share/gnome/gnucash/guile-modules/gnucash/main.scm:
 162: 16* [lazy-catch #t #<procedure #f ()> #<procedure dumper (key . args)>]
In unknown file:
   ?: 17* [#<procedure #f ()>]
In /usr/local/share/gnome/gnucash/guile-modules/gnucash/main.scm:
 163: 18* [apply #<procedure #f ()> ()]
In unknown file:
   ?: 19  [#<procedure #f ()>]
In /usr/local/share/gnome/gnucash/scm/report.scm:
    ...
 444: 20  (set! html (gnc:report-render-html report #t))
 444: 21* [gnc:report-render-html # #t]
 409: 22  (if (and (not #) (gnc:report-ctext report)) (gnc:report-ctext 
report) ...)
 417: 23  (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
 420: 24* (set! doc (if template (let* # # # ...) #f))
 420: 25* (if template (let* # # # ...) #f)
 421: 26  (let* (# # # ...) (gnc:html-document-set-style-sheet! doc 
stylesheet) ...)
 423: 27* [advanced-portfolio-renderer #]
In /usr/local/share/gnome/gnucash/guile-modules/gnucash/report/advanced-portfolio.scm:
 179: 28  (let (# # #) (letrec # # #))
    ...
 552: 29  (let (# # # ...) (gnc:html-document-set-title! document #) ...)
 592: 30* (if (not (null? accounts)) (let* (# # # ...) (if show-symbol 
#) ...) ...)
 594: 31  (let* (# # # # ...) (if show-symbol #) (if show-listing #) ...)
 648: 32* [table-add-stock-rows # # # ...]
 288: 33  (let ((share-print-info #)) (letrec (#) (set! work-to-do #) ...))
    ...
 295: 34  (let* (# # # # ...) (for-each # #) (set! use-txn #) ...)
 323: 35* (exchange-fn (gnc:make-gnc-monetary commodity units) currency)
/usr/local/share/gnome/gnucash/guile-modules/gnucash/report/advanced-portfolio.scm:323:25: 
In expression (exchange-fn (gnc:make-gnc-monetary commodity units) currency):
/usr/local/share/gnome/gnucash/guile-modules/gnucash/report/advanced-portfolio.scm:323:25: 
Wrong type to apply: #<unspecified>

Oliver


More information about the gnucash-user mailing list