Apache OpenOffice (AOO) Bugzilla – Issue 88500
Save error on files open extended period of time.
Last modified: 2017-05-20 10:47:41 UTC
Error: "Error saving document <documentname>: Error writing file." When this occurs: Anytime a file has been open for an extended period of time (generally several days). Which versions: Both DEV300m2 Aqua Alpha Snapshot and Open Office 2.3 X11 Mac build have this issue. Affected applications: I have confirmed that both Writer and Calc have this issue. To Reproduce: Open a document; leave open several days; try to Save or Save As. This error will occur. I am not sure how many days it needs to be open. Most of documents seem start giving this error message after 5-10 days. Some have been previously saved; others have not. Extra details that may or may not be important: HDD being saved to is formatted case-sensitive, journaled and is not the same HDD as /var/tmp which is on a case-insensitive, journaled drive.
I have seen this one also. Files have to be open for a while (2 weeks or more) and fail to be able to save. Save as also fails on the troublesome file, the disk is not full, plenty of inodes are left, and there are no disk errors of any type. Exiting OO and opening the file again and redoing the changes works. Going to the command line and copying the file to a new name, and then opening the new file and copying in the changes to the new file allows it to save just fine, the old file still fails to save. I have seen this on Fedora 7 and Fedora 8, and with several versions of OO (I am currently 2.3.0, I have had it happen at least 10-15 different times all on files that have been open for long periods of time. I have ran strace against the instance and did not see any errors that looked like real errors. It always takes at least a week of having the file open to cause the issue, one of the files I make changes about 1x a month, and the other file I change (and save) several times a week, both files seem to have issues around the same time. I cannot find any tmpfile type deletions that happen in under 30days. Ideas?
This issue is maximum P3 and it's not a aqua issue. Change priority: P3 deliting keyword: aqua set keyword: oooqa set myself to cc
*** Issue 105911 has been marked as a duplicate of this issue. ***
OOo under Mac will deleting tmp-Files there are cache-saves for the OOo-Document. I think it is a Codingerror in the Framework, however IF/ELSE-function does not work correctly.. I'll view the Code at the next tinme and try to find and Fix it. At Windows OOo working fine.
reassigned
*** Issue 107350 has been marked as a duplicate of this issue. ***
Changing the target to OOo3.4 since there are no resources to investigate it for OOo 3.3 target. Please declare it as a schowstopper if you believe that it should be fixed for OOo3.3.
I am no longer seeing this problem, using OS X 10.6.4. I think it went away after a recent OO upgrade, probably the upgrade to OO 3.2.0. I had been encountering the problem pretty frequently earlier, but have not seen it for a long time even though I have been keeping files open for many days.
Thank you for the feedback. OOo3.2 contains a workaround, that let the temporary files be created in a directory different from the system temporary directory. As result the cleaning tools from MacOS do not affect the temporary files of the OOo. This is of course only a workaround, and the original problem should be fixed in future.
set target to 3.x since not release relevant for 3.4 release.
Reset assigne to the default "issues@openoffice.apache.org".