[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-bugs] <bug>: 1
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-bugs] <bug>: 1 |
Date: |
Fri, 24 Sep 2010 22:41:25 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hello devm,
thank you for your report !
> client version: 0.7.6
...
> 2010-09-24 22:45:18 ERROR gm.db
> (/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1103): error
> running RW query
> Traceback (most recent call last):
> File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1101, in
> run_rw_queries
> curs.execute(query['cmd'], args)
> File "/usr/lib/python2.6/dist-packages/psycopg2/extras.py", line 110, in
> execute
> return _cursor.execute(self, query, vars, async)
> IntegrityError: null value in column "fk_episode" violates not-null constraint
>
> 2010-09-24 22:45:18 ERROR gm.gui
> (/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
> #97): enabling debug mode
> 2010-09-24 22:45:18 DEBUG gm.gui
> (/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
> #101): unhandled exception caught:
> Traceback (most recent call last):
> File "/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py", line 253, in
> _on_save_button_pressed
> if self._PNL_ea.save():
> File "/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py", line 148, in save
> if self._save_as_new():
> File "/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py", line 441,
> in _save_as_new
> episode = self._PRW_episode.GetData(can_create = True)
> File "/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py", line 1380, in
> create_hospital_stay
> rows, idx = gmPG2.run_rw_queries(queries = queries, return_data = True)
> File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1101, in
> run_rw_queries
> curs.execute(query['cmd'], args)
> File "/usr/lib/python2.6/dist-packages/psycopg2/extras.py", line 110, in
> execute
> return _cursor.execute(self, query, vars, async)
> IntegrityError: null value in column "fk_episode" violates not-null constraint
This is now fixed and will be released with 0.7.10 (if that
appears) and with 0.8.4.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346