gnumed-bugs
[Top][All Lists]
Advanced

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

[Gnumed-bugs] <bug>: 1


From: WeCa = any-doc
Subject: [Gnumed-bugs] <bug>: 1
Date: Fri, 24 Sep 2010 08:46:23 -0400

Report sent via GNUmed's handler for unexpected exceptions.

user comment  : 1

client version: 0.7.6

system account: devm
staff member  : Dr.Leonard Horatio McCoy (WeCa = any-doc)
sender email  : <Please supply your email address here !>

 # enable Launchpad bug tracking
 affects gnumed
 tag automatic-report
 importance medium

2010-09-24 22:38:52  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #231): -------- 
start of logging ------------------------------
2010-09-24 22:38:52  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #232): log file 
is </home/devm/.gnumed/gnumed-19676.log>
2010-09-24 22:38:52  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #233): log 
level is [DEBUG]
2010-09-24 22:38:52  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #234): log file 
encoding is <utf8>
2010-09-24 22:38:52  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #235): initial 
python.str -> python.unicode encoding is <ANSI_X3.4-1968>
2010-09-24 22:38:52  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #199): Starting up as 
main module ($Revision: 1.169 $).
2010-09-24 22:38:52  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #200): GNUmed client 
version [0.7.6] on branch [0.7]
2010-09-24 22:38:52  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #201): Platform: 
('Linux', 'devm-laptop', '2.6.32-24-generic', '#43-Ubuntu SMP Thu Sep 16 
14:58:24 UTC 2010', 'x86_64', '')
2010-09-24 22:38:52  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #202): Python 2.6.5 
(r265:79063, Apr 16 2010, 13:57:41) 
[GCC 4.4.3] on linux2 (posix)
2010-09-24 22:38:52  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #205): {'RELEASE': 
'10.04', 'CODENAME': 'lucid', 'ID': 'Ubuntu', 'DESCRIPTION': 'Ubuntu 10.04.1 
LTS'}
2010-09-24 22:38:52  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::<module>() #27): $Revision: 1.98 
$
2010-09-24 22:38:52  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::<module>() #19): $Revision: 1.20 $
2010-09-24 22:38:52  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #430): adding command 
line arguments
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #431): raw command line 
is:
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #432): 
['/usr/share/gnumed/Gnumed/gnumed.py']
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--debug] not 
in group [cli] in source [cli]
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--slave] not 
in group [cli] in source [cli]
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option 
[--skip-update-check] not in group [cli] in source [cli]
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--hipaa] not 
in group [cli] in source [cli]
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option 
[--local-import] not in group [cli] in source [cli]
2010-09-24 22:38:52  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::<module>() #61): $Revision: 1.50 $
2010-09-24 22:38:52  INFO      gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::<module>() #58): $Revision: 
1.34 $
2010-09-24 22:38:52  INFO      gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::<module>() #59): mx.DateTime 
version: 3.1.2
2010-09-24 22:38:52  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #34): $Revision: 1.18 
$
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): known hooks:
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
post_patient_activation
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
shutdown-post-GUI
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
startup-after-GUI-init
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
startup-before-GUI
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
request_user_attention
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
app_activated_startup
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): app_activated
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): app_deactivated
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
after_substance_intake_added
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
after_test_result_added
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
after_new_doc_created
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): before_print_doc
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): before_fax_doc
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): before_mail_doc
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
before_print_doc_part
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
before_fax_doc_part
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
before_mail_doc_part
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
before_external_doc_access
2010-09-24 22:38:52  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
db_maintenance_warning
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #123): 
unmodified startup locale settings (should be [C])
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #125): 
current locale settings:
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #126): 
locale.get_locale(): (None, None)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128): 
locale.get_locale(LC_NUMERIC): (None, None)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128): 
locale.get_locale(LC_MESSAGES): (None, None)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128): 
locale.get_locale(LC_MONETARY): (None, None)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128): 
locale.get_locale(LC_COLLATE): (None, None)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128): 
locale.get_locale(LC_CTYPE): (None, None)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128): 
locale.get_locale(LC_TIME): (None, None)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131): 
(locale.set_locale(LC_NUMERIC): C)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131): 
(locale.set_locale(LC_MESSAGES): C)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131): 
(locale.set_locale(LC_MONETARY): C)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131): 
(locale.set_locale(LC_COLLATE): C)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131): 
(locale.set_locale(LC_CTYPE): C)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131): 
(locale.set_locale(LC_ALL): C)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131): 
(locale.set_locale(LC_TIME): C)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #134): 
locale.getdefaultlocale() - default (user) locale: ('ru_RU', 'UTF8')
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #138): 
encoding sanity check (also check "locale.nl_langinfo(CODESET)" below):
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #143): 
sys.getdefaultencoding(): [ascii]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #144): 
locale.getpreferredencoding(): [ANSI_X3.4-1968]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #145): 
locale.getlocale()[1]: [None]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #146): 
sys.getfilesystemencoding(): [UTF-8]
2010-09-24 22:38:52  WARNING   gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #153): 
encoding suggested by locale (ANSI_X3.4-1968) does not match encoding currently 
set in locale (None)
2010-09-24 22:38:52  WARNING   gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #154): 
this might lead to encoding errors
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #159): 
<codecs> module CAN handle encoding [ANSI_X3.4-1968]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #159): 
<codecs> module CAN handle encoding [ascii]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #159): 
<codecs> module CAN handle encoding [UTF-8]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #162): on 
Linux you can determine a likely candidate for the encoding by running "locale 
charmap"
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #164): 
locale related environment variables (${LANG} is typically used):
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #169): 
${LANGUAGE} not set
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #169): 
${LC_ALL} not set
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #169): 
${LC_CTYPE} not set
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #167): 
${LANG}=ru_RU.UTF-8
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #171): 
database of locale conventions:
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(mon_decimal_point): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(int_frac_digits): 127
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(p_sep_by_space): 127
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(frac_digits): 127
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(thousands_sep): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(n_sign_posn): 127
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(decimal_point): .
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(int_curr_symbol): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(n_cs_precedes): 127
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(p_sign_posn): 127
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(mon_thousands_sep): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(negative_sign): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(currency_symbol): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(n_sep_by_space): 127
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(mon_grouping): []
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(p_cs_precedes): 127
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(positive_sign): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #175): 
locale.localeconv(grouping): []
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #190): 
locale.nl_langinfo(D_FMT): %m/%d/%y
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #190): 
locale.nl_langinfo(D_T_FMT): %a %b %e %H:%M:%S %Y
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #190): 
locale.nl_langinfo(YESEXPR): ^[yY]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #190): 
locale.nl_langinfo(ALT_DIGITS): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #190): 
locale.nl_langinfo(T_FMT_AMPM): %I:%M:%S %p
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #190): 
locale.nl_langinfo(RADIXCHAR): .
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #190): 
locale.nl_langinfo(ERA_D_FMT): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #190): 
locale.nl_langinfo(T_FMT): %H:%M:%S
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #190): 
locale.nl_langinfo(NOEXPR): ^[nN]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #190): 
locale.nl_langinfo(CRNCYSTR): -
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #190): 
locale.nl_langinfo(ERA): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #190): 
locale.nl_langinfo(CODESET): ANSI_X3.4-1968
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #190): 
locale.nl_langinfo(THOUSEP): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #190): 
locale.nl_langinfo(ERA_D_T_FMT): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::activate_locale() #230): 
activating user-default locale with <locale.setlocale(locale.LC_ALL, '')> 
returns: [ru_RU.UTF-8]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #123): 
locale settings after activating user-default locale
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #125): 
current locale settings:
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #126): 
locale.get_locale(): ('ru_RU', 'UTF8')
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128): 
locale.get_locale(LC_NUMERIC): ('ru_RU', 'UTF8')
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128): 
locale.get_locale(LC_MESSAGES): ('ru_RU', 'UTF8')
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128): 
locale.get_locale(LC_MONETARY): ('ru_RU', 'UTF8')
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128): 
locale.get_locale(LC_COLLATE): ('ru_RU', 'UTF8')
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128): 
locale.get_locale(LC_CTYPE): ('ru_RU', 'UTF8')
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #128): 
locale.get_locale(LC_TIME): ('ru_RU', 'UTF8')
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131): 
(locale.set_locale(LC_NUMERIC): ru_RU.UTF-8)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131): 
(locale.set_locale(LC_MESSAGES): ru_RU.UTF-8)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131): 
(locale.set_locale(LC_MONETARY): ru_RU.UTF-8)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131): 
(locale.set_locale(LC_COLLATE): ru_RU.UTF-8)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131): 
(locale.set_locale(LC_CTYPE): ru_RU.UTF-8)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131): 
(locale.set_locale(LC_ALL): ru_RU.UTF-8)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #131): 
(locale.set_locale(LC_TIME): ru_RU.UTF-8)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #134): 
locale.getdefaultlocale() - default (user) locale: ('ru_RU', 'UTF8')
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #138): 
encoding sanity check (also check "locale.nl_langinfo(CODESET)" below):
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #143): 
sys.getdefaultencoding(): [ascii]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #144): 
locale.getpreferredencoding(): [UTF-8]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #145): 
locale.getlocale()[1]: [UTF8]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #146): 
sys.getfilesystemencoding(): [UTF-8]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #159): 
<codecs> module CAN handle encoding [UTF-8]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #159): 
<codecs> module CAN handle encoding [UTF8]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #159): 
<codecs> module CAN handle encoding [ascii]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #159): 
<codecs> module CAN handle encoding [UTF-8]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #162): on 
Linux you can determine a likely candidate for the encoding by running "locale 
charmap"
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #164): 
locale related environment variables (${LANG} is typically used):
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #169): 
${LANGUAGE} not set
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #169): 
${LC_ALL} not set
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #169): 
${LC_CTYPE} not set
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #167): 
${LANG}=ru_RU.UTF-8
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #171): 
database of locale conventions:
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
locale.localeconv(mon_decimal_point): .
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
locale.localeconv(int_frac_digits): 2
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
locale.localeconv(p_sep_by_space): 1
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
locale.localeconv(frac_digits): 2
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #180): 
locale.localeconv(thousands_sep):  
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
locale.localeconv(n_sign_posn): 1
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
locale.localeconv(decimal_point): ,
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
locale.localeconv(int_curr_symbol): RUB 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
locale.localeconv(n_cs_precedes): 0
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
locale.localeconv(p_sign_posn): 1
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #180): 
locale.localeconv(mon_thousands_sep):  
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
locale.localeconv(negative_sign): -
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #180): 
locale.localeconv(currency_symbol): руб
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
locale.localeconv(n_sep_by_space): 1
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
locale.localeconv(mon_grouping): [3, 3, 0]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
locale.localeconv(p_cs_precedes): 0
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
locale.localeconv(positive_sign): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
locale.localeconv(grouping): [3, 3, 0]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #193): 
locale.nl_langinfo(D_FMT): %d.%m.%Y
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #193): 
locale.nl_langinfo(D_T_FMT): %a %d %b %Y %T
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #195): 
locale.nl_langinfo(YESEXPR): ^[ДдYy].*
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #193): 
locale.nl_langinfo(ALT_DIGITS): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #193): 
locale.nl_langinfo(T_FMT_AMPM): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #193): 
locale.nl_langinfo(RADIXCHAR): ,
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #193): 
locale.nl_langinfo(ERA_D_FMT): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #193): 
locale.nl_langinfo(T_FMT): %T
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #195): 
locale.nl_langinfo(NOEXPR): ^[НнNn].*
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #195): 
locale.nl_langinfo(CRNCYSTR): +руб
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #193): 
locale.nl_langinfo(ERA): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #193): 
locale.nl_langinfo(CODESET): UTF-8
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #195): 
locale.nl_langinfo(THOUSEP):  
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #193): 
locale.nl_langinfo(ERA_D_T_FMT): 
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__split_locale_into_levels() 
#96): splitting canonical locale [ru_RU] into levels
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__split_locale_into_levels() 
#105): system locale levels: {'country': 'ru_RU', 'full': 'ru_RU', 'language': 
'ru'}
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option 
[--text-domain] not in group [cli] in source [cli]
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option 
[--lang-gettext] not in group [cli] in source [cli]
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::local-import] found in source [internal]
2010-09-24 22:38:52  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #259): domain 
not specified, deriving from script name
2010-09-24 22:38:52  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #262): text 
domain is [gnumed]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #265): searching 
message catalog file for system locale [ru_RU]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #272): 
${LANGUAGE} = [None]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #272): ${LC_ALL} 
= [None]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #272): 
${LC_MESSAGES} = [None]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #272): ${LANG} = 
[ru_RU.UTF-8]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #299): system is 
POSIX, looking in standard locations (see Python Manual)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #308): looking 
at ${GNUMED_DIR}
2010-09-24 22:38:52  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #314): 
${GNUMED_DIR} not set
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #323): looking 
above binary install directory [/usr/share/gnumed/locale]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #327): looking 
in binary install directory [/usr/share/gnumed/Gnumed/locale]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #332): trying 
[/usr/share/locale](/ru_RU/LC_MESSAGES/gnumed.mo)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #343): does not 
translate: [Translate this or i18n will not work properly !] => [Translate this 
or i18n will not work properly !]
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #332): trying 
[/usr/share/gnumed/locale](/ru_RU/LC_MESSAGES/gnumed.mo)
2010-09-24 22:38:52  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #332): trying 
[/usr/share/gnumed/Gnumed/locale](/ru_RU/LC_MESSAGES/gnumed.mo)
2010-09-24 22:38:52  WARNING   gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #354): falling 
back to NullTranslations() class
2010-09-24 22:38:52  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::set_string_encoding() #195): 
setting python.str -> python.unicode encoding to <UTF8> (locale.getlocale)
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--help] not 
in group [cli] in source [cli]
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [-h] not in 
group [cli] in source [cli]
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [-?] not in 
group [cli] in source [cli]
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--version] 
not in group [cli] in source [cli]
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [-V] not in 
group [cli] in source [cli]
2010-09-24 22:38:52  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #241): wxPython not 
available
2010-09-24 22:38:52  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #242): detecting 
paths directly
2010-09-24 22:38:52  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #248): app name 
passed in as [gnumed]
2010-09-24 22:38:52  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #318): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2010-09-24 22:38:52  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #319): local 
application base dir: /usr/share/gnumed/Gnumed
2010-09-24 22:38:52  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #320): current 
working dir: /home/devm
2010-09-24 22:38:52  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #322): user home 
dir: /home/devm
2010-09-24 22:38:52  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #323): 
user-specific config dir: /home/devm/.gnumed
2010-09-24 22:38:52  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #324): system-wide 
config dir: /etc/gnumed
2010-09-24 22:38:52  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #325): system-wide 
application data dir: /usr/share/gnumed
2010-09-24 22:38:52  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #122): 
mx.DateTime.now(): [2010-09-24 22:38:52.69]
2010-09-24 22:38:52  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #123): datetime.now()  
 : [2010-09-24 22:38:52.697244]
