Re: Gnumeric file went south.

On Wed, Jun 13, 2001 at 11:10:27PM +1000, Alan Eugene Davis wrote:
All my grades were in a gnumeric file, which file, partly due to
Gnumeric not having (AFAICT) a way to configure for backups at
periodic intervals, was lost when my disk filled up.  

Even since, when I access that file, gnumeric locks up.  Yet, I cannot
find any specifications that would help me to track the problem down.  

Is there something I can do?

  Assuming it's the native format, it's gzipped XML.
First save all your existing copies, second try to gunzip them.
You should be able to extract at least the beginning of your original
XML file. Then use xmllint from the libxml2 package to try to recover it

  xmllint --recover gunzipped_fragment > attempt.gnumeric

then check that the resulting attempt is still XML

  xmllint --noout attempt.gnumeric

if no well it will require manual intervention (both the fragment and
the recovery attempt should be XML and hence editable with a text tool).
if yes, try to load it in gnumeric and keep your finger crossed !

  good luck !


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]