Hello,

I am having strange problems with PyUNO and OOo 2.0.1rc1 on Linux. In some situations, I get the following error on desktop terminate(): "uno.com.sun.star.lang.DisposedException: URP_Bridge : disposed\n(tid=3)
Unexpected connection closure"

Observations:
- The unexpected closure happens reliably with Xvfb and on a warm start.
- The closure does not happen with Xvfb on a cold start (first attempt).
- The closure does not happen with Xvfb on a warm start if Python sleeps 2 seconds before terminate().
- The closure does not happen with a real X server.
- Some documents do not cause the error (but observations above refer to
a blank Word document).

My simplified program simply opens OOo, opens a document, closes document, and closes OOo. The program, scripts for running it through Xvfb, and a
sample document are here:
   http://narnia.dnsalias.org/ooo/uno-disconnect.zip (3.9KB)

The purpose of the full version of my program is automating testing of OpenOffice.org itself, and unfortunately, the "unexpected closure" is the same error PyUNO gives when OpenOffice.org crashes.

Is this unexpected closure problem the fault of OOo, PyUNO, or my program? How can it be fixed?


Andrew


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to