[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnumed-devel] Re: [Gnumed-bugs] <bug>: Error while trying to write lett
From: |
Karsten Hilbert |
Subject: |
[Gnumed-devel] Re: [Gnumed-bugs] <bug>: Error while trying to write letter |
Date: |
Fri, 1 Jan 2010 23:55:08 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hello Marc,
thanks for your report !
> user comment : Error while trying to write letter
>
> client version: 0.5.2
There were no changes to OOo letters related code between
0.5.0 - 0.5.2. Therefor the first question:
Did letter writing work for you for any 0.5.x ?
We did have some changes to OOo related code between 0.4 and
0.5.0. However, that was related to placeholder handling and
your problem occurred way before that.
I must say I am currently having the same OOo connection
problem on Squeeze with OOo 3.x and and Python 2.5. This
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476213
bug report seems to talk about some problems.
Now, on to your actual log:
> 2009-12-31 11:11:25 ERROR gm.forms
> (/usr/share/gnumed/Gnumed/business/gmForms.py::_get_desktop() #294): Cannot
> connect to OOo server.
> Traceback (most recent call last):
> File "/usr/share/gnumed/Gnumed/business/gmForms.py", line 292, in
> _get_desktop
> self.remote_context = self.uri_resolver.resolve(self.remote_context_uri)
> com.sun.star.connection.NoConnectException: Connector : couldn't connect to
> socket (Erfolg)
Initially there was no OOo server process running.
> 2009-12-31 11:11:25 ERROR gm.forms
> (/usr/share/gnumed/Gnumed/business/gmForms.py::_get_desktop() #295): Trying
> to start OOo server with: [oowriter -invisible
> -accept="socket,host=localhost,port=2002;urp;"]
> 2009-12-31 11:11:27 ERROR gm.forms
> (/usr/share/gnumed/Gnumed/business/gmForms.py::_get_desktop() #309): Cannot
> start (or connect to started) OOo server. You may need to increase
> <external.ooo.startup_settle_time>.
> Traceback (most recent call last):
> File "/usr/share/gnumed/Gnumed/business/gmForms.py", line 307, in
> _get_desktop
> self.remote_context =
> self.uri_resolver.resolve(self.remote_context_uri)
> com.sun.star.connection.NoConnectException: Connector : couldn't connect to
> socket (Erfolg)
GNUmed tried to start one but again couldn't connect to one
after waiting 2 seconds. Did you try increasing that to,
say, 10 seconds and retrying ?
Second try:
> 2009-12-31 11:12:02 ERROR gm.forms
> (/usr/share/gnumed/Gnumed/business/gmForms.py::_get_desktop() #294): Cannot
> connect to OOo server.
> Traceback (most recent call last):
> File "/usr/share/gnumed/Gnumed/business/gmForms.py", line 292, in
> _get_desktop
> self.remote_context = self.uri_resolver.resolve(self.remote_context_uri)
> com.sun.star.connection.NoConnectException: Connector : couldn't connect to
> socket (Erfolg)
Still no OOo running.
> 2009-12-31 11:12:02 ERROR gm.forms
> (/usr/share/gnumed/Gnumed/business/gmForms.py::_get_desktop() #295): Trying
> to start OOo server with: [oowriter -invisible
> -accept="socket,host=localhost,port=2002;urp;"]
> 2009-12-31 11:12:03 DEBUG gm.forms
> (/usr/share/gnumed/Gnumed/business/gmForms.py::_get_desktop() #304): waiting
> 2.0 seconds for OOo to start up
So it retries, waiting two more seconds.
> 2009-12-31 11:12:06 DEBUG gm.gui
> (/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
> #49): unhandled exception caught:
> Traceback (most recent call last):
> File "/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py", line 950, in
> __on_new_letter
> gmFormWidgets.create_new_letter(parent = self)
> File "/usr/share/gnumed/Gnumed/wxpython/gmFormWidgets.py", line 111, in
> create_new_letter
> if not doc.open_in_ooo():
> File "/usr/share/gnumed/Gnumed/business/gmForms.py", line 336, in
> open_in_ooo
> self.ooo_doc = ooo_srv.open_document(filename = self.template_file)
> File "/usr/share/gnumed/Gnumed/business/gmForms.py", line 283, in
> open_document
> doc = self.desktop.loadComponentFromURL(document_uri, "_blank", 0, ())
> com.sun.star.lang.DisposedException: URP_Bridge : disposed
> (tid=6) Unexpected connection closure
This time it *can* connect but the OOo server process dies
for some reason.
I would suggest retrying with a long timeout.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnumed-devel] Re: [Gnumed-bugs] <bug>: Error while trying to write letter,
Karsten Hilbert <=