Advanced portfolio doing weird things after upgrade to 2.0.5
Oliver Iberien
odilist at sonic.net
Sun Apr 8 15:39:12 EDT 2007
On Sunday 08 April 2007 12:24, Bob Thibodeau wrote:
> Check the report properties for the source of the prices.
> On the basic portfolio, you can choose from three options,
> which generate different numbers. I don't have it on this computer,
> or I'd list them for you. Something like weighted average, nearest
> in time, and another.
>
> Bob T
Thanks you -- the "most recent to report" option generates the following
errors:
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: 6* [lazy-catch #t #<procedure #f ()> #<procedure dumper (key . args)>]
In unknown file:
?: 7* [#<procedure #f ()>]
In /usr/local/share/gnome/gnucash/guile-modules/gnucash/main.scm:
163: 8* [apply #<procedure #f ()> ()]
In unknown file:
?: 9 [#<procedure #f ()>]
In /usr/local/share/gnome/gnucash/scm/report.scm:
...
444: 10 (set! html (gnc:report-render-html report #t))
444: 11* [gnc:report-render-html # #t]
409: 12 (if (and (not #) (gnc:report-ctext report)) (gnc:report-ctext
report) ...)
417: 13 (let ((template #) (doc #f)) (set! doc (if template # #f)) doc)
420: 14* (set! doc (if template (let* # # # ...) #f))
420: 15* (if template (let* # # # ...) #f)
421: 16 (let* (# # # ...) (gnc:html-document-set-style-sheet! doc
stylesheet) ...)
423: 17* [advanced-portfolio-renderer #]
In /usr/local/share/gnome/gnucash/guile-modules/gnucash/report/advanced-portfolio.scm:
179: 18 (let (# # #) (letrec # # #))
...
552: 19 (let (# # # ...) (gnc:html-document-set-title! document #) ...)
592: 20* (if (not (null? accounts)) (let* (# # # ...) (if show-symbol
#) ...) ...)
594: 21 (let* (# # # # ...) (if show-symbol #) (if show-listing #) ...)
648: 22* [table-add-stock-rows # # # ...]
288: 23 (let ((share-print-info #)) (letrec (#) (set! work-to-do #) ...))
...
295: 24 (let* (# # # # ...) (for-each # #) (set! use-txn #) ...)
323: 25* (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>
Would anyone know what this means, or if it's relevant?
I found a reference to something very similar happening on a Windows port of
GnuCash. Perhaps this is a porting issue? From the GnuCash wiki-changes feed:
- === Advanced Portfolio Report Problems? ===
- I've been testing the binary distribution for windows and everything
seems fine except for the Advanced Portfolio report. I'm not sure if this is
a GNUCash 2.x problem or a Windows problem. Shares, price, and value are all
computed correctly, but all the other columns are quite large and incorrect
(orders of magnitude off).
[... some error messages I don't have...]
- Has anyone else seen this issue? I copied my accounts file from 1.8.11
and opened it in 2.0.99 if that makes a difference. Thanks! --[[User:Scbash|
Scbash]] 09:44, 24 March 2007 (EDT)
Thanks,
Oliver
More information about the gnucash-user
mailing list