SUMMARY I am a long time gnucash user. When I try to import my gnucash file (.gnucash) It fails STEPS TO REPRODUCE 1. Import 2. Select .gnucash file 3. fail OBSERVED RESULT [ERR-5]: Import of file named 'file:///home/ward/Desktop/ward.gnucash' failed [ERR-8]: Invalid XML content in file 'file:///home/ward/Desktop/ward.gnucash' [ERR-4]: 1-1: 'error occurred while parsing element' EXPECTED RESULT import successful SOFTWARE/OS VERSIONS Linux: debian testing ADDITIONAL INFORMATION skrooge version 2.16.2
Hi, Skrooge is able to import gnucash file. May be your version is not yet supported. Could you check that your file is not encrypted ? You must be able to load it in a text editor and you should see XML. If this is well the case, could you provide me a sample file to reproduce the issue?
Hello, The file is not encrypted. I can open with a text editor but it does not appear to be xml. I uploaded a screenshot of it. Am I doing something wrong? Is there instructions on how to import a .gnucash file?
Created attachment 116455 [details] text editor opening of .gnucash file
The SQLITE format is not supported. You must save your file in XML format. See https://www.gnucash.org/docs/v3/C/gnucash-guide/basics-files1.html
Now in xml format. It starts / begins importing, then: [ERR-5]: Import of file named 'file:///home/ward/Desktop/ward.gnucash' failed [ERR-5]: Operation 'SKGDocumentBank::addOrModifyUnitValue' on 'Integra Short Term -DPSP / 2009-12-31 / -inf' failed [ERR-8]: Value of a currency cannot be a negative value
Could you provide me a sample file?
I tried saving as XML again. It all imported. Thank you very much for your help!!! Now I just need to learn Skrooge.