2010-09-24 22:38:52  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #124): 
time.localtime() : [time.struct_time(tm_year=2010, tm_mon=9, tm_mday=24, 
tm_hour=22, tm_min=38, tm_sec=52, tm_wday=4, tm_yday=267, tm_isdst=1)]
2010-09-24 22:38:52  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #125): time.gmtime()   
 : [time.struct_time(tm_year=2010, tm_mon=9, tm_mday=24, tm_hour=12, tm_min=38, 
tm_sec=52, tm_wday=4, tm_yday=267, tm_isdst=0)]
2010-09-24 22:38:52  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #130): $TZ not defined
2010-09-24 22:38:52  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #132): time.daylight: 
[1] (whether or not DST is locally used at all)
2010-09-24 22:38:52  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #133): time.timezone: 
[-32400] seconds
2010-09-24 22:38:52  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #134): time.altzone : 
[-36000] seconds
2010-09-24 22:38:52  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #135): time.tzname  : 
[YAKT / YAKST] (non-DST / DST)
2010-09-24 22:38:52  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #136): 
mx.DateTime.now().gmtoffset(): [10:00:00,00]
2010-09-24 22:38:52  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #149): DST currently 
in effect: [True]
2010-09-24 22:38:52  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #158): DST currently 
in effect: using UTC offset of [36000] seconds instead of [32400] seconds
2010-09-24 22:38:52  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #164): UTC offset is 
positive, assuming EAST of Greenwich (clock is "ahead")
2010-09-24 22:38:52  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #172): ISO timezone: 
[10:00:00,00] (taken from mx.DateTime.now().gmtoffset())
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--conf-file] 
not in group [cli] in source [cli]
2010-09-24 22:38:52  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "workbase": /home/devm/gnumed.conf (UTF8)
2010-09-24 22:38:52  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #381): cannot 
open [/home/devm/gnumed.conf], keeping as dummy source
2010-09-24 22:38:52  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "system": /etc/gnumed/gnumed-client.conf (UTF8)
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::parse_INI_stream() #197): parsing 
INI-style data stream [<open file u'/etc/gnumed/gnumed-client.conf', mode 'rb' 
at 0x265c6f0>]
2010-09-24 22:38:52  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "user": /home/devm/.gnumed/gnumed.conf (UTF8)
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::parse_INI_stream() #197): parsing 
INI-style data stream [<open file u'/home/devm/.gnumed/gnumed.conf', mode 'rb' 
at 0x265c6f0>]
2010-09-24 22:38:52  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "local": /usr/share/gnumed/Gnumed/gnumed.conf (UTF8)
2010-09-24 22:38:52  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #381): cannot 
open [/usr/share/gnumed/Gnumed/gnumed.conf], keeping as dummy source
2010-09-24 22:38:52  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "explicit": None (UTF8)
2010-09-24 22:38:52  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #373): file 
[None] already known as source [workbase]
2010-09-24 22:38:52  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #374): adding 
it as source [explicit] may provoke trouble
2010-09-24 22:38:52  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #373): file 
[None] already known as source [local]
2010-09-24 22:38:52  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #374): adding 
it as source [explicit] may provoke trouble
2010-09-24 22:38:52  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "user-mime": /home/devm/.gnumed/mime_type2file_extension.conf (UTF8)
2010-09-24 22:38:52  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #381): cannot 
open [/home/devm/.gnumed/mime_type2file_extension.conf], keeping as dummy source
2010-09-24 22:38:52  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "system-mime": /etc/gnumed/mime_type2file_extension.conf (UTF8)
2010-09-24 22:38:52  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #381): cannot 
open [/etc/gnumed/mime_type2file_extension.conf], keeping as dummy source
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--ui] not in 
group [cli] in source [cli]
2010-09-24 22:38:52  DEBUG     gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_ui_type() #439): UI type: wxp
2010-09-24 22:38:52  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmLoginInfo.py::<module>() #13): $Revision: 
1.17 $
2010-09-24 22:38:52  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #29): $Revision: 1.127 $
2010-09-24 22:38:52  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #41): psycopg2 version: 
2.0.13 (dt dec mx ext pq3)
2010-09-24 22:38:52  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #42): PostgreSQL via 
DB-API module "<module 'psycopg2' from 
'/usr/lib/python2.6/dist-packages/psycopg2/__init__.pyc'>": API level 2.0, 
thread safety 2, parameter style "pyformat"
2010-09-24 22:38:52  DEBUG     psycopg2 
(/usr/lib/python2.6/dist-packages/psycopg2/pool.py::<module>() #34): installed. 
Logging using Python logging module
2010-09-24 22:38:52  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #69): assuming default 
client encoding of [UTF8]
2010-09-24 22:38:52  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_backend() #442): client expects 
database version [v13]
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [client 
timezone] not in group [backend] in source [explicit]
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [client 
timezone] not in group [backend] in source [workbase]
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [client 
timezone] not in group [backend] in source [local]
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [client 
timezone] not in group [backend] in source [user]
2010-09-24 22:38:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [client 
timezone] not in group [backend] in source [system]
2010-09-24 22:38:52  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#602): appending to sys.path: [/home/devm/.gnumed/scripts]
2010-09-24 22:38:52  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#606): will remove import path: True
2010-09-24 22:38:52  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#619): imported module [hook_script] as [<module 'hook_script' from 
'/home/devm/.gnumed/scripts/hook_script.pyc'>]
2010-09-24 22:38:52  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #136): hook 
script: /home/devm/.gnumed/scripts/hook_script.py
2010-09-24 22:38:53  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg.py::<module>() #39): $Revision: 1.60 $
2010-09-24 22:38:53  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::<module>() #14): $Revision: 
1.13 $
2010-09-24 22:38:53  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::<module>() #20): 
$Revision: 1.22 $
2010-09-24 22:38:53  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py::<module>() #143): 
$Revision: 1.60 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/pycommon/gmMatchProvider.py::<module>() #21): 
$Revision: 1.34 $
2010-09-24 22:38:53  INFO      gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::<module>() #23): $Revision: 
1.27 $
2010-09-24 22:38:53  INFO      gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::<module>() #19): $Revision: 
1.118 $
2010-09-24 22:38:53  INFO      gm.business 
(/usr/share/gnumed/Gnumed/business/gmDemographicRecord.py::<module>() #29): 
$Revision: 1.106 $
2010-09-24 22:38:53  INFO      gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::<module>() #17): $Revision: 
1.34 $
2010-09-24 22:38:53  INFO      gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinNarrative.py::<module>() #22): 
$Revision: 1.45 $
2010-09-24 22:38:53  INFO      gm.emr 
(/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py::<module>() #20): 
$Revision: 1.157 $
2010-09-24 22:38:53  INFO      gm.lab 
(/usr/share/gnumed/Gnumed/business/gmPathLab.py::<module>() #23): $Revision: 
1.81 $
2010-09-24 22:38:53  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #93): unknown 
signal [test_result_mod_db]
2010-09-24 22:38:53  INFO      gm.atc 
(/usr/share/gnumed/Gnumed/business/gmATC.py::<module>() #23): $Revision: 1.7 $
2010-09-24 22:38:53  INFO      gm.meds 
(/usr/share/gnumed/Gnumed/business/gmMedication.py::<module>() #21): $Revision: 
1.21 $
2010-09-24 22:38:53  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #93): unknown 
signal [substance_intake_mod_db]
2010-09-24 22:38:53  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::<module>() #48): 
$Revision: 1.308 $
2010-09-24 22:38:53  INFO      gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::<module>() #27): $Revision: 
1.198 $
2010-09-24 22:38:53  INFO      gm.export 
(/usr/share/gnumed/Gnumed/exporters/gmPatientExporter.py::<module>() #32): 
$Revision: 1.138 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmPlugin.py::<module>() #24): $Revision: 
1.85 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmPatPicWidgets.py::<module>() #25): 
$Revision: 1.33 $
2010-09-24 22:38:53  INFO      gm.kvk 
(/usr/share/gnumed/Gnumed/business/gmKVK.py::<module>() #29): $Revision: 1.22 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmDataMiningWidgets.py::<module>() #29): 
$Revision: 1.14 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py::<module>() #21): $Revision: 
1.135 $
2010-09-24 22:38:53  INFO      gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::<module>() 
#22): $Revision: 1.17 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::<module>() #29): 
$Revision: 1.45 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmCfgWidgets.py::<module>() #25): $Revision: 
1.4 $
2010-09-24 22:38:53  INFO      gm.person 
(/usr/share/gnumed/Gnumed/wxpython/gmPatSearchWidgets.py::<module>() #34): 
$Revision: 1.132 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAllergyWidgets.py::<module>() #23): 
$Revision: 1.36 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmTopPanel.py::<module>() #22): $Revision: 
1.106 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::<module>() #34): $Revision: 
1.47 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py::<module>() #37): 
$Revision: 1.114 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmResizingWidgets.py::<module>() #23): 
$Revision: 1.55 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmSOAPWidgets.py::<module>() #24): 
$Revision: 1.114 $
2010-09-24 22:38:53  INFO      gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::<module>() #25): $Revision: 1.79 
$
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmDocumentWidgets.py::<module>() #22): 
$Revision: 1.187 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py::<module>() #26): 
$Revision: 1.46 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmEMRBrowser.py::<module>() #24): $Revision: 
1.111 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmStaffWidgets.py::<module>() #25): 
$Revision: 1.27 $
2010-09-24 22:38:53  INFO      gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::<module>() #25): $Revision: 
1.4 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmFormWidgets.py::<module>() #22): 
$Revision: 1.16 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::<module>() #24): 
$Revision: 1.48 $
2010-09-24 22:38:53  INFO      gm.loinc 
(/usr/share/gnumed/Gnumed/business/gmLOINC.py::<module>() #23): $Revision: 1.7 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmMeasurementWidgets.py::<module>() #24): 
$Revision: 1.66 $
2010-09-24 22:38:53  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmMedicationWidgets.py::<module>() #24): 
$Revision: 1.33 $
2010-09-24 22:38:53  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::<module>() #76): $Revision: 
1.491 $
2010-09-24 22:38:53  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::<module>() #77): wxPython GUI 
framework: 2.8.10.1 ('__WXGTK__', 'wxGTK', 'unicode', 'gtk2', 
'wx-assertions-off', 'SWIG-1.3.29')
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--profile] 
not in group [cli] in source [cli]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [workplace] in source [explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [workplace] in source [workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [workplace] in source [local]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [workplace] in source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[workplace::help desk] found in source [system]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::client_version] found in source [internal]
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #242): detecting 
paths directly
2010-09-24 22:38:53  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #248): app name 
passed in as [gnumed]
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #318): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #319): local 
application base dir: /usr/share/gnumed/Gnumed
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #320): current 
working dir: /home/devm
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #322): user home 
dir: /home/devm
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #323): 
user-specific config dir: /home/devm/.gnumed
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #324): system-wide 
config dir: /etc/gnumed
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #325): system-wide 
application data dir: /usr/share/gnumed
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #284): re-detecting 
paths with wxPython
2010-09-24 22:38:53  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #287): wxPython app 
name is [gnumed]
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #318): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #319): local 
application base dir: /usr/share/gnumed/Gnumed
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #320): current 
working dir: /home/devm
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #322): user home 
dir: /home/devm
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #323): 
user-specific config dir: /home/devm/.gnumed
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #324): system-wide 
config dir: /etc/gnumed
2010-09-24 22:38:53  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #325): system-wide 
application data dir: /usr/share/gnumed
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--conf-file] 
not in group [cli] in source [cli]
2010-09-24 22:38:53  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::__setup_prefs_file() #2772): 
user preferences file: /home/devm/.gnumed/gnumed.conf
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [user email] 
not in group [preferences] in source [explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [user email] 
not in group [preferences] in source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [user email] 
not in group [preferences] in source [local]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [user email] 
not in group [preferences] in source [workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [user email] 
not in group [preferences] in source [system]
2010-09-24 22:38:53  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::__setup_platform() #2847): 
running on GTK (probably Linux)
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option 
[--override-schema-check] not in group [cli] in source [cli]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::client_branch] found in source [internal]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::client_version] found in source [internal]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [name] not in 
group [workplace] in source [explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [name] not in 
group [workplace] in source [workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [name] not in 
group [workplace] in source [local]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [name] not in 
group [workplace] in source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[workplace::name] found in source [system]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [profiles] 
not in group [backend] in source [explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[backend::profiles] found in source [system]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [profiles] 
not in group [backend] in source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [profiles] 
not in group [backend] in source [workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [host] not in 
group [profile GNUmed database on this machine] in source [explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [host] not in 
group [profile GNUmed database on this machine] in source [workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [host] not in 
group [profile GNUmed database on this machine] in source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
GNUmed database on this machine::host] found in source [system]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [port] not in 
group [profile GNUmed database on this machine] in source [explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [port] not in 
group [profile GNUmed database on this machine] in source [workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [port] not in 
group [profile GNUmed database on this machine] in source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
GNUmed database on this machine::port] found in source [system]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [database] 
not in group [profile GNUmed database on this machine] in source [explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [database] 
not in group [profile GNUmed database on this machine] in source [workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [database] 
not in group [profile GNUmed database on this machine] in source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
GNUmed database on this machine::database] found in source [system]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [encoding] 
not in group [profile GNUmed database on this machine] in source [explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [encoding] 
not in group [profile GNUmed database on this machine] in source [workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [encoding] 
not in group [profile GNUmed database on this machine] in source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [encoding] 
not in group [profile GNUmed database on this machine] in source [system]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [public/open 
access] not in group [profile GNUmed database on this machine] in source 
[explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [public/open 
access] not in group [profile GNUmed database on this machine] in source 
[workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [public/open 
access] not in group [profile GNUmed database on this machine] in source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
GNUmed database on this machine::public/open access] found in source [system]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [profile GNUmed database on this machine] in source [explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [profile GNUmed database on this machine] in source [workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [profile GNUmed database on this machine] in source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
GNUmed database on this machine::help desk] found in source [system]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [host] not in 
group [profile public GNUmed database at salaam.homeunix.com] in source 
[explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [host] not in 
group [profile public GNUmed database at salaam.homeunix.com] in source 
[workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [host] not in 
group [profile public GNUmed database at salaam.homeunix.com] in source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
public GNUmed database at salaam.homeunix.com::host] found in source [system]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [port] not in 
group [profile public GNUmed database at salaam.homeunix.com] in source 
[explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [port] not in 
group [profile public GNUmed database at salaam.homeunix.com] in source 
[workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [port] not in 
group [profile public GNUmed database at salaam.homeunix.com] in source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
public GNUmed database at salaam.homeunix.com::port] found in source [system]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [database] 
not in group [profile public GNUmed database at salaam.homeunix.com] in source 
[explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [database] 
not in group [profile public GNUmed database at salaam.homeunix.com] in source 
[workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [database] 
not in group [profile public GNUmed database at salaam.homeunix.com] in source 
[user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
public GNUmed database at salaam.homeunix.com::database] found in source 
[system]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [encoding] 
not in group [profile public GNUmed database at salaam.homeunix.com] in source 
[explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [encoding] 
not in group [profile public GNUmed database at salaam.homeunix.com] in source 
[workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [encoding] 
not in group [profile public GNUmed database at salaam.homeunix.com] in source 
[user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [encoding] 
not in group [profile public GNUmed database at salaam.homeunix.com] in source 
[system]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [public/open 
access] not in group [profile public GNUmed database at salaam.homeunix.com] in 
source [explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [public/open 
access] not in group [profile public GNUmed database at salaam.homeunix.com] in 
source [workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [public/open 
access] not in group [profile public GNUmed database at salaam.homeunix.com] in 
source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
public GNUmed database at salaam.homeunix.com::public/open access] found in 
source [system]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [profile public GNUmed database at salaam.homeunix.com] in source 
[explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [profile public GNUmed database at salaam.homeunix.com] in source 
[workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [profile public GNUmed database at salaam.homeunix.com] in source 
[user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
public GNUmed database at salaam.homeunix.com::help desk] found in source 
[system]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [logins] not 
in group [backend] in source [explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [logins] not 
in group [backend] in source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [logins] not 
in group [backend] in source [workbase]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [login] not 
in group [preferences] in source [explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[preferences::login] found in source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [profile] not 
in group [preferences] in source [explicit]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[preferences::profile] found in source [user]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2010-09-24 22:38:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::slave] found in source [internal]
2010-09-24 22:38:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::connect_to_database() 
#118): login attempt 1 of 3
2010-09-24 22:38:56  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::__on_login_button_pressed()
 #701): debug mode disabled
2010-09-24 22:38:56  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--quiet] not 
in group [cli] in source [cli]
2010-09-24 22:38:59  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::__validate_timezone() #211): time 
zone [YAKST] is not settable
2010-09-24 22:39:08  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::sanity_check_database_settings() 
#1444): PG option [log_connections] set to [off], expected [on], risk: 
<non-compliance with HIPAA>
2010-09-24 22:39:08  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::sanity_check_database_settings() 
#1444): PG option [log_disconnections] set to [off], expected [on], risk: 
<non-compliance with HIPAA>
2010-09-24 22:39:21  ERROR     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmPlugin.py::__gm_import() #261): Cannot 
__import__() module [Gnumed.wxpython.gui.gmTimelinePlugin].
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmPlugin.py", line 259, in __gm_import
    mod = __import__(module_name)
ImportError: No module named gmTimelinePlugin
2010-09-24 22:39:21  ERROR     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::__load_plugins() #129): 
failed to load plugin gmTimelinePlugin
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py", line 121, in 
__load_plugins
    plugin = gmPlugin.instantiate_plugin('gui', curr_plugin)
  File "/usr/share/gnumed/Gnumed/wxpython/gmPlugin.py", line 295, in 
instantiate_plugin
    plugin_class = module_from_package.__dict__[plugin_name]
AttributeError: 'NoneType' object has no attribute '__dict__'
2010-09-24 22:39:21  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #93): unknown 
signal [message_inbox_generic_mod_db]
2010-09-24 22:41:54  CRITICAL  gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py::refetch_payload() 
#360): [cIdentity:498]: cannot reload, payload changed
2010-09-24 22:45:18  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1103): error 
running RW query
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1101, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.6/dist-packages/psycopg2/extras.py", line 110, in 
execute
    return _cursor.execute(self, query, vars, async)
IntegrityError: null value in column "fk_episode" violates not-null constraint

2010-09-24 22:45:18  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #97): enabling debug mode
2010-09-24 22:45:18  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #101): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py", line 253, in 
_on_save_button_pressed
    if self._PNL_ea.save():
  File "/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py", line 148, in save
    if self._save_as_new():
  File "/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py", line 441, in 
_save_as_new
    episode = self._PRW_episode.GetData(can_create = True)
  File "/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py", line 1380, in 
create_hospital_stay
    rows, idx = gmPG2.run_rw_queries(queries = queries, return_data = True)
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1101, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.6/dist-packages/psycopg2/extras.py", line 110, in 
execute
    return _cursor.execute(self, query, vars, async)
IntegrityError: null value in column "fk_episode" violates not-null constraint

2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #150): stack 
trace follows:
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #151): (locals 
by frame, outmost frame first)
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.6/runpy.py] at line 
122 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  set_argv0 = 1
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       code = <code object <module> at 0x7ff8187afbe8, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   mod_name = Gnumed.gnumed
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     loader = <pkgutil.ImpLoader instance at 0x7ff8187ac908>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   pkg_name = Gnumed
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
main_globals = {'_known_short_options': u'h?V', 'no_config_files': u'\nGNUmed 
startup: Missing configuration 
files.\n--------------------------------------------\n\nNone of the below 
candidate configuration\nfiles could be found:\n\n %s\n\nCannot run GNUmed 
without any of them.\n', 'gmI18N': <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.pyc'>, '_known_ui_types': [u'web', 
u'wxp'], 'current_client_version': u'0.7.6', '_known_long_options': [u'debug', 
u'slave', u'skip-update-check', u'profile=', u'text-domain=', u'log-file=', 
u'conf-file=', u'lang-gettext=', u'ui=', u'override-schema-check', 
u'local-import', u'help', u'version', u'hipaa'], 'setup_signal_handlers': 
<function setup_signal_handlers at 0x7ff818729aa0>, 'setup_cli': <function 
setup_cli at 0x7ff8187299b0>, '_old_sig_term': None, '__loader__': 
<pkgutil.ImpLoader instance at 0x7ff8187ac908>, 'gmLog2': <module 
'Gnumed.pycommon.gmLog2' from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.pyc'>, 
'gmGuiMain': <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.pyc'>, 'current_client_branch': 
u'0.7', 'setup_logging': <function setup_logging at 0x2387ed8>, 
'setup_ui_type': <function setup_ui_type at 0x7ff818729de8>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.6/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.pyc'>, 'handle_version_request': 
<function handle_version_request at 0x7ff818729c08>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__version__': '$Revision: 1.169 $', '__doc__': 'GNUmed 
client launcher.\n\nThis is the launcher for the GNUmed GUI client. It 
takes\ncare of all the pre- and post-GUI runtime environment 
setup.\n\n--quiet\n Be extra quiet and show only _real_ errors in the 
log.\n--debug\n Pre-set the [debug mode] checkbox in the login dialog to\n 
increase verbosity in the log file. Useful for, well, debugging :-)\n--slave\n 
Pre-set the [enable remote control] checkbox in the login\n dialog to enable 
the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA functionality which 
has user impact.\n--profile=<file>\n Activate profiling and write profile data 
to <file>.\n--text-domain=<text domain>\n Set this to change the name of the 
language file to be loaded.\n Note, this does not change the directory the file 
is searched in,\n only the name of the file where messages are loaded from. 
The\n standard textdomain is, of course, "gnumed.mo".\n--log-file=<file>\n Use 
this to change the name of the log file.\n See gmLog2.py to find out where the 
standard log file would\n end up.\n--conf-file=<file>\n Use configuration file 
<file> instead of searching for it in\n standard 
locations.\n--lang-gettext=<language>\n Explicitly set the language to use in 
gettext translation. The very\n same effect can be achieved by setting the 
environment variable $LANG\n from a launcher script.\n--override-schema-check\n 
Continue loading the client even if the database schema version\n and the 
client software version cannot be verified to be 
compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: web (CherryPy), wxp 
(wxPython)\n--version, -V\n Show version information.\n--help, -h, or -?\n Show 
this help.\n', 'setup_paths_and_files': <function setup_paths_and_files at 
0x7ff818729c80>, 'ui_type': 'wxp', 'setup_locale': <function setup_locale at 
0x7ff818729b18>, 'profile_file': None, '__license__': 'GPL (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7ff81871e6e0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_date_time': <function 
setup_date_time at 0x7ff818729cf8>, '__author__': 'H. Herb <address@hidden>, K. 
Hilbert <address@hidden>, I. Haywood <address@hidden>', 'sys': <module 'sys' 
(built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.pyc'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.pyc'>, '_log': <logging.Logger 
instance at 0x7ff818723d88>, '__name__': '__main__', 'gmPG2': <module 
'Gnumed.pycommon.gmPG2' from '/usr/share/gnumed/Gnumed/pycommon/gmPG2.pyc'>, 
'shutdown_backend': <function shutdown_backend at 0x7ff818729ed8>, 
'handle_sig_term': <function handle_sig_term at 0x7ff818729a28>, 
'import_error_sermon': '\nGNUmed startup: Cannot load GNUmed Python modules 
!\n---------------------------------------------------\nCRITICAL ERROR: Program 
halted.\n\nPlease make sure you have:\n\n 1) the required third-party Python 
modules installed\n 2) the GNUmed Python modules linked or installed into 
site-packages/\n    (if you do not run from a CVS tree the installer should 
have taken care of that)\n 3) your PYTHONPATH environment variable set up 
correctly\n\nsys.path is currently set to:\n\n %s\n\nIf you are running from a 
copy of the CVS tree make sure you\ndid run gnumed/check-prerequisites.sh with 
good results.\n\nIf you still encounter errors after checking the 
above\nrequirements please ask on the mailing list.\n', 'setup_backend': 
<function setup_backend at 0x7ff818729e60>, 'logging': <module 'logging' from 
'/usr/lib/python2.6/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7ff818729d70>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7ff818729938>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7ff818729f50>, 
'handle_help_request': <function handle_help_request at 0x7ff818729b90>, 
'_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2427f10>, 
'setup_python_path': <function setup_python_path at 0x7ff818725398>, 'os': 
<module 'os' from '/usr/lib/python2.6/os.pyc'>}
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_run_code] in [/usr/lib/python2.6/runpy.py] at line 34 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7ff8187ac908>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       code = <code object <module> at 0x7ff8187afbe8, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
run_globals = {'_known_short_options': u'h?V', 'no_config_files': u'\nGNUmed 
startup: Missing configuration 
files.\n--------------------------------------------\n\nNone of the below 
candidate configuration\nfiles could be found:\n\n %s\n\nCannot run GNUmed 
without any of them.\n', 'gmI18N': <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.pyc'>, '_known_ui_types': [u'web', 
u'wxp'], 'current_client_version': u'0.7.6', '_known_long_options': [u'debug', 
u'slave', u'skip-update-check', u'profile=', u'text-domain=', u'log-file=', 
u'conf-file=', u'lang-gettext=', u'ui=', u'override-schema-check', 
u'local-import', u'help', u'version', u'hipaa'], 'setup_signal_handlers': 
<function setup_signal_handlers at 0x7ff818729aa0>, 'setup_cli': <function 
setup_cli at 0x7ff8187299b0>, '_old_sig_term': None, '__loader__': 
<pkgutil.ImpLoader instance at 0x7ff8187ac908>, 'gmLog2': <module 
'Gnumed.pycommon.gmLog2' from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.pyc'>, 
'gmGuiMain': <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.pyc'>, 'current_client_branch': 
u'0.7', 'setup_logging': <function setup_logging at 0x2387ed8>, 
'setup_ui_type': <function setup_ui_type at 0x7ff818729de8>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.6/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.pyc'>, 'handle_version_request': 
<function handle_version_request at 0x7ff818729c08>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__version__': '$Revision: 1.169 $', '__doc__': 'GNUmed 
client launcher.\n\nThis is the launcher for the GNUmed GUI client. It 
takes\ncare of all the pre- and post-GUI runtime environment 
setup.\n\n--quiet\n Be extra quiet and show only _real_ errors in the 
log.\n--debug\n Pre-set the [debug mode] checkbox in the login dialog to\n 
increase verbosity in the log file. Useful for, well, debugging :-)\n--slave\n 
Pre-set the [enable remote control] checkbox in the login\n dialog to enable 
the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA functionality which 
has user impact.\n--profile=<file>\n Activate profiling and write profile data 
to <file>.\n--text-domain=<text domain>\n Set this to change the name of the 
language file to be loaded.\n Note, this does not change the directory the file 
is searched in,\n only the name of the file where messages are loaded from. 
The\n standard textdomain is, of course, "gnumed.mo".\n--log-file=<file>\n Use 
this to change the name of the log file.\n See gmLog2.py to find out where the 
standard log file would\n end up.\n--conf-file=<file>\n Use configuration file 
<file> instead of searching for it in\n standard 
locations.\n--lang-gettext=<language>\n Explicitly set the language to use in 
gettext translation. The very\n same effect can be achieved by setting the 
environment variable $LANG\n from a launcher script.\n--override-schema-check\n 
Continue loading the client even if the database schema version\n and the 
client software version cannot be verified to be 
compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: web (CherryPy), wxp 
(wxPython)\n--version, -V\n Show version information.\n--help, -h, or -?\n Show 
this help.\n', 'setup_paths_and_files': <function setup_paths_and_files at 
0x7ff818729c80>, 'ui_type': 'wxp', 'setup_locale': <function setup_locale at 
0x7ff818729b18>, 'profile_file': None, '__license__': 'GPL (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7ff81871e6e0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_date_time': <function 
setup_date_time at 0x7ff818729cf8>, '__author__': 'H. Herb <address@hidden>, K. 
Hilbert <address@hidden>, I. Haywood <address@hidden>', 'sys': <module 'sys' 
(built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.pyc'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.pyc'>, '_log': <logging.Logger 
instance at 0x7ff818723d88>, '__name__': '__main__', 'gmPG2': <module 
'Gnumed.pycommon.gmPG2' from '/usr/share/gnumed/Gnumed/pycommon/gmPG2.pyc'>, 
'shutdown_backend': <function shutdown_backend at 0x7ff818729ed8>, 
'handle_sig_term': <function handle_sig_term at 0x7ff818729a28>, 
'import_error_sermon': '\nGNUmed startup: Cannot load GNUmed Python modules 
!\n---------------------------------------------------\nCRITICAL ERROR: Program 
halted.\n\nPlease make sure you have:\n\n 1) the required third-party Python 
modules installed\n 2) the GNUmed Python modules linked or installed into 
site-packages/\n    (if you do not run from a CVS tree the installer should 
have taken care of that)\n 3) your PYTHONPATH environment variable set up 
correctly\n\nsys.path is currently set to:\n\n %s\n\nIf you are running from a 
copy of the CVS tree make sure you\ndid run gnumed/check-prerequisites.sh with 
good results.\n\nIf you still encounter errors after checking the 
above\nrequirements please ask on the mailing list.\n', 'setup_backend': 
<function setup_backend at 0x7ff818729e60>, 'logging': <module 'logging' from 
'/usr/lib/python2.6/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7ff818729d70>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7ff818729938>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7ff818729f50>, 
'handle_help_request': <function handle_help_request at 0x7ff818729b90>, 
'_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2427f10>, 
'setup_python_path': <function setup_python_path at 0x7ff818725398>, 'os': 
<module 'os' from '/usr/lib/python2.6/os.pyc'>}
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
init_globals = None
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   pkg_name = Gnumed
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   mod_name = __main__
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 523 
<<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
_known_short_options = h?V
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):      
no_config_files = 
GNUmed startup: Missing configuration files.
--------------------------------------------

None of the below candidate configuration
files could be found:

 %s

Cannot run GNUmed without any of them.

2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.pyc'>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):      
_known_ui_types = [u'web', u'wxp']
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
current_client_version = 0.7.6
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):  
_known_long_options = [u'debug', u'slave', u'skip-update-check', u'profile=', 
u'text-domain=', u'log-file=', u'conf-file=', u'lang-gettext=', u'ui=', 
u'override-schema-check', u'local-import', u'help', u'version', u'hipaa']
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
setup_signal_handlers = <function setup_signal_handlers at 0x7ff818729aa0>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  setup_cli = <function setup_cli at 0x7ff8187299b0>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
_old_sig_term = None
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7ff8187ac908>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.pyc'>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.pyc'>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
current_client_branch = 0.7
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
setup_logging = <function setup_logging at 0x2387ed8>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
setup_ui_type = <function setup_ui_type at 0x7ff818729de8>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
__package__ = Gnumed
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   platform = <module 'platform' from '/usr/lib/python2.6/platform.pyc'>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.pyc'>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
handle_version_request = <function handle_version_request at 0x7ff818729c08>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
missing_cli_config_file = 
GNUmed startup: Missing configuration file.
-------------------------------------------

You explicitly specified a configuration file
on the command line:

        --conf-file=%s

The file does not exist, however.

2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
__version__ = $Revision: 1.169 $
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
setup_paths_and_files = <function setup_paths_and_files at 0x7ff818729c80>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    ui_type = wxp
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
setup_locale = <function setup_locale at 0x7ff818729b18>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
profile_file = None
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
__license__ = GPL (details at http://www.gnu.org)
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
log_startup_info = <function log_startup_info at 0x7ff81871e6e0>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
__builtins__ = <module '__builtin__' (built-in)>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):      
setup_date_time = <function setup_date_time at 0x7ff818729cf8>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        sys = <module 'sys' (built-in)>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.pyc'>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.pyc'>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       _log = <logging.Logger instance at 0x7ff818723d88>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   __name__ = __main__
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.pyc'>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
shutdown_backend = <function shutdown_backend at 0x7ff818729ed8>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):      
handle_sig_term = <function handle_sig_term at 0x7ff818729a28>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):  
import_error_sermon = 
GNUmed startup: Cannot load GNUmed Python modules !
---------------------------------------------------
CRITICAL ERROR: Program halted.

Please make sure you have:

 1) the required third-party Python modules installed
 2) the GNUmed Python modules linked or installed into site-packages/
    (if you do not run from a CVS tree the installer should have taken care of 
that)
 3) your PYTHONPATH environment variable set up correctly

sys.path is currently set to:

 %s

If you are running from a copy of the CVS tree make sure you
did run gnumed/check-prerequisites.sh with good results.

If you still encounter errors after checking the above
requirements please ask on the mailing list.

2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
setup_backend = <function setup_backend at 0x7ff818729e60>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    logging = <module 'logging' from '/usr/lib/python2.6/logging/__init__.pyc'>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  setup_cfg = <function setup_cfg at 0x7ff818729d70>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x7ff818729938>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     signal = <module 'signal' (built-in)>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
shutdown_logging = <function shutdown_logging at 0x7ff818729f50>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):  
handle_help_request = <function handle_help_request at 0x7ff818729b90>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2427f10>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):    
setup_python_path = <function setup_python_path at 0x7ff818725398>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
         os = <module 'os' from '/usr/lib/python2.6/os.pyc'>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3005 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x3327830> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [MainLoop] in 
[/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
8007 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x3327830> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [MainLoop] in 
[/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
7303 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x3327830> >,)
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     kwargs = {}
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [__on_manage_performed_procedures] in 
[/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 2090 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff2b6afa70> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x3cfade0> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x3905e90>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [manage_performed_procedures] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 86 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x3905e90>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x3cfade0> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       edit = <function edit at 0x411c6e0>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    refresh = <function refresh at 0x411c7d0>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x4125c10>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     delete = <function delete at 0x411c758>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [get_choices_from_list] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 73 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):      
delete_callback = <function delete at 0x411c758>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        dlg = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x4235a70> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x3cfade0> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 selections = None
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
single_selection = True
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
refresh_callback = <function refresh at 0x411c7d0>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
ignore_OK_button = False
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    choices = None
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
can_return_empty = False
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    caption = Editing performed procedures ...
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
new_callback = <function edit at 0x411c6e0>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
edit_callback = <function edit at 0x411c6e0>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       data = None
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    columns = ['When', 'Where', 'Episode', 'Procedure']
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        msg = 
Select the procedure you want to edit !

2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [ShowModal] in 
[/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_windows.py] at line 
703 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       args = (<Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x4235a70> >,)
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     kwargs = {}
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_on_new_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 152 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x4235a70> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff2b6ade70> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [edit] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 50 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x3cfade0> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  procedure = None
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [edit_procedure] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 97 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
         ea = <Gnumed.wxpython.gmEMRStructWidgets.cProcedureEAPnl; proxy of 
<Swig Object of type 'wxScrolledWindow *' at 0x3aa21d0> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        dlg = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x426c670> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x3cfade0> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  procedure = None
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [ShowModal] in 
[/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_windows.py] at line 
703 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       args = (<Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x426c670> >,)
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     kwargs = {}
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_on_add_hospital_stay_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 287 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmEMRStructWidgets.cProcedureEAPnl; proxy of 
<Swig Object of type 'wxScrolledWindow *' at 0x3aa21d0> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff2b6ac270> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [edit_hospital_stay] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 345 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
         ea = <Gnumed.wxpython.gmEMRStructWidgets.cHospitalStayEditAreaPnl; 
proxy of <Swig Object of type 'wxPanel *' at 0x42d4c00> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
hospital_stay = None
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        dlg = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x424b450> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     parent = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x426c670> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [ShowModal] in 
[/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_windows.py] at line 
703 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       args = (<Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x424b450> >,)
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     kwargs = {}
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_on_save_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py] at line 253 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x424b450> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff2b6aa810> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [save] in [/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py] at 
line 148 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmEMRStructWidgets.cHospitalStayEditAreaPnl; 
proxy of <Swig Object of type 'wxPanel *' at 0x42d4c00> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_save_as_new] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 441 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmEMRStructWidgets.cHospitalStayEditAreaPnl; 
proxy of <Swig Object of type 'wxPanel *' at 0x42d4c00> >
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x3905e90>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x4125c10>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [create_hospital_stay] in 
[/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py] at line 1380 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    episode = None
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  encounter = 2463
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    queries = [{'cmd': u'insert into clin.hospital_stay (fk_encounter, 
fk_episode) values (%(enc)s, %(epi)s)', 'args': {'enc': 2463, 'epi': None}}, 
{'cmd': u"select currval('clin.hospital_stay_pk_seq')"}]
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1112 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     end_tx = False
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 curs_close = <built-in method close of DictCursor object at 0x4471050>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    verbose = False
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       curs = <cursor object at 0x4471050; closed: -1>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 conn_close = <built-in method close of DictConnection object at 0x3edb320>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       args = {'enc': 2463, 'epi': None}
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   link_obj = None
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
conn_rollback = <built-in method rollback of DictConnection object at 0x3edb320>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    queries = [{'cmd': u'insert into clin.hospital_stay (fk_encounter, 
fk_episode) values (%(enc)s, %(epi)s)', 'args': {'enc': 2463, 'epi': None}}, 
{'cmd': u"select currval('clin.hospital_stay_pk_seq')"}]
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
get_col_idx = False
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      query = {'cmd': u'insert into clin.hospital_stay (fk_encounter, 
fk_episode) values (%(enc)s, %(epi)s)', 'args': {'enc': 2463, 'epi': None}}
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
return_data = True
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       conn = <connection object at 0x3edb320; dsn: 'dbname=gnumed_v13 
host=salaam.homeunix.com port=5432 user=any-doc password=xxxxxxx 
sslmode=prefer', closed: 1>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
conn_commit = <built-in method commit of DictConnection object at 0x3edb320>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [execute] in 
[/usr/lib/python2.6/dist-packages/psycopg2/extras.py] at line 110 <<<
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      async = 0
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <cursor object at 0x4471050; closed: -1>
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       vars = {'enc': 2463, 'epi': None}
2010-09-24 22:45:18  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      query = insert into clin.hospital_stay (fk_encounter, fk_episode) values 
(%(enc)s, %(epi)s)
2010-09-24 22:45:38  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #121): syncing log file for backup to 
[/home/devm/gnumed/logs/gnumed-19676_2010-09-24_22-45-18.log]
2010-09-24 22:45:38  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #118): -------- synced 
log file -------------------------------
2010-09-24 22:45:40  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py::_create_data() 
#1253): cannot create episode without name
2010-09-24 22:45:42  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1205): new 
database connection, backend PID: 19657, readonly: False
2010-09-24 22:45:42  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1242): 
access mode [READ WRITE]
2010-09-24 22:45:42  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1305): client 
string encoding [UTF8], isolation level [serializable], time zone 
[Asia/Yakutsk], datestyle [ISO], sql_inheritance [ON]
2010-09-24 22:45:43  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1103): error 
running RW query
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1101, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.6/dist-packages/psycopg2/extras.py", line 110, in 
execute
    return _cursor.execute(self, query, vars, async)
IntegrityError: null value in column "fk_episode" violates not-null constraint

2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #150): stack 
trace follows:
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #151): (locals 
by frame, outmost frame first)
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.6/runpy.py] at line 
122 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  set_argv0 = 1
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       code = <code object <module> at 0x7ff8187afbe8, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   mod_name = Gnumed.gnumed
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     loader = <pkgutil.ImpLoader instance at 0x7ff8187ac908>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   pkg_name = Gnumed
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
main_globals = {'_known_short_options': u'h?V', 'no_config_files': u'\nGNUmed 
startup: Missing configuration 
files.\n--------------------------------------------\n\nNone of the below 
candidate configuration\nfiles could be found:\n\n %s\n\nCannot run GNUmed 
without any of them.\n', 'gmI18N': <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.pyc'>, '_known_ui_types': [u'web', 
u'wxp'], 'current_client_version': u'0.7.6', '_known_long_options': [u'debug', 
u'slave', u'skip-update-check', u'profile=', u'text-domain=', u'log-file=', 
u'conf-file=', u'lang-gettext=', u'ui=', u'override-schema-check', 
u'local-import', u'help', u'version', u'hipaa'], 'setup_signal_handlers': 
<function setup_signal_handlers at 0x7ff818729aa0>, 'setup_cli': <function 
setup_cli at 0x7ff8187299b0>, '_old_sig_term': None, '__loader__': 
<pkgutil.ImpLoader instance at 0x7ff8187ac908>, 'gmLog2': <module 
'Gnumed.pycommon.gmLog2' from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.pyc'>, 
'gmGuiMain': <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.pyc'>, 'current_client_branch': 
u'0.7', 'setup_logging': <function setup_logging at 0x2387ed8>, 
'setup_ui_type': <function setup_ui_type at 0x7ff818729de8>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.6/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.pyc'>, 'handle_version_request': 
<function handle_version_request at 0x7ff818729c08>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__version__': '$Revision: 1.169 $', '__doc__': 'GNUmed 
client launcher.\n\nThis is the launcher for the GNUmed GUI client. It 
takes\ncare of all the pre- and post-GUI runtime environment 
setup.\n\n--quiet\n Be extra quiet and show only _real_ errors in the 
log.\n--debug\n Pre-set the [debug mode] checkbox in the login dialog to\n 
increase verbosity in the log file. Useful for, well, debugging :-)\n--slave\n 
Pre-set the [enable remote control] checkbox in the login\n dialog to enable 
the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA functionality which 
has user impact.\n--profile=<file>\n Activate profiling and write profile data 
to <file>.\n--text-domain=<text domain>\n Set this to change the name of the 
language file to be loaded.\n Note, this does not change the directory the file 
is searched in,\n only the name of the file where messages are loaded from. 
The\n standard textdomain is, of course, "gnumed.mo".\n--log-file=<file>\n Use 
this to change the name of the log file.\n See gmLog2.py to find out where the 
standard log file would\n end up.\n--conf-file=<file>\n Use configuration file 
<file> instead of searching for it in\n standard 
locations.\n--lang-gettext=<language>\n Explicitly set the language to use in 
gettext translation. The very\n same effect can be achieved by setting the 
environment variable $LANG\n from a launcher script.\n--override-schema-check\n 
Continue loading the client even if the database schema version\n and the 
client software version cannot be verified to be 
compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: web (CherryPy), wxp 
(wxPython)\n--version, -V\n Show version information.\n--help, -h, or -?\n Show 
this help.\n', 'setup_paths_and_files': <function setup_paths_and_files at 
0x7ff818729c80>, 'ui_type': 'wxp', 'setup_locale': <function setup_locale at 
0x7ff818729b18>, 'profile_file': None, '__license__': 'GPL (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7ff81871e6e0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_date_time': <function 
setup_date_time at 0x7ff818729cf8>, '__author__': 'H. Herb <address@hidden>, K. 
Hilbert <address@hidden>, I. Haywood <address@hidden>', 'sys': <module 'sys' 
(built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.pyc'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.pyc'>, '_log': <logging.Logger 
instance at 0x7ff818723d88>, '__name__': '__main__', 'gmPG2': <module 
'Gnumed.pycommon.gmPG2' from '/usr/share/gnumed/Gnumed/pycommon/gmPG2.pyc'>, 
'shutdown_backend': <function shutdown_backend at 0x7ff818729ed8>, 
'handle_sig_term': <function handle_sig_term at 0x7ff818729a28>, 
'import_error_sermon': '\nGNUmed startup: Cannot load GNUmed Python modules 
!\n---------------------------------------------------\nCRITICAL ERROR: Program 
halted.\n\nPlease make sure you have:\n\n 1) the required third-party Python 
modules installed\n 2) the GNUmed Python modules linked or installed into 
site-packages/\n    (if you do not run from a CVS tree the installer should 
have taken care of that)\n 3) your PYTHONPATH environment variable set up 
correctly\n\nsys.path is currently set to:\n\n %s\n\nIf you are running from a 
copy of the CVS tree make sure you\ndid run gnumed/check-prerequisites.sh with 
good results.\n\nIf you still encounter errors after checking the 
above\nrequirements please ask on the mailing list.\n', 'setup_backend': 
<function setup_backend at 0x7ff818729e60>, 'logging': <module 'logging' from 
'/usr/lib/python2.6/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7ff818729d70>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7ff818729938>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7ff818729f50>, 
'handle_help_request': <function handle_help_request at 0x7ff818729b90>, 
'_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2427f10>, 
'setup_python_path': <function setup_python_path at 0x7ff818725398>, 'os': 
<module 'os' from '/usr/lib/python2.6/os.pyc'>}
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_run_code] in [/usr/lib/python2.6/runpy.py] at line 34 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7ff8187ac908>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       code = <code object <module> at 0x7ff8187afbe8, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
run_globals = {'_known_short_options': u'h?V', 'no_config_files': u'\nGNUmed 
startup: Missing configuration 
files.\n--------------------------------------------\n\nNone of the below 
candidate configuration\nfiles could be found:\n\n %s\n\nCannot run GNUmed 
without any of them.\n', 'gmI18N': <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.pyc'>, '_known_ui_types': [u'web', 
u'wxp'], 'current_client_version': u'0.7.6', '_known_long_options': [u'debug', 
u'slave', u'skip-update-check', u'profile=', u'text-domain=', u'log-file=', 
u'conf-file=', u'lang-gettext=', u'ui=', u'override-schema-check', 
u'local-import', u'help', u'version', u'hipaa'], 'setup_signal_handlers': 
<function setup_signal_handlers at 0x7ff818729aa0>, 'setup_cli': <function 
setup_cli at 0x7ff8187299b0>, '_old_sig_term': None, '__loader__': 
<pkgutil.ImpLoader instance at 0x7ff8187ac908>, 'gmLog2': <module 
'Gnumed.pycommon.gmLog2' from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.pyc'>, 
'gmGuiMain': <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.pyc'>, 'current_client_branch': 
u'0.7', 'setup_logging': <function setup_logging at 0x2387ed8>, 
'setup_ui_type': <function setup_ui_type at 0x7ff818729de8>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.6/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.pyc'>, 'handle_version_request': 
<function handle_version_request at 0x7ff818729c08>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__version__': '$Revision: 1.169 $', '__doc__': 'GNUmed 
client launcher.\n\nThis is the launcher for the GNUmed GUI client. It 
takes\ncare of all the pre- and post-GUI runtime environment 
setup.\n\n--quiet\n Be extra quiet and show only _real_ errors in the 
log.\n--debug\n Pre-set the [debug mode] checkbox in the login dialog to\n 
increase verbosity in the log file. Useful for, well, debugging :-)\n--slave\n 
Pre-set the [enable remote control] checkbox in the login\n dialog to enable 
the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA functionality which 
has user impact.\n--profile=<file>\n Activate profiling and write profile data 
to <file>.\n--text-domain=<text domain>\n Set this to change the name of the 
language file to be loaded.\n Note, this does not change the directory the file 
is searched in,\n only the name of the file where messages are loaded from. 
The\n standard textdomain is, of course, "gnumed.mo".\n--log-file=<file>\n Use 
this to change the name of the log file.\n See gmLog2.py to find out where the 
standard log file would\n end up.\n--conf-file=<file>\n Use configuration file 
<file> instead of searching for it in\n standard 
locations.\n--lang-gettext=<language>\n Explicitly set the language to use in 
gettext translation. The very\n same effect can be achieved by setting the 
environment variable $LANG\n from a launcher script.\n--override-schema-check\n 
Continue loading the client even if the database schema version\n and the 
client software version cannot be verified to be 
compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: web (CherryPy), wxp 
(wxPython)\n--version, -V\n Show version information.\n--help, -h, or -?\n Show 
this help.\n', 'setup_paths_and_files': <function setup_paths_and_files at 
0x7ff818729c80>, 'ui_type': 'wxp', 'setup_locale': <function setup_locale at 
0x7ff818729b18>, 'profile_file': None, '__license__': 'GPL (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7ff81871e6e0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_date_time': <function 
setup_date_time at 0x7ff818729cf8>, '__author__': 'H. Herb <address@hidden>, K. 
Hilbert <address@hidden>, I. Haywood <address@hidden>', 'sys': <module 'sys' 
(built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.pyc'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.pyc'>, '_log': <logging.Logger 
instance at 0x7ff818723d88>, '__name__': '__main__', 'gmPG2': <module 
'Gnumed.pycommon.gmPG2' from '/usr/share/gnumed/Gnumed/pycommon/gmPG2.pyc'>, 
'shutdown_backend': <function shutdown_backend at 0x7ff818729ed8>, 
'handle_sig_term': <function handle_sig_term at 0x7ff818729a28>, 
'import_error_sermon': '\nGNUmed startup: Cannot load GNUmed Python modules 
!\n---------------------------------------------------\nCRITICAL ERROR: Program 
halted.\n\nPlease make sure you have:\n\n 1) the required third-party Python 
modules installed\n 2) the GNUmed Python modules linked or installed into 
site-packages/\n    (if you do not run from a CVS tree the installer should 
have taken care of that)\n 3) your PYTHONPATH environment variable set up 
correctly\n\nsys.path is currently set to:\n\n %s\n\nIf you are running from a 
copy of the CVS tree make sure you\ndid run gnumed/check-prerequisites.sh with 
good results.\n\nIf you still encounter errors after checking the 
above\nrequirements please ask on the mailing list.\n', 'setup_backend': 
<function setup_backend at 0x7ff818729e60>, 'logging': <module 'logging' from 
'/usr/lib/python2.6/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7ff818729d70>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7ff818729938>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7ff818729f50>, 
'handle_help_request': <function handle_help_request at 0x7ff818729b90>, 
'_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2427f10>, 
'setup_python_path': <function setup_python_path at 0x7ff818725398>, 'os': 
<module 'os' from '/usr/lib/python2.6/os.pyc'>}
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
init_globals = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   pkg_name = Gnumed
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   mod_name = __main__
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 523 
<<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
_known_short_options = h?V
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):      
no_config_files = 
GNUmed startup: Missing configuration files.
--------------------------------------------

