Bug 111418 - Save document returns Write Error. Error in writing sub-document styles.xml
Summary: Save document returns Write Error. Error in writing sub-document styles.xml
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-06 18:51 UTC by andis.lazdins
Modified: 2017-08-08 07:43 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample file resulting in write error (352.15 KB, application/vnd.oasis.opendocument.text)
2017-08-07 04:46 UTC, andis.lazdins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andis.lazdins 2017-08-06 18:51:21 UTC
This problem is mentioned several times regarding earlier versions of Libreoffice and always reported as solved.
The way to reproduce is to:
1. open sample file (it is not attached as it contains sensitive information, but I can send it by email privately);
2. to do some edits and push save.

Error message - "Write Error. Error in writing sub-document styles.xml" will appear. Coping of the content to a new file is not solving problem.

The problem is not affecting 5.2.7 and 5.4.0.3, but affect 5.3.5.2, which is proposed as ready for enterprises.
Comment 1 Xisco Faulí 2017-08-06 19:36:10 UTC Comment hidden (obsolete)
Comment 2 andis.lazdins 2017-08-07 04:46:16 UTC
Created attachment 135202 [details]
Sample file resulting in write error

Due to the fact that the file can't be saved in 5.3.5.2, it is edited in 5.4.0.3 to remove sensitive information. The way to repeat is to open document in 5.3.5.2, to do any edits and to try to save it.
Comment 3 Shinji Enoki 2017-08-07 08:53:26 UTC
I am not confirmed fellow env.

OS: Debian jessie
version 5.4.0.3
Build ID: 7556cbc6811c9d992f4064ab9287069087d7f62c
CPU threads: 4; OS: Linux 3.16; UI render: default; VCL: gtk2; 
locale: ja-JP (ja_JP.utf8); Calc: group
Comment 4 andis.lazdins 2017-08-07 09:11:06 UTC
For me the issue appears under Ubuntu Linux 16.04 64 bit
Comment 5 andis.lazdins 2017-08-07 09:20:24 UTC
Just realized that the problem seems to be with my profile. With fresh profile no problems appears and file can be saved. It is the same profile I used with 5.2.7.2 without problems. I'll try to add extensions to see if they are making problems.
Comment 6 andis.lazdins 2017-08-08 05:32:21 UTC
The report can be closed as resolved. It was problem in my profile. After renewing profile and reinstalling all plugins I was able to save document without any probems.
Comment 7 Xisco Faulí 2017-08-08 07:43:25 UTC
Good to hear.
Thanks for reporting this anyway.