[Libreoffice-bugs] [Bug 137418] DRAW - ODG fails to save after switching sheet and editing selected sheet
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue May 25 06:58:11 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=137418
--- Comment #5 from Buovjaga <ilmari.lauhakangas at libreoffice.org> ---
(In reply to Alex Thurgood from comment #4)
> (In reply to Buovjaga from comment #3)
> > Alex: regarding confidentiality, could you try unzipping the ODG, replacing
> > the images with some dummy ones and then re-zipping the thing again?
> > Hopefully the saving failure would be preserved in the sanitised one.
>
> If someone can show me how to do that without destroying the ODG on rezip,
> then I can give it a try. So far, every time I've tried to unzip/rezip an
> ODF file on MacOS, it kills the file because manifest.xml gets included in
> the wrong order.
Maybe in the console, while being inside the unzipped directory:
zip -r -X drawing.odg ./
The -X option is supposed to skip adding the invisible macOS resource files.
Alternatively, use 7-zip console application:
https://www.7-zip.org/a/7z2102-mac.tar.xz
The syntax for 7-zip is
7z a -tzip drawing.odg ./*
based on this guide
https://info.nrao.edu/computing/guide/file-access-and-archiving/7zip/7z-7za-command-line-guide
and some info I found about preserving the directory structure. Didn't test,
but hopefully it would work.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210525/2dd2b6dd/attachment.htm>
More information about the Libreoffice-bugs
mailing list