[Libreoffice] uno.RuntimeException when convert ODT to HTML
Gabriel Monnerat
gabrielmonnerat at gmail.com
Tue Jan 17 17:11:33 PST 2012
On Tue, Jan 17, 2012 at 9:58 AM, Caolán McNamara <caolanm at redhat.com> wrote:
> 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 ?
>
document_loaded is not null
>
> or maybe hackaround with...
>
> try:
> self.document_loaded.dispose()
> catch:
> pass
>
> to see if that moves the problem somewhere else more verbose :-)
>
Yes, I tried it and the traceback is:
File
"/hd/nexedi/slapgrid/eebc0b29f358e21839c4fbe26c1da213/eggs/cloudooo.handler.ooo-0.2-py2.6.egg/cloudooo/handler/ooo/helper/unoconverter.py",
line 361, in <module>
main()
File
"/hd/nexedi/slapgrid/eebc0b29f358e21839c4fbe26c1da213/eggs/cloudooo.handler.ooo-0.2-py2.6.egg/cloudooo/handler/ooo/helper/unoconverter.py",
line 343, in main
output = unoconverter.convert(destination_format)
File
"/hd/nexedi/slapgrid/eebc0b29f358e21839c4fbe26c1da213/eggs/cloudooo.handler.ooo-0.2-py2.6.egg/cloudooo/handler/ooo/helper/unoconverter.py",
line 204, in convert
tuple(property_list))
__main__.DisposedException: URP_Bridge : disposed
(tid=3) Unexpected connection closure
I will try debug more
Thanks in advance,
>
> C.
>
>
>
--
Gabriel M. Monnerat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120117/fcdb332d/attachment.htm>
More information about the LibreOffice
mailing list