How to repair ods files

Posted by karthick87 on Ask Ubuntu See other posts from Ask Ubuntu or by karthick87
Published on 2011-07-01T06:40:42Z Indexed on 2011/07/01 16:31 UTC
Read the original article Hit count: 392

Filed under:

I have few ods files but all of a sudden it is not opening. When i open the file i get the following error. Please look at the below snapshot

enter image description here

Error on opening the file with Archive Manager:

enter image description here

karthick@karthick:/media/Datas$ zip -FF data.ods --out repaired_file.ods
Fix archive (-FF) - salvage what can
Found end record (EOCDR) - says expect single disk archive
Scanning for entries...
copying: mimetype  (46 bytes)
copying: Configurations2/statusbar/  (0 bytes)
copying: Configurations2/accelerator/current.xml  (2 bytes)
copying: Configurations2/floater/  (0 bytes)
copying: Configurations2/popupmenu/  (0 bytes)
copying: Configurations2/progressbar/  (0 bytes)
copying: Configurations2/menubar/  (0 bytes)
copying: Configurations2/toolbar/  (0 bytes)
copying: Configurations2/images/Bitmaps/  (0 bytes)
copying: content.xml  
zip warning: no end of stream entry found: content.xml
zip warning: rewinding and scanning for later entries

© Ask Ubuntu or respective owner

Related posts about openoffice.org