[GNC] help with error in parsing

George from the tribe tech at reachthetribes.org
Wed Mar 4 11:24:33 EST 2020


I am using openSUSE linux 15.1, and gnucash 3.0, which is the standard 
version that comes with the opensuse repositories.

I was away from using gnucash for about a month, and this morning when I 
went to open up my accounts again, I could not open up my accounts. I 
get the error:
"There was an error parsing the file ..."  with my filename there at the 
end.

I have looked up the trace file, and I get the following:
/tmp> cat gnucash.trace
* 07:55:40  CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not defined 
and it should be: trn:date-posted
* 07:55:40  CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all of 
the expected tags in the input
* 07:55:41  CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not defined 
and it should be: trn:date-posted
* 07:55:41  CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all of 
the expected tags in the input
* 07:55:41  CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not defined 
and it should be: trn:date-posted
* 07:55:41  CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all of 
the expected tags in the input
* 07:55:43  CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not defined 
and it should be: trn:date-posted
* 07:55:43  CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all of 
the expected tags in the input
* 07:55:43  CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not defined 
and it should be: trn:date-posted
* 07:55:43  CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all of 
the expected tags in the input
* 07:55:46  CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not defined 
and it should be: trn:date-posted
* 07:55:46  CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all of 
the expected tags in the input
* 07:55:48  WARN <gnc.backend> [GncXmlBackend::load()] Syntax error in 
Xml File /home/george/MyData/RealMission/OlsonTrackmnl.gnucash

So I tried opening up the backup files that were stored in the same 
directory, and it is giving the same error.

I copied the gnucash file to another directory, unzipped it using gzip, 
and opened it with a text editor as an xml file, but there are tons of 
lines of code and I would not know how to begin figuring out where the 
error is.

Can anyone help me figure out where the error is? I need to restore 
these files, as I have the past 10 years of tax data stored in this 
file. My most recent off-site backup is over a year old, so that won't help.

I was running gnucash just fine a month ago, and I haven't updated 
gnucash on my system since then as far as I know.

Thanks in advance,

-- 
George
Box:       15.1 | Plasma 5 | AMD Phenom IIX4 | 64 | 32GB
Laptop #1: 15.1 | Plasma 5 | AMD FX 7TH GEN  | 64 | 32GB
Laptop #2: 15.1 | Plasma 5 | Core i5         | 64 | 8GB



More information about the gnucash-user mailing list