--On May 15, 2006 2:36:00 AM -0400 Mike Alexander <[EMAIL PROTECTED]> wrote:

--On May 13, 2006 9:34:24 PM -0600 Chris Lyttle <[EMAIL PROTECTED]>
wrote:

Hi dev's

Is anyone working on fixing the following test so we can release
1.9.6?

Chris


** CRITICAL **: Error: xaccSplitComputeCapGains(): Malformed Lot "Lot
45"! (too thin!) opening amt=-32139756059553/100 split
amt=5269956366770822423/100 baln=5269924227014762870/100
aborting...

I've attached a patch that seems to fix the errors found by
test-period when automatic lot scrubbing is enabled.  Even though it
is no longer enabled, these bugs should probably be fixed.  I think
the patch is ok, but others who know more about the internals of the
GnuCash engine should take a look at it.

With these patches I get only one error when running test-period with
parameters from 10 to 299.  At 207 it gets an "xaccSplitSetValue():
numeric error in converting the split value's denominator" error, but
that's because the test code generates a value that is too big to
represent with the chosen denominator of 1000000.

I put this in bugzilla as bug 342153 so it won't get lost.

--
Mike Alexander           [EMAIL PROTECTED]
Ann Arbor, MI            PGP key ID: BEA343A6

_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to