[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] <bug>: "Brief schreiben"
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] <bug>: "Brief schreiben" |
Date: |
Wed, 29 Jun 2011 10:19:47 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello Christian,
thanks for you report !
> user comment : "Brief schreiben"
>
> client version: 0.9.4
The bug you are seeing...
> 2011-06-27 23:52:55 DEBUG gm.gui
> (/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
> #177): unhandled exception caught:
> Traceback (most recent call last):
> File "/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py", line 1047, in
> __on_new_letter
> gmFormWidgets.print_doc_from_template(parent = self, keep_a_copy = True)
> File "/usr/share/gnumed/Gnumed/wxpython/gmFormWidgets.py", line 39, in
> print_doc_from_template
> return print_doc_from_ooo_template(template = template)
> File "/usr/share/gnumed/Gnumed/wxpython/gmFormWidgets.py", line 147, in
> print_doc_from_ooo_template
> doc.replace_placeholders(handler = ph_handler)
> File "/usr/share/gnumed/Gnumed/business/gmForms.py", line 515, in
> replace_placeholders
> replacement = handler[text_field.PlaceHolder]
> File "/usr/share/gnumed/Gnumed/wxpython/gmMacro.py", line 165, in
> __getitem__
> return getattr(self, placeholder)
> File "/usr/share/gnumed/Gnumed/wxpython/gmMacro.py", line 250, in
> _get_soap_p
> return self._get_variant_soap(data = u'p')
> File "/usr/share/gnumed/Gnumed/wxpython/gmMacro.py", line 455, in
> _get_variant_soap
> template = data_parts[1]
> IndexError: list index out of range
... has been fixed in 0.9.6:
FIX: exception (off-by-one) when splitting "incompletely" defined
placeholders [thanks Marc]
Please upgrade
http://wiki.gnumed.de/bin/view/Gnumed/UbuntuGuideShort
and try again.
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346