OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

[Solved] Need to correctly repair/recover corrupted files

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting
View previous topic :: View next topic  
Author Message
Aqua Trenoble
Newbie
Newbie


Joined: 30 Mar 2012
Posts: 3

PostPosted: Fri Mar 30, 2012 2:17 pm    Post subject: [Solved] Need to correctly repair/recover corrupted files Reply with quote

So last night I saved my project before going to bed. Upon attempting to close "Impress," the program stopped responding and then closed. I wasn't concerned at the time, because I often have to force-close OpenOffice. This morning I tried to resume my project, only to find that OpenOffice tried a recovery of a document that was just saved and now finds the file to be corrupted. The file hasn't been wiped, as it still has 16.3 MB of data. I've had problems with the repair function in the past. Other people have mentioned that it can bring up a blank file but I've found that opening the supposedly corrupted file in another program brings up the file as it's supposed to be. So it seems that all I need is either an actually functional repair method or another program that opens .odp files. Can anyone help me with this problem?

Last edited by Aqua Trenoble on Sat Mar 31, 2012 9:24 am; edited 1 time in total
Back to top
View user's profile Send private message
mgroenescheij
Super User
Super User


Joined: 20 Apr 2011
Posts: 870
Location: Australia

PostPosted: Fri Mar 30, 2012 6:56 pm    Post subject: Reply with quote

Hi,

As you had corrupt files in the past I suppose you have learned from that experience.
You now have set Always create backup copy and Save AutoRecovery information every xx minutes
So have a look in your backup directory first.
If this doesn't help then copy your file and change the extension of your copy to .zip
Now you can unzip this file and find the content.xml here is where OpenOffice stores most of the information.

Martin
_________________
If your problem has been solved please add "[Solved]" to the beginning of your first post title (edit button).
Back to top
View user's profile Send private message
Aqua Trenoble
Newbie
Newbie


Joined: 30 Mar 2012
Posts: 3

PostPosted: Fri Mar 30, 2012 7:31 pm    Post subject: Reply with quote

I don't think you quite understand. The other files weren't corrupt, OpenOffice just thought they were. And I did enable that backup option (a bit late, I'm afraid), but I looked everywhere and can't find the backup directory in Windows 7. I also was aware of the .zip trick but couldn't figure out how to implement that without opening the file and losing the data. So instead of copy/pasting responses from other threads, please give me information that I can work with.
Back to top
View user's profile Send private message
mgroenescheij
Super User
Super User


Joined: 20 Apr 2011
Posts: 870
Location: Australia

PostPosted: Sat Mar 31, 2012 2:09 am    Post subject: Reply with quote

Hi,

Your backup files should be in the path defined in:
Tools --> Options ... OpenOffice.org Paths

Martin
_________________
If your problem has been solved please add "[Solved]" to the beginning of your first post title (edit button).
Back to top
View user's profile Send private message
Greengiant224
OOo Enthusiast
OOo Enthusiast


Joined: 05 Jun 2010
Posts: 107
Location: All Over The World

PostPosted: Sat Mar 31, 2012 2:21 am    Post subject: Reply with quote

Aqua Trenoble asked/requested:

Quote:

Need program to correctly repair/recover corrupted files
So it seems that all I need is either an actually functional repair method or another program that opens .odp files.


AFAIK There is no known repair tool available.

The only option is to zip/unzip the ODF file and manually edit the content.xml file.
This would assume that you have an understanding of the eXtensible Markup Language syntax and the data contained therein.

mgroenescheij gave you the best possible advice in his posting.

Hope this helps
_________________
Greengiant 224

Linux 2.6.38, KDE 4.9.2, LibreOffice v 3.5.x (Java 1.6.35) utilising HSQL v1.8 & v2.3.0, MySQL, PostgreSQL, SQLite
+ Blood, Sweat and Tears (Application, Determination and Perseverance)
Back to top
View user's profile Send private message
Aqua Trenoble
Newbie
Newbie


Joined: 30 Mar 2012
Posts: 3

PostPosted: Sat Mar 31, 2012 9:20 am    Post subject: Reply with quote

Ah, excellent. Thank you very much, that helped tremendously. Sorry if I came off as rude, I just hate it when people post the exact same solution that's in every thread without explaining how to do it.
Back to top
View user's profile Send private message
mgroenescheij
Super User
Super User


Joined: 20 Apr 2011
Posts: 870
Location: Australia

PostPosted: Sat Mar 31, 2012 4:18 pm    Post subject: Reply with quote

Hi,

Quote:
I just hate it when people post the exact same solution that's in every thread without explaining how to do it.
So do I when you ask questions that are answered many times before, nevertheless I tried to give you an answer.

Martin
_________________
If your problem has been solved please add "[Solved]" to the beginning of your first post title (edit button).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> Setup and Troubleshooting All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group