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

UnoException during import phase #25

Closed
wftl opened this issue Jan 30, 2012 · 5 comments
Closed

UnoException during import phase #25

wftl opened this issue Jan 30, 2012 · 5 comments
Assignees
Labels
Milestone

Comments

@wftl
Copy link

wftl commented Jan 30, 2012

Hello Dag,

I'm a bit confused by this one. The listener is running and things start up okay, but as you can see . . .

./unoconv -f odt -vvvv ./myTestFile.doc
Verbosity set to level 3
Connection type: socket,host=localhost,port=2002;urp;StarOffice.ComponentContext
Office base location: /usr/lib/libreoffice
Office binary location: /usr/lib/libreoffice/basis-link/program
Input file: ./myTestFile.doc
unoconv: UnoException during import phase in <class 'main.com.sun.star.lang.IllegalArgumentException'>

I am using the latest github unoconv (from today) and LibreOffice 3.4.4 on Ubuntu 11.10 Oneiric.

Thanks for any help you can offer on this one.

Marcel Gagné
Writer and Free Thinker at Large
Note: This massagee wos nat speel or gramer-checkered.

@dagwieers
Copy link
Member

Hi Marcel,

Does it not provide more information than: "unoconv: UnoException during import phase in" ?

The error seems to be missing some valuable piece of information at:

    except UnoException, e:
        if hasattr(e, 'ErrCode'):
            error("unoconv: UnoException during %s phase in %s (ErrCode %d)" % (phase, repr(e.__class__), e.ErrCode))
            exitcode = e.ErrCode
            pass
        else:
            error("unoconv: UnoException during %s phase in %s" % (phase, repr(e.__class__)))
            exitcode = 2
            pass

If you can share that test document with me, I can try this on my system and debug what is going on. Since it fails in the import phase it should be trivial to find where it is bailing out.

@ghost ghost assigned dagwieers Jan 31, 2012
@dagwieers
Copy link
Member

I am closing this issue due to lack of feedback. If this has not been fixed in a recent version, feel free to reopen the issue.

@dagwieers
Copy link
Member

@wftl We are close to releasing v0.6 and I would like to know whether this release (from the master branch) is working for your use-case. Thanks in advance !

@wftl
Copy link
Author

wftl commented Oct 5, 2012

@dagwieers The 0.6 release is working beautifully.

Thank you!

@noumandilshad
Copy link

I am having this issue while converting all the files other then docx. docx file is converting fine. But other then that, All other office files (xls,xlxs,ppt,pptx) have this issue.

unoconv: UnoException during import phase:
The document 'file:///app/uploads/xlsfile.xls' could not be opened.

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

3 participants