None of the below candidate configuration
files could be found:

 %s

Cannot run GNUmed without any of them.

2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):      
_known_ui_types = [u'web', u'wxp']
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
current_client_version = 0.7.6
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):  
_known_long_options = [u'debug', u'slave', u'skip-update-check', u'profile=', 
u'text-domain=', u'log-file=', u'conf-file=', u'lang-gettext=', u'ui=', 
u'override-schema-check', u'local-import', u'help', u'version', u'hipaa']
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
setup_signal_handlers = <function setup_signal_handlers at 0x7ff818729aa0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  setup_cli = <function setup_cli at 0x7ff8187299b0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
_old_sig_term = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7ff8187ac908>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
current_client_branch = 0.7
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
setup_logging = <function setup_logging at 0x2387ed8>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
setup_ui_type = <function setup_ui_type at 0x7ff818729de8>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
__package__ = Gnumed
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   platform = <module 'platform' from '/usr/lib/python2.6/platform.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
handle_version_request = <function handle_version_request at 0x7ff818729c08>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
missing_cli_config_file = 
GNUmed startup: Missing configuration file.
-------------------------------------------

You explicitly specified a configuration file
on the command line:

        --conf-file=%s

The file does not exist, however.

2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
__version__ = $Revision: 1.169 $
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
setup_paths_and_files = <function setup_paths_and_files at 0x7ff818729c80>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    ui_type = wxp
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
setup_locale = <function setup_locale at 0x7ff818729b18>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
profile_file = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
__license__ = GPL (details at http://www.gnu.org)
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
log_startup_info = <function log_startup_info at 0x7ff81871e6e0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
__builtins__ = <module '__builtin__' (built-in)>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):      
setup_date_time = <function setup_date_time at 0x7ff818729cf8>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        sys = <module 'sys' (built-in)>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       _log = <logging.Logger instance at 0x7ff818723d88>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   __name__ = __main__
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
shutdown_backend = <function shutdown_backend at 0x7ff818729ed8>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):      
handle_sig_term = <function handle_sig_term at 0x7ff818729a28>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):  
import_error_sermon = 
GNUmed startup: Cannot load GNUmed Python modules !
---------------------------------------------------
CRITICAL ERROR: Program halted.

