1.8.2: CRITICAL errors and Warnings

Derek Atkins warlord at MIT.EDU
Thu Jun 5 14:22:06 CDT 2003


Hi,

Randall Hopper <listaddr at charter.net> writes:

> I'd rather not send the whole data file since it's got all my finances ;-)

Fair enough..

> But here's one of the transactions.  As you can see -- no trn:currency.

not only no trn:currency, but only a single split!  This is an
unbalanced transactions.  How was it created?  It's certainly going to
cause problems.

> Why?

I don't know.  How was this entered into the system?  You entered it
on May 2, dated April 11.  But it's not balanced..  I don't even know
how you entered it into the system.  You should probably run the
"Check and Repair" function.

> <gnc:transaction version="2.0.0">
>   <trn:id type="guid">18870d279f9b38170bbfeba8de5175ff</trn:id>
>   <trn:date-posted>
>     <ts:date>2003-04-11 00:00:00 -0400</ts:date>
>   </trn:date-posted>
>   <trn:date-entered>
>     <ts:date>2003-05-02 19:23:26 -0400</ts:date>
>   </trn:date-entered>
>   <trn:description>Blockbuster</trn:description>
>   <trn:slots>
>     <slot>
>       <slot:key>notes</slot:key>
>       <slot:value type="string">Some Old Movie</slot:value>
>     </slot>
>   </trn:slots>
>   <trn:splits>
>     <trn:split>
>       <split:id type="guid">8c00f68c5a3c8b4abbda344dd524a835</split:id>
>       <split:reconciled-state>n</split:reconciled-state>
>       <split:value>214/100</split:value>
>       <split:quantity>214/100</split:quantity>
>       <split:account type="guid">81ff08ecdf0cdac2465881b33d2b8e27</split:account
> >
>     </trn:split>
>   </trn:splits>
> </gnc:transaction>
> 
>  |> If I need these for 1.8.2, how do I get them?  Is there a conversion
>  |> program?
>  |
>  |GnuCash is supposed to just read it in.  No conversion should be
>  |necessary, but it's possible that there is a problem with your data
>  |file that 1.8 cares about but 1.6 didn't.
> 
> Right, or the GnuCash importer just has a bug related to importing older
> files.  1.6.x has been happy with it for over a year.

You still don't understand.  There is no "importer".  The file format
HAS NOT CHANGED.  It's been extended, and new datatypes added, but as
far as 1.6 data is concerned, it's the SAME CODE as 1.6 for reading in
the data files.  However, what has changed is the verification steps
for bogus data.

The fact that 1.6 is happy is irrelevant.  It's probably a bug in 1.6!
Your data file is broken, and 1.6 did it.  I don't know why, but
that's the problem.  A check-and-repair might help, but honestly I
have no idea HOW you could get a transaction without a currency....
It just shouldn't be possible, unless there is some bug in 1.6.  The
fact that the transaction is not balanced implies something else weird
going on.

> 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