gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] <bug>: again tryiing to input tobacco


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] <bug>: again tryiing to input tobacco
Date: Thu, 3 Dec 2009 11:35:00 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Jim,

thanks for the report. It led to one episode creation fix,
one logging improvement and two constraint check
improvements in the database ...

> user comment  : again tryiing to input tobacco
> 
> client version: 0.6.rc2

> 2009-12-02 23:03:14  DEBUG     gm.gui 
> (/home/jbusser/Desktop/Downloads/gnumed-client.0.6.rc2/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #49): unhandled exception caught:
> Traceback (most recent call last):
>   File 
> "/home/jbusser/Desktop/Downloads/gnumed-client.0.6.rc2/Gnumed/wxpython/gmEditArea.py",
>  line 235, in _on_save_button_pressed
>     if self._PNL_ea.save():
>   File 
> "/home/jbusser/Desktop/Downloads/gnumed-client.0.6.rc2/Gnumed/wxpython/gmEditArea.py",
>  line 147, in save
>     if self._save_as_new():
>   File 
> "/home/jbusser/Desktop/Downloads/gnumed-client.0.6.rc2/Gnumed/wxpython/gmMedicationWidgets.py",
>  line 441, in _save_as_new
>     episode = self._PRW_episode.GetData(can_create = True),
>   File 
> "/home/jbusser/Desktop/Downloads/gnumed-client.0.6.rc2/Gnumed/wxpython/gmEMRStructWidgets.py",
>  line 1233, in GetData
>     epi = emr.add_episode(episode_name=epi_name, is_open=is_open)
>   File 
> "/home/jbusser/Desktop/Downloads/gnumed-client.0.6.rc2/Gnumed/business/gmClinicalRecord.py",
>  line 894, in add_episode
>     encounter = self.current_encounter['pk_encounter']
>   File 
> "/home/jbusser/Desktop/Downloads/gnumed-client.0.6.rc2/Gnumed/business/gmEMRStructItems.py",
>  line 735, in create_episode
>     rows, idx = gmPG2.run_rw_queries(queries = queries, return_data=True, 
> get_col_idx=True)
>   File 
> "/home/jbusser/Desktop/Downloads/gnumed-client.0.6.rc2/Gnumed/pycommon/gmPG2.py",
>  line 1092, in run_rw_queries
>     curs.execute(query['cmd'], args)
>   File "/usr/lib/python2.5/site-packages/psycopg2/extras.py", line 89, in 
> execute
>     return _cursor.execute(self, query, vars, async)
> IntegrityError: new row for relation "episode" violates check constraint 
> "episode_description_check"

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

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