[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] <bug>: error creating a patient file!
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] <bug>: error creating a patient file! |
Date: |
Sat, 15 May 2010 15:48:56 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hello Rafmav,
thanks for your report !
> user comment : error creating a patient file!
> client version: 0.7.2
> system account: rafmav
...
> 2010-05-15 14:44:23 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/Gnumed/wxpython/gmPatSearchWidgets.py",
> line 758, in __on_enter
> self._on_enter(search_term = curr_search_term)
> File
> "/usr/lib/python2.6/site-packages/Gnumed/wxpython/gmPatSearchWidgets.py",
> line 983, in _on_enter
> self._set_person_as_active_patient(self.person)
> File
> "/usr/lib/python2.6/site-packages/Gnumed/wxpython/gmPatSearchWidgets.py",
> line 921, in _set_person_as_active_patient
> if not set_active_patient(patient=pat, forced_reload =
> self.__always_reload_after_search):
> File
> "/usr/lib/python2.6/site-packages/Gnumed/wxpython/gmPatSearchWidgets.py",
> line 857, in set_active_patient
> return gmPerson.set_active_patient(patient = patient, forced_reload =
> forced_reload)
> File "/usr/lib/python2.6/site-packages/Gnumed/business/gmPerson.py", line
> 1976, in set_active_patient
> raise ValueError('<patient> must be either -1, cPatient, cStaff or
> cIdentity instance, is: %s' % patient)
> ValueError: <patient> must be either -1, cPatient, cStaff or cIdentity
> instance, is: <Gnumed.business.gmPerson.gmCurrentPatient object at 0x203e3d0>
While this is non-fatal in that one can just ignore it and
keep on working I fixed this (among other things) in 0.7.3
which is uploading at the moment :-)
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346