You are not logged in.

#1 2017-01-03 14:03:33

Amphitryon
Member
Registered: 2013-09-20
Posts: 39

[Solved] GNUcash save has stopped working for XML

I recently tried opening a gnucash file I had saved in the last few days and got a message about the file being corrupt.  Checking, it seems the file is short - even attempting to uncompress it with gunzip/zcat reports it as truncated.

It is definitely repeatable.  Fortunately gnucash keeps backup files - if I copy one of these, open it, allow some scheduled transactions to apply and immediately save it again it write the same kind of truncated file.  I am not completely sure why this has suddenly started happening but once possibility is the recent update of zlib, i.e. 1.2.9-1-x86_64.pkg.tar.xz.

There is a work-around to the XML saving issue by saving to SQLITE format instead.

Last edited by Amphitryon (2017-01-27 18:10:14)

Offline

#2 2017-01-27 00:47:00

Amphitryon
Member
Registered: 2013-09-20
Posts: 39

Re: [Solved] GNUcash save has stopped working for XML

Since I wrote the original message there has been at least one update of zlib and now, with zlib-1:1.2.11-1-x86_64.pkg.tar.xz it is working again.

Offline

#3 2017-01-27 00:52:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] GNUcash save has stopped working for XML

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB