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

PDF to doc/xls/html/xhtml fails (ErrCode 3088) #226

Closed
tpynak opened this issue Oct 30, 2014 · 6 comments
Closed

PDF to doc/xls/html/xhtml fails (ErrCode 3088) #226

tpynak opened this issue Oct 30, 2014 · 6 comments
Labels

Comments

@tpynak
Copy link

tpynak commented Oct 30, 2014

Hi,
Using:
Linux roman-desktop 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:31:23 UTC 2014 i686 i686 i686 GNU/Linux
Latest (from github) version of unoconv
LibreOffice 4.2.7.2 420m0(Build:2)
Python 2.7 and 3.4 tried.

I can't convert PDF files to dox/xls/html/xhtml/txt format. However it converts to png for example.
I always get an error:

"roman@roman-desktop:~/test/unoconv$ sudo python3 unoconv -f doc /home/roman/test/24.pdf
unoconv: UnoException during export phase:
Unable to store document to file:///home/roman/test/24.doc (ErrCode 3088)

Properties: ((com.sun.star.beans.PropertyValue){ Name = (string)"FilterName", Handle = (long)0x0, Value = (any){ (string)"MS Word 97" }, 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)0xa00b24c{, supportedInterfaces={com.sun.star.lang.XTypeProvider,com.sun.star.io.XOutputStream}} }, State = (com.sun.star.beans.PropertyState)DIRECT_VALUE })
roman@roman-desktop:~/test/unoconv$ "

@fishforbreakfast
Copy link

Hi,

I'm having the same issue (#228), only with converting or loading *.xls or *.xlsx files. Things work in OpenOffice but not LibreOffice. I just upgraded to 4.3.3.2 and the issue is still present. Unfortunately, except for the backtrace from unoconv (no backtrace from LibreOffice at all), there is no information as to what is the problem. My guess is that it has something to do with the "file:///" part of the file URL. Isn't the syntax "file://" and not "file:///"? Just a hunch. Also maybe Oracle's Java?? I am using 8u25 from Oracle. I don't have any leads other than this and am by no means any sort of programmer or Java expert. Just like to use Linux.

Cheers,

Fred

@fishforbreakfast
Copy link

Hi,

I tried LibreOffice on a 32 bit machine that I have since the 64bit one that I was using failed (motherboard failed). Everything works and no backtraces. I am thinking that there are some 32 bit libraries mixed in with the 64 bit ones for the file read and write in the Slackware builds for LibreOffice. I haven't tried the multilib packages for my 64bit Linux distribution. Slackware64 is 64bit only. If I have time in the near future, I will give it a try.

Cheers,

Fred

@shividhar
Copy link

+1 Still doesn't work

@dagwieers
Copy link
Member

You cannot convert a PDF file to a document-type format, but you can convert a PDF file to a graphics-type format like ODG.

This works on my system with LibreOffice 4.4.3.1:

unoconv -f odg test.pdf

Please re-open the ticket if this does not seem to work.

@dagwieers
Copy link
Member

PS Also use the Troubleshooting section on the README to help you debug your issue. I think the problem may be that you are NOT using the LibreOffice supplied python binary.

@dagwieers dagwieers changed the title PDF to doc/xls/html/xhtml fails PDF to doc/xls/html/xhtml fails (ErrCode 3088) Jul 5, 2015
@andreshg112
Copy link

I'm having the same issue when trying to convert many files at the same time.

unoconv: UnoException during export phase:
Unable to store document to file:///opt/em7/gui/ap/www/em7/libs/od_templates/populated/Asset_List_em7admin_20210428153611.pdf (ErrCode 3088)
Properties: ((com.sun.star.beans.PropertyValue){ Name = (string)"FilterName", Handle = (long)0x0, Value = (any){ (string)"calc_pdf_Export" }, 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)0x2635748{, supportedInterfaces={com.sun.star.lang.XTypeProvider,com.sun.star.io.XOutputStream}} }, 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 })

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

No branches or pull requests

5 participants