Files is locked by another user UNKNOWN

Discuss the spreadsheet application
Post Reply
BenB666
Posts: 3
Joined: Fri Dec 08, 2017 3:12 am

Files is locked by another user UNKNOWN

Post by BenB666 »

All it lets me do is select text style, then read-only or copy, which still produces no result.
Attachments
Checking.ods
(103.79 KiB) Downloaded 219 times
OpenOffice on 4.1.4 on Windows 10
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: Files is locked by another user UNKNOWN

Post by RusselB »

Based on the fact that I get the ASCII text import dialog, and the fact that there is no information shown in the dialog preview screen, I'm going to say that this file is corrupted.
This is also supported by the fact that I was unable to open the file using my file archiver.
As I'm unable to open the file using any means, I'm also unable to check if the file might be repairable, but previous experience leads me to believe that it is not.
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
User avatar
robleyd
Moderator
Posts: 5082
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Files is locked by another user UNKNOWN

Post by robleyd »

I'm afraid the entire file is comprised of null bytes - there is no data whatsoever in it.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
BenB666
Posts: 3
Joined: Fri Dec 08, 2017 3:12 am

Re: Files is locked by another user UNKNOWN

Post by BenB666 »

Thank you all!
OpenOffice on 4.1.4 on Windows 10
User avatar
robleyd
Moderator
Posts: 5082
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Files is locked by another user UNKNOWN

Post by robleyd »

It might be worth looking at this answer to a similar question
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Files is locked by another user UNKNOWN

Post by Villeroy »

So we have remaining lock files when the office suite crashed with unsaved documents or when the computer was shut down too quickly. But then the error message would mention the actual user name rather than "user UNKNOWN".

Then we have the battle of private companies on the hard disks of their clients (victims). Several "anti virus" products (including Microsoft's own crap) may block several legitimate applications (of course never any Microsoft product).

Today I searched the forum ask.libreoffice.org and found this one: https://ask.libreoffice.org/en/question ... oc-issues/ mentioning a "preview component" which displays a preview of all kinds of files. But why in hell do they deny any write access to others when they load a document for viewing? Locking files makes sense when you need to avoid simultanious write access of more than one application. But when you open a file for a simple preview there should be no reason to lock it. I guess that this "preview" functionality may do a lot more to your files than just that.

But what do I know? I don't know much about MS Windows except one thing: we have to use this crap at work because of one particular application that is not available for better systems. So I set up Windows10 as a most simple application starter with a minimum of tools and hardware drivers. Most of the rest is disabled, locked, turned off, not in use. I've never seen any "file locked by user xxx" unless I deliberately provoked an office crash.
 Edit: Oh, and yes, the attached document contains no usable information anyway. 
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
RoryOF
Moderator
Posts: 34613
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Files is locked by another user UNKNOWN

Post by RoryOF »

I agree with Villeroy - no usable data in the file. It is corrupted, possibly fdue to imperfect transfer from an older computer, or due to improper (usually too hasty) close down of the computer. The internal housekeeping for OpenOffice is cached in the hardware buffers on the disk dives and over hasty power off can cut the power before this data has flushed from the buffers to the disk platters. Also, a computer crash can cause the same problem. Best advice is always to use the formal close down procedure and wait a few (perhaps 10) seconds before killing the power or snapping the laptop lid shut.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Post Reply