[Solved] Stuck on error on odt file saving

Discuss setup / installation issues - Add a spell checker, Language pack?

[Solved] Stuck on error on odt file saving

Postby Superflymarco » Thu Apr 11, 2019 11:41 pm

I am new but I am struggling to save my book odt file and I keep getting the error of "write error. Error in writing sub-document context.xml." and no matter what I do I can't seem to get passed this and save my work .....

It has probably been covered on numerous posts already but I am clueless as to what all the jargon means etc sorry

Hoping someone can save me and help please and thanks
Last edited by Hagar Delest on Fri Apr 12, 2019 8:47 pm, edited 1 time in total.
Reason: tagged solved
OpenOffice 4.1.6 on macbook
Superflymarco
 
Posts: 6
Joined: Thu Apr 11, 2019 11:25 pm

Re: Stuck on error on odt file saving

Postby RoryOF » Thu Apr 11, 2019 11:48 pm

Is there sufficient free space on your hard drive? You need much more than you think. Have you permissions to Save in the chosen location Try navigating to your desktop and Saving there - you should always have rights to save on your desktop

Try using /File /Save As to save in MS word 97/2000/XP format; that should preserve much of the file format. Have yu added an illustration or a table recently (just before error arose)? If so, try deleting that and Saving as .odt.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28938
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Stuck on error on odt file saving

Postby Superflymarco » Thu Apr 11, 2019 11:53 pm

Hi,

Yes lots of free space on my MacBook as recently upgraded to 1tb hard drive ....

I’ve been saving always to desktop but now it won’t work :( .... Tried saving in other areas also but same error.

I’ve only recently added some text pages to my odt and even when I’ve deleted them and gone to save still same error :(

I’m stumped
OpenOffice 4.1.6 on macbook
Superflymarco
 
Posts: 6
Joined: Thu Apr 11, 2019 11:25 pm

Re: Stuck on error on odt file saving

Postby RoryOF » Thu Apr 11, 2019 11:57 pm

Open a new blank Writer file. In the old file, Select all, and Copy. Switch to the new blank file, click cursor there and Paste. Now try Saving from the new file - use a different name to the old file.

I'm going offline now.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28938
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Stuck on error on odt file saving

Postby Superflymarco » Fri Apr 12, 2019 9:22 am

Hi

Tried this and was looking good until it done exact same error :(

I am away to work for the day but I think this is a losing battle this one as no matter what I do it won't work ....

Any way to get someone to check the file for me perhaps ?

Thanks
OpenOffice 4.1.6 on macbook
Superflymarco
 
Posts: 6
Joined: Thu Apr 11, 2019 11:25 pm

Re: Stuck on error on odt file saving

Postby RoryOF » Fri Apr 12, 2019 10:58 am

Certainly if you have managed to Save the file (best format is .odt); you can upload it to the forum if less than 128KB, or put it on a file-sharing site and post the URL to this thread.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28938
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Stuck on error on odt file saving

Postby Superflymarco » Fri Apr 12, 2019 11:16 am

I shall try that tonight thanks :)
OpenOffice 4.1.6 on macbook
Superflymarco
 
Posts: 6
Joined: Thu Apr 11, 2019 11:25 pm

Re: Stuck on error on odt file saving

Postby RoryOF » Fri Apr 12, 2019 11:50 am

For what it's worth, Saxparse errors in opening a file are usually easily repaired; there may be some slight loss of formatting or data, but usually nothing catastrophic. Errors Saving a file are more serious and difficult.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28938
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Stuck on error on odt file saving

Postby John_Ha » Fri Apr 12, 2019 12:52 pm

See Issue 117896 - Cannot Save Document: Error in writing sub-document content.xml. I cannot reproduce the error with either of the files in the bug report.

Strange problems are sometimes fixed by resetting the profile - see Resetting the user profile.

Without seeing the actual file all we can do is guess.

Try creating a new .odt file.

1. File > New > Text document
2. Insert > File. Now navigate to the problem file and insert it.
3. Save the new file as a .odt file.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6616
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Stuck on error on odt file saving

Postby Superflymarco » Fri Apr 12, 2019 8:39 pm

Hi folks,

Ok so I done everything you suggested and created a new file etc etc etc

I managed to finally (on third attempt) get to edit it and save it !!!

I am not sure what I done, how I done it or which bit of your advice cracked it !!!

However for now (touch wood, cross fingers and whatever else) it has worked :)

Thanks you beautiful people x
OpenOffice 4.1.6 on macbook
Superflymarco
 
Posts: 6
Joined: Thu Apr 11, 2019 11:25 pm

Re: [Solved] Stuck on error on odt file saving

Postby John_Ha » Sat Apr 13, 2019 1:02 pm

Your file was somehow corrupted and creating the new file removed the corruption.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6616
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: [Solved] Stuck on error on odt file saving

Postby RoryOF » Sat Apr 13, 2019 1:26 pm

The timed/dated backup extension may be of use to you. You can download it from
https://forum.openoffice.org/en/forum/viewtopic.php?p=406045#p405921

Note that you must invoke it separately using its button; it does not replace the standard save mechanism.
Apache OpenOffice 4.1.6 on Xubuntu 18.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 28938
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] Stuck on error on odt file saving

Postby Superflymarco » Sat Apr 13, 2019 3:39 pm

Awesome !!

Thanks very much I shall go check that out :)
OpenOffice 4.1.6 on macbook
Superflymarco
 
Posts: 6
Joined: Thu Apr 11, 2019 11:25 pm


Return to Install, Setup and Troubleshooting

Who is online

Users browsing this forum: No registered users and 2 guests