gnumed-bugs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-bugs] UE on attempting to do Corroespondence > Write letter


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] UE on attempting to do Corroespondence > Write letter
Date: Fri, 22 Feb 2013 21:06:00 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Feb 20, 2013 at 05:32:22PM +0000, Jim Busser wrote:

> Maybe I did not before report this same bug?
> 
> I was offered the list of document types, selected Letter (which I have been 
> using in 1.2.x) and got the UE
> 
> The UE happens not just with my custom report, it occurs if I select a stock 
> report, such as
> 
>       "Prescription (allergy detail)"
> 
> The relevant section appears to be as follows:
> 
> 
> 2013-02-20 08:29:14  DEBUG     gm.gui 
> (/Users/djb/Downloads/gnumed-client.1.3.rc4/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #196): unhandled exception caught:
> Traceback (most recent call last):
>  File 
> "/Users/djb/Downloads/gnumed-client.1.3.rc4/Gnumed/wxpython/gmGuiMain.py", 
> line 1151, in __on_new_letter
>    gmFormWidgets.print_doc_from_template(parent = self, keep_a_copy = True)
>  File 
> "/Users/djb/Downloads/gnumed-client.1.3.rc4/Gnumed/wxpython/gmFormWidgets.py",
>  line 62, in print_doc_from_template
>    form.substitute_placeholders(data_source = ph)
>  File 
> "/Users/djb/Downloads/gnumed-client.1.3.rc4/Gnumed/business/gmForms.py", line 
> 952, in substitute_placeholders
>    data_source.escape_function = gmTools.tex_escape_string
> TypeError: _set_escape_function() takes at most 1 argument (2 given)

Indeed. Fixed.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

[Prev in Thread] Current Thread [Next in Thread]