Skip to content

Problem using unoconvert inside docker container #44

@lpwxyz

Description

@lpwxyz

Hi

I have a issue running unoconvert inside the docker container.

Running container

image

Listing files inside the mounted volume

image

Command and error

worker@33a3416026b7:~$ unoconvert /data/teste.odt /data/teste.pdf
INFO:unoserver:Starting unoconverter.
INFO:unoserver:Opening /data/teste.odt
INFO:unoserver:Exporting to /data/teste.pdf
INFO:unoserver:Using writer_pdf_Export export filter
Traceback (most recent call last):
  File "/usr/bin/unoconvert", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.11/site-packages/unoserver/converter.py", line 340, in main
    result = converter.convert(
             ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/unoserver/converter.py", line 267, in convert
    document.storeToURL(export_path, output_props)
unoserver.converter.com.sun.star.io.IOException: SfxBaseModel::impl_store <file:///data/teste.pdf> failed: 0x507(Error Area:Io Class:Access Code:7) at /home/buildozer/aports/community/libreoffice/src/libreoffice-7.5.5.2/sfx2/source/doc/sfxbasemodel.cxx:3213 at /home/buildozer/aports/community/libreoffice/src/libreoffice-7.5.5.2/sfx2/source/doc/sfxbasemodel.cxx:1789

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions