Apache OpenOffice (AOO) Bugzilla – Issue 71790
"Unable to Create Backup Copy" > No Copies Saved
Last modified: 2007-02-28 09:43:31 UTC
Good Day . . . Version: openoffice.org 2.0.4-0ubuntu2, Mon Oct 16 01:14:49 UTC 2006 I was writing today and I pressed CTRL+S to save the text for the second time. A message appeared on the screen, "Unable to create a backup copy" or something like that. I checked the Options Menu Save/Backup locations for a screw-up but everything was normal. I checked the permissions for my originally saved document. All normal. I checked the backup location for permissions and all was normal. Since it was only a backup copy that was not created I thought it was reasonable to continue but with some caution. My automatic backup every five minutes generated the same error message. I believed that the primary save was functioning normally since no mention was being made. Upon completion and exiting, I received a message telling me that the document's temporary file could not be found in /tmp. The writer went into disaster mode and tried to recover the text. I restarted writer and recovered the file but only the text from my first save was shown. In the end, I renamed my user openoffice profile and generated another copy. This seems to have solved the problem. I saved to original profile. I reproduced the problemm when I reversed the first profile back. All first saves work. Any more saves - do not work. The same backup copy message. The more important issue here is the ambiguous message. The message should have told me that NOTHING was being saved instead of a backup copy. It would have saved me rewriting a letter.
REASSIGNED TO ES.
appsdev: Were you saving to a network volume?
Good Day . . . No. All local on two partitions Partition 1 - / Temp file created by OOwriter = /tmp Partition 2 - /home Primary text file = . . ./personal_files Automatic 5 minute backup = . . ./tmp FYI - Partition 3 - /swap This problem did occur -- more than once -- before with an earlier 00 version and fedora core 5 and the same physical setup. The specific problem then was a message telling me that OO could not save a file. My solution then was CTRL-A, CTRL-C, open a new document, & CTRL-V. This is the ONLY program where this problem occurs. Please advise me what logging I setup to capture more information for your attention. Hope this helps.
The problem is: can you reproduce for sure this error?
Good Day . . . Yes. I can reproduce the issue. Many times over the past 30 minutes or so. I tried different variations involving recreating default templates, starting OO from the menu, icon, & commandline. The only common element in all this was the bad openoffice.org2 profile. Steps: - Renamed good OO profile good.??? - Renamed bad profile to .openoffice.org2 - opened oowriter and saved to the same area as normal - typed some text - message appeared, "Unable to create backup copy" - exited without saving - renamed OO profile bad.open??? - renamed good 00 profile .openoffice.org2 - opened oowriter and saved to the same area as normal - typed some text - no error message - typed some text - no error message Hope this helps. BTW. I have uncovered another OO issue about filenames. I created so many temporary .odt files that an issue arose. I will start another issue for it.
Well, probably, you have an inconsistency in your profile and we won't be able to reproduce it then. I would close as WORKSFORME if you don't have problems with the new profile anymore.
I stumble over the same behavior today (OOo 2.0.4, WinXP Pro). Saving under a new name worked fine. Looking in the backup directory showed about 100 backup files for the original file name. Deleting these files allowed me to save the document again. Maybe this gives you a hint to reproduce the problem.
Can you attach your OpenOffice profile which you used to reproduce the problem (if still available)?
Sorry, but I have upgrade to 2.1 a while ago. I'm doing a lot of macro programming on the same document and the error seems to happen when OOo crashes a number of time on the same document (which is quiet usual during macro debugging and execution). As I have learned some of the traps which let OOo crash I do avoid them and OOo crashes less often. Thus I did not see this behaviour upon saving for a while. In regard to the profile: I can't attach the document in question here because it contains sensible internal data I don't want to post in an open forum. May it help when I attach any other files (which?) from the profile if this issue happens again?
Good Day All . . . I also must apologise because I have moved on to version 2.1 and the problem has no reappeared. I ****THINK**** that the problem revolved around a backup location that was temporarily/permanently or otherwise unavailable. I recreated the error message by creating a temp directory, modifying OOo's backup location to the temp directory then deleting the temp directory. I got the message (literally!). I do not know if this was my problem but it duplicates the symptoms. I ***BELIEVE*** that if the backup location is not available then the "Unable to Create Backup Copy" message appears. The problem is that the document saving routine is terminated by this message and no mention is made and the then code did not allow a save unless a backup copy was made. What should happen (if the above is true) is that the document saving should continue regardless of whether a backup can be created. Hope this helps. Keep up the good work.
Related to issue 51367?
Yes, it looks like a dup of issue 51367. "Unavailable temp file" *** This issue has been marked as a duplicate of 51367 ***
Closed