Apache OpenOffice (AOO) Bugzilla – Issue 58022
Failure to save .ODT file
Last modified: 2005-11-22 16:57:29 UTC
File based on .ott template, containing docinfo fields and one picture (cut and pasted from .odg). I have signed a strict NDA regarding the file's contents and I therefore cannot send it to you unchanged - even if I could save it! The last saved version (with all confidential material removed) is on my server as above: it's zipped with one of the empty files (see below). The file will not save: error message says "Error saving the document xxxx: General Error. General Input/Output error." An empty file is created if you 'save as'. The new file is not based on the document's template, nor on the basic template. Bizarrely, the first style it applies is Preformatted Text. This behaviour is the same if you try to save the original as .sxw. .doc gives the same error message, but does not produce even an empty file. Export to PDF produces a different error message: "Error saving the document xxxx: Write Error. The file could not be written." In fact this is incorrect: it does produce a good PDF. The last thing I did before trying to save was to add Outline Numbering to a heading style. Before that I added a picture, and before that a bulleted list. Needless to say, the PC is working well in all other respects.
Created attachment 31563 [details] files - empty after failed save, and last successful save
Reassigned to ES.
I tried to save your 'last_saved_version.odt' with “2.0 German version WIN XP: [680m3(Build8968)]†successfully as .odt and also as .sxw. So I can not reproduce your problem.
Identical behaviour is now being shown by a new file based on the same template: I saved the PDF as .RTF, and then "washed" the text in a text editor before pasting it into the new file. At first it was fine: the issue may be triggered by pasting an image created in OOo Draw. I will spend some more time on this, and if I can create a replicable version I will attach them.
This is a copy of my latest crash report for this issue :- This crash is part of my trying to isolate the cause of Issue 58022. The problem is caused by pasting a drawing object into a word processor file. The wp file then cannot be saved, and (if it is a pre-existing file) File | Reload crashes the application. The problem emerged in a file I was working on, but I can now reproduce it in a basic (File | New| Writer) file at will. In case my basic file is non-standard, I include a copy in the Zip mentioned below. I also include the Draw file that's associated with the problem. The Zip is at http://www.h2m.co.uk/stuff/OOo2_crashes.zip Recreating the problem is easy: open the Draw file, and select the Gantt chart by circling the cursor around it (it's on two layers). Press Ctrl C to copy it. Open the Writer file and paste it using Ctrl V or Edit | Paste Special | Drawing object(?). Although the drawing appears on the screen, the file will then not save. You get different error messages on saving if the Writer file is new or already exists. If it already exists, using File | Reload crashes the application. The other Paste Special options seem to be ok, although I have had one failure with Draw 8 - but I can't reproduce it in the basic file.
Rainer -- Yes, I know now that I shouldn't have bothered you with the original files I put up, because the problem's nothing to do with them. I didn't know that then, 'tho. Sorry!
duplicate *** This issue has been marked as a duplicate of 50824 ***
Closed