Please make sure you have:

 1) the required third-party Python modules installed
 2) the GNUmed Python modules linked or installed into site-packages/
    (if you do not run from a CVS tree the installer should have taken care of 
that)
 3) your PYTHONPATH environment variable set up correctly

sys.path is currently set to:

 %s

If you are running from a copy of the CVS tree make sure you
did run gnumed/check-prerequisites.sh with good results.

If you still encounter errors after checking the above
requirements please ask on the mailing list.

2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
setup_backend = <function setup_backend at 0x7ff818729e60>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    logging = <module 'logging' from '/usr/lib/python2.6/logging/__init__.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  setup_cfg = <function setup_cfg at 0x7ff818729d70>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x7ff818729938>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     signal = <module 'signal' (built-in)>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
shutdown_logging = <function shutdown_logging at 0x7ff818729f50>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):  
handle_help_request = <function handle_help_request at 0x7ff818729b90>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2427f10>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):    
setup_python_path = <function setup_python_path at 0x7ff818725398>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
         os = <module 'os' from '/usr/lib/python2.6/os.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3005 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x3327830> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [MainLoop] in 
[/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
8007 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x3327830> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [MainLoop] in 
[/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
7303 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x3327830> >,)
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     kwargs = {}
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [__on_manage_performed_procedures] in 
[/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 2090 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff2b6afa70> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x3cfade0> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x3905e90>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [manage_performed_procedures] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 86 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x3905e90>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x3cfade0> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       edit = <function edit at 0x411c6e0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    refresh = <function refresh at 0x411c7d0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x4125c10>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     delete = <function delete at 0x411c758>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [get_choices_from_list] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 73 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):      
delete_callback = <function delete at 0x411c758>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        dlg = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x4235a70> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x3cfade0> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 selections = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
single_selection = True
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
refresh_callback = <function refresh at 0x411c7d0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
ignore_OK_button = False
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    choices = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
can_return_empty = False
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    caption = Editing performed procedures ...
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
new_callback = <function edit at 0x411c6e0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
edit_callback = <function edit at 0x411c6e0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       data = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    columns = ['When', 'Where', 'Episode', 'Procedure']
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        msg = 
Select the procedure you want to edit !

2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [ShowModal] in 
[/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_windows.py] at line 
703 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       args = (<Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x4235a70> >,)
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     kwargs = {}
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_on_new_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 152 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x4235a70> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff2b6ade70> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [edit] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 50 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x3cfade0> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  procedure = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [edit_procedure] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 97 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
         ea = <Gnumed.wxpython.gmEMRStructWidgets.cProcedureEAPnl; proxy of 
<Swig Object of type 'wxScrolledWindow *' at 0x3aa21d0> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        dlg = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x426c670> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x3cfade0> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  procedure = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [ShowModal] in 
[/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_windows.py] at line 
703 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       args = (<Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x426c670> >,)
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     kwargs = {}
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_on_add_hospital_stay_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 287 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmEMRStructWidgets.cProcedureEAPnl; proxy of 
<Swig Object of type 'wxScrolledWindow *' at 0x3aa21d0> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff2b6ac270> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [edit_hospital_stay] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 345 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
         ea = <Gnumed.wxpython.gmEMRStructWidgets.cHospitalStayEditAreaPnl; 
proxy of <Swig Object of type 'wxPanel *' at 0x42d4c00> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
hospital_stay = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        dlg = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x424b450> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     parent = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x426c670> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [ShowModal] in 
[/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_windows.py] at line 
703 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       args = (<Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x424b450> >,)
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     kwargs = {}
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_on_save_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py] at line 253 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x424b450> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff2b6aa810> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [save] in [/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py] at 
line 148 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmEMRStructWidgets.cHospitalStayEditAreaPnl; 
proxy of <Swig Object of type 'wxPanel *' at 0x42d4c00> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_save_as_new] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 441 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmEMRStructWidgets.cHospitalStayEditAreaPnl; 
proxy of <Swig Object of type 'wxPanel *' at 0x42d4c00> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x3905e90>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x4125c10>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [create_hospital_stay] in 
[/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py] at line 1380 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    episode = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  encounter = 2463
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    queries = [{'cmd': u'insert into clin.hospital_stay (fk_encounter, 
fk_episode) values (%(enc)s, %(epi)s)', 'args': {'enc': 2463, 'epi': None}}, 
{'cmd': u"select currval('clin.hospital_stay_pk_seq')"}]
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1104 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     end_tx = False
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 curs_close = <built-in method close of DictCursor object at 0x4471148>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    verbose = False
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       curs = <cursor object at 0x4471148; closed: 0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 conn_close = <built-in method close of DictConnection object at 0x3edb140>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       args = {'enc': 2463, 'epi': None}
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   link_obj = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
conn_rollback = <built-in method rollback of DictConnection object at 0x3edb140>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    queries = [{'cmd': u'insert into clin.hospital_stay (fk_encounter, 
fk_episode) values (%(enc)s, %(epi)s)', 'args': {'enc': 2463, 'epi': None}}, 
{'cmd': u"select currval('clin.hospital_stay_pk_seq')"}]
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
get_col_idx = False
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      query = {'cmd': u'insert into clin.hospital_stay (fk_encounter, 
fk_episode) values (%(enc)s, %(epi)s)', 'args': {'enc': 2463, 'epi': None}}
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
return_data = True
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       conn = <connection object at 0x3edb140; dsn: 'dbname=gnumed_v13 
host=salaam.homeunix.com port=5432 user=any-doc password=xxxxxxx 
sslmode=prefer', closed: 0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
conn_commit = <built-in method commit of DictConnection object at 0x3edb140>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [execute] in 
[/usr/lib/python2.6/dist-packages/psycopg2/extras.py] at line 110 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      async = 0
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <cursor object at 0x4471148; closed: 0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       vars = {'enc': 2463, 'epi': None}
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      query = insert into clin.hospital_stay (fk_encounter, fk_episode) values 
(%(enc)s, %(epi)s)
2010-09-24 22:45:43  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #49): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py", line 253, in 
_on_save_button_pressed
    if self._PNL_ea.save():
  File "/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py", line 148, in save
    if self._save_as_new():
  File "/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py", line 441, in 
