After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 119248 - Deleting price-db entries -> PrintAmountInternal: Bad numeric
Deleting price-db entries -> PrintAmountInternal: Bad numeric
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: General
1.8.x
Other Linux
: Normal minor
: ---
Assigned To: Chris Shoemaker
Chris Lyttle
Depends on:
Blocks:
 
 
Reported: 2003-08-06 10:43 UTC by tonyb.lx
Modified: 2018-06-29 20:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description tonyb.lx 2003-08-06 10:43:22 UTC
Warning: PrintAmountInternal: Bad numeric

The above warning message began appearing at gnucash startup after I
created a new commodity, and an account based on it. I entered 4
transactions on the account, all transfers from cash (commodity = GBP)
accounts.  The conversion rates were different for all transactions; I
don't know if they were entered in the pricedb,  but if so, I must have
deleted them, leaving it without a price. The above message then began
appearing 4 times (one per transaction?); they disappeared when I entered a
price. No database corruption was involved.

Account tree display options selected are Description and Total.
Comment 1 Derek Atkins 2004-06-22 14:26:13 UTC
hi,

I'm sorry nobody responded before now.  The summary was so innocuous that we all
overlooked it, so I've changed it to something a bit more descriptive.

We need a LOT more information in order to do anything with this bug.  For
exampke, what exactly did you do to create these transactions?  Did you have
existing transactions and change something?  And what version of gnucash did you
use?

Without a recipe to recreate the problem we have no way to track it down.

Please re-open this bug when you reply with the recipe and other information.
Comment 2 Chris Shoemaker 2006-03-23 21:42:54 UTC
I've reproduced this in 1.8.12, by entering a transaction, deleting the price entry, and then displaying the account tree totals.

However, 1.9.3 is better-behaved.  The transactions all remember their individual exchange rates, and deleting the price-db entries just makes the COA show zeros for the converted amounts.

That seems to be reasonable behavior, so I'm closing this as fixed.
Comment 3 John Ralls 2018-06-29 20:36:01 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=119248. Please update any external references or bookmarks.