[Top][All Lists]

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

<bug>: trying to remove enterprise sickbay ward

From: AC = any-doc
Subject: <bug>: trying to remove enterprise sickbay ward
Date: Sat, 04 Mar 2023 17:28:28 +0100

Report sent via GNUmed's handler for unexpected exceptions.

user comment  : trying to remove enterprise sickbay ward

client version: 1.8.9

system account: aimee
staff member  : Aimee Carroll (AC = any-doc)
sender email  : <supply email address for getting feedback on bug report>

 # enable Launchpad bug tracking
 affects gnumed
 tag automatic-report
 importance medium


 type: <class 'psycopg2.errors.ForeignKeyViolation'>
 value: update or delete on table "org_unit" violates foreign key constraint 
"fk_clin_ext_care_fk_org_unit" on table "external_care"
DETAIL:  Key (pk)=(2) is still referenced from table "external_care".


  File "/usr/share/gnumed/Gnumed/wxpython/", line 820, in 
  File "/usr/share/gnumed/Gnumed/wxpython/", line 718, in 
    if not 
self.__delete_callback(self._LCTRL_items.get_selected_item_data(only_one = 
  File "/usr/share/gnumed/Gnumed/wxpython/", line 208, 
in _del
    return gmOrganization.delete_org_unit(unit = item['pk_org_unit'])
  File "/usr/share/gnumed/Gnumed/business/", line 463, in 
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}], 
get_col_idx = False)
  File "/usr/share/gnumed/Gnumed/pycommon/", line 1888, in 
    curs.execute(query['cmd'], args)
  File "/usr/lib/python3/dist-packages/psycopg2/", line 146, in execute
    return super().execute(query, vars)

Attachment: gnumed-2023_03_04-17_14_10-9886.log
Description: Text document

reply via email to

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