_save_as_new
    episode = self._PRW_episode.GetData(can_create = True)
  File "/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py", line 1380, in 
create_hospital_stay
    rows, idx = gmPG2.run_rw_queries(queries = queries, return_data = True)
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1101, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.6/dist-packages/psycopg2/extras.py", line 110, in 
execute
    return _cursor.execute(self, query, vars, async)
IntegrityError: null value in column "fk_episode" violates not-null constraint

2010-09-24 22:45:43  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #150): stack 
trace follows:
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #151): (locals 
by frame, outmost frame first)
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.6/runpy.py] at line 
122 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  set_argv0 = 1
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       code = <code object <module> at 0x7ff8187afbe8, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   mod_name = Gnumed.gnumed
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     loader = <pkgutil.ImpLoader instance at 0x7ff8187ac908>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   pkg_name = Gnumed
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
main_globals = {'_known_short_options': u'h?V', 'no_config_files': u'\nGNUmed 
startup: Missing configuration 
files.\n--------------------------------------------\n\nNone of the below 
candidate configuration\nfiles could be found:\n\n %s\n\nCannot run GNUmed 
without any of them.\n', 'gmI18N': <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.pyc'>, '_known_ui_types': [u'web', 
u'wxp'], 'current_client_version': u'0.7.6', '_known_long_options': [u'debug', 
u'slave', u'skip-update-check', u'profile=', u'text-domain=', u'log-file=', 
u'conf-file=', u'lang-gettext=', u'ui=', u'override-schema-check', 
u'local-import', u'help', u'version', u'hipaa'], 'setup_signal_handlers': 
<function setup_signal_handlers at 0x7ff818729aa0>, 'setup_cli': <function 
setup_cli at 0x7ff8187299b0>, '_old_sig_term': None, '__loader__': 
<pkgutil.ImpLoader instance at 0x7ff8187ac908>, 'gmLog2': <module 
'Gnumed.pycommon.gmLog2' from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.pyc'>, 
'gmGuiMain': <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.pyc'>, 'current_client_branch': 
u'0.7', 'setup_logging': <function setup_logging at 0x2387ed8>, 
'setup_ui_type': <function setup_ui_type at 0x7ff818729de8>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.6/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.pyc'>, 'handle_version_request': 
<function handle_version_request at 0x7ff818729c08>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__version__': '$Revision: 1.169 $', '__doc__': 'GNUmed 
client launcher.\n\nThis is the launcher for the GNUmed GUI client. It 
takes\ncare of all the pre- and post-GUI runtime environment 
setup.\n\n--quiet\n Be extra quiet and show only _real_ errors in the 
log.\n--debug\n Pre-set the [debug mode] checkbox in the login dialog to\n 
increase verbosity in the log file. Useful for, well, debugging :-)\n--slave\n 
Pre-set the [enable remote control] checkbox in the login\n dialog to enable 
the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA functionality which 
has user impact.\n--profile=<file>\n Activate profiling and write profile data 
to <file>.\n--text-domain=<text domain>\n Set this to change the name of the 
language file to be loaded.\n Note, this does not change the directory the file 
is searched in,\n only the name of the file where messages are loaded from. 
The\n standard textdomain is, of course, "gnumed.mo".\n--log-file=<file>\n Use 
this to change the name of the log file.\n See gmLog2.py to find out where the 
standard log file would\n end up.\n--conf-file=<file>\n Use configuration file 
<file> instead of searching for it in\n standard 
locations.\n--lang-gettext=<language>\n Explicitly set the language to use in 
gettext translation. The very\n same effect can be achieved by setting the 
environment variable $LANG\n from a launcher script.\n--override-schema-check\n 
Continue loading the client even if the database schema version\n and the 
client software version cannot be verified to be 
compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: web (CherryPy), wxp 
(wxPython)\n--version, -V\n Show version information.\n--help, -h, or -?\n Show 
this help.\n', 'setup_paths_and_files': <function setup_paths_and_files at 
0x7ff818729c80>, 'ui_type': 'wxp', 'setup_locale': <function setup_locale at 
0x7ff818729b18>, 'profile_file': None, '__license__': 'GPL (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7ff81871e6e0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_date_time': <function 
setup_date_time at 0x7ff818729cf8>, '__author__': 'H. Herb <address@hidden>, K. 
Hilbert <address@hidden>, I. Haywood <address@hidden>', 'sys': <module 'sys' 
(built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.pyc'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.pyc'>, '_log': <logging.Logger 
instance at 0x7ff818723d88>, '__name__': '__main__', 'gmPG2': <module 
'Gnumed.pycommon.gmPG2' from '/usr/share/gnumed/Gnumed/pycommon/gmPG2.pyc'>, 
'shutdown_backend': <function shutdown_backend at 0x7ff818729ed8>, 
'handle_sig_term': <function handle_sig_term at 0x7ff818729a28>, 
'import_error_sermon': '\nGNUmed startup: Cannot load GNUmed Python modules 
!\n---------------------------------------------------\nCRITICAL ERROR: Program 
halted.\n\nPlease make sure you have:\n\n 1) the required third-party Python 
modules installed\n 2) the GNUmed Python modules linked or installed into 
site-packages/\n    (if you do not run from a CVS tree the installer should 
have taken care of that)\n 3) your PYTHONPATH environment variable set up 
correctly\n\nsys.path is currently set to:\n\n %s\n\nIf you are running from a 
copy of the CVS tree make sure you\ndid run gnumed/check-prerequisites.sh with 
good results.\n\nIf you still encounter errors after checking the 
above\nrequirements please ask on the mailing list.\n', 'setup_backend': 
<function setup_backend at 0x7ff818729e60>, 'logging': <module 'logging' from 
'/usr/lib/python2.6/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7ff818729d70>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7ff818729938>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7ff818729f50>, 
'handle_help_request': <function handle_help_request at 0x7ff818729b90>, 
'_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2427f10>, 
'setup_python_path': <function setup_python_path at 0x7ff818725398>, 'os': 
<module 'os' from '/usr/lib/python2.6/os.pyc'>}
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_run_code] in [/usr/lib/python2.6/runpy.py] at line 34 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7ff8187ac908>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       code = <code object <module> at 0x7ff8187afbe8, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
run_globals = {'_known_short_options': u'h?V', 'no_config_files': u'\nGNUmed 
startup: Missing configuration 
files.\n--------------------------------------------\n\nNone of the below 
candidate configuration\nfiles could be found:\n\n %s\n\nCannot run GNUmed 
without any of them.\n', 'gmI18N': <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.pyc'>, '_known_ui_types': [u'web', 
u'wxp'], 'current_client_version': u'0.7.6', '_known_long_options': [u'debug', 
u'slave', u'skip-update-check', u'profile=', u'text-domain=', u'log-file=', 
u'conf-file=', u'lang-gettext=', u'ui=', u'override-schema-check', 
u'local-import', u'help', u'version', u'hipaa'], 'setup_signal_handlers': 
<function setup_signal_handlers at 0x7ff818729aa0>, 'setup_cli': <function 
setup_cli at 0x7ff8187299b0>, '_old_sig_term': None, '__loader__': 
<pkgutil.ImpLoader instance at 0x7ff8187ac908>, 'gmLog2': <module 
'Gnumed.pycommon.gmLog2' from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.pyc'>, 
'gmGuiMain': <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.pyc'>, 'current_client_branch': 
u'0.7', 'setup_logging': <function setup_logging at 0x2387ed8>, 
'setup_ui_type': <function setup_ui_type at 0x7ff818729de8>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.6/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.pyc'>, 'handle_version_request': 
<function handle_version_request at 0x7ff818729c08>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__version__': '$Revision: 1.169 $', '__doc__': 'GNUmed 
client launcher.\n\nThis is the launcher for the GNUmed GUI client. It 
takes\ncare of all the pre- and post-GUI runtime environment 
setup.\n\n--quiet\n Be extra quiet and show only _real_ errors in the 
log.\n--debug\n Pre-set the [debug mode] checkbox in the login dialog to\n 
increase verbosity in the log file. Useful for, well, debugging :-)\n--slave\n 
Pre-set the [enable remote control] checkbox in the login\n dialog to enable 
the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA functionality which 
has user impact.\n--profile=<file>\n Activate profiling and write profile data 
to <file>.\n--text-domain=<text domain>\n Set this to change the name of the 
language file to be loaded.\n Note, this does not change the directory the file 
is searched in,\n only the name of the file where messages are loaded from. 
The\n standard textdomain is, of course, "gnumed.mo".\n--log-file=<file>\n Use 
this to change the name of the log file.\n See gmLog2.py to find out where the 
standard log file would\n end up.\n--conf-file=<file>\n Use configuration file 
<file> instead of searching for it in\n standard 
locations.\n--lang-gettext=<language>\n Explicitly set the language to use in 
gettext translation. The very\n same effect can be achieved by setting the 
environment variable $LANG\n from a launcher script.\n--override-schema-check\n 
Continue loading the client even if the database schema version\n and the 
client software version cannot be verified to be 
compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: web (CherryPy), wxp 
(wxPython)\n--version, -V\n Show version information.\n--help, -h, or -?\n Show 
this help.\n', 'setup_paths_and_files': <function setup_paths_and_files at 
0x7ff818729c80>, 'ui_type': 'wxp', 'setup_locale': <function setup_locale at 
0x7ff818729b18>, 'profile_file': None, '__license__': 'GPL (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7ff81871e6e0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_date_time': <function 
setup_date_time at 0x7ff818729cf8>, '__author__': 'H. Herb <address@hidden>, K. 
Hilbert <address@hidden>, I. Haywood <address@hidden>', 'sys': <module 'sys' 
(built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.pyc'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.pyc'>, '_log': <logging.Logger 
instance at 0x7ff818723d88>, '__name__': '__main__', 'gmPG2': <module 
'Gnumed.pycommon.gmPG2' from '/usr/share/gnumed/Gnumed/pycommon/gmPG2.pyc'>, 
'shutdown_backend': <function shutdown_backend at 0x7ff818729ed8>, 
'handle_sig_term': <function handle_sig_term at 0x7ff818729a28>, 
'import_error_sermon': '\nGNUmed startup: Cannot load GNUmed Python modules 
!\n---------------------------------------------------\nCRITICAL ERROR: Program 
halted.\n\nPlease make sure you have:\n\n 1) the required third-party Python 
modules installed\n 2) the GNUmed Python modules linked or installed into 
site-packages/\n    (if you do not run from a CVS tree the installer should 
have taken care of that)\n 3) your PYTHONPATH environment variable set up 
correctly\n\nsys.path is currently set to:\n\n %s\n\nIf you are running from a 
copy of the CVS tree make sure you\ndid run gnumed/check-prerequisites.sh with 
good results.\n\nIf you still encounter errors after checking the 
above\nrequirements please ask on the mailing list.\n', 'setup_backend': 
<function setup_backend at 0x7ff818729e60>, 'logging': <module 'logging' from 
'/usr/lib/python2.6/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7ff818729d70>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7ff818729938>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7ff818729f50>, 
'handle_help_request': <function handle_help_request at 0x7ff818729b90>, 
'_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2427f10>, 
'setup_python_path': <function setup_python_path at 0x7ff818725398>, 'os': 
<module 'os' from '/usr/lib/python2.6/os.pyc'>}
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
init_globals = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   pkg_name = Gnumed
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   mod_name = __main__
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 523 
<<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
_known_short_options = h?V
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):      
no_config_files = 
GNUmed startup: Missing configuration files.
--------------------------------------------

