On Thu, 20 Oct 2011, Stephan Bergmann wrote:

(c) pyuno as run from an external python process might no longer work. An easy way to test that is to start the interactive python executable from the LibO program directory and execute "include uno" (and/or "include pyuno"; not sure right now which one is the more interesting, but if both work I'd guess that's good).

The solution we implemented for this for unoconv (a python tool) is to try to load the pyuno.so with the system's python, on failure it looks for an existing LibO python and swaps itself in memory with the LibO python and tries again. That works quite well in practice.

--
-- dag wieers, d...@wieers.com, http://dag.wieers.com/
-- dagit linux solutions, i...@dagit.net, http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to