GNOME Bugzilla – Bug 119248
Deleting price-db entries -> PrintAmountInternal: Bad numeric
Last modified: 2018-06-29 20:36:01 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.
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.
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.
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.