gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] <bug>: new patient created


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] <bug>: new patient created
Date: Thu, 13 Aug 2015 16:14:14 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hello Marc,

thanks for taking the time to report this problem.

> user comment  : new patient created
> 
> client version: 1.5.6

...

> 2015-08-13 11:31:22  ERROR     gm.messaging 
> (/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
> signal [clin.encounter_mod_db]
> 2015-08-13 11:31:22  ERROR     gm.gui 
> (/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #215): enabling debug mode
> 2015-08-13 11:31:22  DEBUG     gm.gui 
> (/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #219): unhandled exception caught:
> Traceback (most recent call last):
>   File "/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py", line 1369, in 
> _on_mouse_motion
>     dyna_tt = 
> self.__item_tooltip_callback(self.__data[self.map_item_idx2data_idx(item_idx)])
>   File "/usr/share/gnumed/Gnumed/wxpython/gmPatOverviewWidgets.py", line 
> 1018, in _calc_problem_list_item_tooltip
>     with_vaccinations = False
>   File "/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py", line 377, in 
> format
>     raise ValueError(msg)
> ValueError: <patient>.ID = 3632 but health issue 6553 belongs to patient 3587

This is GNUmed preventing us from shooting ourselves in the
foot by cross-checking patient data integrity.

As this is a problem which occurs depending on the timing of
what is happening in the client I have made signal handling
and patient changes more predictable. Updated code will be
available shortly.

Karsten
-- 
GPG key ID E4071346 @ eu.pool.sks-keyservers.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

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