gnumed-devel
[Top][All Lists]
Advanced

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

[Gnumed-devel] running error


From: sjtan
Subject: [Gnumed-devel] running error
Date: Wed, 04 Jun 2003 07:23:38 +1000

can't seem to get permission even if manually grant to 
login user (from login screen). Is the _ char being prepended to the
login name?



received patient_selected notification
{'n_id': '1', 'sender': 'patient.selector', 'title': 'Dr.', 'dob':
'1977-12-19 00:00:00.00', 'gender': 'm', 'signal': 'patient_selected',
'ID': 1, 'cob': 'UK', 'firstnames': 'Ian', 'lastnames': 'Haywood',
'i_id': '1', 'id': '1'}
[WARN]  (gmGuiMain.py::OnPatientChanged:331): patient changed to
[<gmTmpPatient.gmCurrentPatient instance at 0x8da4c4c>]
[WARN]  (gmGuiMain.py::OnPatientChanged:332): {'locked': None,
'patient': <gmTmpPatient.gmPerson instance at 0x8ec2304>}
[PANIC]
(/home/sjtan/gnumed/gnumed/client/python-common/gmPG.py::run_query:524):
query >>>insert into clin_health_issue (id_patient, description) values
(1, '__default__');<<< failed
[PANIC]
(/home/sjtan/gnumed/gnumed/client/python-common/gmPG.py::run_query:524):
exception type : libpq.OperationalError
[PANIC]
(/home/sjtan/gnumed/gnumed/client/python-common/gmPG.py::run_query:524):
exception value: ERROR:  clin_health_issue: permission denied

[PANIC]
(/home/sjtan/gnumed/gnumed/client/python-common/gmPG.py::run_query:524):
Traceback (most recent call last):<#10-0x0A-lf>
[PANIC]
(/home/sjtan/gnumed/gnumed/client/python-common/gmPG.py::run_query:524):   File 
"/home/sjtan/gnumed/gnumed/client/python-common/gmPG.py", line 522, in 
run_query<#10-0x0A-lf>    aCursor.execute(aCmd)<#10-0x0A-lf>
[PANIC]
(/home/sjtan/gnumed/gnumed/client/python-common/gmPG.py::run_query:524):   File 
"/usr/local/lib/python2.2/site-packages/pyPgSQL/PgSQL.py", line 2956, in 
execute<#10-0x0A-lf>    raise OperationalError, msg<#10-0x0A-lf>
[PANIC]
(/home/sjtan/gnumed/gnumed/client/python-common/gmPG.py::run_query:524):
OperationalError: ERROR:  clin_health_issue: permission
denied<#10-0x0A-lf><#10-0x0A-lf>
[ERROR]
(/home/sjtan/gnumed/gnumed/client/business/gmClinicalRecord.py::_create_health_issue:298):
 cannot insert health issue [__default__] for patient [1]
[ERROR]
(/home/sjtan/gnumed/gnumed/client/business/gmClinicalRecord.py::__load_default_health_issue:275):
 cannot load default health issue for patient [1]






reply via email to

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