Error parsing file
Rajesh Jayaprakash
rajesh.jayaprakash at gmail.com
Mon Nov 19 12:34:53 EST 2007
Derek,
I unzipped the data file and ran an XML well-formedness check: looks
like the file is well-formed. Not sure whether there's a schema or DTD
that I can validate against. I am OK with sharing the data file if it
would help (maybe not with the entire mailing list -- anyway, the file
just contains about three year's worth of mundane personal
transactions <grin>).
Thanks,
Rajesh
On Nov 19, 2007 9:08 PM, Derek Atkins <warlord at mit.edu> wrote:
> this looks like your data file got corrupted somehow..
>
> -derek
>
>
> "Rajesh Jayaprakash" <rajesh.jayaprakash at gmail.com> writes:
>
> > Hi folks,
> >
> > Some history first:
> >
> > I have been using Gnucash 2.2.1 on Ubuntu 7.10. When I tried to open
> > the same account file in Kubuntu 7.04 installed in another partition,
> > there was a parsing error, with an XML snippet related to scheduled
> > transactions displayed on the console.
> >
> > I rebooted into Ubuntu, opened the file successfully, and deleted the
> > scheduled transaction. After this, I was able to open and save the
> > file in Kubuntu as well.
> >
> > Next I did a distro upgrade in Kububtu, which brought the Gnucash
> > version to 2.2.1 as well. But now I am no longer able to open the
> > file, either in Kubuntu or in Ubuntu (not to mention Mandriva 2008,
> > existing in another partition and running 2.2.1). The error essage is
> > "There is an error parsing the file <file name>".
> >
> > Here are the contents of /tmp/gnucash.trace:
> > ----------------------------------------------------------------
> > * 16:04:26 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:26 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:26 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:26 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:26 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:26 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:26 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:26 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:26 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:26 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > * 16:04:28 CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not
> > defined and it should be: act:type
> > * 16:04:28 CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all
> > of the expected tags in the input
> > * 16:04:28 CRIT <gnc.io> [dom_tree_to_account()] failed to parse account tree
> > * 16:04:28 CRIT <gnc.backend.file> account_parent_handler: assertion
> > `parent' failed
> > ----------------------------------------------------------------
> >
> > The account file has not been corrupted; I am able to unzip it and
> > view it in a text editor.
> >
> > Any help would be greatly appreciated.
> >
> > Regards,
> >
> > Rajesh
> > _______________________________________________
> > 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, 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