Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[unoconv] Conversion from odg to png file fails #49

Open
a24-yamaguchi opened this issue Jan 13, 2017 · 0 comments
Open

[unoconv] Conversion from odg to png file fails #49

a24-yamaguchi opened this issue Jan 13, 2017 · 0 comments

Comments

@a24-yamaguchi
Copy link
Contributor

Webサイト更新手順の中にodgからpngの変換としてunoconvが使われているが、ErrCode2074を吐いて
失敗している。
このため、次のURLのpngファイルが404になる。
http://www.hatohol.org/assets/images/diagrams/distributed-monitoring.png
http://www.hatohol.org/assets/images/diagrams/integrated-monitoring.png
※現状バックアップから手コピーで復元

発生するエラー。

unoconv: UnoException during export phase:
Unable to store document to file:///path/to/work/src/web_compiled/assets/images/diagrams.png (ErrCode 2074)

Properties: ((com.sun.star.beans.PropertyValue){ Name = (string)"FilterName", Handle = (long)0x0, Value = (any){ (string)"impress_png_Export" }, State = (com.sun.star.beans.PropertyState)DIRECT_VALUE }, (com.sun.star.beans.PropertyValue){ Name = (string)"OutputStream", Handle = (long)0x0, Value = (any){ (com.sun.star.uno.XInterface)0x225c258{, supportedInterfaces={com.sun.star.lang.XTypeProvider,com.sun.star.io.XOutputStream}} }, State = (com.sun.star.beans.PropertyState)DIRECT_VALUE }, (com.sun.star.beans.PropertyValue){ Name = (string)"Overwrite", Handle = (long)0x0, Value = (any){ (boolean)true }, State = (com.sun.star.beans.PropertyState)DIRECT_VALUE })
Failed to copy /path/to/work/src/website/contents/assets/images/diagrams/distributed-monitoring.odg to /path/to/work/src/web_compiled/assets/images/diagrams/distributed-monitoring.png

環境

$ uname -a
Linux server09 4.8.15-040815-generic #201612151231 SMP Thu Dec 15 17:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"

$ dpkg -l | grep -i libreoffice
ii  hyphen-en-us                                2.8.8-2ubuntu1                                all          US English hyphenation patterns for LibreOffice/OpenOffice.org
ii  libreoffice-avmedia-backend-gstreamer       1:5.1.4-0ubuntu1                              amd64        GStreamer backend for LibreOffice
ii  libreoffice-base-core                       1:5.1.4-0ubuntu1                              amd64        office productivity suite -- shared library
ii  libreoffice-calc                            1:5.1.4-0ubuntu1                              amd64        office productivity suite -- spreadsheet
ii  libreoffice-common                          1:5.1.4-0ubuntu1                              all          office productivity suite -- arch-independent files
ii  libreoffice-core                            1:5.1.4-0ubuntu1                              amd64        office productivity suite -- arch-dependent files
ii  libreoffice-draw                            1:5.1.4-0ubuntu1                              amd64        office productivity suite -- drawing
ii  libreoffice-gnome                           1:5.1.4-0ubuntu1                              amd64        office productivity suite -- GNOME integration
ii  libreoffice-gtk                             1:5.1.4-0ubuntu1                              amd64        office productivity suite -- GTK+ integration
ii  libreoffice-help-en-us                      1:5.1.4-0ubuntu1                              all          office productivity suite -- English_american help
ii  libreoffice-help-ja                         1:5.1.4-0ubuntu1                              all          office productivity suite -- Japanese help
ii  libreoffice-impress                         1:5.1.4-0ubuntu1                              amd64        office productivity suite -- presentation
ii  libreoffice-l10n-ja                         1:5.1.4-0ubuntu1                              all          office productivity suite -- Japanese language package
ii  libreoffice-math                            1:5.1.4-0ubuntu1                              amd64        office productivity suite -- equation editor
ii  libreoffice-ogltrans                        1:5.1.4-0ubuntu1                              amd64        LibreOffice Impress extension for slide transitions using OpenGL
ii  libreoffice-pdfimport                       1:5.1.4-0ubuntu1                              amd64        PDF Import component for LibreOffice
ii  libreoffice-style-breeze                    1:5.1.4-0ubuntu1                              all          office productivity suite -- Breeze symbol style
ii  libreoffice-style-elementary                1:5.1.4-0ubuntu1                              all          office productivity suite -- Elementary symbol style
ii  libreoffice-style-galaxy                    1:5.1.4-0ubuntu1                              all          office productivity suite -- Galaxy (Default) symbol style
ii  libreoffice-style-human                     1:5.1.4-0ubuntu1                              all          office productivity suite -- Human symbol style
ii  libreoffice-writer                          1:5.1.4-0ubuntu1                              amd64        office productivity suite -- word processor
ii  mythes-en-us                                1:5.1.0-1ubuntu2.2                            all          English (USA) Thesaurus for LibreOffice
ii  ubuntu-mate-libreoffice-draw-icons          16.04.5.3                                     all          Ubuntu MATE desktop icons for LibreOffice draw
ii  uno-libs3                                   5.1.4-0ubuntu1                                amd64        LibreOffice UNO runtime environment -- public shared libraries
ii  unoconv                                     0.7-1.1                                       all          converter between LibreOffice document formats
ii  ure                                         5.1.4-0ubuntu1                                amd64        LibreOffice UNO runtime environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant