[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: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] <bug>: Error while trying to write letter |
Date: |
Tue, 26 Jan 2010 23:25:51 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Sun, Jan 24, 2010 at 06:29:46PM +0100, Slappinjohn wrote:
> next try with current cvs: doesn't work!
:-(
> I appended the complete log-file, because of some other critical errors.
I don't see any (other than OOo) ?
> 2010-01-24 18:25:54 DEBUG gm.forms
> (/home/marc/gnumed-src/gnumed/gnumed/Gnumed/business/gmForms.py::init_ooo()
> #302): python UNO bridge successfully initialized
> 2010-01-24 18:25:54 DEBUG gm.forms
> (/home/marc/gnumed-src/gnumed/gnumed/Gnumed/business/gmForms.py::__init__()
> #322): pipe name: uno-gm2ooo-179862699117
> 2010-01-24 18:25:54 DEBUG gm.forms
> (/home/marc/gnumed-src/gnumed/gnumed/Gnumed/business/gmForms.py::__init__()
> #323): startup command: oowriter -invisible -norestore
> -accept="pipe,name=uno-gm2ooo-179862699117;urp"
> 2010-01-24 18:25:54 DEBUG gm.forms
> (/home/marc/gnumed-src/gnumed/gnumed/Gnumed/business/gmForms.py::__init__()
> #324): remote context URI:
> uno:pipe,name=uno-gm2ooo-179862699117;urp;StarOffice.ComponentContext
> 2010-01-24 18:25:54 ERROR gm.forms
> (/home/marc/gnumed-src/gnumed/gnumed/Gnumed/business/gmForms.py::_get_desktop()
> #381): cannot connect to OOo server
> Traceback (most recent call last):
> File "/home/marc/gnumed-src/gnumed/gnumed/Gnumed/business/gmForms.py", line
> 379, in _get_desktop
> self.remote_context = self.uri_resolver.resolve(self.remote_context_uri)
> com.sun.star.connection.NoConnectException: Connector : couldn't connect to
> pipe uno-gm2ooo-179862699117(10)
That is probably to be expected as there is no OOo instance
running as yet.
> 2010-01-24 18:25:54 INFO gm.forms
> (/home/marc/gnumed-src/gnumed/gnumed/Gnumed/business/gmForms.py::_get_desktop()
> #382): trying to start OOo server
So GNUmed starts one with (see above):
startup command: oowriter -invisible -norestore
-accept="pipe,name=uno-gm2ooo-179862699117;urp"
> 2010-01-24 18:25:55 DEBUG gm.forms
> (/home/marc/gnumed-src/gnumed/gnumed/Gnumed/business/gmForms.py::_get_desktop()
> #385): waiting 1.0 seconds for OOo to start up
Now, *that* is rather short - 1 second only ?
> 2010-01-24 18:25:56 DEBUG gm.forms
> (/home/marc/gnumed-src/gnumed/gnumed/Gnumed/business/gmForms.py::_get_desktop()
> #394): connection seems established
Nonetheless it sort of works.
> 2010-01-24 18:25:56 DEBUG gm.forms
> (/home/marc/gnumed-src/gnumed/gnumed/Gnumed/business/gmForms.py::open_document()
> #355): /home/marc/.gnumed/tmp/gm-O-Template-oxzfvJ.ott ->
> file:///home/marc/.gnumed/tmp/gm-O-Template-oxzfvJ.ott
> 2010-01-24 18:25:57 DEBUG gm.gui
> (/home/marc/gnumed-src/gnumed/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
> #49): unhandled exception caught:
> Traceback (most recent call last):
> File "/home/marc/gnumed-src/gnumed/gnumed/Gnumed/wxpython/gmGuiMain.py",
> line 939, in __on_new_letter
> gmFormWidgets.print_doc_from_template(parent = self, keep_a_copy = True,
> cleanup = _cfg.get(option = 'debug'))
> File
> "/home/marc/gnumed-src/gnumed/gnumed/Gnumed/wxpython/gmFormWidgets.py", line
> 41, in print_doc_from_template
> return print_doc_from_ooo_template(template = template)
> File
> "/home/marc/gnumed-src/gnumed/gnumed/Gnumed/wxpython/gmFormWidgets.py", line
> 127, in print_doc_from_ooo_template
> if not doc.open_in_ooo():
> File "/home/marc/gnumed-src/gnumed/gnumed/Gnumed/business/gmForms.py", line
> 414, in open_in_ooo
> self.ooo_doc = ooo_srv.open_document(filename = self.template_file)
> File "/home/marc/gnumed-src/gnumed/gnumed/Gnumed/business/gmForms.py", line
> 357, in open_document
> doc = self.desktop.loadComponentFromURL(document_uri, "_blank", 0, ())
> com.sun.star.lang.DisposedException: URP_Bridge : disposed
> (tid=3) Unexpected connection closure
But not quite. I'd suspect OOo wasn't fully initialized yet.
It may sound lame but I *would* suggest retrying with a
longer timeout once again.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
- 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, 2010/01/03
- 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 <=
- 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