Document is locked for editing?

3 replies [Last post]
midnightvisions
Offline
Last seen: 1 year 27 weeks ago
Title:
Joined: 23 May 2012
Posts: 2

Hello,

I was using LO 3.4.5 on my netbook at work while I was online, when my computer battery died, Now that I'm home, using another computer, the document I was working on has this message on opening;

Document [name] is locked for editing by [my username] (web address)

Open document read-only or open a copy of the document for editing.

I can open the document, but can't save or edit it.

I want to use document recovery to fix it, but there is no option to run it.  How do I fix the file so I can continue writing to it?

Thanks



PeterRoots
Offline
Last seen: 23 weeks 6 days ago
Title: ==Moderator==
Joined: 25 Oct 2011
Posts: 941
you have a leftover lock file

you have a leftover lock file (which is hidden) in the same folder as the document. Assuming a document name of test.odt the lockfile will be .~lock.test.odt#

If you delete this lock file (while you have the document closed) you will then be able to open your document normally again

Linux Mint 15 LibreOffice 4.1.1.2 : OpenSUSE 12.3 LibreOffice 4.0.3

midnightvisions
Offline
Last seen: 1 year 27 weeks ago
Title:
Joined: 23 May 2012
Posts: 2
That fixed it Thank you!

That fixed it

Thank you!

aretwoare
Offline
Last seen: 1 year 10 weeks ago
Title:
Joined: 4 Feb 2013
Posts: 1
unlocking file

Hello,

I am having a similar problem. I guess it may be suitable to join this post.

I have a back-up of all my files on a stick (32 gig) which just fit.

As I am still configuring my box, I using the stick to work from.

Notably my taxation file is locked, and can not get it unlocked.

When trying to remove the lock file (as suggested above) .~lock. I get te error message “..can not write to disk…”
Changing read/write permission on a stick level (using dolphin) is taking ages, resulting in frequent freezes of the system.

I would appreciate suggestions!?

AW

AreTwoAre

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.