gnumed-bugs
[Top][All Lists]
Advanced

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

[Gnumed-bugs] Unhandled exception creating new patient


From: Busser, Jim
Subject: [Gnumed-bugs] Unhandled exception creating new patient
Date: Sat, 5 Nov 2011 00:13:30 +0000

I had tried a postal 'Search' string

        v3n 5

and on finding no match advanced to the next fields 

        Postal code
        Street
        Number
        Unit

where I filled in values, while also leaving a value inside

        'Search' (the above-mentioned v3n 5)

however hopefully it was not necessary to clear out the unfruitful search 
because that makes more work.

Appended is just a short selection from the relevant area of the log but if you 
need more I can send it off list.

-- jim


2011-11-04 17:04:07  DEBUG     gm.person 
(/Users/djb/Downloads/gnumed-client.1.1.1/Gnumed/business/gmPersonSearch.py::_generate_queries_de()
 #362): [haya]: not a search term with a "suggestive" structure
2011-11-04 17:04:07  DEBUG     gm.person 
(/Users/djb/Downloads/gnumed-client.1.1.1/Gnumed/business/gmPersonSearch.py::_normalize_soundalikes()
 #151): [haya] -> [haya]
2011-11-04 17:04:07  DEBUG     gm.person 
(/Users/djb/Downloads/gnumed-client.1.1.1/Gnumed/business/gmPersonSearch.py::get_identities()
 #81): running {'cmd': u"\nSELECT DISTINCT ON (pk_identity) * from (\n\tselect 
* from ((\n\t\tselect vbp.*, %s::text as match_type from dem.v_basic_person 
vbp, dem.names n WHERE vbp.pk_identity = n.id_identity and lower(n.lastnames) 
~* lower(%s)\n\t) union all (\n\t\t-- first name\n\t\tselect vbp.*, %s::text as 
match_type from dem.v_basic_person vbp, dem.names n WHERE vbp.pk_identity = 
n.id_identity and lower(n.firstnames) ~* lower(%s)\n\t) union all (\n\t\t-- 
anywhere in name\n\t\tselect vbp.*, %s::text as match_type from 
dem.v_basic_person vbp, dem.names n WHERE vbp.pk_identity = n.id_identity and 
lower(n.firstnames || n.lastnames || coalesce(n.preferred, '')) ~* 
lower(%s)\n\t)) as super_list order by lastnames, firstnames, dob\n) as 
sorted_list", 'args': ['last name', u'^haya', 'first name', u'^haya', 'any name 
part', u'haya']}
2011-11-04 17:04:07  INFO      gm.person 
(/Users/djb/Downloads/gnumed-client.1.1.1/Gnumed/wxpython/gmPatSearchWidgets.py::_on_enter()
 #842): 0 matching person(s) found
2011-11-04 17:06:08  DEBUG     gm.gui 
(/Users/djb/Downloads/gnumed-client.1.1.1/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.1/Gnumed/wxpython/gmDemographicsWidgets.py",
 line 1768, in _on_leaving_unit
    self.__perhaps_invalidate_address_searcher(self._TCTRL_numbunit, 'subunit')
AttributeError: 'cNewPatientEAPnl' object has no attribute '_TCTRL_numbunit'
2011-11-04 17:06:08  DEBUG     gm.cfg 
(/Users/djb/Downloads/gnumed-client.1.1.1/Gnumed/pycommon/gmCfg2.py::get() 
#314): option [internal::debug] found in source [internal]
2011-11-04 17:06:08  DEBUG     gm.logging 
(/Users/djb/Downloads/gnumed-client.1.1.1/Gnumed/pycommon/gmLog2.py::log_stack_trace()
 #148): stack trace follows:
2011-11-04 17:06:08  DEBUG     gm.logging 
(/Users/djb/Downloads/gnumed-client.1.1.1/Gnumed/pycommon/gmLog2.py::log_stack_trace()
 #149): (locals by frame, outmost frame first)
2011-11-04 17:06:08  DEBUG     gm.logging 
(/Users/djb/Downloads/gnumed-client.1.1.1/Gnumed/pycommon/gmLog2.py::log_stack_trace()
 #155): >>> execution frame [<module>] in [gnumed.py] at line 549 <<<
2011-11-04 17:06:08  DEBUG     gm.logging 
(/Users/djb/Downloads/gnumed-client.1.1.1/Gnumed/pycommon/gmLog2.py::log_stack_trace()
 #170): _known_short_options = h?V
2011-11-04 17:06:08  DEBUG     gm.logging 
(/Users/djb/Downloads/gnumed-client.1.1.1/Gnumed/pycommon/gmLog2.py::log_stack_trace()
 #170):      no_config_files = 
GNUmed startup: Missing configuration files.
--------------------------------------------




reply via email to

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