[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] <bug>: Error while trying to write letter
From: |
Slappinjohn |
Subject: |
Re: [Gnumed-bugs] <bug>: Error while trying to write letter |
Date: |
Sun, 03 Jan 2010 18:00:40 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.22 (X11/20090706) |
Hi,
I tried with a longer timeout-intervall, but nothing changed.
It worked well with 0.5.1 and 0.5.0
Server is v11.1
Thx
Marc
Karsten Hilbert schrieb:
> 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
- Re: [Gnumed-bugs] <bug>: Error while trying to write letter, Karsten Hilbert, 2010/01/01
- Re: [Gnumed-bugs] <bug>: Error while trying to write letter,
Slappinjohn <=
- Message not available
- Re: [Gnumed-bugs] <bug>: Error while trying to write letter, Slappinjohn, 2010/01/13
- Re: [Gnumed-bugs] <bug>: Error while trying to write letter, Karsten Hilbert, 2010/01/15
- Re: [Gnumed-bugs] <bug>: Error while trying to write letter, Slappinjohn, 2010/01/24
- Re: [Gnumed-bugs] <bug>: Error while trying to write letter, Karsten Hilbert, 2010/01/26
- Re: [Gnumed-bugs] <bug>: Error while trying to write letter, Slappinjohn, 2010/01/28
- Re: [Gnumed-bugs] <bug>: Error while trying to write letter, Karsten Hilbert, 2010/01/28