gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] <bug>: while writing a latex letter


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] <bug>: while writing a latex letter
Date: Sat, 15 May 2010 23:12:55 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Hello rafmav,

thanks again for your report.

> user comment  : while writing a latex letter
> 
> client version: 0.7.3

...

> 2010-05-15 22:01:00  DEBUG     gm.gui 
> (/usr/lib/python2.6/site-packages/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #101): unhandled exception caught:
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
> line 14614, in <lambda>
>     lambda event: event.callable(*event.args, **event.kw) )
>   File 
> "/usr/lib/python2.6/site-packages/Gnumed/wxpython/gmDocumentWidgets.py", line 
> 134, in save_file_as_new_document
>     episode = episode['pk_episode']
> TypeError: 'NoneType' object is unsubscriptable

...

> 2010-05-15 22:01:00  DEBUG     gm.logging 
> (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>  #157): >>> execution frame [save_file_as_new_document] in 
> [/usr/lib/python2.6/site-packages/Gnumed/wxpython/gmDocumentWidgets.py] at 
> line 134 <<<
> 2010-05-15 22:01:00  DEBUG     gm.logging 
> (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>  #172):        document_type = current medication list
> 2010-05-15 22:01:00  DEBUG     gm.logging 
> (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>  #172):             filename = 
> /home/rafmav/.gnumed/tmp/gm-L-Template-xLTzld-instance.pdf
> 2010-05-15 22:01:00  DEBUG     gm.logging 
> (/usr/lib/python2.6/site-packages/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>  #172):              episode = None
> 2010-05-15 22:01:51  ERROR     gm.gui 
> (/usr/lib/python2.6/site-packages/Gnumed/wxpython/gmExceptionHandlingWidgets.py::_on_mail_button_pressed()
>  #307): while writing a latex letter

This only happens when - after writing a letter - no episode
is selected for storing the letter but still [OK] is pressed
in the selector dialog.

While this is intentionally OK - after all that's why the
user *can* select an episode - it wasn't intended to let
them select OK but not selecting an episode. So, for the
time being, this is a just-don't-do-it. 0.7.4 will contain a
fix.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

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