Can't save or open files, crashes in endless loop

Issues with installing under all versions of MS Windows
Post Reply
BDMarkham
Posts: 4
Joined: Tue Jul 14, 2020 7:42 pm

Can't save or open files, crashes in endless loop

Post by BDMarkham »

Hi - I'm new here and a tech moron so please be kind! This forum has been incredibly useful to me over the years so big thumbs up to such a great community. Here is my problem, any help would be so gratefully received. I have tried to find the answer on here but nothing seems to be working.

- When I try to open a file (.ods, Open Office Calc 4.1.7, Windows 10) I get an error message saying the file is locked for editing by unknown user, open as read only or open a copy for editing.
- When I open a copy and save it I get an error saying error saving the document, error creating object, could not create backup copy. I can save with a new name. If I do Ctrl+S, get the error message, then cancel the save attempt, a new file appears called MyFile0.ods, then MyFile1.ods, MyFile2.ods etc.
- If I leave the document open for more than a few minutes and start working with it, at some point after typing something the document starts trying to save on it's own (as in, I have not Ctrl+S or File/Save it); the green save progress bar in the lower left corner shows it saving, but this repeats on an endless loop and I can't do anything with the document, even close it. I have to kill it in Task Manager.

Things I've tried based on other posts on the forum, none of which have made any difference:
- Resetting my profile with the %AppData% fix
- Uninstalling and reinstalling
- Showing hidden files and deleting all the lock.MyFile.ods files

Again, any advice would be really helpful, at this point I can't use Open Office at all and am close to giving up with it. I've been using Open Office on this laptop for years with no issues until this. Big thanks!
Open office 4.1.7, Windows 10
User avatar
RoryOF
Moderator
Posts: 35268
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Help - can't save or open files, crashes in endless loop

Post by RoryOF »

Outside of OpenOffice, move to the folder in which you are saving your file, enable viewing of hidden and archive files (google for how if you don't know) and delete any file with name similar to

Code: Select all

.~lock.MyFile.ods#
Your file should then open correctly.
Apache OpenOffice 4.1.17 on Xubuntu 26.04.1 LTS
BDMarkham
Posts: 4
Joined: Tue Jul 14, 2020 7:42 pm

Re: Help - can't save or open files, crashes in endless loop

Post by BDMarkham »

Thanks for your reply, I really appreciate you taking the time to help.

I've already done this, sadly it hasn't helped. I'm pretty sure I did it right as quite a few of those lock files did appear, but I deleted them all and none show now except the one for the file I have open, which is supposed to be there. I left the show hidden files option enabled after trying this fix to see if any more of these files are being created, but none are.

As I said in my post I tried the 3 fixes that have already been mentioned in other threads with similar issues before posting.

Any other ideas? Thanks again! :)
Open office 4.1.7, Windows 10
User avatar
RoryOF
Moderator
Posts: 35268
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Help - can't save or open files, crashes in endless loop

Post by RoryOF »

When O O opens a file, it will create a new Lock file; this ought be deleted when OO is properly closed.

With OO closed, look in the root of the OO User Profile, under the folder 4; you may find a

Code: Select all

 .lock
file - note different name to previously.

Delete that.

Details of the OO User Profile are given in
[Tutorial] The OpenOffice User Profile
Apache OpenOffice 4.1.17 on Xubuntu 26.04.1 LTS
BDMarkham
Posts: 4
Joined: Tue Jul 14, 2020 7:42 pm

Re: Help - can't save or open files, crashes in endless loop

Post by BDMarkham »

Thanks for this. I appreciate you getting back to me.

I've just tried that, unfortunately no .lock files in OO folder 4. There was 1 folder, "user", containing 14 more folders, and I went through each and every folder and subfolder manually and found no .lock file anywhere. I checked that the show hidden files/folders option was still enabled as well to make sure I hadn't missed anything.
Open office 4.1.7, Windows 10
User avatar
RoryOF
Moderator
Posts: 35268
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Can't save or open files, crashes in endless loop

Post by RoryOF »

If such a file existed, it would have been beside the "user" folder.

As you are using Windows 10, you may be suffering from a manifestation of the Windows Defender problem.
see

[Tutorial] Problems with Windows Defender under Windows 10
Apache OpenOffice 4.1.17 on Xubuntu 26.04.1 LTS
BDMarkham
Posts: 4
Joined: Tue Jul 14, 2020 7:42 pm

Re: Can't save or open files, crashes in endless loop

Post by BDMarkham »

Thanks again for your help.

I've done this, sadly it hasn't solved it. The steps on that page did not work for me as when I followed them to the virus and threat protection page there was no ransomware protection option. I used method 2 listed on the URL below instead, which worked and soffice.bin is now showed in the list of allowed apps in control panel/system and security/windows defender firewall/allowed apps. But again, still no change to the symptoms.

Here is the URL: https://www.tenforums.com/tutorials/709 ... re%20items

Thanks again for your continued support - seems like it's a weird problem but I appreciate the help and will keep trying whatever is suggested!
Open office 4.1.7, Windows 10
Post Reply