Issue 58022 - Failure to save .ODT file
Summary: Failure to save .ODT file
Status: CLOSED DUPLICATE of issue 50824
Alias: None
Product: Writer
Classification: Application
Component: save-export (show other issues)
Version: OOo 2.0
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL: http://www.h2m.co.uk/stuff/broken_fil...
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2005-11-16 17:48 UTC by hnmcc
Modified: 2005-11-22 16:57 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
files - empty after failed save, and last successful save (10.71 KB, application/x-compressed)
2005-11-16 17:50 UTC, hnmcc
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description hnmcc 2005-11-16 17:48:15 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.
Comment 1 hnmcc 2005-11-16 17:50:30 UTC
Created attachment 31563 [details]
files - empty after failed save, and last successful save
Comment 2 michael.ruess 2005-11-16 18:37:24 UTC
Reassigned to ES.
Comment 3 Rainer Bielefeld 2005-11-17 10:17:59 UTC
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.
Comment 4 hnmcc 2005-11-17 16:34:43 UTC
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.
Comment 5 hnmcc 2005-11-18 11:50:17 UTC
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.
Comment 6 hnmcc 2005-11-18 12:44:56 UTC
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!
Comment 7 eric.savary 2005-11-22 16:57:07 UTC
duplicate

*** This issue has been marked as a duplicate of 50824 ***
Comment 8 eric.savary 2005-11-22 16:57:29 UTC
Closed