1.8.2: CRITICAL errors and Warnings
Derek Atkins
warlord at MIT.EDU
Mon Jun 2 21:14:04 CDT 2003
Randall Hopper <listaddr at charter.net> writes:
> > grep 'gnc:transaction version' gnucash.dat | wc -l
> 1919
Hmm, might take a while to find those, then, without modifying the
source.
> |can find this particular message; you could add additional information
> |at that point to print out more information about the Transaction,
> |like its date, description, or GUID. Using that information might help
> |track down the errant transactions.
>
> I just installed from binary packages.
:(
> |Once we figure out where the problem is coming from we can work on
> |fixing it.
>
> Ok, from looking at the XML of gnucash.dat, how do I tell which
> transactions have an associated currency and which don't. It's not
> apparent from just looking at the file.
You'll want to find a <gnc:transaction> that does not have a <trn:currency>
> Just stabbing in the dark:
>
> > egrep '<(gnc:account|act:currency>)' gnucash.dat | sort | uniq -c
> 225 <act:currency>
> 225 <gnc:account version="2.0.0">
>
> it looks like all the accounts have a currency.
Yea, but the error is "transaction has no common currency". You
need you look in each transaction to find the ones without a
currency.
> Thanks,
>
> Randall
-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