There was an error parsing the file ...

Derek Atkins derek at ihtfp.com
Mon Mar 25 16:48:53 EDT 2013


Note that the "date posted" should be the actual opening balance date,
which might not be the same as the 'date entered' (which is the timestamp
that you actually created the transaction).

-derek

On Mon, March 25, 2013 4:38 pm, Peter Wilkinson wrote:
> Thanks Derek: all fixed.  There were a couple of Opening Balance
> transactions that were lacking <trn:date-posted> elements, so I just
> copied
> the <trn:date-entered> elements from each transaction and renamed them.
>
> Thanks again for prompt and helpful advice!
>
> Regards
> Peter
>
>
>
> On Mon, Mar 25, 2013 at 5:50 PM, Derek Atkins <derek at ihtfp.com> wrote:
>
>> Hi,
>>
>> My initial guess is that you entered in some opening balances when you
>> created the file.  There is a long standing, known bug in Windows that
>> causes it to create bad O-B transactions when you create an account and
>> enter an O-B in the new-account dialog.  The workaround is to not use
>> that
>> functionality and to manually create the O-B as a transaction from the
>> account register back to the Equity:Opening Balances account.  Alas, the
>> only way to fix the errant data file is to manually fix the XML and add
>> the appropriate date data.
>>
>> -derek
>>
>> On Mon, March 25, 2013 1:32 pm, Peter Wilkinson wrote:
>> > I haven't searched for this error in the archives: the search page
>> seems
>> > to
>> > be broken.
>> >
>> > Was using gnu quite happily (for about a year) when today opening a
>> newly
>> > created file I got this error message "There was an error parsing the
>> file
>> > file://C:\Users\peter\Documents\gnucash\pendeen2013.gnucash. " I am
>> using
>> > version GnuCash 2.4.7  svn r20813 on 2011-07-02. I have opened a copy
>> of
>> > the file in Oxygen XML editor and it looks well formed.
>> >
>> > Any ideas?
>> >
>> > The file is available for inspection but would rather send it to a
>> > particular person, rather than post it on a public mailing list.
>> >
>> > Regards
>> >
>> > Peter
>> > _______________________________________________
>> > gnucash-user mailing list
>> > gnucash-user at gnucash.org
>> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> > -----
>> > Please remember to CC this list on all your replies.
>> > You can do this by using Reply-To-List or Reply-All.
>> >
>>
>>
>> --
>>        Derek Atkins                 617-623-3745
>>        derek at ihtfp.com             www.ihtfp.com
>>        Computer and Internet Security Consultant
>>
>>
>


-- 
       Derek Atkins                 617-623-3745
       derek at ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant



More information about the gnucash-user mailing list