Error parsing file on OS X

Parameswaran S Prem premps at sg.ibm.com
Thu Sep 12 19:03:57 EDT 2013


Hi Derek,

Thanks...

I scanned through the data file.   I am not familiar with XML files and 
not very sure what to look for :-(

I was trying to find whether I could see <trn:date-posted> and 
<trn:date-entered> pairs (as below).  I didn't find any broken pairs. 

<trn:date-posted>
    <ts:date>2013-08-21 00:00:00 +0800</ts:date>
</trn:date-posted>
<trn:date-entered>
    <ts:date>2013-08-25 07:34:52 +0800</ts:date>
</trn:date-entered> 

Is there anything elase I should look for ? 

I don't mind sharing my datafile if someone can help me look at it. 

Thanks in advance. 

With best regards,

P S Prem
GMU(AP) System z Software, IM Technical Lead
IBM Software Group Asia Pacific, Growth Market Unit,
Tel : +65-6418 4454 (DID) 
         +65-9750 8390 (Mobile) 
            6 919-4454   (Tie Line)
eMail : premps at sg.ibm.com




From:   Derek Atkins <warlord at MIT.EDU>
To:     Parameswaran S Prem/Singapore/IBM at IBMSG
Cc:     "Subramanian Venkateswaran \[via GnuCash\]" 
<ml-node+s1415818n4664027h59 at n4.nabble.com>, gnucash-user at gnucash.org
Date:   11/09/2013 11:02 PM
Subject:        Re: Error parsing file on OS X



Hi,

Parameswaran S Prem <premps at sg.ibm.com> writes:

> Hi Subramanian,
>
> Thanks for the tip.
>
> As suggested, I tried to open older versions of the file.  They also 
gave 
> me the same error.   The oldest version I tried was of 4th Aug.   I 
> couldn't open it.  I have used GnuCash many times between 4th Aug and 
last 
> week.  It was working ok. 
>
> Should I try to re-install GnuCash ?
>
> With best regards,

I don't think you need to re-install GnuCash.  But you might want to
take a close look at your data file.  The parse error seems to be after
a transaction with a date/time of Sun, Aug 25 08:02:23 2013, as you can
see from this portion of the trace file:

* 17:08:52  INFO <gnc.engine> [xaccTransSetDateInternal] addr=0x417cb60 
set date to 1377388943.000000000 Sun Aug 25 08:02:23 2013
* 17:08:52  INFO <gnc.engine> [trans_cleanup_commit] get rid of rollback 
trans=0x417ccf8
* 17:08:52  INFO <gnc.engine> [trans_cleanup_commit] get rid of rollback 
trans=0x417cf18
* 17:08:52  CRIT <gnc.backend.file.sixtp> parse failed at:
* 17:08:52  WARN <gnc.backend> [gnc_xml_be_load_from_file()] Syntax error 
in Xml File /Users/premps/Documents/SMA/GNUCash/2013Accounts.gnucash

I would recommend that you look in your data file for the transaction
with this date/time stamp, and then look at the rest of that transaction
and the following transaction in the datafile.  That should give you a
clue as to what might be going on.

> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

-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