portfolio and price-diagram reports
Rick Ziegler
rickziegler at attbi.com
Sat May 24 22:19:54 CDT 2003
I too am seeing a problem with the Advanced Portfolio report in 1.8.3.
I am using the RPMs for RedHat 9, provided by Bill Nottingham.
1.8.2 worked A-OK.
Here is the back trace:
In
/usr/share/gnucash/guile-modules/gnucash/report/advanced-portfolio.scm:
...
140: 67 (let* (# # # # ...) (for-each # #) (gaincoll # moneyoutcoll
#f) ...)
221: 68* (if (or include-empty #) (begin # # ...) ...)
255: 69 [table-add-stock-rows-internal (# # # # ...) #f]
...
140: 70 (let* (# # # # ...) (for-each # #) (gaincoll # moneyoutcoll
#f) ...)
221: 71* (if (or include-empty #) (begin # # ...) ...)
222: 72 (begin (total-value # # ...) (total-moneyin # moneyincoll ...)
...)
...
140: 73 (let* (# # # # ...) (for-each # #) (gaincoll # moneyoutcoll
#f) ...)
221: 74* (if (or include-empty #) (begin # # ...) ...)
222: 75 (begin (total-value # # ...) (total-moneyin # moneyincoll ...)
...)
...
140: 76 (let* (# # # # ...) (for-each # #) (gaincoll # moneyoutcoll
#f) ...)
221: 77* (if (or include-empty #) (begin # # ...) ...)
222: 78 (begin (total-value # # ...) (total-moneyin # moneyincoll ...)
...)
...
140: 79 (let* (# # # # ...) (for-each # #) (gaincoll # moneyoutcoll
#f) ...)
221: 80* (if (or include-empty #) (begin # # ...) ...)
222: 81 (begin (total-value # # ...) (total-moneyin # moneyincoll ...)
...)
...
140: 82 (let* (# # # # ...) (for-each # #) (gaincoll # moneyoutcoll
#f) ...)
221: 83* (if (or include-empty #) (begin # # ...) ...)
222: 84 (begin (total-value # # ...) (total-moneyin # moneyincoll ...)
...)
...
140: 85 (let* (# # # # ...) (for-each # #) (gaincoll # moneyoutcoll
#f) ...)
162: 86* [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: ()
On Sat, 2003-05-24 at 19:27, Derek Atkins wrote:
> Hi,
>
> poldiwinkler at t-online.de (Poldi Winkler) writes:
>
> > Hello,
> > on my SuSE8.2 is gnucash-1.8.3 running and I am a little bit proud.
> > I have 2 problems now.
>
> congrats. let's see if we can solve your prolems...
>
> > 1. most of the reports are running, but the advanced portfolio and the
> > price scatter bring error:
> > ~> gnucash
>
> [snip]
>
> > 134: 22 (let* (# # # ...) (define # #) ...)
> > 161: 23* [gnc:make-date-list (1041461999 . 0) (1053813599 . 0) ...
> > 164: 24* [eval MonthDelta]
> > /usr/local/share/gnucash/guile-modules/gnucash/report/price-scatter.scm:164:23: In procedure eval in expression (eval interval):
> > /usr/local/share/gnucash/guile-modules/gnucash/report/price-scatter.scm:164:23: Wrong number of arguments to #<primitive-procedure eval>
>
> This is VERY strange. This works fine for me. What version of guile
> are you running? I wonder if guile-1.6 changed the API to eval?
> If so, that could be REALLY BAD.
>
> > Can I solve it?
>
> Yes, this one is relatively easy. go into the price-scatter.scm file
> and change the "eval interval" on line 164 to "gnc:deltasym-to-delta
> interval".
>
>
> Also, what appears to be the problem with the portfolio report?
> You didn't supply any information about how it failed.
>
>
> > 2. I cannot save the main window. I have a account tree and I would like
> > to get the same view of the window when I start gnucash. In preferences
> > is a button for saving the preferences of the window - but it is not
> > working.
>
> I'm not sure what you mean, here. There is no way to remember which
> accounts have been expanded and which have not. Is that what you are
> asking? If so, then you'll have to file a bug report on it. On the
> other hand, it will definitely remember which columns you are showing,
> but I suspect that's not your issue.
>
> > Thanks in advance
>
> -derek
More information about the gnucash-user
mailing list