Retrieving document

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

Retrieving document

Postby John25 » Fri Apr 17, 2009 2:54 am

Welcome beginner. What is your question or comment?
Please try to briefly and clearly tell us: What you want, What you tried, and What happened.
-----------------------------------------------------------------------------------------------------------
I saved a file on Open Office 3.0 but before I closed the file, my laptop shut off. When I tried to retrieve the file it asks me for the character set and I do not know which one to pick. I have tried each one in Western Europe and when I do, I get the document back but it is not readable and shows this: ############.... continuously. The default font is in Times New Roman, and the language is English (USA). Which character set can I choose to get my document back in its original form.

Thanks

John
OOo 2.3.X on Ms Windows XP
John25
 
Posts: 2
Joined: Fri Apr 17, 2009 2:47 am

Re: Retrieving document

Postby acknak » Fri Apr 17, 2009 3:22 am

Sorry, but that's a sure sign that your file is corrupted and not recoverable.

If you like, you can attach it here and someone can take a look to be sure, but I've never seen one in this state that we could do anything with--especially if you were saving to MS Office format.

See: http://user.services.openoffice.org/en/forum/viewtopic.php?f=6&t=17677 for another example.

The only solution is to a) save often and do not depend on the auto-save/recovery feature, and b) make regular backup copies.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Retrieving document

Postby John25 » Fri Apr 17, 2009 11:38 pm

Here is the file. I did save before the computer shut down but I didn't exit the Open Office program before it was shut down. Thanks to anyone who can help me recover the file.
Attachments
Community Property Notes.odt
(55.2 KiB) Downloaded 203 times
OOo 2.3.X on Ms Windows XP
John25
 
Posts: 2
Joined: Fri Apr 17, 2009 2:47 am

Re: Retrieving document

Postby Hagar Delest » Fri Apr 17, 2009 11:54 pm

Can't open the file, sorry (well, just hashes in fact).

You should open a bug report and attach your file: [Tutorial] Reporting bugs or suggestions. That's the 5th topic about hashes now (see the thread linked above). Perhaps the devs will be able to see what's wrong with the file because it's not recognized by my archive manager but OOo can import its poor content.
:evil:
LO 6.4.6 on Xubuntu 20.04 and Windows 10.
User avatar
Hagar Delest
Moderator
 
Posts: 29066
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Retrieving document

Postby acknak » Sat Apr 18, 2009 2:59 am

The file contains nothing but binary zeros--nothing there to recover.

    $ hexdump -C Community\ Property\ Notes.odt
    00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    0000dcc0 00 00 00 00 00 00 00 00 00 00 |..........|
    0000dcca

With modern computers--especially laptops--there is a delay between the time that an application, like OOo, says "save this data to a file" and when the data actually lands safely on the disk, ready to be recalled later on. If "something bad" happens before the data is safely on the disk, you lose.

At least, that would be my guess at what's happening.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Retrieving document

Postby Hagar Delest » Sat Apr 18, 2009 8:59 am

Ah yes, I see, it would be in the cache settings of the OS then? But I thought it was very short for HD access.
LO 6.4.6 on Xubuntu 20.04 and Windows 10.
User avatar
Hagar Delest
Moderator
 
Posts: 29066
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Retrieving document

Postby acknak » Sat Apr 18, 2009 5:09 pm

I'm just guessing about the cause; I'd rather not multiply that with guesses about settings or times. ;-)

It's not always up to the OS either--hard drives, especially laptop hard drives, may have large cache memories and wait for a time (a few seconds?) before writing the data on the disk.

My impression is that this kind of corruption has always happened in the context of some kind of major system failure--the system hangs or blue-screens, or power goes out suddenly.

It's not just a simple memory dump for OOo to get a document safely into a document file. It's a lot of work, and it takes a while. I imagine it just makes the target window for catastrophe that much bigger.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Retrieving document

Postby Hagar Delest » Mon May 18, 2009 1:59 pm

For the record, some additional information in that thread: ###### No Text, perhaps you should check and see if you can reproduce it.
LO 6.4.6 on Xubuntu 20.04 and Windows 10.
User avatar
Hagar Delest
Moderator
 
Posts: 29066
Joined: Sun Oct 07, 2007 9:07 pm
Location: France


Return to Install, Setup and Troubleshooting

Who is online

Users browsing this forum: No registered users and 2 guests