gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] <bug>: 1.1.2 Unhandled exception after activating


From: Karsten Hilbert
Subject: Re: [Gnumed-bugs] <bug>: 1.1.2 Unhandled exception after activating
Date: Fri, 11 Nov 2011 17:32:54 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hello Jim,

thanks for your report.

> user comment  : 1.1.2 Unhandled exception after activating Kirk and 
> double-clicking on one of Kirk's already-signed measurements
> 
> client version: 1.1.2

...

> 2011-11-09 17:36:48  DEBUG     gm.gui 
> (/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #160): unhandled exception caught:
> Traceback (most recent call last):
>   File 
> "/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/wxpython/gmMeasurementWidgets.py",
>  line 961, in __on_cell_left_dclicked
>     edit_measurement(parent = self, measurement = data, single_entry = True)
>   File 
> "/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/wxpython/gmMeasurementWidgets.py",
>  line 126, in edit_measurement
>     ea.mode = gmTools.coalesce(measurement, 'new', 'edit')
>   File 
> "/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/wxpython/gmEditArea.py", 
> line 149, in _set_mode
>     self.refresh()
>   File 
> "/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/wxpython/gmEditArea.py", 
> line 210, in refresh
>     result = self._refresh_from_existing()
>   File 
> "/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/wxpython/gmMeasurementWidgets.py",
>  line 1231, in _refresh_from_existing
>     self._PRW_test.SetData(data = self.data['pk_test_type'])
>   File 
> "/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/wxpython/gmPhraseWheel.py", 
> line 1044, in SetData
>     self._update_candidates_in_picklist(u'*')
>   File 
> "/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/wxpython/gmPhraseWheel.py", 
> line 545, in _update_candidates_in_picklist
>     self._picklist.SetItems(self._current_match_candidates)
>   File 
> "/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/wxpython/gmPhraseWheel.py", 
> line 86, in SetItems
>     row_num = self.InsertStringItem(pos, label=item['list_label'])
>   File 
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
>  line 4753, in InsertStringItem
>     return _controls_.ListCtrl_InsertStringItem(*args, **kwargs)
> TypeError: String or Unicode type required

...

> 2011-11-09 17:36:48  DEBUG     gm.logging 
> (/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>  #155): >>> execution frame [SetItems] in 
> [/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/wxpython/gmPhraseWheel.py] 
> at line 86 <<<
> 2011-11-09 17:36:48  DEBUG     gm.logging 
> (/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>  #170):                 item = {'field_label': u'Aldosterone, Serum (SPH @ 
> SPH)', 'data': 12, 'list_label': None, 'weight': 0}
> 2011-11-09 17:36:48  DEBUG     gm.logging 
> (/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>  #170):                 self = 
> <Gnumed.wxpython.gmPhraseWheel.cPhraseWheelListCtrl; proxy of <Swig Object of 
> type 'wxPyListCtrl *' at 0x10694fff0> >
> 2011-11-09 17:36:48  DEBUG     gm.logging 
> (/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>  #170):                  pos = 13
> 2011-11-09 17:36:48  DEBUG     gm.logging 
> (/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>  #170):                items = [{'field_label': u'Aldosterone, Serum (SPH @ 
> SPH)', 'data': 12, 'list_label': None, 'weight': 0}, {'field_label': 
> u'C-reactive protein (EML) (Enterprise Main Lab @ Starfleet Central)', 
> 'data': 9, 'list_label': u'C-reactive protein (EML) (CRP-EML, CRP-EML, CRP: 
> C-reactive protein, Enterprise Main Lab @ Starfleet Central)', 'weight': 0}, 
> {'field_label': u'Creatinine (inhouse lab @ inhouse lab)', 'data': 14, 
> 'list_label': None, 'weight': 0}, {'field_label': u'Renin, plasma (SPH @ 
> SPH)', 'data': 13, 'list_label': None, 'weight': 0}, {'field_label': u'blood 
> oxygen saturation (your own practice @ your own practice)', 'data': 5, 
> 'list_label': u'blood oxygen saturation (SpO2, SpO2, your own practice @ your 
> own practice)', 'weight': 0}, {'field_label': u'blood pressure (your own 
> practice @ your own practice)', 'data': 3, 'list_label': u'blood pressure 
> (BP, BP, your own practice @ your own practice)', 'weight': 0}, 
> {'field_label': u'erythrocytes (EML) (Enterprise Main Lab @ Starfleet 
> Central)', 'data': 7, 'list_label': u'erythrocytes (EML) (RBC-EML, RBC-EML, 
> RBC: erythrocytes, Enterprise Main Lab @ Starfleet Central)', 'weight': 0}, 
> {'field_label': u'height (your own practice @ your own practice)', 'data': 2, 
> 'list_label': u'height (hght, hght, your own practice @ your own practice)', 
> 'weight': 0}, {'field_label': u'leukocytes (EML) (Enterprise Main Lab @ 
> Starfleet Central)', 'data': 6, 'list_label': u'leukocytes (EML) (WBC-EML, 
> WBC-EML, WBC: leukocytes, Enterprise Main Lab @ Starfleet Central)', 
> 'weight': 0}, {'field_label': u'platelets (EML) (Enterprise Main Lab @ 
> Starfleet Central)', 'data': 8, 'list_label': u'platelets (EML) (PLT-EML, 
> PLT-EML, PLT: platelets, Enterprise Main Lab @ Starfleet Central)', 'weight': 
> 0}, {'field_label': u'pulse, periph.art. (your own practice @ your own 
> practice)', 'data': 4, 'list_label': u'pulse, periph.art. (pulse, pulse, your 
> own practice @ your own practice)', 'weight': 0}, {'field_label': u'weight 
> (body mass) (your own practice @ your own practice)', 'data': 1, 
> 'list_label': u'weight (body mass) (wght, wght, your own practice @ your own 
> practice)', 'weight': 0}]
> 2011-11-09 17:36:48  DEBUG     gm.logging 
> (/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>  #155): >>> execution frame [InsertStringItem] in 
> [/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py]
>  at line 4753 <<<
> 2011-11-09 17:36:48  DEBUG     gm.logging 
> (/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>  #170):                 args = 
> (<Gnumed.wxpython.gmPhraseWheel.cPhraseWheelListCtrl; proxy of <Swig Object 
> of type 'wxPyListCtrl *' at 0x10694fff0> >, 13)
> 2011-11-09 17:36:48  DEBUG     gm.logging 
> (/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/pycommon/gmLog2.py::log_stack_trace()
>  #170):               kwargs = {'label': None}
> 2011-11-09 17:39:54  ERROR     gm.gui 
> (/Users/djb/Downloads/gnumed-client.1.1.2/Gnumed/wxpython/gmExceptionHandlingWidgets.py::mail_log()
>  #367): 1.1.2 Unhandled exception after activating Kirk and double-clicking 
> on one of Kirk's already-signed measurements

Fixed for 1.1.3 (uploading).

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



reply via email to

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