report errors

Christian Stimming stimming@uclink.berkeley.edu
Sun, 11 Feb 2001 12:40:26 -0800


-----BEGIN PGP SIGNED MESSAGE-----

On Sunday 11 February 2001 12:15, Herbert Thoma wrote:
> 24* [gnc:make-exchange-alist #<gw:wcp <gnc:commodity*> 0x816a8e8> (# .
> 0)] 25  [map #<procedure (e)> ((# #) (# #) (# #) (# #) ...)]
> 26* [#<procedure (e)> (# #)]
> 27* [list #<gw:wcp <gnc:commodity*> 0x82830b0> ...
> 28* [gnc:numeric-abs #<<gnc-numeric> num: # denom: #>]
> /usr/local/share/gnucash/scm/commodity-utilities.scm:256:12: In
> procedure gnc:numeric-abs in expression (gnc:numeric-abs
> (gnc:numeric-div # # ...)):
> /usr/local/share/gnucash/scm/commodity-utilities.scm:256:12: Wrong type
> argument in position 1: 194253713746375

Oops. This means that there are serious problems with my new code for 
calculating the exchange rates between different currencies. But maybe the 
bug lies withing the gnc-numeric functions. 

Herbert, is it possible for you to discuss that right now on #gnucash? 
And, to begin with, how many different commodities do you have in your 
gnucash file?

Christian

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBOob4wWXAi+BfhivFAQHLhgP+ORUJcfSqrKKBpi3sSPF4nQl1Ga9rGJdg
sAkrqyapg6g1swXu9osFky5/CU9lTzpgZxpeGKSfIz2y2nLzFKf45kMXoJI+ko9t
AOMaFLJms8WxhGukjqp4W4E5++wboBlBVK/j67gkyJtYoaIWEIJ5Zwydm2zHGFUw
8KsiCPxnMvo=
=6/br
-----END PGP SIGNATURE-----