Pound signs in document locked for editing by: Unknown User

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

Pound signs in document locked for editing by: Unknown User

Postby ANewMachine615 » Sun Dec 12, 2010 2:07 am

I had an unexpected loss of power earlier. I was working on a paper on OOo. When I rebooted and attempted to reopen the document, I was first greeted with a prompt asking for an ASCII filter selection. Then OOo attempted document recovery, which hung and crashed. Every attempt to open since, I am greeted with the ASCII filter selection, and then given the following dialog box:
"Document file 'xxxxxx.odt' is locked for editing by:

Unknown User

Open document read-only or open a copy of the document for editing.
(Open Read-only) (Open Copy) (Cancel)"

When I attempt to open it either in read-only or copy, the entire document is 6 pages of pound signs (#). There is no lock file in the directory. There is nothing confidential in the file, so I can attach here if preferred.

ETA: Even showing hidden files, I do not see a .lock file.
OpenOffice 3.2.1 on Windows 7 64-bit
ANewMachine615
 
Posts: 2
Joined: Sun Dec 12, 2010 2:00 am

Re: "locked for editing by: Unknown User"

Postby therabi » Sun Dec 12, 2010 2:25 am

There is nothing that can be done, the file is corrupted and there is no known method to recover it.
OpenOffice.org v3.3, LibO v3.32 on Ubuntu 10.10 and Win7
User avatar
therabi
Volunteer
 
Posts: 763
Joined: Wed Sep 01, 2010 10:01 pm
Location: USA

Re: "locked for editing by: Unknown User"

Postby ANewMachine615 » Sun Dec 12, 2010 2:39 am

Thanks for the swift reply. Now if only I had been smart enough to turn on the backup BEFORE this happened...
OpenOffice 3.2.1 on Windows 7 64-bit
ANewMachine615
 
Posts: 2
Joined: Sun Dec 12, 2010 2:00 am

Re: Pound signs in document locked for editing by: Unknown U

Postby OhReally » Wed Oct 19, 2011 3:11 pm

Don't throw away your documents too quickly.

To me it looks like [Some]Office has the filename registered somewhere, because a file that gave me the 'locked for editing by unknown user' message could be opened following a different path. In my case this was sftp versus sshmount, but I guess moving the file to another directory or renaming it would also have 'fixed' this. So, before you start trashing your files: move, copy and/or rename them first, and try to open them again.
LibreOffice 3.4.3 on Ubuntu
OhReally
 
Posts: 2
Joined: Wed Oct 19, 2011 2:51 pm

Re: Pound signs in document locked for editing by: Unknown U

Postby RoryOF » Wed Oct 19, 2011 3:29 pm

"Locked for editing" messages come because the lock files are left after a crash. If the file opens with the ASCII filter box, unless it is a .csv file, it is almost certainly dead.
Apache OpenOffice 4.1.7 on Xubuntu 18.04.4 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 30407
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Pound signs in document locked for editing by: Unknown U

Postby OhReally » Wed Oct 19, 2011 4:31 pm

In my case, and in some other cases with 'Unknown users' I read about, there where no lock files. Apparently there are more situations where the program may throw a 'Document locked' error.
LibreOffice 3.4.3 on Ubuntu
OhReally
 
Posts: 2
Joined: Wed Oct 19, 2011 2:51 pm

Re: Pound signs in document locked for editing by: Unknown U

Postby Hagar Delest » Thu Oct 20, 2011 9:49 pm

Sadly, nothing to do: 22 page term paper replaced with pound signs.

Check the temporary folder of the system (see in OOo Tools>Options>OOo>Paths). If there are folders like sgmlf.tmp with a file having the same name inside, make a copy of that file, rename it in .odt and cross your fingers.

Else, nothing to do I fear.
AOO 4.1.7 on Xubuntu 19.10 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28679
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Pound signs in document locked for editing by: Unknown U

Postby geekalpha » Wed Nov 02, 2011 7:21 pm

Hopefully it's related to this thread which fixed it for me:
viewtopic.php?f=30&t=40683

Here's the post that worked for me:
With OpenOffice closed, look in the directory in which you have saved the original file, with your computer set to display hidden files. You are looking for a file with name like

.~lock.test.odt#

Delete that file and now you should be able to save your new file under the same original name.
This is a lock file left over after the upgrade caused your computer to shut down. Similar files can be left after a crash.
LibreOffice 3.4.3 on Ubuntu 11.10
geekalpha
 
Posts: 1
Joined: Wed Nov 02, 2011 7:18 pm


Return to Install, Setup and Troubleshooting

Who is online

Users browsing this forum: No registered users and 11 guests