Apache OpenOffice (AOO) Bugzilla – Issue 95243
Give a Better Error Message when tmp Device Is Full
Last modified: 2013-02-07 22:41:38 UTC
On *nx systems, OOo won't be able to save a file when the device mounted to /tmp is full or not writeable for some other reason (think NFS). Unfortunately the error message provided by OOo says only "could not write content.xml", which is not very illuminative to the average user. Users should be given some hint why something went wrong, e.g. by piping through the O/S' error message ("no space left on device" or so). Also, the full path to content.xml could be given in the error message, i.e. /tmp/content.xml.
TM->requirements: please have a look.
As an alternative, the error message box (not the error message itself) could be enhanced in a way that it says: "Could not write 'context.xml' to temporary directory. Change setting for temporary directory now? [Y] [N]", thus offering a short cut to Tools -> Options -> OpenOffice.org -> Paths -> Temporary Files -> Edit. Maybe this is both, easier to implement and more convenient for the user.
This ticket is idle for 9 month now, are there any plans to introduce an error message that actually tells the user what the problem is? I think mbayers proposed message is a good starting point, but should be extend to "Could not write to temporary directory _because disk is full_ "(if that is the reason) I think this is one reason why one cannot recommend OOo to the average user, since a full $temp-dir is a rather common when one regards what ammounts of data openoffice writes to that directory when it aims to open or save a big document
@MAV: can you please tell us if OOo can provide a better error message in the described case? Please also have a look at issue 103815 to see if it's a duplicate of this one or an other occurrence (but different code) of the problem. Thanx!
Yes, it should be possible to detect that the target location is full in this case. But the change that would allow to detect it and to transport the information to the stage, where the error can be shown, might be quite complex.