soffice --headless --writer --convert-to pdf /data/0512.pptx --outdir /data
我用这种格式的命令转换一个10MB的pptx文件时,返回报错提示:
Please verify input parameters… (SfxBaseModel::impl_store <file:///data/auto_bdaa2c010c5d4718b0866b670b6f4b56.pdf> failed: 0x11b(Error Area:Io Class:Abort Code:27) at /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:3221 at /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:1792)
是否有人遇到过相似的问题?
???
i fix my command:
soffice --headless --impress --convert-to pdf /data/auto_1f09f27a741943aba893c0a7fc89f124.pptx --outdir /data
but still get error tips:
Please verify input parameters… (SfxBaseModel::impl_store <file:///data/auto_1f09f27a741943aba893c0a7fc89f124.pdf> failed: 0x11b(Error Area:Io Class:Abort Code:27) at /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:3221 at /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:1792)
I test tihis command with another .pptx file, and convert it successfully;
then I test this command in a different server with the same docker-image, it also works well
libreoffice version is 7.6.7.2
A specific PPTX problem then; so a sample file is needed to diagnose. But given how old your version is, I’d advise you to test with a newer version first.
25.2 version can solve this problem,thanks.