None of the below candidate configuration
files could be found:

 %s

Cannot run GNUmed without any of them.

2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):      
_known_ui_types = [u'web', u'wxp']
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
current_client_version = 0.7.6
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):  
_known_long_options = [u'debug', u'slave', u'skip-update-check', u'profile=', 
u'text-domain=', u'log-file=', u'conf-file=', u'lang-gettext=', u'ui=', 
u'override-schema-check', u'local-import', u'help', u'version', u'hipaa']
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
setup_signal_handlers = <function setup_signal_handlers at 0x7ff818729aa0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  setup_cli = <function setup_cli at 0x7ff8187299b0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
_old_sig_term = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7ff8187ac908>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
current_client_branch = 0.7
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
setup_logging = <function setup_logging at 0x2387ed8>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
setup_ui_type = <function setup_ui_type at 0x7ff818729de8>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
__package__ = Gnumed
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   platform = <module 'platform' from '/usr/lib/python2.6/platform.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
handle_version_request = <function handle_version_request at 0x7ff818729c08>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
missing_cli_config_file = 
GNUmed startup: Missing configuration file.
-------------------------------------------

You explicitly specified a configuration file
on the command line:

        --conf-file=%s

The file does not exist, however.

2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
__version__ = $Revision: 1.169 $
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
setup_paths_and_files = <function setup_paths_and_files at 0x7ff818729c80>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    ui_type = wxp
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
setup_locale = <function setup_locale at 0x7ff818729b18>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
profile_file = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
__license__ = GPL (details at http://www.gnu.org)
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
log_startup_info = <function log_startup_info at 0x7ff81871e6e0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
__builtins__ = <module '__builtin__' (built-in)>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):      
setup_date_time = <function setup_date_time at 0x7ff818729cf8>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        sys = <module 'sys' (built-in)>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       _log = <logging.Logger instance at 0x7ff818723d88>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   __name__ = __main__
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
shutdown_backend = <function shutdown_backend at 0x7ff818729ed8>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):      
handle_sig_term = <function handle_sig_term at 0x7ff818729a28>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):  
import_error_sermon = 
GNUmed startup: Cannot load GNUmed Python modules !
---------------------------------------------------
CRITICAL ERROR: Program halted.

