gnumed-devel
[Top][All Lists]
Advanced

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

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


From: Carlos Moro
Subject: Re: [Gnumed-devel] Re: Latest progress with you SOAP stuff-more
Date: Fri, 10 Dec 2004 09:58:02 +0100 (CET)

Hi,

As commented before, te SOAP input is crashing becouse
clinical record can't be retrieved, and no problem
list is loaded (i'll fix it, but you should be able to
try the soap input as soon as you could load Kirk's
clinical record)... as this log says. I'm sorry i
ignore why you can't retrieve emr's :( :

(/usr/lib/python2.3/site-packages/Gnumed/business/gmPatient.py:get_clinic
> >al 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_clinic
> >al address@hidden): exception type :
exceptions.TypeError 2004-12-10 
12:37:28
> > [PANIC]


Best regards,
carlos





 --- Richard Terry <address@hidden> escribió: 
> Furth info: This routine seems to be involved:
> 
>   def _refresh_issues_list(self):
>         """
>         Updates health issues list
>         """
>         # FIXME remove
>         if self._health_issues_list.GetCount() > 0:
>             return False
>         cont = 0
>
*********************************************************
> ****THIS LINE is what is killing
> it****************************
> ****see error messages
> below*****************************
> **** ie. ._emr.get_health_issues()
>
*********************************************************
>         for a_health_issue in
> self._emr.get_health_issues(): 
>             cont = cont+1
>             a_key = '#%s
> %s'%(cont,a_health_issue['description'])
>            
>
self._health_issues_list.Append(a_key,a_health_issue)
> 
> If you run the thing, these are the error messages:
> 
> Traceback (most recent call last):
>   File "gmSOAPInput.py", line 697, 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'
> 
> Regards
> 
> richard
> 
> 
> On Fri, 10 Dec 2004 01:50 pm, Carlos Moro wrote:
> > 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_logf
> > >il 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_dom
> > >ai 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:M
> > >ai 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:Main
> > >@1 6): $Revision: 1.9 $ 2004-12-10 12:37:17
> [INFO]
> > >
>
(/usr/lib/python2.3/site-packages/Gnumed/business/gmEMRStructItems.py:Mai
> > >n@ 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 
=== message truncated === 


                
______________________________________________ 
Renovamos el Correo Yahoo!: ¡250 MB GRATIS! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es




reply via email to

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