[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
<bug>: trying to bill something but get a exception instead.
From: |
LMcC = any-doc |
Subject: |
<bug>: trying to bill something but get a exception instead. |
Date: |
Wed, 14 Jun 2023 13:49:13 +0200 |
Report sent via GNUmed's handler for unexpected exceptions.
user comment : trying to bill something but get a exception instead.
client version: 1.8.9
system account: test
staff member : Dr.Leonard Horatio McCoy (LMcC = any-doc)
sender email : michael.schmid.ms@outlook.de
# enable Launchpad bug tracking
affects gnumed
tag automatic-report
importance medium
Exception:
type: <class 'psycopg2.errors.CheckViolation'>
value: new row for relation "bill" violates check constraint
"bill_bill_sane_recv_adr"
DETAIL: Failing row contains (13481, 2, 2023-06-14 13:48:06.205398+02,
any-doc, 1, GNUmed@Enterprise-2012-1, 2023-06-14 11:11:11.111111+02, t, null,
null, null, null).
Traceback:
File "/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py", line 380, in
_on_save_button_pressed
if self._PNL_ea.save():
^^^^^^^^^^^^^^^^^^^
File "/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py", line 237, in save
return self._save_as_update()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/gnumed/Gnumed/wxpython/gmBillingWidgets.py", line 1015, in
_save_as_update
self.data.save()
File "/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py", line 693, in
save
return self.save_payload(conn = conn)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py", line 722, in
save_payload
rows, idx = gmPG2.run_rw_queries (
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1888, in
run_rw_queries
curs.execute(query['cmd'], args)
File "/usr/lib/python3/dist-packages/psycopg2/extras.py", line 146, in execute
return super().execute(query, vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gnumed-2023_06_14-13_44_25-3641.log
Description: Text document
- <bug>: trying to bill something but get a exception instead.,
LMcC = any-doc <=