Trying to recover from corrupted files - not going well.

marc+gnucash at milestonerdl.com marc+gnucash at milestonerdl.com
Thu May 24 15:35:48 EDT 2012


My gnucash install has now went off the rails :-(   I wanted the bill import section so that
means compile trunk from scratch and include --with-python

Under 2012-1-14 version of trunk there was an export as XML.  Today's trunk r22201 no longer has that export as XML but export as CVS.   How can I get past this data corruption issue and export/import the dataset in trunk?

The 2011 version was broken where billing importing was hit and miss - known bug.
The 2012-1-14 version worked for a while, then after various linux system upgrades at some point when I returned to entering stuff in the accounting system when I save a file the saved file is not openable.  I just did another grab of trunk and did a save from a working file and get a non-working file.   The below is an example from the trace file of a:

$ gnucash gnuworked2
(within GnuCash File -> Save As gnuborked)
$ date;gnucash gnuborked.gnucash
Thu May 24 11:57:47 CDT 2012


This is a development version. It may or may not work.
Report bugs and other problems to gnucash-devel at gnucash.org
You can also lookup and file bug reports at http://bugzilla.gnome.org
To find the last stable version, please refer to http://www.gnucash.org
$ more /tmp/gnucash.trace
* 11:57:55  WARN <gnc.module> Could not locate module gnucash/business-core interface v.0
* 11:58:07  WARN <gnc.python> Unable to initialize Python module (unable to open /usr/local/share/gnucash/p
ython/init.py)
* 11:58:08  CRIT <gnc.io> [dom_tree_handlers_all_gotten_p()] Not defined and it should be: invoice:owner
* 11:58:08  CRIT <gnc.io> [dom_tree_generic_parse()] didn't find all of the expected tags in the input
* 11:58:08  CRIT <gnc.io> [dom_tree_to_invoice()] failed to parse invoice tree
* 11:58:08  WARN <gnc.backend> [gnc_xml_be_load_from_file()] Syntax error in Xml File /home/marc/gnuborked.
gnucash


the Python warning doesn't make sense to me either:
ls -l /usr/local/share/gnucash/python/init.py
-rw-r--r-- 1 root root 2817 2012-05-24 11:39 /usr/local/share/gnucash/python/init.py




More information about the gnucash-devel mailing list