Please make sure you have:

 1) the required third-party Python modules installed
 2) the GNUmed Python modules linked or installed into site-packages/
    (if you do not run from a CVS tree the installer should have taken care of 
that)
 3) your PYTHONPATH environment variable set up correctly

sys.path is currently set to:

 %s

If you are running from a copy of the CVS tree make sure you
did run gnumed/check-prerequisites.sh with good results.

If you still encounter errors after checking the above
requirements please ask on the mailing list.

2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
setup_backend = <function setup_backend at 0x7ff818729e60>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    logging = <module 'logging' from '/usr/lib/python2.6/logging/__init__.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  setup_cfg = <function setup_cfg at 0x7ff818729d70>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x7ff818729938>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     signal = <module 'signal' (built-in)>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
shutdown_logging = <function shutdown_logging at 0x7ff818729f50>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):  
handle_help_request = <function handle_help_request at 0x7ff818729b90>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2427f10>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):    
setup_python_path = <function setup_python_path at 0x7ff818725398>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
         os = <module 'os' from '/usr/lib/python2.6/os.pyc'>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3005 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x3327830> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [MainLoop] in 
[/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
8007 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x3327830> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [MainLoop] in 
[/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
7303 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x3327830> >,)
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     kwargs = {}
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [__on_manage_performed_procedures] in 
[/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 2090 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff2b6afa70> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x3cfade0> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x3905e90>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [manage_performed_procedures] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 86 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x3905e90>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x3cfade0> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       edit = <function edit at 0x411c6e0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    refresh = <function refresh at 0x411c7d0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x4125c10>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     delete = <function delete at 0x411c758>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [get_choices_from_list] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 73 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):      
delete_callback = <function delete at 0x411c758>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        dlg = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x4235a70> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x3cfade0> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 selections = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
single_selection = True
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
refresh_callback = <function refresh at 0x411c7d0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
ignore_OK_button = False
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    choices = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):     
can_return_empty = False
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    caption = Editing performed procedures ...
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):         
new_callback = <function edit at 0x411c6e0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
edit_callback = <function edit at 0x411c6e0>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       data = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    columns = ['When', 'Where', 'Episode', 'Procedure']
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        msg = 
Select the procedure you want to edit !

