GNOME Bugzilla – Bug 165571
insufficient information in warning
Last modified: 2018-06-29 20:49:28 UTC
I had a problem where the currency of a number of transactions was missing after using a log replay to restore the transactions. The following was output: Warning: xaccTransFindOldCommonCurr...(): unable to find a common currency, and that is strange. Warning: xaccTransScrubCurrency: no common transaction currency found It would be easier to find the transactions in question if the Warnings included the date, description, and transaction guid. Other information:
Okay, I just added some extra debugging info into these messages. Thanks. This is fixed in CVS (head and 1.8) and will be fixed in 1.8.11.
FWIW, I'm having this problem too. It sounds like you're saying the debug messages are going in the "import" code, is that right? It would be also useful if this condition were detected when the file is loaded, because Gnucash behaves pretty mysteriously when trying to edit a transaction that has a missing trn:currency. This kind of thing (and many other anomalies) could be caught by DTD/Schema/relax validation (which would also require proper namespace declarations at the top).
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=165571. Please update any external references or bookmarks.