[Libreoffice] uno.RuntimeException when convert ODT to HTML

Caolán McNamara caolanm at redhat.com
Tue Jan 17 03:58:53 PST 2012


On Mon, 2012-01-16 at 21:09 -0200, Gabriel Monnerat wrote:
> Hello everybody,
> I am trying convert one document(ODT to HTML) using one web service
> written in Python.
> 
>     self.document_loaded.dispose()
> uno.RuntimeException: illegal object given!

No idea, probably need to be able to provide a standalone demo for
someone to examine it a bit closer.

I presume self.document_loaded is not simply null at this point ?

or maybe hackaround with...

try:
    self.document_loaded.dispose()
catch:
    pass
    
to see if that moves the problem somewhere else more verbose :-)

C.




More information about the LibreOffice mailing list