[GNC] Error in Advanced Portfolio

Fred Tydeman tydeman.fred at gmail.com
Tue Apr 25 15:31:42 EDT 2023


I tracked the problem to a return of capital that I had entered the day
after I sold all the shares of a stock.
By moving the return of capital to the day before the sale, the error went
away.
I never had a negative share balance.  The return of capital has money, but
no shares.
So, I found the error message misleading.

On Tue, Apr 25, 2023 at 7:08 AM Fred Tydeman <tydeman.fred at gmail.com> wrote:

> When I run an Advanced Portfolio report, I am getting:
>
> There is an error processing the transaction 'spinoff of 0.00 currency
> units'. This may to be caused by a sell transaction causing a negative
> stock balance, and a subsequent buy transaction causing a zero balance.
> This leads to a division-by-zero error. It can be fixed by preventing
> negative stock balances.
>
> One way to find out which security is to start picking subsets of accounts.
> Is there a better way to find out which security it is complaining about?
>
>
>


More information about the gnucash-user mailing list