LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2012, 12:39 AM   #1
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
Unhappy Problem with open office file.


I have a problem regarding my open office file.
I don't know if it is corrupt.

When try to open this file i only see ##########################.

Do any one knows how to fix it.

I have a screenshot when i try to open the file.
Attached Thumbnails
Click image for larger version

Name:	open office error.png
Views:	26
Size:	21.1 KB
ID:	9662  

Last edited by tailinlinux; 05-14-2012 at 12:56 AM.
 
Old 05-14-2012, 10:12 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Was it OK before? If so, can you restore from backup?

If you unpack the file instead of opening it with OpenOffice, (AFAIK it's a .ZIP) and open content.xml with a word-wrapping text editor, can you see your text in amongst all the markup?
 
Old 05-14-2012, 12:24 PM   #3
alagenchev
Member
 
Registered: Oct 2004
Location: USA
Distribution: Slackware, Debian, Ubuntu
Posts: 223

Rep: Reputation: 30
This might be a problem with the encoding. If you have non-latin characters for example. I am a native bulgarian speaker and if I don't have all the needed encoding, I would get monkey symbols sometimes. I would try to open the file using google docs and see if the file opens fine. If it doesn't then the file is corrupted. If it works fine in google docs, then it's a problem with open office and we can go from there. Please test and report back, so we can use the process of elimination to figure out the problem.
 
Old 05-14-2012, 07:08 PM   #4
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390

Original Poster
Blog Entries: 3

Rep: Reputation: 25
Yes this file is ok before and i can access and us it. Ive got this problem is when my pc got off because of power problem.
My file is saving during that time. I don't have backup up of this file.

I have search on some forum sites like this one http://www.oooforum.org/forum/viewtopic.phtml?t=65100 they discuss about this problem some said that there are no
possible solution to fix this problem.

I'm totally mad about this problem.
 
Old 05-15-2012, 12:17 PM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,084

Rep: Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279
As Catkin says, if your file is corrupt the best you can do is to extract content.xml from the archive and manually remove the xml tags to recover the text. It's a messy job and a slow one, but I've done it.
 
Old 05-16-2012, 02:46 AM   #6
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390

Original Poster
Blog Entries: 3

Rep: Reputation: 25
The file is save as .doc file. To be able to extract it i need to save as file as .odt file.

Do anyone know here, how to extract .doc file?
 
Old 05-18-2012, 11:55 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,084

Rep: Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279
That contains the text with the formating information embedded in it. You need to install a hex editor, load the doc file into it, and delete everything except the text. You can't do the job with an ordinary text editor.

Last edited by DavidMcCann; 05-18-2012 at 11:58 AM.
 
Old 05-18-2012, 12:09 PM   #8
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by tailinlinux View Post
Do anyone know here, how to extract .doc file?
Depending on how broken it is, you might be able to extract the text using one of abiword, antiword or catdoc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
open office file recovery donny44 Linux - Software 3 04-02-2010 10:03 AM
can't see a swf file in open office CiScOh4x0r Ubuntu 1 06-03-2005 01:16 PM
Open Office File Association quo_vadis Linux - Newbie 1 04-20-2004 07:39 AM
How to open a wps file in open office 1.1 oneiric Linux - Software 4 04-15-2004 04:07 AM
Convert Open Office file to PDF file. liguorir Linux - Software 1 01-13-2004 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration