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 in converting documents to pdf with argument "--stdout" (ErrCode 3088) #220

Closed
abbshr opened this issue Sep 11, 2014 · 4 comments
Closed

Comments

@abbshr
Copy link

abbshr commented Sep 11, 2014

I want the output stream from unoconv, but when I run unoconv -f pdf --stdout xxx.doc,it show these, and don't know what that "error 3088" means :

unoconv: UnoException during export phase:
Unable to store document to private:stream (ErrCode 3088)

Properties: ((com.sun.star.beans.PropertyValue){ Name = (string)"FilterName", Handle = (long)0x0, Value = (any){ (string)"writer_pdf_Export" }, State = (com.sun.star.beans.PropertyState)DIRECT_VALUE }, (com.sun.star.beans.PropertyValue){ Name = (string)"Overwrite", Handle = (long)0x0, Value = (any){ (boolean)true }, State = (com.sun.star.beans.PropertyState)DIRECT_VALUE }, (com.sun.star.beans.PropertyValue){ Name = (string)"OutputStream", Handle = (long)0x0, Value = (any){ (com.sun.star.uno.XInterface)0x950bd84{, supportedInterfaces={com.sun.star.lang.XTypeProvider,com.sun.star.io.XOutputStream}} }, State = (com.sun.star.beans.PropertyState)DIRECT_VALUE })

platform: ubuntu 13.10 i686

@yobert
Copy link

yobert commented Oct 29, 2014

I'm having a similar problem, except I get no error but no output either. The program just hangs for a moment, as if converting, and then finishes with exit status 0. I'm guessing this is something LibreOffice changed so it no longer supports the "private:stream" output URL.

$ unoconv -f html --stdout doc.docx
$ echo $?
0
$ unoconv --version
unoconv 0.6
Written by Dag Wieers <dag@wieers.com>
Homepage at http://dag.wieers.com/home-made/unoconv/

platform posix/linux
python 3.4.1 (default, May 19 2014, 17:23:49) 
[GCC 4.9.0 20140507 (prerelease)]
LibreOffice 4.2

@dagwieers
Copy link
Member

Can you check the latest version from the master branch ?
There was an issue with the python3 implementation and I reverted the change.

Thanks in advance !

@dagwieers dagwieers added support and removed bug labels Jul 5, 2015
@dagwieers
Copy link
Member

@abbshr Well, just as a reference, ErrCode 3088 means:

Binary: 000:01100:00010000

  • Area: 0 (ERRCODE_AREA_TOOLS)
  • Class: 12 (ERRCODE_CLASS_WRITE)
  • Code: 16 (ERRCODE_IO_CANTWRITE)

I could be wrong, but it feels as if this is a permission/ACL/SELinux related problem.
Is that possible ?

@dagwieers dagwieers changed the title problem in converting documents to pdf with argument "--stdout" problem in converting documents to pdf with argument "--stdout" (ErrCode 3088) Jul 5, 2015
@dagwieers
Copy link
Member

Ok, I am going to close this because I am confident that is fixed.
If you still experience this issue with the latest version from the master branch, feel free to reopen this ticket with the information to reproduce it and you'll get my full attention again :-)

Thanks for the feedback !

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

3 participants