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

problem pdf to doc convert #352

Closed
cleobatista opened this issue Aug 10, 2016 · 4 comments
Closed

problem pdf to doc convert #352

cleobatista opened this issue Aug 10, 2016 · 4 comments

Comments

@cleobatista
Copy link

cleo@cleo:~$ unoconv -vvv -f doc Downloads/danfe.pdf
Verbosity set to level 3
Using office base path: /usr/lib/libreoffice
Using office binary path: /usr/lib/libreoffice/program
DEBUG: Connection type: socket,host=127.0.0.1,port=2002;urp;StarOffice.ComponentContext
Input file: Downloads/danfe.pdf
Selected output format: Microsoft Word 97/2000/XP [.doc]
Selected office filter: MS Word 97
Used doctype: document
Output file: Downloads/danfe.doc
Traceback (most recent call last):
File "/usr/local/bin/unoconv", line 933, in convert
document.storeToURL(outputurl, tuple(outputprops) )
uno.IOException: SfxBaseModel::impl_store file:///home/cleo/Downloads/danfe.doc failed: 0xc10

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/unoconv", line 1169, in
main()
File "/usr/local/bin/unoconv", line 1088, in main
convertor.convert(inputfn)
File "/usr/local/bin/unoconv", line 935, in convert
raise UnoException("Unable to store document to %s (ErrCode %d)\n\nProperties: %s" % (outputurl, e.ErrCode, outputprops), None)
File "/usr/lib/python3/dist-packages/uno.py", line 397, in uno_struct__getattr_
return builtin.getattr(self.dict["value"],name)
AttributeError: ErrCode

@felix-fei-fei
Copy link

I have the same error。
libreoffice5.2
unoconv:GitHub master branch.
Run unoconv with root.

@xq5he
Copy link

xq5he commented Oct 24, 2016

lsof -i:2002
kill {pid}

@tareqtms
Copy link

Having the same issue. No solutions?

@regebro
Copy link
Member

regebro commented Feb 28, 2019

Duplicate of #279

@regebro regebro marked this as a duplicate of #279 Feb 28, 2019
@regebro regebro closed this as completed Feb 28, 2019
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

5 participants