Apache OpenOffice (AOO) Bugzilla – Issue 101453
Workaround impossibility to store document on Mac because of remove temporary files.
Last modified: 2009-11-23 15:19:15 UTC
After the Mac was in Sleep Mode (hibernation, standby), OOo is unable to save or save as documents (tested with calc and writer) if they was open for a long time. Error saving the document xxx: Write Error. The file could not be written... Simular issues: #84881, #63533, #82054 but they are closed because they seemed to be a duplicate of #73979 which got fixed on Jan 10 18:14:52 +0000 2008. So maybe this issue and the others are not dublicates of #73979? or #73979 is not fixed at all. Platform: Intel Mac
AW->HDU, PL: Maybe a known Mac port problem? Please have a look, i got a request from outside.
This would probably interest mav more
The problem has been mentioned several times. The root cause seems to be that the folder for temporary files gets cleaned once in a while by OSX. There is a workaround that is confirmed to work: change the setting "Temporary files" in the dialog OpenOffice->Preferences->OpenOffice->Paths to some other writable and persistent folder. It is not yet known if OSX removing OOo's temporary files can be prevented by a different file locking mechanism. @mav: please check the file locking mechanism for temporary files. Or change the default directory for temporary files. Or both.
If it is temporary files problem, the problem is described in issue 63875: because of limited amount of open file handles we have to close some of the temporary files for some time, during this time the MacOS seems to look for the non-locked temporary files and to remove them. I would close this bug as a duplicate for issue 63875, but the general problem can not be handled so easily for 3.2. So for Mac we could move the default location of the temporary folder as hdu has suggested.
@hdu, @mav I will test the workaround for the next days. If I delete the temp file (and empty the bin) it seems to be the same error.
So this issue will be used to let the staroffice avoid using of the system temporary location on Mac. Adjusting the summary accordingly.
Fixed in cws fwk116. The Mac installation will use the temporary location in the OOo user folder per default.
mav->tm: Please verify that after installation: - on MacOS the path in "StarOffice/Preferences.../StarOffice/Paths/Temporary files" points to <OOo user directory>/temp - on other systems ( wntmsci12.pro, unxlngi6.pro, unxsoli4.pro ) "Tools/Options/StarOffice/Paths/Temporary files" points to system temporary folder.
checked and verified in cws fwk116 -> OK !
closed