gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] <bug>: I'm trying to delete test database persons.


From: Xosé
Subject: Re: [Gnumed-bugs] <bug>: I'm trying to delete test database persons.
Date: Wed, 23 Dec 2015 12:53:12 +0100

(I'm on my phone, on holiday and won't be back in front of my computer till Jan 6)

This is my first installation. I played around with the public interface until I felt comfortable and then bootstrapped a local database.

Fist I deleted all the persons from within the GUI and a message warning I could no longer log in popped up. So I had to bootstrap it again.

With me as a new user I repeated the procedure but, as I deleted the last person but me, the bug report dialogue appeared.

Xosé

On Dec 20, 2015 9:32 PM, "Karsten Hilbert" <address@hidden> wrote:
On Sun, Dec 20, 2015 at 05:04:27PM +0100, Dr.Leonard Horatio McCoy wrote:

> user comment  : I'm trying to delete test database persons.

I think you did.

Exactly what did you do which way and what happened ?

It seems you are trying to activate from, say, the inbox or
the data mining widget patients which you previously deleted ?

> 2015-12-20 17:02:02  ERROR     gm.db (/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py::refetch_payload() #561): [cPatient:7]: no such instance
...
> 2015-12-20 17:02:59  ERROR     gm.db (/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py::refetch_payload() #561): [cPatient:14]: no such instance
...
> 2015-12-20 17:03:21  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/gmPatSearchWidgets.py", line 1033, in __on_enter
>     self._on_enter(search_term = curr_search_term)
>   File "/usr/share/gnumed/Gnumed/wxpython/gmPatSearchWidgets.py", line 1372, in _on_enter
>     self._set_person_as_active_patient(self.person)
>   File "/usr/share/gnumed/Gnumed/wxpython/gmPatSearchWidgets.py", line 1333, in _set_person_as_active_patient
>     if not set_active_patient(patient=pat, forced_reload = self.__always_reload_after_search):
>   File "/usr/share/gnumed/Gnumed/wxpython/gmPatSearchWidgets.py", line 1241, in set_active_patient
>     patient = patient.as_patient
>   File "/usr/share/gnumed/Gnumed/business/gmPerson.py", line 531, in _get_as_patient
>     return cPatient(self._payload[self._idx['pk_identity']])
>   File "/usr/share/gnumed/Gnumed/business/gmPerson.py", line 1750, in __init__
>     cIdentity.__init__(self, aPK_obj = aPK_obj, row = row)
>   File "/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py", line 316, in __init__
>     self.__init_from_pk(aPK_obj = aPK_obj, link_obj = link_obj)
>   File "/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py", line 343, in __init_from_pk
>     raise gmExceptions.ConstructorError, "[%s:%s]: error loading instance" % (self.__class__.__name__, self.pk_obj)
> ConstructorError: [cPatient:14]: error loading instance

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]