[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: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] <bug>: I'm trying to delete test database persons. |
Date: |
Sun, 20 Dec 2015 21:32:00 +0100 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
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