xaccTransScrubCurrency error after replay log

Derek Atkins warlord at MIT.EDU
Tue Apr 12 10:36:47 EDT 2005


Quoting Greg Hewgill <greg at hewgill.com>:

> On Thu, Mar 24, 2005 at 08:17:17PM -0500, Derek Atkins wrote:
> > Hmm, this seems to happen periodically; I wish I knew what was
> > creating these "broken" transactions.  :(
> 
> The other day I ran out of disk space and didn't notice when I saved my
> gnucash file. Today, I noticed that my transactions had not been saved.
> So, I found the "replay log file" option, and loaded the log file with
> the missing transactions. This was the first time I had ever used the
> replay function. Upon saving this new file, I got a bunch (six) of the
> following errors:
> 
> ** CRITICAL **: file sixtp-dom-generators.c: line 93
> (commodity_ref_to_dom_tree): assertion `c' failed.
> 
> When I reloaded gnucash, I got a bunch more (14) of the following
> pairs:
> 
> Warning: xaccTransFindOldCommonCurr...(): unable to find a common
> currency, and that is strange.
> Warning: xaccTransScrubCurrency: no common transaction currency found
> 
> I am using version 1.8.9. I can (presumably) repro this by restoring
> the files in question from backup and redoing the operations. I suspect
> the replay operation is not quite doing the same thing as entering
> transactions manually. Would you like me to do some investigative work
> to find out what is different after performing the replay operation?

Sure, that would be useful and helpful.  Thanks!

If you could even find a source patch that fixes it, it would be even MORE
helpful :)

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-user mailing list