Damaged File

Discuss setup / installation issues - Add a spell checker, Language pack?

Damaged File

Postby moony » Tue May 12, 2009 7:13 pm

I had an odt file open (had saved since the last edit) when I lost power. This is Open Office 3.0, on Ubuntu 9.x Open Office attempts to recover the file, but is unable to do so. Opening the file directly results in 3 pages of hash marks (#) I get an error when attempting to open the file as a zip archive, as well as restarting open office and the computer, attempting to recover the file again. I saved a copy of the damaged file to a USB drive and tried opening it under windows, and tried several document recovery tools I found via google (all windows-only), to no avail.

The only thing I can guess is that power was lost during an auto-save, and I sincerely hope there is some way to recover the lost data. I do have a backup of the file, but it is a few days old, and missing about 6 pages of edits and new data. Honestly, I would like to restore the file to what the OS says is the last modified time/date (yesterday evening; the power (and data) was lost early this morning)

I tried to upload the file (58k) here, but I get an error of "Sorry, the board attachment quota has been reached." The damaged file can be found at http://www.mediafire.com/?z1mkm4jimmy
OOo 3.0.X on Ubuntu 8.x + Vista
moony
 
Posts: 3
Joined: Tue May 12, 2009 6:58 pm

Re: Damaged File

Postby r4zoli » Tue May 12, 2009 7:46 pm

Check your backup folder if it contain any file:
Code: Select all   Expand viewCollapse view
/home/<user>/.openoffice.org/3/user/backup

It will contain .bak files if you allowed creating backups, or filename_0.odt temporary file before recovery.
AOO 4.0 and LibO 4 on Win 8
Hungarian forum co-admin
User avatar
r4zoli
Volunteer
 
Posts: 2882
Joined: Mon Nov 19, 2007 8:23 pm
Location: Budapest, Hungary

Re: Damaged File

Postby moony » Tue May 12, 2009 7:59 pm

that was the first thing I checked, no backups or temporary files, sadly. I had reinstalled the OS and OOo a few weeks ago and regrettably forgot to set automated backups.
OOo 3.0.X on Ubuntu 8.x + Vista
moony
 
Posts: 3
Joined: Tue May 12, 2009 6:58 pm

Re: Damaged File

Postby Hagar Delest » Tue May 12, 2009 10:26 pm

Can't open your file, sorry. Seems to be that one: 22 page term paper replaced with pound signs.
:evil:
Weird new bug, often involving a power shutdown. Haven't you saved manually? Have you tried to open the file from its standard location?
AOO 4.1.7 on Xubuntu 20.04 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28840
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Damaged File

Postby moony » Tue May 12, 2009 10:47 pm

I saved manually every couple of hours, including after the last edit, which the OS records as the last modification, around 9pm. The file was left open, and something must have happened with the autosave and the power loss. I do have a backup, like I said, but it is about 6 pages of loss. (much better than the whole 30+ page file, but still annoying)

That does appear to be the same problem I'm having... too bad it can't be fixed :( At least it's only about a day's work.

Here's hoping this gets resolved, and those who lost more data than I can get it recovered.
OOo 3.0.X on Ubuntu 8.x + Vista
moony
 
Posts: 3
Joined: Tue May 12, 2009 6:58 pm

Re: Damaged File

Postby Hagar Delest » Tue May 12, 2009 10:55 pm

moony wrote:I saved manually every couple of hours, including after the last edit, which the OS records as the last modification, around 9pm. [...] I do have a backup, like I said, but it is about 6 pages of loss. (much better than the whole 30+ page file, but still annoying)

I'm not sure I've understood. How is your 9pm file? Still wrecked or is it the backup you're talking about? That 9pm file should be fine, else, it means that there is a deeper bug leading to data loss caused by a wrong recovery process. And that's quite critical because the last manually saved version should never been touched by the recovery process.
AOO 4.1.7 on Xubuntu 20.04 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28840
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Damaged File

Postby shubhanyu » Thu Feb 04, 2010 11:30 pm

That's right.... I have just faced the same thing in version 3.1.1 as well. I manually saved, and just as I began typing again, battery died... recovery fails and all I get is an error - Error Reading File.

This has got to be a more severe bug ... I am of the same opinion that the control-saved moment must not have been corrupted..
OpenOffice.org 3.1 on Fedora Linux 12
shubhanyu
 
Posts: 10
Joined: Thu Feb 04, 2010 5:25 pm

Re: Damaged File

Postby acknak » Fri Feb 05, 2010 6:13 am

... the control-saved moment must not have been corrupted.

You can't always be sure of that. All modern OS's buffer the data written to a file, and even after the file is closed the hardware may buffer it. The time is short--it should all be safely on the disk in a few seconds, but laptops can take a while for the hard disk to spin up, and if the power fails at just the wrong time, you can lose data even in a manually saved file.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3


Return to Install, Setup and Troubleshooting

Who is online

Users browsing this forum: No registered users and 5 guests