gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] <bug>: on trying to inactivate patient


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] <bug>: on trying to inactivate patient
Date: Wed, 14 Jun 2017 22:13:51 +0200
User-agent: NeoMutt/20170113 (1.7.2)

Hello Marc,

thanks for reporting this problem.

> user comment  : on trying to inactivate patient
> 
> client version: 1.6.12

FYI:

        gnumed-client:
          Installiert:           1.6.13+dfsg-1~exp
          Installationskandidat: 1.6.13+dfsg-1~exp
          Versionstabelle:
         *** 1.6.13+dfsg-1~exp 100
                  1 http://ftp.de.debian.org/debian experimental/main i386 
Packages
                100 /var/lib/dpkg/status
             1.6.11+dfsg-3 601
                990 http://httpredir.debian.org/debian stretch/main i386 
Packages
                500 http://httpredir.debian.org/debian unstable/main i386 
Packages

The problem you saw

> 2017-06-13 07:56:10  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/gmGuiMain.py", line 3161, in 
> __on_delete_patient
>     gmDemographicsWidgets.disable_identity(identity = pat)
>   File "/usr/share/gnumed/Gnumed/wxpython/gmDemographicsWidgets.py", line 
> 593, in disable_identity
>     gmPerson.disable_identity(identity['pk_identity'])
>   File "/usr/share/gnumed/Gnumed/business/gmPerson.py", line 2355, in 
> disable_identity
>     args = {'pk': identity['pk_identity']}
> NameError: global name 'identity' is not defined

results from improper refactoring.

It is now fixed for 1.6.14 -- if you don't want to wait you
can manually run the following query (as database owner):

        UPDATE dem.identity SET deleted = true WHERE pk = 4666;

BEWARE: You need to double-check that 4666 is the patient
record you want to disable !

Best,
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]