gnumed-devel
[Top][All Lists]
Advanced

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

[Gnumed-devel] Re: Latest progress with you SOAP stuff


From: Carlos Moro
Subject: [Gnumed-devel] Re: Latest progress with you SOAP stuff
Date: Fri, 10 Dec 2004 13:50:35 +1100
User-agent: KMail/1.5.4

Hi Richard,

The problem seems while calling cClinicalRecord. SOAP input crashes
becouse there list box can't be filled with any problems... Could  you
please forward the message to the list, to be better analise?

Best regards,
carlos

Richard Terry wrote:
>Still not Joy.
>Here is exactly what I typed in at my terminal and what happened plus the
>attatched log file:
>=============================================
>address@hidden:~/gnumed/gnumed/test-area/cfmoro/soap_input$ python
>gmSOAPInput.py
>
>log file is [/home/richard/.gmSOAPInput/gmSOAPInput.log]
>
>Please enter the required login parameters:
>host [localhost]:
>database [gnumed]:
>user name: any-doc
>password (not shown): (didn't type in anything - left it blank)
>port [5432]:
>
>Patient search term (or 'bye' to exit) (eg. Kirk): kirk
>Creating soap input widget, controller (None)
>...creating new soap input widget
>MultiClient.Select
>wxMultiViewLeaf.init: created detail: <SOAPMultiSash.MultiClient instance;
>proxy of C++ wxWindow instance at _83d1568_wxWindow_p>
>MultiClient.Select
>MultiClient.UnSelect
>Creating soap input widget, controller (None)
>...creating new soap input widget
>MultiClient.Select
>MultiClient.UnSelect
>wxMultiViewLeaf.init: created detail: <SOAPMultiSash.MultiClient instance;
>proxy of C++ wxWindow instance at _840af30_wxWindow_p>
>MultiClient.Select
>MultiClient.UnSelect
>cSOAPInput.set_selected_leaf
>
>Selected leaf: <SOAPMultiSash.wxMultiViewLeaf instance; proxy of C++
> wxWindow instance at _840a408_wxWindow_p>
>Selected SOAP: <gmSOAPInput.cSOAPControl instance; proxy of C++ wxPanel
>instance at _840cc10_wxPanel_p>
>cSOAPInput.check_buttons
>Won't check buttons for None leaf/soap/selected_issue
>Traceback (most recent call last):
>  File "gmSOAPInput.py", line 696, in ?
>    soap_input = cSOAPInputPanel(application.frame, -1)
>  File "gmSOAPInput.py", line 284, in __init__
>    self._populate_with_data()
>  File "gmSOAPInput.py", line 558, in _populate_with_data
>    if self._refresh_issues_list():
>  File "gmSOAPInput.py", line 605, in _refresh_issues_list
>    for a_health_issue in self._emr.get_health_issues():
>AttributeError: 'NoneType' object has no attribute 'get_health_issues'
>address@hidden:~/gnumed/gnumed/test-area/cfmoro/soap_input$
>
>
>------------------------------------------------------------------------
>
>2004-12-10 12:37:16
> ------------------------------------------------------------ 2004-12-10
> 12:37:16 [INFO] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmLog.py:address@hidden):
> SECURITY: initial log level is [INFO] 2004-12-10 12:37:16 [INFO] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmLog.py:__open_default_logfil
>address@hidden): instantiated log file 
>/home/richard/.gmSOAPInput/gmSOAPInput.log
> with ID /home/richard/.gmSOAPInput/gmSOAPInput.log 2004-12-10 12:37:17
> [INFO] 
> (/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmI18N.py:address@hidden):
> $Revision: 1.4 $ 2004-12-10 12:37:17 [INFO] 
> (/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmI18N.py:__install_domai
>address@hidden): text domain is "gmSOAPInput" 2004-12-10 12:37:17 [INFO] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden): DBMS
> [PostgreSQL] via DB-API module "<module 'pyPgSQL.PgSQL' from
> '/usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.pyc'>": API level 2.0,
> thread safety 1, parameter style "pyformat" 2004-12-10 12:37:17 [INFO] 
> (/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmBusinessDBObject.py:Mai
>address@hidden): $Revision: 1.4 $ 2004-12-10 12:37:17 [INFO] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmClinItem.py:address@hidden):
> $Revision: 1.18 $ 2004-12-10 12:37:17 [INFO] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmClinNarrative.py:address@hidden
>6): $Revision: 1.9 $ 2004-12-10 12:37:17 [INFO] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmEMRStructItems.py:Main@
>18): $Revision: 1.24 $ 2004-12-10 12:37:17 [INFO] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:address@hidden): 
> $Revision:
> 1.23 $ 2004-12-10 12:37:17 [INFO] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:address@hidden):
> $GMSOAPINPUT_DIR not set 2004-12-10 12:37:17 [WARN] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:address@hidden):
> config file [/home/richard/.gmSOAPInput/gmSOAPInput.conf] not found
> 2004-12-10 12:37:17 [WARN] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:address@hidden):
> config file [/home/richard/.gmSOAPInput.conf] not found 2004-12-10 12:37:17
> [WARN] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:address@hidden):
> config file [/etc/gmSOAPInput/gmSOAPInput.conf] not found 2004-12-10
> 12:37:17 [WARN] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:address@hidden):
> config file [/etc/gmSOAPInput.conf] not found 2004-12-10 12:37:17 [WARN] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:address@hidden):
> config file
> [/home/richard/gnumed/gnumed/test-area/cfmoro/soap_input/gmSOAPInput.conf]
> not found 2004-12-10 12:37:17 [ERROR]
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:address@hidden):
> cannot find config file in any of the standard paths 2004-12-10 12:37:17
> [WARN]  (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:address@hidden):
> unhandled exception 2004-12-10 12:37:17 [WARN] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:address@hidden): 
> exception
> type : exceptions.IOError 2004-12-10 12:37:17 [WARN] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmCfg.py:address@hidden): 
> exception
> value: cannot find config file 2004-12-10 12:37:17 [INFO] 
> (/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmWhoAmI.py:address@hidden):
> $Revision: 1.5 $ 2004-12-10 12:37:17 [INFO] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPathLab.py:address@hidden):
> $Revision: 1.42 $ 2004-12-10 12:37:17 [INFO] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmAllergy.py:address@hidden):
> $Revision: 1.15 $ 2004-12-10 12:37:17 [INFO] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmVaccination.py:address@hidden)
>: $Revision: 1.16 $ 2004-12-10 12:37:17 [INFO] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmMedDoc.py:address@hidden):
> $Revision: 1.25 $ 2004-12-10 12:37:17 [INFO] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmDemographicRecord.py:Ma
>address@hidden): $Revision: 1.54 $ 2004-12-10 12:37:17 [INFO] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:address@hidden):
> $Revision: 1.56 $ 2004-12-10 12:37:18 [INFO] 
> (/home/richard/gnumed/gnumed/test-area/cfmoro/soap_input/gmSOAPInput.py:Mai
>address@hidden): $Revision: 1.15 $ 2004-12-10 12:37:18 [INFO] 
> (gmSOAPInput.py:address@hidden): $Revision: 1.15 $ 2004-12-10 12:37:18 [INFO] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmLog.py:address@hidden):
> SECURITY: log level change from [INFO]   to [DATA] 2004-12-10 12:37:18
> [INFO]  (gmSOAPInput.py:address@hidden): starting SOAP input panel... 
> 2004-12-10
> 12:37:18 [INFO] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:set_default_client_enc
>address@hidden): setting default client encoding to [latin1] 2004-12-10 
>12:37:24
> [DATA] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:__setup_default_ro_con
>address@hidden): host:port=localhost:5432, db=gnumed, user=any-doc, pw=?? 
>2004-12-10
> 12:37:25 [DATA] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden): time
> zone set to [+11.0] 2004-12-10 12:37:25 [DATA] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):
> setting session to [READ ONLY] for address@hidden:gnumed 2004-12-10
> 12:37:25 [WARN] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden): query
> >>>set session characteristics as transaction READ ONLY<<< with args
> >>>()<<< failed 2004-12-10 12:37:25 [WARN] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):
> exception type : libpq.OperationalError 2004-12-10 12:37:25 [WARN] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):
> exception value: ERROR:  parser: parse error at or near "READ" at character
> 44
>
>2004-12-10 12:37:25 [DATA] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):
> Traceback (most recent call last):<#10-0x0A-lf> 2004-12-10 12:37:25 [DATA] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):   File
> "/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py", line 602, in
> run_query<#10-0x0A-lf>    aCursor.execute(aQuery, *args)<#10-0x0A-lf>
> 2004-12-10 12:37:25 [DATA] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):   File
> "/usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.py", line 3072, in
> execute<#10-0x0A-lf>    raise OperationalError, msg<#10-0x0A-lf> 2004-12-10
> 12:37:25 [DATA] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):
> OperationalError: ERROR:  parser: parse error at or near "READ" at
> character 44<#10-0x0A-lf><#10-0x0A-lf> 2004-12-10 12:37:25 [ERROR]
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):
> cannot set connection characteristics to [READ ONLY] 2004-12-10 12:37:25
> [INFO] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:__setup_default_ro_con
>address@hidden): service [default/config] running on [PostgreSQL 7.3.4 on
> i386-pc-linux-gnu, compiled by GCC i386-linux-gcc (GCC) 3.3.2 (Debian)]
> 2004-12-10 12:37:27 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_patient_
>address@hidden): running [u"SELECT DISTINCT id_identity FROM names WHERE 
>lastnames 
> ~ '^Kirk'"] 2004-12-10 12:37:27 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:address@hidden
>): patient change [Null] -> [13] requested 2004-12-10 12:37:27 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:address@hidden)
>: Instantiated person [13]. 2004-12-10 12:37:27 [INFO] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmClinicalRecord.py:__pat
>address@hidden): patient [13] not in clinical database 2004-12-10 12:37:27
> [DATA] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):
> requesting RW connection to service [historica] 2004-12-10 12:37:27 [DATA] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden): time
> zone set to [+11.0] 2004-12-10 12:37:27 [DATA] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):
> setting session to [READ WRITE] for address@hidden:gnumed 2004-12-10
> 12:37:27 [WARN] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden): query
> >>>set session characteristics as transaction READ WRITE<<< with args
> >>>()<<< failed 2004-12-10 12:37:27 [WARN] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):
> exception type : libpq.OperationalError 2004-12-10 12:37:27 [WARN] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):
> exception value: ERROR:  parser: parse error at or near "READ" at character
> 44
>
>2004-12-10 12:37:27 [DATA] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):
> Traceback (most recent call last):<#10-0x0A-lf> 2004-12-10 12:37:27 [DATA] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):   File
> "/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py", line 602, in
> run_query<#10-0x0A-lf>    aCursor.execute(aQuery, *args)<#10-0x0A-lf>
> 2004-12-10 12:37:27 [DATA] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):   File
> "/usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.py", line 3072, in
> execute<#10-0x0A-lf>    raise OperationalError, msg<#10-0x0A-lf> 2004-12-10
> 12:37:27 [DATA] 
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):
> OperationalError: ERROR:  parser: parse error at or near "READ" at
> character 44<#10-0x0A-lf><#10-0x0A-lf> 2004-12-10 12:37:27 [ERROR]
> (/home/richard/gnumed/gnumed/Gnumed/pycommon/gmPG.py:address@hidden):
> cannot set connection characteristics to [READ WRITE] 2004-12-10 12:37:28
> [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmClinicalRecord.py:__pat
>address@hidden): inserted patient [13] into clinical database with local id
> [37] 2004-12-10 12:37:28 [PANIC]
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden): cannot instantiate clinical record for person [13] 2004-12-10
> 12:37:28 [PANIC]
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden): exception type : exceptions.TypeError 2004-12-10 12:37:28
> [PANIC]
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden): exception value: unsubscriptable object 2004-12-10 12:37:28
> [PANIC]
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden): Traceback (most recent call last):<#10-0x0A-lf> 2004-12-10
> 12:37:28 [PANIC]
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):   File
> "/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py", line 119,
> in get_clinical_record<#10-0x0A-lf>    self.__db_cache['clinical record'] =
> gmClinicalRecord.cClinicalRecord(aPKey = self.__ID)<#10-0x0A-lf> 2004-12-10
> 12:37:28 [PANIC]
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):   File
> "/usr/lib/python2.3/site-packages/Gnumed/business/gmClinicalRecord.py",
> line 66, in __init__<#10-0x0A-lf>    if not
> self.__load_last_active_episode():<#10-0x0A-lf> 2004-12-10 12:37:28 [PANIC]
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):   File
> "/usr/lib/python2.3/site-packages/Gnumed/business/gmClinicalRecord.py",
> line 820, in __load_last_active_episode<#10-0x0A-lf>    success, result =
> gmEMRStructItems.create_episode(pk_health_issue=self.__health_issue['id'])<
>#10-0x0A-lf> 2004-12-10 12:37:28 [PANIC]
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden): TypeError: unsubscriptable object<#10-0x0A-lf> 2004-12-10
> 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden): locals by frame, outmost frame first 2004-12-10 12:37:28
> [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden): >>> execution frame [?] in [gmSOAPInput.py] at line 696 <<<
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):               gmI18N = <module 'Gnumed.pycommon.gmI18N' from
> '/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmI18N.pyc'> 2004-12-10
> 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):         gmDispatcher = <module 'Gnumed.pycommon.gmDispatcher'
> from '/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmDispatcher.pyc'>
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):      gmClinNarrative = <module
> 'Gnumed.business.gmClinNarrative' from
> '/usr/lib/python2.3/site-packages/Gnumed/business/gmClinNarrative.pyc'>
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden): cMatchProvider_FixedList =
> Gnumed.pycommon.gmMatchProvider.cMatchProvider_FixedList 2004-12-10
> 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                 gmPG = <module 'Gnumed.pycommon.gmPG' from
> '/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmPG.pyc'> 2004-12-10
> 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):              AOElist = [{'data': 1, 'weight': 1, 'label':
> 'otitis media'}, {'data': 2, 'weight': 1, 'label': 'otitis externa'},
> {'data': 3, 'weight': 1, 'label': 'cellulitis'}, {'data': 4, 'weight': 1,
> 'label': 'gingivitis'}, {'data': 5, 'weight': 1, 'label': 'ganglion'}]
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):     gmEMRStructItems = <module
> 'Gnumed.business.gmEMRStructItems' from
> '/usr/lib/python2.3/site-packages/Gnumed/business/gmEMRStructItems.pyc'>
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):        askForPatient = <function askForPatient at 0x41599764>
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                SOAP2 = <module 'SOAP2' from
> '/home/richard/gnumed/gnumed/test-area/cfmoro/soap_input/SOAP2.pyc'>
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):          __license__ = GPL 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):             Subjlist = [{'data': 1, 'weight': 1, 'label':
> 'earache'}, {'data': 1, 'weight': 1, 'label': 'earache'}, {'data': 2,
> 'weight': 1, 'label': 'ear discahrge'}, {'data': 3, 'weight': 1, 'label':
> 'eardrum bulging'}, {'data': 4, 'weight': 1, 'label': 'sore arm'}, {'data':
> 5, 'weight': 1, 'label': 'sore tooth'}] 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):       prompted_input = <function prompted_input at 0x4148487c>
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):          application = <wxPython.wx.wxPyWidgetTester instance;
> proxy of C++ wxPyApp instance at _8347740_wxPyApp_p> 2004-12-10 12:37:28
> [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                gmCfg = <module 'Gnumed.pycommon.gmCfg' from
> '/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmCfg.pyc'> 2004-12-10
> 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):          __version__ = $Revision: 1.15 $ 2004-12-10 12:37:28
> [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):              __doc__ = GnuMed multisash based SOAP input panel
>
>    Health issues are selected in a list.
>    The user can split new soap windows, which are disposed
>    in stack.
>    Usability is provided by:
>        -Logically enabling/disabling action buttons
>        -Controlling user actions and rising informative
>         message boxes when needed.
>
>    Post-0.1? :
>        -Add context information widgets
>
>2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):         cSOAPControl = __main__.cSOAPControl 2004-12-10
> 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):            gmPatient = <module 'Gnumed.business.gmPatient'
> from '/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.pyc'>
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                gmLog = <module 'Gnumed.pycommon.gmLog' from
> '/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmLog.pyc'> 2004-12-10
> 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):              patient =
> <Gnumed.business.gmPatient.gmCurrentPatient instance at 0x4159c7ec>
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):            gmSignals = <module 'Gnumed.pycommon.gmSignals'
> from '/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmSignals.pyc'>
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):         __builtins__ = <module '__builtin__' (built-in)>
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):             __file__ = gmSOAPInput.py 2004-12-10 12:37:28
> [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):           __author__ = address@hidden 2004-12-10 12:37:28
> [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                  sys = <module 'sys' (built-in)> 2004-12-10
> 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):             Planlist = [{'data': 1, 'weight': 1, 'label':
> 'pencillin V'}, {'data': 2, 'weight': 1, 'label': 'penicillin X'}, {'data':
> 3, 'weight': 1, 'label': 'penicillinamine'}, {'data': 4, 'weight': 1,
> 'label': 'penthrane'}, {'data': 5, 'weight': 1, 'label': 'penthidine'}]
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                 _log = <Gnumed.pycommon.gmLog.cLogger instance
> at 0x41034a0c> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):             __name__ = __main__ 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                 pool = <Gnumed.pycommon.gmPG.ConnectionPool
> instance at 0x4148c48c> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                   wx = <module 'wxPython.wx' from
> '/usr/lib/python2.3/site-packages/wxPython/wx.pyc'> 2004-12-10 12:37:28
> [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):        SOAPMultiSash = <module 'SOAPMultiSash' from
> '/home/richard/gnumed/gnumed/test-area/cfmoro/soap_input/SOAPMultiSash.pyc'
>> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):      cSOAPInputPanel = __main__.cSOAPInputPanel 2004-12-10
> 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                   os = <module 'os' from
> '/usr/lib/python2.3/os.pyc'> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                 _cfg = Null 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):         gmRegetMixin = <module 'Gnumed.wxpython.gmRegetMixin'
> from '/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmRegetMixin.pyc'>
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden): >>> execution frame [__init__] in [gmSOAPInput.py] at line 269
> <<< 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                 self = <__main__.cSOAPInputPanel instance;
> proxy of C++ wxPanel instance at _837f1b8_wxPanel_p> 2004-12-10 12:37:28
> [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                   id = -1 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):               parent = <wxPython.frames.wxFrame instance;
> proxy of C++ wxFrame instance at _837fb58_wxFrame_p> 2004-12-10 12:37:28
> [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden): >>> execution frame [get_clinical_record] in
> [/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py] at line 254
> <<< 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                 self =
> <Gnumed.business.gmPatient.gmCurrentPatient instance at 0x415b5cac>
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden): >>> execution frame [get_clinical_record] in
> [/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py] at line 121
> <<< 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                 self = <Gnumed.business.gmPatient.gmPerson
> instance at 0x415b5f0c> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):               tstart = 1102642647.67 2004-12-10 12:37:28
> [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden): >>> execution frame [__init__] in
> [/usr/lib/python2.3/site-packages/Gnumed/business/gmClinicalRecord.py] at
> line 66 <<< 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                 self =
> <Gnumed.business.gmClinicalRecord.cClinicalRecord instance at 0x415b5b6c>
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                aPKey = 13 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                   t1 = 1102642648.13 2004-12-10 12:37:28
> [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden): >>> execution frame [__load_last_active_episode] in
> [/usr/lib/python2.3/site-packages/Gnumed/business/gmClinicalRecord.py] at
> line 820 <<< 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                 rows = [] 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                 self =
> <Gnumed.business.gmClinicalRecord.cClinicalRecord instance at 0x415b5b6c>
> 2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):                  cmd = select vpe0.pk_episode
>from
>       v_pat_episodes vpe0
>where
>       vpe0.id_patient = %s
>               and
>       vpe0.episode_modified_when = (
>               select max(vpe1.episode_modified_when)
>               from v_pat_episodes vpe1
>               where vpe1.pk_episode=vpe0.pk_episode
>       )
>2004-12-10 12:37:28 [DATA] 
> (/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinical
>address@hidden):              episode = None 2004-12-10 12:37:29 [PANIC]
> (gmSOAPInput.py:address@hidden): unhandled exception caught ! 2004-12-10 
> 12:37:29
> [PANIC] (gmSOAPInput.py:address@hidden): exception type :
> exceptions.AttributeError 2004-12-10 12:37:29 [PANIC]
> (gmSOAPInput.py:address@hidden): exception value: 'NoneType' object has no
> attribute 'get_health_issues' 2004-12-10 12:37:29 [PANIC]
> (gmSOAPInput.py:address@hidden): Traceback (most recent call 
> last):<#10-0x0A-lf>
> 2004-12-10 12:37:29 [PANIC] (gmSOAPInput.py:address@hidden):   File
> "gmSOAPInput.py", line 696, in ?<#10-0x0A-lf>    soap_input =
> cSOAPInputPanel(application.frame, -1)<#10-0x0A-lf> 2004-12-10 12:37:29
> [PANIC] (gmSOAPInput.py:address@hidden):   File "gmSOAPInput.py", line 284, in
> __init__<#10-0x0A-lf>    self._populate_with_data()<#10-0x0A-lf> 2004-12-10
> 12:37:29 [PANIC] (gmSOAPInput.py:address@hidden):   File "gmSOAPInput.py", 
> line
> 558, in _populate_with_data<#10-0x0A-lf>    if
> self._refresh_issues_list():<#10-0x0A-lf> 2004-12-10 12:37:29 [PANIC]
> (gmSOAPInput.py:address@hidden):   File "gmSOAPInput.py", line 605, in
> _refresh_issues_list<#10-0x0A-lf>    for a_health_issue in
> self._emr.get_health_issues():<#10-0x0A-lf> 2004-12-10 12:37:29 [PANIC]
> (gmSOAPInput.py:address@hidden): AttributeError: 'NoneType' object has no
> attribute 'get_health_issues'<#10-0x0A-lf> 2004-12-10 12:37:29 [DATA] 
> (gmSOAPInput.py:address@hidden): locals by frame, outmost frame first 
> 2004-12-10
> 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden): >>> execution frame [?] in
> [gmSOAPInput.py] at line 709 <<< 2004-12-10 12:37:29 [DATA] 
> (gmSOAPInput.py:address@hidden):               gmI18N = <module
> 'Gnumed.pycommon.gmI18N' from
> '/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmI18N.pyc'> 2004-12-10
> 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):         gmDispatcher = 
> <module
> 'Gnumed.pycommon.gmDispatcher' from
> '/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmDispatcher.pyc'>
> 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):      
> gmClinNarrative
> = <module 'Gnumed.business.gmClinNarrative' from
> '/usr/lib/python2.3/site-packages/Gnumed/business/gmClinNarrative.pyc'>
> 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):
> cMatchProvider_FixedList =
> Gnumed.pycommon.gmMatchProvider.cMatchProvider_FixedList 2004-12-10
> 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):                 gmPG = 
> <module
> 'Gnumed.pycommon.gmPG' from
> '/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmPG.pyc'> 2004-12-10
> 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):              AOElist =
> [{'data': 1, 'weight': 1, 'label': 'otitis media'}, {'data': 2, 'weight':
> 1, 'label': 'otitis externa'}, {'data': 3, 'weight': 1, 'label':
> 'cellulitis'}, {'data': 4, 'weight': 1, 'label': 'gingivitis'}, {'data': 5,
> 'weight': 1, 'label': 'ganglion'}] 2004-12-10 12:37:29 [DATA] 
> (gmSOAPInput.py:address@hidden):     gmEMRStructItems = <module
> 'Gnumed.business.gmEMRStructItems' from
> '/usr/lib/python2.3/site-packages/Gnumed/business/gmEMRStructItems.pyc'>
> 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):        
> askForPatient
> = <function askForPatient at 0x41599764> 2004-12-10 12:37:29 [DATA] 
> (gmSOAPInput.py:address@hidden):                SOAP2 = <module 'SOAP2' from
> '/home/richard/gnumed/gnumed/test-area/cfmoro/soap_input/SOAP2.pyc'>
> 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):          
> __license__
> = GPL 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):            
> Subjlist = [{'data': 1, 'weight': 1, 'label': 'earache'}, {'data': 1,
> 'weight': 1, 'label': 'earache'}, {'data': 2, 'weight': 1, 'label': 'ear
> discahrge'}, {'data': 3, 'weight': 1, 'label': 'eardrum bulging'}, {'data':
> 4, 'weight': 1, 'label': 'sore arm'}, {'data': 5, 'weight': 1, 'label':
> 'sore tooth'}] 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):   
>    
> prompted_input = <function prompted_input at 0x4148487c> 2004-12-10
> 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):          application =
> <wxPython.wx.wxPyWidgetTester instance; proxy of C++ wxPyApp instance at
> _8347740_wxPyApp_p> 2004-12-10 12:37:29 [DATA]  
> (gmSOAPInput.py:address@hidden): 
>               gmCfg = <module 'Gnumed.pycommon.gmCfg' from
> '/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmCfg.pyc'> 2004-12-10
> 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):          __version__ =
> $Revision: 1.15 $ 2004-12-10 12:37:29 [DATA]  
> (gmSOAPInput.py:address@hidden):   
>           __doc__ = GnuMed multisash based SOAP input panel
>
>    Health issues are selected in a list.
>    The user can split new soap windows, which are disposed
>    in stack.
>    Usability is provided by:
>        -Logically enabling/disabling action buttons
>        -Controlling user actions and rising informative
>         message boxes when needed.
>
>    Post-0.1? :
>        -Add context information widgets
>
>2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):         
>cSOAPControl
> = __main__.cSOAPControl 2004-12-10 12:37:29 [DATA] 
> (gmSOAPInput.py:address@hidden):            gmPatient = <module
> 'Gnumed.business.gmPatient' from
> '/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.pyc'>
> 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):                
> gmLog
> = <module 'Gnumed.pycommon.gmLog' from
> '/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmLog.pyc'> 2004-12-10
> 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):              patient =
> <Gnumed.business.gmPatient.gmCurrentPatient instance at 0x4159c7ec>
> 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):            
> gmSignals
> = <module 'Gnumed.pycommon.gmSignals' from
> '/usr/lib/python2.3/site-packages/Gnumed/pycommon/gmSignals.pyc'>
> 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):         
> __builtins__
> = <module '__builtin__' (built-in)> 2004-12-10 12:37:29 [DATA] 
> (gmSOAPInput.py:address@hidden):             __file__ = gmSOAPInput.py 
> 2004-12-10
> 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):           __author__ =
> address@hidden 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden): 
>                 sys = <module 'sys' (built-in)> 2004-12-10 12:37:29 [DATA] 
> (gmSOAPInput.py:address@hidden):             Planlist = [{'data': 1, 
> 'weight': 1,
> 'label': 'pencillin V'}, {'data': 2, 'weight': 1, 'label': 'penicillin X'},
> {'data': 3, 'weight': 1, 'label': 'penicillinamine'}, {'data': 4, 'weight':
> 1, 'label': 'penthrane'}, {'data': 5, 'weight': 1, 'label': 'penthidine'}]
> 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):                 
> _log
> = <Gnumed.pycommon.gmLog.cLogger instance at 0x41034a0c> 2004-12-10
> 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):             __name__ = 
> __main__
> 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):                 
> pool
> = <Gnumed.pycommon.gmPG.ConnectionPool instance at 0x4148c48c> 2004-12-10
> 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):                   wx = 
> <module
> 'wxPython.wx' from '/usr/lib/python2.3/site-packages/wxPython/wx.pyc'>
> 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):        
> SOAPMultiSash
> = <module 'SOAPMultiSash' from
> '/home/richard/gnumed/gnumed/test-area/cfmoro/soap_input/SOAPMultiSash.pyc'
>> 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):     
> cSOAPInputPanel = __main__.cSOAPInputPanel 2004-12-10 12:37:29 [DATA] 
> (gmSOAPInput.py:address@hidden):                   os = <module 'os' from
> '/usr/lib/python2.3/os.pyc'> 2004-12-10 12:37:29 [DATA] 
> (gmSOAPInput.py:address@hidden):                 _cfg = Null 2004-12-10 
> 12:37:29
> [DATA]  (gmSOAPInput.py:address@hidden):         gmRegetMixin = <module
> 'Gnumed.wxpython.gmRegetMixin' from
> '/usr/lib/python2.3/site-packages/Gnumed/wxpython/gmRegetMixin.pyc'>
> 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden): >>> execution 
> frame
> [__init__] in [gmSOAPInput.py] at line 284 <<< 2004-12-10 12:37:29 [DATA] 
> (gmSOAPInput.py:address@hidden):                 self = 
> <__main__.cSOAPInputPanel
> instance; proxy of C++ wxPanel instance at _837f1b8_wxPanel_p> 2004-12-10
> 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):                   id = -1
> 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):               
> parent
> = <wxPython.frames.wxFrame instance; proxy of C++ wxFrame instance at
> _837fb58_wxFrame_p> 2004-12-10 12:37:29 [DATA]  
> (gmSOAPInput.py:address@hidden):
> >>> execution frame [_populate_with_data] in [gmSOAPInput.py] at line 558
> <<< 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):              
>   
> self = <__main__.cSOAPInputPanel instance; proxy of C++ wxPanel instance at
> _837f1b8_wxPanel_p> 2004-12-10 12:37:29 [DATA]  
> (gmSOAPInput.py:address@hidden):
> >>> execution frame [_refresh_issues_list] in [gmSOAPInput.py] at line 605
> <<< 2004-12-10 12:37:29 [DATA]  (gmSOAPInput.py:address@hidden):              
>   
> self = <__main__.cSOAPInputPanel instance; proxy of C++ wxPanel instance at
> _837f1b8_wxPanel_p> 2004-12-10 12:37:29 [DATA]  
> (gmSOAPInput.py:address@hidden): 
>                cont = 0





reply via email to

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