Issue 71790 - "Unable to Create Backup Copy" > No Copies Saved
Summary: "Unable to Create Backup Copy" > No Copies Saved
Status: CLOSED DUPLICATE of issue 51367
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: OOo 2.0.4
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords: needmoreinfo
Depends on:
Blocks:
 
Reported: 2006-11-20 19:04 UTC by appsdev
Modified: 2007-02-28 09:43 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description appsdev 2006-11-20 19:04:45 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.
Comment 1 michael.ruess 2006-11-21 06:54:18 UTC
REASSIGNED TO ES.
Comment 2 shaunmcdonald131 2006-11-21 08:07:29 UTC
appsdev:
Were you saving to a network volume?
Comment 3 appsdev 2006-11-21 15:27:32 UTC
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.

Comment 4 eric.savary 2006-11-21 15:43:14 UTC
The problem is: can you reproduce for sure this error?
Comment 5 appsdev 2006-11-21 16:25:50 UTC
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.

Comment 6 eric.savary 2006-11-22 12:12:44 UTC
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.
Comment 7 oisin_ 2006-11-28 09:12:58 UTC
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.
Comment 8 azeemab 2007-02-02 03:25:49 UTC
Can you attach your OpenOffice profile which you used to reproduce the problem
(if still available)?
Comment 9 oisin_ 2007-02-02 07:15:33 UTC
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?
Comment 10 appsdev 2007-02-03 18:14:33 UTC
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.
Comment 11 Rainer Bielefeld 2007-02-16 06:35:12 UTC
Related to issue 51367?
Comment 12 eric.savary 2007-02-28 09:32:58 UTC
Yes, it looks like a dup of issue 51367. "Unavailable temp file"

*** This issue has been marked as a duplicate of 51367 ***
Comment 13 eric.savary 2007-02-28 09:43:31 UTC
Closed