Issue 101453 - Workaround impossibility to store document on Mac because of remove temporary files.
Summary: Workaround impossibility to store document on Mac because of remove temporary...
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 3.0.1
Hardware: Mac Mac OS X, all
: P3 Trivial with 2 votes (vote)
Target Milestone: OOo 3.2
Assignee: thorsten.martens
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-30 12:34 UTC by kai_m
Modified: 2009-11-23 15:19 UTC (History)
3 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 kai_m 2009-04-30 12:34:47 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
Comment 1 Armin Le Grand 2009-05-07 12:46:28 UTC
AW->HDU, PL: Maybe a known Mac port problem? Please have a look, i got a request
from outside.
Comment 2 philipp.lohmann 2009-05-07 12:58:53 UTC
This would probably interest mav more
Comment 3 hdu@apache.org 2009-05-07 13:12:07 UTC
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.
Comment 4 mikhail.voytenko 2009-05-07 14:26:11 UTC
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.
Comment 5 kai_m 2009-05-07 15:25:11 UTC
@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. 
Comment 6 mikhail.voytenko 2009-08-13 07:52:50 UTC
So this issue will be used to let the staroffice avoid using of the system
temporary location on Mac. Adjusting the summary accordingly.
Comment 7 mikhail.voytenko 2009-08-13 14:52:43 UTC
Fixed in cws fwk116. The Mac installation will use the temporary location in the
OOo user folder per default.
Comment 8 mikhail.voytenko 2009-09-03 17:59:19 UTC
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.
Comment 9 thorsten.martens 2009-09-10 13:43:17 UTC
checked and verified in cws fwk116 -> OK !
Comment 10 thorsten.martens 2009-11-23 15:19:15 UTC
closed