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

Convert works fine in LibreOffice but unoconvert throws errors #40

Open
HaoSs07 opened this issue Jul 18, 2022 · 1 comment
Open

Convert works fine in LibreOffice but unoconvert throws errors #40

HaoSs07 opened this issue Jul 18, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@HaoSs07
Copy link

HaoSs07 commented Jul 18, 2022

pi@pibooks: /convert/in $ unoconvert --convert-to docx /home/pi/convert/in/John\ Galsworthy\ -\ [Sfarsit\ de\ capitol]\ 01\ In\ asteptare\ #2.05.doc /home/pi/convert/out/
INFO:unoserver:Starting unoconverter.
INFO:unoserver:Opening /home/pi/convert/in/John Galsworthy - [Sfarsit de capitol] 01 In asteptare #2.0~5.doc
INFO:unoserver:Exporting to /home/pi/convert/out/
INFO:unoserver:Using MS Word 2007 XML export filter
Traceback (most recent call last):
File "/usr/local/bin/unoconvert", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/unoserver/converter.py", line 247, in main
result = converter.convert(
File "/usr/local/lib/python3.9/dist-packages/unoserver/converter.py", line 201, in convert
document.storeToURL(export_path, output_props)
unoserver.converter.IOException: SfxBaseModel::impl_store file:///home/pi/convert/out failed: 0x11b(Error Area:Io Class:Abort Code:27) ./sfx2/source/doc/sfxbasemodel.cxx:3153 ./sfx2/source/doc/sfxbasemodel.cxx:1735

I'm doing something wrong ?

@HaoSs07 HaoSs07 changed the title Convert works fine in LibreOffice but unconvert throws errors Convert works fine in LibreOffice but unoconvert throws errors Jul 18, 2022
@regebro
Copy link
Member

regebro commented Nov 17, 2022

You selected a directory as the outputfile, that doesn't work, it needs to be a file.

A better error message there would be desirable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants