Parsing error

Derek Atkins warlord at MIT.EDU
Thu Jun 25 07:56:06 EDT 2009


Hi,

Could you go find this transaction in a working file and print
the XML?  You can look for:

   <trn:id type="guid">3e65aed7a2da52e7df9d8a683f2ff38e</trn:id>

It would be useful to know what the Opening Balance transaction
looked like before!

It would also be useful to know if it's always the same transaction
that changes.  E.g., if you open the same source file and then
re-save it, is it always the same transaction that changes?

Thanks,

-derek

Jonathan Blake <blake.jon at gmail.com> writes:

>> Hmm.. Could you open the raw data file and find the
>> XML surrounding this entry?
>
> Well, I guess I'm limping along without using Gnucash on Vista since
> it's taken me this long to get back to this. The surrounding XML
> follows. To recap, I can open a valid file in Gnucash on Vista, make
> no changes, save the file, and the file has become invalid.
>
> <gnc:transaction version="2.0.0">
>   <trn:id type="guid">3e65aed7a2da52e7df9d8a683f2ff38e</trn:id>
>   <trn:currency>
>     <cmdty:space>ISO4217</cmdty:space>
>     <cmdty:id>USD</cmdty:id>
>   </trn:currency>
>   <trn:date-posted>
>     <ts:date>1969-12-31 15:59:59 -0800</ts:date>
>   </trn:date-posted>
>   <trn:date-entered>
>     <ts:date>2009-04-24 17:14:31 -0700</ts:date>
>     <ts:ns>570032000</ts:ns>
>   </trn:date-entered>
>   <trn:description>Opening Balance</trn:description>
>   <trn:splits>
>     <trn:split>
>       <split:id type="guid">db57ddb8e5952c25e8c3101ed98dea65</split:id>
>       <split:reconciled-state>y</split:reconciled-state>
>       <split:reconcile-date>
>         <ts:date>2009-04-30 19:59:59 -0700</ts:date>
>       </split:reconcile-date>
>       <split:value>454151/100</split:value>
>       <split:quantity>454151/100</split:quantity>
>       <split:account
> type="guid">e628efdb5a03335689d3c653c44ef5c1</split:account>
>     </trn:split>
>     <trn:split>
>       <split:id type="guid">fb5f357917a50b341b28d59057a0f619</split:id>
>       <split:reconciled-state>n</split:reconciled-state>
>       <split:value>-454151/100</split:value>
>       <split:quantity>-454151/100</split:quantity>
>       <split:account
> type="guid">5c247bc8b4aa3d39042b079ed6037cde</split:account>
>     </trn:split>
>   </trn:splits>
> </gnc:transaction>

-- 
       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