Locked Document

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

Locked Document

Postby BluemoonFlower » Wed Aug 25, 2010 8:45 pm

Help! While working on my notebook I accidentally hit the power button that made it shut down, and when I tried to open the document I had been working on, it said it was locked by another user for editing. I can't even copy it to another document because all the words change to '#'. Is there a way I can unlock and get it back to normal?
OpenOffice 3.2 on Windows 7 Ultimate
BluemoonFlower
 
Posts: 3
Joined: Wed Aug 25, 2010 8:36 pm

Re: Locked Document

Postby RoryOF » Wed Aug 25, 2010 11:24 pm

If you are getting ###s, it doesn't look good. Firstly, with OpenOffice closed, delete any filename of the form .~lock.Filename.odt#, where the odt will be replaced by ods if you were using a Calc file (etc, for other OOo file types). This will unlock the file for you. Replace the odt witht zip, and use an archive manager to open the file. If it opens (unlikely, I think), you need to extract Content.xml, which will hold your content unformatted. If this doesn't work the only other possibility is that there is a Filename.bak file lurking on your system.
Apache OpenOffice 4.1.7 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 31444
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Locked Document

Postby BluemoonFlower » Wed Aug 25, 2010 11:53 pm

Well, the only way I got to see the ~lock.Filename.odt# was when I put it into a winrar file. I deleted it, and I tried to extract the content, but I don't think it worked...How would I find the Filename.bak? Or would I be doing the extract wrong?
OpenOffice 3.2 on Windows 7 Ultimate
BluemoonFlower
 
Posts: 3
Joined: Wed Aug 25, 2010 8:36 pm

Re: Locked Document

Postby thomasjk » Thu Aug 26, 2010 12:44 am

Filename.bak will be in your user profile viewtopic.php?f=74&t=12426. It will only be there if you had Tools-->Options-->Load\Save--->General. "Always create a backup copy" checked. I recommend you do this for the future.
Tom K.
Windows 10 Home version 1803 17134.165
LibreOffice 5.4.7.2
thomasjk
Volunteer
 
Posts: 4426
Joined: Tue Dec 25, 2007 4:52 pm
Location: North Carolina

Re: Locked Document

Postby BluemoonFlower » Thu Aug 26, 2010 1:18 am

Alright, looks like I don't...But oh well, now at least I know that. Thank you :) Though does mean anything thing when I tried to open the locked document an ASCII Filter Options pops up?
OpenOffice 3.2 on Windows 7 Ultimate
BluemoonFlower
 
Posts: 3
Joined: Wed Aug 25, 2010 8:36 pm

Re: Locked Document

Postby thomasjk » Thu Aug 26, 2010 5:18 am

It means that OOo does not recognize the file. If you open it and see all #################, then the file is corrupt.
Tom K.
Windows 10 Home version 1803 17134.165
LibreOffice 5.4.7.2
thomasjk
Volunteer
 
Posts: 4426
Joined: Tue Dec 25, 2007 4:52 pm
Location: North Carolina

Re: Locked Document

Postby Hagar Delest » Sat Aug 28, 2010 7:19 pm

AOO 4.1.7 on Xubuntu 20.04 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28954
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 4 guests