2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [ShowModal] in 
[/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_windows.py] at line 
703 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       args = (<Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x4235a70> >,)
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     kwargs = {}
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_on_new_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 152 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x4235a70> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff2b6ade70> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [edit] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 50 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x3cfade0> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  procedure = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [edit_procedure] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 97 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
         ea = <Gnumed.wxpython.gmEMRStructWidgets.cProcedureEAPnl; proxy of 
<Swig Object of type 'wxScrolledWindow *' at 0x3aa21d0> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        dlg = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x426c670> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x3cfade0> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  procedure = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [ShowModal] in 
[/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_windows.py] at line 
703 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       args = (<Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x426c670> >,)
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     kwargs = {}
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_on_add_hospital_stay_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 287 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmEMRStructWidgets.cProcedureEAPnl; proxy of 
<Swig Object of type 'wxScrolledWindow *' at 0x3aa21d0> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff2b6ac270> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [edit_hospital_stay] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 345 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
         ea = <Gnumed.wxpython.gmEMRStructWidgets.cHospitalStayEditAreaPnl; 
proxy of <Swig Object of type 'wxPanel *' at 0x42d4c00> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
hospital_stay = None
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        dlg = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x424b450> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     parent = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x426c670> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [ShowModal] in 
[/usr/lib64/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_windows.py] at line 
703 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       args = (<Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x424b450> >,)
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     kwargs = {}
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_on_save_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py] at line 253 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0x424b450> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff2b6aa810> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [save] in [/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py] at 
line 148 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmEMRStructWidgets.cHospitalStayEditAreaPnl; 
proxy of <Swig Object of type 'wxPanel *' at 0x42d4c00> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [_save_as_new] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRStructWidgets.py] at line 441 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <Gnumed.wxpython.gmEMRStructWidgets.cHospitalStayEditAreaPnl; 
proxy of <Swig Object of type 'wxPanel *' at 0x42d4c00> >
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x3905e90>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x4125c10>
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [create_hospital_stay] in 
[/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py] at line 1380 <<<
2010-09-24 22:45:43  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    episode = None
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
  encounter = 2463
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    queries = [{'cmd': u'insert into clin.hospital_stay (fk_encounter, 
fk_episode) values (%(enc)s, %(epi)s)', 'args': {'enc': 2463, 'epi': None}}, 
{'cmd': u"select currval('clin.hospital_stay_pk_seq')"}]
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1112 <<<
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
     end_tx = False
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 curs_close = <built-in method close of DictCursor object at 0x4471148>
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    verbose = False
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       curs = <cursor object at 0x4471148; closed: -1>
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
 conn_close = <built-in method close of DictConnection object at 0x3edb140>
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       args = {'enc': 2463, 'epi': None}
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
   link_obj = None
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):        
conn_rollback = <built-in method rollback of DictConnection object at 0x3edb140>
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
    queries = [{'cmd': u'insert into clin.hospital_stay (fk_encounter, 
fk_episode) values (%(enc)s, %(epi)s)', 'args': {'enc': 2463, 'epi': None}}, 
{'cmd': u"select currval('clin.hospital_stay_pk_seq')"}]
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
get_col_idx = False
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      query = {'cmd': u'insert into clin.hospital_stay (fk_encounter, 
fk_episode) values (%(enc)s, %(epi)s)', 'args': {'enc': 2463, 'epi': None}}
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
return_data = True
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       conn = <connection object at 0x3edb140; dsn: 'dbname=gnumed_v13 
host=salaam.homeunix.com port=5432 user=any-doc password=xxxxxxx 
sslmode=prefer', closed: 1>
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
conn_commit = <built-in method commit of DictConnection object at 0x3edb140>
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #157): >>> 
execution frame [execute] in 
[/usr/lib/python2.6/dist-packages/psycopg2/extras.py] at line 110 <<<
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      async = 0
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       self = <cursor object at 0x4471148; closed: -1>
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
       vars = {'enc': 2463, 'epi': None}
2010-09-24 22:45:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #172):          
      query = insert into clin.hospital_stay (fk_encounter, fk_episode) values 
(%(enc)s, %(epi)s)
2010-09-24 22:46:04  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::_on_mail_button_pressed()
 #307): 1
2010-09-24 22:46:04  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::_on_mail_button_pressed()
 #308): syncing log file for emailing
2010-09-24 22:46:04  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #118): -------- synced 
log file -------------------------------

reply via email to

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