Invoices broken in SVN HEAD?

Geert Janssens janssens-geert at telenet.be
Fri Oct 14 11:03:02 EDT 2011


On woensdag 12 oktober 2011, Mike Evans wrote:
> System: Fedora 14.
> 
> Creating a new invoice in SVN appears to be broken.
> Steps to reproduce:
> Create a new invoice, assign an owner and a job.
> Fill in the fields for description, hours, rate,  qty.
> While the line is still current the correct values are shown in the
> Subtotal. Tab or enter to next line, the subtotal is blank and the invoice
> status values are all zero.
> 
> Same when adding another line.
> 
> I'm no sure exactly when this became broken but it is fairly recent.
> 
> Sample logfile output:
> 
> * 10:09:13  WARN <gnc.engine> bad value in our entry
> * 10:09:13  WARN <gnc.engine> bad value in our entry
> * 10:09:13  WARN <gnc.engine> bad value in our entry
> * 10:09:13  WARN <gnc.gui> [PrintAmountInternal()] Bad numeric:
> GNC_ERROR_OVERFLOW.
> * 10:09:13  WARN <gnc.gui> [PrintAmountInternal()] Bad numeric:
> GNC_ERROR_OVERFLOW.
> * 10:09:13  WARN <gnc.gui> [PrintAmountInternal()] Bad numeric:
> GNC_ERROR_ARG. * 10:09:14  WARN <gnc.gui> [PrintAmountInternal()] Bad
> numeric:
> GNC_ERROR_OVERFLOW.
> * 10:09:14  WARN <gnc.gui> [PrintAmountInternal()] Bad numeric:
> GNC_ERROR_OVERFLOW.
> * 10:09:15  WARN <gnc.gui> [PrintAmountInternal()] Bad numeric:
> GNC_ERROR_OVERFLOW.
> * 10:09:15  WARN <gnc.gui> [PrintAmountInternal()] Bad numeric:
> GNC_ERROR_OVERFLOW.
> * 10:09:17  WARN <gnc.gui> [PrintAmountInternal()] Bad numeric:
> GNC_ERROR_OVERFLOW.
> * 10:09:19  WARN <gnc.gui> [PrintAmountInternal()] Bad numeric:
> GNC_ERROR_OVERFLOW.
> 
> Mike E

Ok, this should be fixed as of r21418.

Note that if you saved invoices (or more precisely invoice entries) with the 
faulty GnuCash versions, you will have to remove these entries and recreate 
them. They are corrupted in the data file and have to be replaced. The invoice 
objects are fine, it's just the invoice entries.

Geert


More information about the gnucash-devel mailing list