error in advanced portfolio report (svn r16781)

Andrew Sackville-West andrew at swclan.homelinux.org
Wed Jan 2 13:33:45 EST 2008


On Wed, Jan 02, 2008 at 02:34:43AM -0500, David Reiser wrote:
> When I run the advanced portfolio report, gnucash complains in the  
> report window:
> 
> Report error
> An error occurred while running the report.
> 
> The terminal window says:
> 

...

>   564: 637* (if (same-account? current #) (begin # #))
>   565: 638  (begin (set! basis-list #) (if # # #))
>   568: 639* (set! basis-list (basis-builder basis-list split-units ...))
>   568: 640* [basis-builder #<unspecified> #<<gnc-numeric> num: 8690  
> denom: 10000> ...]
>   235: 641  (cond ((and # #) (case b-method # ...)) ((and # #) (if #  
> # ...)) ...)
>       ...
>   243: 642  [list ...
>   243: 643*  [cons ...
>   243: 644*   [gnc-numeric-add #<<gnc-numeric> num: 8690 denom:  
> 10000> ...
>   244: 645*    [caar #<unspecified>]
> /opt/gnucash-svn/share/gnucash/guile-modules/gnucash/report/advanced- 
> portfolio.scm:244:43: In procedure caar in expression (caar b-list):
> /opt/gnucash-svn/share/gnucash/guile-modules/gnucash/report/advanced- 
> portfolio.scm:244:43: Wrong type argument in position 1: #<unspecified>

wierd. I wonder where the heck it's getting an <#unspecified>. Can you
run again using 

gnucash --logto stdout --log "gnc.scm=debug"

and provide the output? It should be pretty copious.

A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080102/baf8c9fd/attachment.bin 


More information about the gnucash-devel mailing list