[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnumed-bugs] Unhandled exception trying down-cursor inside patient sear
From: |
Busser, Jim |
Subject: |
[Gnumed-bugs] Unhandled exception trying down-cursor inside patient search box |
Date: |
Mon, 29 Apr 2013 21:18:11 +0000 |
Hi
What I had done in GNUmed was
- made entries in patient 1
- searched patient 2 with part of their surname, which was unique
- responded to prompt to complete the encounter info on patient 1
- after which GNUmed successfully set focus on patient 2
- inside patient 2
- edited some encounters, including the newly-created one
- noticed, in the overview, that the newest encounter
(which I set the date to be older)
did not show in the overview
- I figured this was maybe an issue of non-refresh
- I therefore 'searched' patient 1 using name parts
- I then tried down-cursor, figuring that the drop-down list ought to offer me
patient 2
That's when I got the U/E
The 50 lines before and 25 lines after are included. I'll send karsten the
entire log offlist
-- Jim
2013-04-29 14:07:30 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
#167): starting to listen for [waiting_list_mod_db:211]
2013-04-29 14:07:30 DEBUG gm.docs
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/business/gmDocuments.py::__init__()
#43): instantiated document folder for patient [211]
2013-04-29 14:07:30 INFO gm.docs
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/business/gmDocuments.py::get_latest_mugshot()
#96): no mugshots available for patient [211]
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_post_patient_selection()
#1017): post_patient_selection
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
#152): just before switching notebook tabs
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
#160): event.GetOldSelection()=-1* -> event.GetSelection()=0
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
#163): the following two should match but do not:
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
#164): event.GetOldSelection(): -1
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
#165): notebook.GetSelection(): 2
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed()
#206): just after switching notebook tabs
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed()
#212): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed()
#215): those two really *should* match:
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed()
#216): wx.Notebook.GetSelection() (before switch) : 2
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed()
#217): EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmProviderInboxWidgets.py::repopulate_ui()
#846): called by notebook plugin API, skipping inbox loading
2013-04-29 14:07:30 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1387): new database connection, backend PID: 31703, readonly: False
2013-04-29 14:07:30 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1426): access mode [READ WRITE]
2013-04-29 14:07:30 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmPG2.py::get_connection()
#1488): client string encoding [UTF8], isolation level [serializable], time
zone [America/Dawson]
2013-04-29 14:07:30 ERROR gm.db
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmPG2.py::get_connection()
#1512): cannot set bytea_output format
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
#835): called by reget-on-paint mixin API
2013-04-29 14:07:30 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1387): new database connection, backend PID: 31704, readonly: False
2013-04-29 14:07:30 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmPG2.py::get_raw_connection()
#1426): access mode [READ WRITE]
2013-04-29 14:07:30 DEBUG gm.db
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmPG2.py::get_connection()
#1488): client string encoding [UTF8], isolation level [serializable], time
zone [America/Dawson]
2013-04-29 14:07:30 ERROR gm.db
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmPG2.py::get_connection()
#1512): cannot set bytea_output format
2013-04-29 14:07:30 DEBUG gm.emr
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
#178): encounter_mod_db received but no change to active encounter payload
2013-04-29 14:07:30 DEBUG gm.emr
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
#178): encounter_mod_db received but no change to active encounter payload
2013-04-29 14:07:30 DEBUG gm.emr
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
#178): encounter_mod_db received but no change to active encounter payload
2013-04-29 14:07:30 DEBUG gm.emr
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
#178): encounter_mod_db received but no change to active encounter payload
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
#152): just before switching notebook tabs
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
#160): event.GetOldSelection()=-1* -> event.GetSelection()=0
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
#163): the following two should match but do not:
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
#164): event.GetOldSelection(): -1
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
#165): notebook.GetSelection(): 2
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed()
#206): just after switching notebook tabs
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed()
#212): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed()
#215): those two really *should* match:
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed()
#216): wx.Notebook.GetSelection() (before switch) : 2
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed()
#217): EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmProviderInboxWidgets.py::repopulate_ui()
#846): called by notebook plugin API, skipping inbox loading
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
#152): just before switching notebook tabs
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
#160): event.GetOldSelection()=2* -> event.GetSelection()=3
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed()
#206): just after switching notebook tabs
2013-04-29 14:07:30 DEBUG gm.ui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed()
#212): event.GetOldSelection()=2 -> event.GetSelection()=3*
2013-04-29 14:07:36 WARNING gm.db
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmBusinessDBObject.py::__getitem__()
#413): [cPatient]: no attribute [match_type]
2013-04-29 14:07:36 WARNING gm.db
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmBusinessDBObject.py::__getitem__()
#414): [cPatient]: valid attributes: ['comment', 'pk_emergency_contact',
'pk_identity', 'pk_primary_provider', 'dob_is_estimated', 'karyotype',
'emergency_contact', 'title', 'l10n_marital_status', 'tob',
'pk_marital_status', 'pk_active_name', 'dob_only', 'preferred', 'firstnames',
'dob', 'gender', 'marital_status', 'xmin_identity', 'l10n_gender', 'cob',
'lastnames', 'pupic', 'deceased']
2013-04-29 14:07:36 WARNING gm.db
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmBusinessDBObject.py::__getitem__()
#415): [cPatient]: no getter method [get_match_type]
2013-04-29 14:07:37 DEBUG gm.gui
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
#196): unhandled exception caught:
Traceback (most recent call last):
File
"/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmPatSearchWidgets.py",
line 754, in __on_char
self._on_char(evt)
File
"/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmPatSearchWidgets.py",
line 1162, in _on_char
success = super(self.__class__, self)._on_char(evt)
File
"/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmPatSearchWidgets.py",
line 769, in _on_char
dlg.set_persons(persons = self.__prev_idents)
File
"/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/wxpython/gmPatSearchWidgets.py",
line 210, in set_persons
self._LCTRL_persons.SetStringItem(index = row_num, col = 7, label =
person['match_type'])
File
"/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmBusinessDBObject.py",
line 416, in __getitem__
methods = filter(lambda x: x[0].startswith('get_'),
inspect.getmembers(self, inspect.ismethod))
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py",
line 252, in getmembers
value = getattr(object, key)
File "/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/business/gmPerson.py",
line 844, in _get_export_tray
return gmExportTray.cExportTray(self.tray_dir_name)
NameError: global name 'gmExportTray' is not defined
2013-04-29 14:07:38 DEBUG gm.cfg
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmCfg2.py::get()
#391): option [internal::debug] found in source [internal]
2013-04-29 14:07:38 DEBUG gm.logging
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmLog2.py::log_stack_trace()
#148): stack trace follows:
2013-04-29 14:07:38 DEBUG gm.logging
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmLog2.py::log_stack_trace()
#149): (locals by frame, outmost frame first)
2013-04-29 14:07:38 DEBUG gm.logging
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmLog2.py::log_stack_trace()
#155): >>> execution frame [<module>] in [gnumed.py] at line 608 <<<
2013-04-29 14:07:38 DEBUG gm.logging
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmLog2.py::log_stack_trace()
#170): _known_short_options = h?V
2013-04-29 14:07:38 DEBUG gm.logging
(/Users/djb/Downloads/gnumed-client.1.3.3/Gnumed/pycommon/gmLog2.py::log_stack_trace()
#170): no_config_files =
GNUmed startup: Missing configuration files.
--------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnumed-bugs] Unhandled exception trying down-cursor inside patient search box,
Busser, Jim <=