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

Unconvert: Exception encountered. #467

Closed
mrpatel0 opened this issue Sep 6, 2018 · 1 comment
Closed

Unconvert: Exception encountered. #467

mrpatel0 opened this issue Sep 6, 2018 · 1 comment

Comments

@mrpatel0
Copy link

mrpatel0 commented Sep 6, 2018

I get an error when I execute unoconv with libreoffice:
UNO_PATH=/opt/libreoffice5.3 /usr/bin/unoconv -f xhtml schedule.docx
wait

Someone, please help.
Thanks!

===========ERROR================================

Traceback (most recent call last):
File "/usr/bin/unoconv", line 1129, in convert
document.storeToURL(outputurl, tuple(outputprops) )
uno.IOException: SfxBaseModel::impl_store

file:///var/www/sch/sdoc/s.html failed: 0x20d

During handling of the above exception, another exception

occurred:

Traceback (most recent call last):
File "/usr/bin/unoconv", line 1400, in
main()
File "/usr/bin/unoconv", line 1316, in main
convertor.convert(inputfn)
File "/usr/bin/unoconv", line 1131, in convert
raise UnoException("Unable to store document to %s

(ErrCode %d)\n\nProperties: %s" % (outputurl, e.ErrCode,

outputprops), None)
File "/opt/libreoffice5.3/program/uno.py", line 504, in

uno_struct__getattr_
return getattr(self.dict["value"], name)
AttributeError: ErrCode

@regebro
Copy link
Member

regebro commented Feb 15, 2019

The error seems to indicate that it can't write to the file, try another location with -o /path/to/outputfile.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants