Why do I have ~lock.filename.odt#?

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

Why do I have ~lock.filename.odt#?

Postby pitapita » Wed Mar 24, 2021 10:14 am

Suddenly, now after I save a file, it doesn't exist anymore, and all I have is ~lock.filename.odt# and there is nothing in it, its a blank page.
open office 3.2.0 on windows xp
pitapita
 
Posts: 13
Joined: Mon Oct 10, 2011 10:36 am

Re: ~lock.filename.odt#

Postby RoryOF » Wed Mar 24, 2021 10:22 am

The lock file is merely a housekeeping file and has no useful content for the user. If this is left after saving and closing as file, then there is something wrong with the installation of OpenOffice on your computer, perhaps insufficient rights to Save a file in the target folder. The lock file should contain the name of its owning file, and a time date - probably only one line. If that does not exist in the lock file, something is seriously wrong with your OpenOffice installation.
Apache OpenOffice 4.1.10 on Xubuntu 20.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 32535
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: ~lock.filename.odt#

Postby pitapita » Wed Mar 24, 2021 1:10 pm

I had another, and in this there is this,
DESKTOP-AKRN2IJ/User,DESKTOP-AKRN2IJ,24.03.2021 18:08,file:///C:/Users/User/AppData/Roaming/OpenOffice/4;
But it doesn't mean anything to me.
open office 3.2.0 on windows xp
pitapita
 
Posts: 13
Joined: Mon Oct 10, 2011 10:36 am

Re: ~lock.filename.odt#

Postby Hagar Delest » Wed Mar 24, 2021 1:37 pm

It tells who is the user who has opened the file and when, and where is the profile linked to that user.
When you save a document file, that lock file should be deleted. But you should have the saved version of the actual document in that very same folder.
To check the saved version, open AOO and go to the menu File > Recent documents list.
LibreOffice 7.0.5 on Xubuntu 21.04 and 7.0.5 portable on Windows 10
User avatar
Hagar Delest
Moderator
 
Posts: 29748
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: ~lock.filename.odt#

Postby RoryOF » Wed Mar 24, 2021 1:41 pm

Can you make a short test file (type dt, press F3 key for dummy text), and Save it to your desktop? Does it appear there? Can you now reopen that file?
Apache OpenOffice 4.1.10 on Xubuntu 20.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 32535
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: ~lock.filename.odt#

Postby Bidouille » Wed Mar 24, 2021 2:35 pm

open office 3.2.0 on windows xp

Be more details about your system configuration.
I doubt that you are still with obsolete versions.
User avatar
Bidouille
Volunteer
 
Posts: 439
Joined: Mon Nov 19, 2007 10:58 am
Location: France

Re: ~lock.filename.odt#

Postby John_Ha » Wed Mar 24, 2021 2:43 pm

pitapita wrote:after I save a file, it doesn't exist anymore

If you saved it the file is there - just look for it.

If the document has the word zebra in it then type zebra in the Windows File Explorer search window and File Explorer will find the file.
Attachments
Clipboard01.png
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 8376
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: ~lock.filename.odt#

Postby pitapita » Thu Mar 25, 2021 12:30 am

RoryOF wrote:Can you make a short test file (type dt, press F3 key for dummy text), and Save it to your desktop? Does it appear there? Can you now reopen that file?

Did that, but same issue. No actual file can be found, only the lock file. Actually it didn't even do that the first time I tried, nothing at all. So I repeated and then there was this lock file

John_Ha wrote:If you saved it the file is there - just look for it.
If the document has the word zebra in it then type zebra in the Windows File Explorer search window and File Explorer will find the file.

Did that. Nothing

Hagar Delest wrote:To check the saved version, open AOO and go to the menu File > Recent documents list.

The "Recent documents" list only shows the lock file, not an actual file, and also in "Open" only the recent lock file version is there. There is no signs of an actual file.

It is Apache Open Office 4.1.8 and I am using Windows 10

I also tested using "Save As", but again a lock file and nothing else.
open office 3.2.0 on windows xp
pitapita
 
Posts: 13
Joined: Mon Oct 10, 2011 10:36 am

Re: Why do I have ~lock.filename.odt#?

Postby Zizi64 » Thu Mar 25, 2021 6:58 am

It is Apache Open Office 4.1.8 and I am using Windows 10

I also tested using "Save As", but again a lock file and nothing else.
_____________________________________________
open office 3.2.0 on windows xp


Try to reset (delete or rename) the user profile of the installed AOO,
or install the LibreOffice.

And, please, update your signature in this forum...
Last edited by Zizi64 on Thu Mar 25, 2021 8:59 am, edited 1 time in total.
Tibor Kovacs, Hungary; LO6.1.6, 6.4.7 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.1.1;AOO4.1.9
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 9840
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Why do I have ~lock.filename.odt#?

Postby Hagar Delest » Thu Mar 25, 2021 8:23 am

Never seen that!
Can you upload a screenshot of the directory and/or the recent document list (see: How to attach a document here)?
Crop it if size is bigger than 128kB.
LibreOffice 7.0.5 on Xubuntu 21.04 and 7.0.5 portable on Windows 10
User avatar
Hagar Delest
Moderator
 
Posts: 29748
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 7 guests