Error parsing file

Rajesh Jayaprakash rajesh.jayaprakash at gmail.com
Sun Nov 18 05:39:07 EST 2007


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


More information about the gnucash-user mailing list