gnumed-bugs
[Top][All Lists]
Advanced

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

[Gnumed-bugs] <bug>: Error on Saving new encounter entry


From: MaAn = maan
Subject: [Gnumed-bugs] <bug>: Error on Saving new encounter entry
Date: Mon, 27 Aug 2012 09:01:58 -0400

Report sent via GNUmed's handler for unexpected exceptions.

user comment  : Error on Saving new encounter entry

client version: 1.2.1

system account: marc
staff member  : Marc Angermann (MaAn = maan)
sender email  : address@hidden

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

2012-08-27 07:59:41  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #229): -------- 
start of logging ------------------------------
2012-08-27 07:59:41  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #230): log file 
is </home/marc/.gnumed/gnumed-3729.log>
2012-08-27 07:59:41  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #231): log 
level is [DEBUG]
2012-08-27 07:59:41  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #232): log file 
encoding is <utf8>
2012-08-27 07:59:41  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #233): initial 
python.str -> python.unicode encoding is <ANSI_X3.4-1968>
2012-08-27 07:59:41  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #262): Starting up as 
main module ($Revision: 1.169 $).
2012-08-27 07:59:41  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #263): GNUmed client 
version [1.2.1] on branch [1.2]
2012-08-27 07:59:41  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #264): Platform: 
('Linux', 'praxis', '3.2.0-3-amd64', '#1 SMP Mon Jul 23 02:45:17 UTC 2012', 
'x86_64', '')
2012-08-27 07:59:41  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #265): Python 2.7.3rc2 
(default, Apr 22 2012, 22:30:17) 
[GCC 4.6.3] on linux2 (posix)
2012-08-27 07:59:42  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #268): {'DESCRIPTION': 
u'Debian GNU/Linux testing (wheezy)', 'RELEASE': u'testing', 'CODENAME': 
'wheezy', 'OS': 'GNU/Linux', 'ID': 'Debian'}
2012-08-27 07:59:42  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::<module>() #19): $Revision: 1.20 $
2012-08-27 07:59:42  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #430): adding command 
line arguments
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #431): raw command line 
is:
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #432): 
['/usr/share/gnumed/Gnumed/gnumed.py', '--override-schema-check']
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--debug] not 
in group [cli] in source [cli]
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--slave] not 
in group [cli] in source [cli]
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option 
[--skip-update-check] not in group [cli] in source [cli]
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--hipaa] not 
in group [cli] in source [cli]
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option 
[--local-import] not in group [cli] in source [cli]
2012-08-27 07:59:42  DEBUG     gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_local_repo_path() #204): 
[/home/marc/.gnumed/local_code/1.2/Gnumed/wxGladeWidgets] not found
2012-08-27 07:59:42  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_local_repo_path() #205): local 
wxGlade widgets repository not available
2012-08-27 07:59:42  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::<module>() #61): $Revision: 1.50 $
2012-08-27 07:59:42  INFO      gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::<module>() #60): $Revision: 
1.34 $
2012-08-27 07:59:42  INFO      gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::<module>() #61): mx.DateTime 
version: 3.2.1
2012-08-27 07:59:42  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #29): $Revision: 1.18 
$
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #68): known hooks:
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
post_patient_activation
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
post_person_creation
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
shutdown-post-GUI
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
startup-after-GUI-init
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
startup-before-GUI
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
request_user_attention
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
app_activated_startup
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): app_activated
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): app_deactivated
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_substance_intake_modified
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_test_result_modified
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_soap_modified
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_code_link_modified
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_new_doc_created
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): before_print_doc
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): before_fax_doc
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): before_mail_doc
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_print_doc_part
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_fax_doc_part
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_mail_doc_part
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_external_doc_access
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
db_maintenance_warning
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #124): 
unmodified startup locale settings (should be [C])
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #126): 
current locale settings:
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(): (None, None)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_NUMERIC): (None, None)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_MESSAGES): (None, None)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_MONETARY): (None, None)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_COLLATE): (None, None)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_CTYPE): (None, None)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_TIME): (None, None)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_NUMERIC): C)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_MESSAGES): C)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_MONETARY): C)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_COLLATE): C)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_CTYPE): C)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_ALL): C)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_TIME): C)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #135): 
locale.getdefaultlocale() - default (user) locale: ('de_DE', 'UTF-8')
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #139): 
encoding sanity check (also check "locale.nl_langinfo(CODESET)" below):
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #144): 
sys.getdefaultencoding(): [ascii]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #145): 
locale.getpreferredencoding(): [ANSI_X3.4-1968]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #146): 
locale.getlocale()[1]: [None]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #147): 
sys.getfilesystemencoding(): [UTF-8]
2012-08-27 07:59:42  WARNING   gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #154): 
encoding suggested by locale (ANSI_X3.4-1968) does not match encoding currently 
set in locale (None)
2012-08-27 07:59:42  WARNING   gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #155): 
this might lead to encoding errors
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #160): 
<codecs> module CAN handle encoding [ANSI_X3.4-1968]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #160): 
<codecs> module CAN handle encoding [ascii]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #160): 
<codecs> module CAN handle encoding [UTF-8]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #163): on 
Linux you can determine a likely candidate for the encoding by running "locale 
charmap"
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #165): 
locale related environment variables (${LANG} is typically used):
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
${LANGUAGE} not set
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
${LC_ALL} not set
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
${LC_CTYPE} not set
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LANG}=de_DE.UTF-8
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #172): 
database of locale conventions:
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(mon_decimal_point): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(int_frac_digits): 127
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(p_sep_by_space): 127
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(frac_digits): 127
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(thousands_sep): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(n_sign_posn): 127
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(decimal_point): .
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(int_curr_symbol): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(n_cs_precedes): 127
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(p_sign_posn): 127
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(mon_thousands_sep): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(negative_sign): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(currency_symbol): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(n_sep_by_space): 127
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(mon_grouping): []
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(p_cs_precedes): 127
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(positive_sign): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(grouping): []
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(D_FMT): %m/%d/%y
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(D_T_FMT): %a %b %e %H:%M:%S %Y
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(YESEXPR): ^[yY]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(ALT_DIGITS): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(T_FMT_AMPM): %I:%M:%S %p
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(RADIXCHAR): .
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(ERA_D_FMT): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(T_FMT): %H:%M:%S
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(NOEXPR): ^[nN]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(CRNCYSTR): -
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(ERA): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(CODESET): ANSI_X3.4-1968
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(THOUSEP): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(ERA_D_T_FMT): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::get_encoding() #420): *actual* 
encoding of locale is None, using encoding *recommended* by locale
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #200): 
gmI18N.get_encoding(): ANSI_X3.4-1968
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::activate_locale() #251): 
activating user-default locale with <locale.setlocale(locale.LC_ALL, '')> 
returns: [de_DE.UTF-8]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #124): 
locale settings after activating user-default locale
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #126): 
current locale settings:
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(): ('de_DE', 'UTF-8')
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_NUMERIC): ('de_DE', 'UTF-8')
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_MESSAGES): ('de_DE', 'UTF-8')
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_MONETARY): ('de_DE', 'UTF-8')
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_COLLATE): ('de_DE', 'UTF-8')
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_CTYPE): ('de_DE', 'UTF-8')
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_TIME): ('de_DE', 'UTF-8')
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_NUMERIC): de_DE.UTF-8)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_MESSAGES): de_DE.UTF-8)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_MONETARY): de_DE.UTF-8)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_COLLATE): de_DE.UTF-8)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_CTYPE): de_DE.UTF-8)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_ALL): de_DE.UTF-8)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_TIME): de_DE.UTF-8)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #135): 
locale.getdefaultlocale() - default (user) locale: ('de_DE', 'UTF-8')
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #139): 
encoding sanity check (also check "locale.nl_langinfo(CODESET)" below):
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #144): 
sys.getdefaultencoding(): [ascii]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #145): 
locale.getpreferredencoding(): [UTF-8]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #146): 
locale.getlocale()[1]: [UTF-8]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #147): 
sys.getfilesystemencoding(): [UTF-8]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #160): 
<codecs> module CAN handle encoding [UTF-8]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #160): 
<codecs> module CAN handle encoding [UTF-8]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #160): 
<codecs> module CAN handle encoding [ascii]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #160): 
<codecs> module CAN handle encoding [UTF-8]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #163): on 
Linux you can determine a likely candidate for the encoding by running "locale 
charmap"
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #165): 
locale related environment variables (${LANG} is typically used):
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
${LANGUAGE} not set
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
${LC_ALL} not set
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
${LC_CTYPE} not set
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LANG}=de_DE.UTF-8
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #172): 
database of locale conventions:
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(mon_decimal_point): ,
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(int_frac_digits): 2
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(p_sep_by_space): 1
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(frac_digits): 2
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(thousands_sep): .
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(n_sign_posn): 1
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(decimal_point): ,
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(int_curr_symbol): EUR 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(n_cs_precedes): 0
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(p_sign_posn): 1
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(mon_thousands_sep): .
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(negative_sign): -
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #181): 
locale.localeconv(currency_symbol): €
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(n_sep_by_space): 1
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(mon_grouping): [3, 3, 0]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(p_cs_precedes): 0
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(positive_sign): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(grouping): [3, 3, 0]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(D_FMT): %d.%m.%Y
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(D_T_FMT): %a %d %b %Y %T %Z
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(YESEXPR): ^[jJyY].*
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(ALT_DIGITS): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(T_FMT_AMPM): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(RADIXCHAR): ,
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(ERA_D_FMT): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(T_FMT): %T
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(NOEXPR): ^[nN].*
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #196): 
locale.nl_langinfo(CRNCYSTR): +€
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(ERA): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(CODESET): UTF-8
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(THOUSEP): .
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(ERA_D_T_FMT): 
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #200): 
gmI18N.get_encoding(): UTF-8
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__split_locale_into_levels() 
#97): splitting canonical locale [de_DE] into levels
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__split_locale_into_levels() 
#106): system locale levels: {'country': 'de_DE', 'full': 'de_DE', 'language': 
'de'}
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option 
[--text-domain] not in group [cli] in source [cli]
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option 
[--lang-gettext] not in group [cli] in source [cli]
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::local-import] found in source [internal]
2012-08-27 07:59:42  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #280): domain 
not specified, deriving from script name
2012-08-27 07:59:42  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #283): text 
domain is [gnumed]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #286): searching 
message catalog file for system locale [de_DE]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #293): 
${LANGUAGE} = [None]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #293): ${LC_ALL} 
= [None]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #293): 
${LC_MESSAGES} = [None]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #293): ${LANG} = 
[de_DE.UTF-8]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #320): system is 
POSIX, looking in standard locations (see Python Manual)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #329): looking 
at ${GNUMED_DIR}
2012-08-27 07:59:42  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #335): 
${GNUMED_DIR} not set
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #344): looking 
above binary install directory [/usr/share/gnumed/po]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #348): looking 
in binary install directory [/usr/share/gnumed/Gnumed/po]
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #353): trying 
[/usr/share/locale](/de_DE/LC_MESSAGES/gnumed.mo)
2012-08-27 07:59:42  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #367): found msg 
catalog: [Translate this or i18n into <en_EN> will not work properly !] => 
[Übersetzen oder Bauchplatscher !]
2012-08-27 07:59:42  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::set_string_encoding() #193): 
setting python.str -> python.unicode encoding to <UTF-8> (locale.getlocale)
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--help] not 
in group [cli] in source [cli]
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [-h] not in 
group [cli] in source [cli]
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [-?] not in 
group [cli] in source [cli]
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--version] 
not in group [cli] in source [cli]
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [-V] not in 
group [cli] in source [cli]
2012-08-27 07:59:42  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #135): wxPython not 
available
2012-08-27 07:59:42  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #136): detecting 
paths directly
2012-08-27 07:59:42  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #142): app name 
passed in as [gnumed]
2012-08-27 07:59:42  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #180): previous 
temp dir: /tmp
2012-08-27 07:59:42  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #182): intermediate 
temp dir: /tmp/gnumed
2012-08-27 07:59:42  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::_set_tmp_dir() #308): previous 
temp dir: /tmp/gnumed
2012-08-27 07:59:42  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #224): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 07:59:42  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #225): local 
application base dir: /usr/share/gnumed/Gnumed
2012-08-27 07:59:42  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #226): current 
working dir: /home/marc
2012-08-27 07:59:42  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #228): user home 
dir: /home/marc
2012-08-27 07:59:42  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #229): 
user-specific config dir: /home/marc/.gnumed
2012-08-27 07:59:42  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #230): system-wide 
config dir: /etc/gnumed
2012-08-27 07:59:42  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #231): system-wide 
application data dir: /usr/share/gnumed
2012-08-27 07:59:42  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #232): temporary 
dir: /tmp/gnumed/gm-gTIGXI
2012-08-27 07:59:42  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #124): 
mx.DateTime.now(): [2012-08-27 07:59:42,56]
2012-08-27 07:59:42  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #125): datetime.now()  
 : [2012-08-27 07:59:42.559751]
2012-08-27 07:59:42  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #126): 
time.localtime() : [time.struct_time(tm_year=2012, tm_mon=8, tm_mday=27, 
tm_hour=7, tm_min=59, tm_sec=42, tm_wday=0, tm_yday=240, tm_isdst=1)]
2012-08-27 07:59:42  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #127): time.gmtime()   
 : [time.struct_time(tm_year=2012, tm_mon=8, tm_mday=27, tm_hour=5, tm_min=59, 
tm_sec=42, tm_wday=0, tm_yday=240, tm_isdst=0)]
2012-08-27 07:59:42  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #132): $TZ not defined
2012-08-27 07:59:42  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #134): time.daylight: 
[1] (whether or not DST is locally used at all)
2012-08-27 07:59:42  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #135): time.timezone: 
[-3600] seconds
2012-08-27 07:59:42  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #136): time.altzone : 
[-7200] seconds
2012-08-27 07:59:42  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #137): time.tzname  : 
[CET / CEST] (non-DST / DST)
2012-08-27 07:59:42  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #138): 
mx.DateTime.now().gmtoffset(): [02:00:00,00]
2012-08-27 07:59:42  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #151): DST currently 
in effect: [True]
2012-08-27 07:59:42  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #160): DST currently 
in effect: using UTC offset of [7200] seconds instead of [3600] seconds
2012-08-27 07:59:42  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #166): UTC offset is 
positive, assuming EAST of Greenwich (clock is "ahead")
2012-08-27 07:59:42  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #174): ISO timezone: 
[02:00:00,00] (taken from mx.DateTime.now().gmtoffset())
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--conf-file] 
not in group [cli] in source [cli]
2012-08-27 07:59:42  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "workbase": /home/marc/gnumed.conf (UTF-8)
2012-08-27 07:59:42  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #381): cannot 
open [/home/marc/gnumed.conf], keeping as dummy source
2012-08-27 07:59:42  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "system": /etc/gnumed/gnumed-client.conf (UTF-8)
2012-08-27 07:59:42  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 0x16eb420>]
2012-08-27 07:59:42  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "user": /home/marc/.gnumed/gnumed.conf (UTF-8)
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::parse_INI_stream() #197): parsing 
INI-style data stream [<open file u'/home/marc/.gnumed/gnumed.conf', mode 'rb' 
at 0x16eb420>]
2012-08-27 07:59:42  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "local": /usr/share/gnumed/Gnumed/gnumed.conf (UTF-8)
2012-08-27 07:59:42  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
2012-08-27 07:59:42  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "explicit": None (UTF-8)
2012-08-27 07:59:42  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #373): file 
[None] already known as source [workbase]
2012-08-27 07:59:42  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #374): adding 
it as source [explicit] may provoke trouble
2012-08-27 07:59:42  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #373): file 
[None] already known as source [local]
2012-08-27 07:59:42  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #374): adding 
it as source [explicit] may provoke trouble
2012-08-27 07:59:42  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "user-mime": /home/marc/.gnumed/mime_type2file_extension.conf (UTF-8)
2012-08-27 07:59:42  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #381): cannot 
open [/home/marc/.gnumed/mime_type2file_extension.conf], keeping as dummy source
2012-08-27 07:59:42  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "system-mime": /etc/gnumed/mime_type2file_extension.conf (UTF-8)
2012-08-27 07:59:42  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
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--ui] not in 
group [cli] in source [cli]
2012-08-27 07:59:42  DEBUG     gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_ui_type() #502): UI type: wxp
2012-08-27 07:59:42  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmLoginInfo.py::<module>() #13): $Revision: 
1.17 $
2012-08-27 07:59:42  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #30): $Revision: 1.127 $
2012-08-27 07:59:42  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #43): psycopg2 version: 
2.4.5 (dt dec mx pq3 ext)
2012-08-27 07:59:42  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #44): PostgreSQL via 
DB-API module "<module 'psycopg2' from 
'/usr/lib/python2.7/dist-packages/psycopg2/__init__.pyc'>": API level 2.0, 
thread safety 2, parameter style "pyformat"
2012-08-27 07:59:42  DEBUG     psycopg2 
(/usr/lib/python2.7/dist-packages/psycopg2/pool.py::<module>() #40): installed. 
Logging using Python logging module
2012-08-27 07:59:42  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #71): assuming default 
client encoding of [UTF8]
2012-08-27 07:59:42  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_backend() #507): client expects 
database version [17]
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [client 
timezone] not in group [backend] in source [explicit]
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [client 
timezone] not in group [backend] in source [workbase]
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [client 
timezone] not in group [backend] in source [local]
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [client 
timezone] not in group [backend] in source [user]
2012-08-27 07:59:42  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [client 
timezone] not in group [backend] in source [system]
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #117): hook 
script stat(): posix.stat_result(st_mode=33152, st_ino=2097978, st_dev=65029L, 
st_nlink=1, st_uid=1000, st_gid=1000, st_size=562, st_atime=1333056979, 
st_mtime=1333056979, st_ctime=1333056979)
2012-08-27 07:59:42  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #119): hook 
script mode: 384 (oktal: 0600)
2012-08-27 07:59:42  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#422): appending to sys.path: [/home/marc/.gnumed/scripts]
2012-08-27 07:59:42  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#426): will remove import path: True
2012-08-27 07:59:42  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#439): imported module [hook_script] as [<module 'hook_script' from 
'/home/marc/.gnumed/scripts/hook_script.pyc'>]
2012-08-27 07:59:42  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #140): hook 
script: /home/marc/.gnumed/scripts/hook_script.py
2012-08-27 07:59:43  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg.py::<module>() #39): $Revision: 1.60 $
2012-08-27 07:59:43  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::<module>() #18): $Revision: 
1.13 $
2012-08-27 07:59:43  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::<module>() #19): 
$Revision: 1.22 $
2012-08-27 07:59:43  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py::<module>() #142): 
$Revision: 1.60 $
2012-08-27 07:59:43  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/pycommon/gmMatchProvider.py::<module>() #21): 
$Revision: 1.34 $
2012-08-27 07:59:43  INFO      gm.business 
(/usr/share/gnumed/Gnumed/business/gmDemographicRecord.py::<module>() #30): 
$Revision: 1.106 $
2012-08-27 07:59:43  INFO      gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::<module>() #17): $Revision: 
1.34 $
2012-08-27 07:59:43  INFO      gm.lab 
(/usr/share/gnumed/Gnumed/business/gmPathLab.py::<module>() #28): $Revision: 
1.81 $
2012-08-27 07:59:43  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [test_result_mod_db]
2012-08-27 07:59:43  INFO      gm.coding 
(/usr/share/gnumed/Gnumed/business/gmCoding.py::<module>() #21): $Revision: 1.2 
$
2012-08-27 07:59:43  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [episode_code_mod_db]
2012-08-27 07:59:43  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [rfe_code_mod_db]
2012-08-27 07:59:43  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [aoe_code_mod_db]
2012-08-27 07:59:43  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [health_issue_code_mod_db]
2012-08-27 07:59:43  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [narrative_code_mod_db]
2012-08-27 07:59:43  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [procedure_code_mod_db]
2012-08-27 07:59:43  INFO      gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinNarrative.py::<module>() #23): 
$Revision: 1.45 $
2012-08-27 07:59:43  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [clin_narrative_mod_db]
2012-08-27 07:59:43  INFO      gm.emr 
(/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py::<module>() #28): 
$Revision: 1.157 $
2012-08-27 07:59:43  INFO      gm.atc 
(/usr/share/gnumed/Gnumed/business/gmATC.py::<module>() #21): $Revision: 1.7 $
2012-08-27 07:59:43  INFO      gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::<module>() #23): $Revision: 
1.27 $
2012-08-27 07:59:43  INFO      gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::<module>() #23): $Revision: 
1.118 $
2012-08-27 07:59:43  INFO      gm.meds 
(/usr/share/gnumed/Gnumed/business/gmMedication.py::<module>() #40): $Revision: 
1.21 $
2012-08-27 07:59:43  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [substance_intake_mod_db]
2012-08-27 07:59:43  INFO      gm.vaccination 
(/usr/share/gnumed/Gnumed/business/gmVaccination.py::<module>() #18): 
$Revision: 1.38 $
2012-08-27 07:59:43  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::<module>() #56): 
$Revision: 1.308 $
2012-08-27 07:59:43  INFO      gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::<module>() #34): $Revision: 
1.198 $
2012-08-27 07:59:43  INFO      gm.export 
(/usr/share/gnumed/Gnumed/exporters/gmPatientExporter.py::<module>() #30): 
$Revision: 1.138 $
2012-08-27 07:59:44  INFO      gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::<module>() 
#20): $Revision: 1.17 $
2012-08-27 07:59:44  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::<module>() #29): 
$Revision: 1.45 $
2012-08-27 07:59:44  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py::<module>() #23): $Revision: 
1.135 $
2012-08-27 07:59:44  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmCfgWidgets.py::<module>() #30): $Revision: 
1.4 $
2012-08-27 07:59:44  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmDataMiningWidgets.py::<module>() #29): 
$Revision: 1.14 $
2012-08-27 07:59:44  INFO      gm.kvk 
(/usr/share/gnumed/Gnumed/business/gmKVK.py::<module>() #29): $Revision: 1.22 $
2012-08-27 07:59:44  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::<module>() #27): $Revision: 
1.47 $
2012-08-27 07:59:44  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmResizingWidgets.py::<module>() #23): 
$Revision: 1.55 $
2012-08-27 07:59:44  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmSOAPWidgets.py::<module>() #22): 
$Revision: 1.114 $
2012-08-27 07:59:44  INFO      gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::<module>() #47): $Revision: 1.79 
$
2012-08-27 07:59:44  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmDocumentWidgets.py::<module>() #35): 
$Revision: 1.187 $
2012-08-27 07:59:44  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py::<module>() #49): 
$Revision: 1.46 $
2012-08-27 07:59:44  INFO      gm.vaccination 
(/usr/share/gnumed/Gnumed/wxpython/gmVaccWidgets.py::<module>() #31): 
$Revision: 1.36 $
2012-08-27 07:59:44  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmEMRBrowser.py::<module>() #32): $Revision: 
1.111 $
2012-08-27 07:59:44  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmFormWidgets.py::<module>() #22): 
$Revision: 1.16 $
2012-08-27 07:59:44  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmMedicationWidgets.py::<module>() #24): 
$Revision: 1.33 $
2012-08-27 07:59:44  INFO      gm.loinc 
(/usr/share/gnumed/Gnumed/business/gmLOINC.py::<module>() #22): $Revision: 1.7 $
2012-08-27 07:59:44  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmMeasurementWidgets.py::<module>() #47): 
$Revision: 1.66 $
2012-08-27 07:59:44  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmI18nWidgets.py::<module>() #35): 
$Revision: 1.4 $
2012-08-27 07:59:44  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmCodingWidgets.py::<module>() #27): 
$Revision: 1.4 $
2012-08-27 07:59:44  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::<module>() #91): $Revision: 
1.491 $
2012-08-27 07:59:44  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::<module>() #92): wxPython GUI 
framework: 2.8.12.1 ('__WXGTK__', 'wxGTK', 'unicode', 'gtk2', 
'wx-assertions-off', 'SWIG-1.3.29')
2012-08-27 07:59:44  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--profile] 
not in group [cli] in source [cli]
2012-08-27 07:59:44  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [workplace] in source [explicit]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [workplace] in source [workbase]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [workplace] in source [local]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [workplace] in source [user]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[workplace::help desk] found in source [system]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::client_version] found in source [internal]
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #136): detecting 
paths directly
2012-08-27 07:59:45  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #142): app name 
passed in as [gnumed]
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #176): temp dir 
already set
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #224): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #225): local 
application base dir: /usr/share/gnumed/Gnumed
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #226): current 
working dir: /home/marc
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #228): user home 
dir: /home/marc
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #229): 
user-specific config dir: /home/marc/.gnumed
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #230): system-wide 
config dir: /etc/gnumed
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #231): system-wide 
application data dir: /usr/share/gnumed
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #232): temporary 
dir: /tmp/gnumed/gm-gTIGXI
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #190): re-detecting 
paths with wxPython
2012-08-27 07:59:45  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #193): wxPython app 
name is [gnumed]
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #224): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #225): local 
application base dir: /usr/share/gnumed/Gnumed
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #226): current 
working dir: /home/marc
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #228): user home 
dir: /home/marc
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #229): 
user-specific config dir: /home/marc/.gnumed
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #230): system-wide 
config dir: /etc/gnumed
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #231): system-wide 
application data dir: /usr/share/gnumed
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #232): temporary 
dir: /tmp/gnumed/gm-gTIGXI
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--conf-file] 
not in group [cli] in source [cli]
2012-08-27 07:59:45  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::__setup_prefs_file() #3185): 
user preferences file: /home/marc/.gnumed/gnumed.conf
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [user email] 
not in group [preferences] in source [explicit]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [user email] 
not in group [preferences] in source [user]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [user email] 
not in group [preferences] in source [local]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [user email] 
not in group [preferences] in source [workbase]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [user email] 
not in group [preferences] in source [system]
2012-08-27 07:59:45  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::__setup_platform() #3260): 
running on GTK (probably Linux)
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[cli::--override-schema-check] found in source [cli]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::client_branch] found in source [internal]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::client_version] found in source [internal]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [name] not in 
group [workplace] in source [explicit]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [name] not in 
group [workplace] in source [workbase]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [name] not in 
group [workplace] in source [local]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [name] not in 
group [workplace] in source [user]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[workplace::name] found in source [system]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [profiles] 
not in group [backend] in source [explicit]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[backend::profiles] found in source [system]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [profiles] 
not in group [backend] in source [user]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [profiles] 
not in group [backend] in source [workbase]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
GNUmed database on this machine::host] found in source [system]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
GNUmed database on this machine::port] found in source [system]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
GNUmed database on this machine::database] found in source [system]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  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]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [host] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [host] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [host] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source [user]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::host] found in source [system]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [port] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [port] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [port] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source [user]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::port] found in source [system]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [database] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [database] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [database] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[user]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::database] found in source 
[system]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[user]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[system]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [public/open 
access] not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] 
in source [explicit]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [public/open 
access] not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] 
in source [workbase]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [public/open 
access] not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] 
in source [user]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::public/open access] found in 
source [system]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[user]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::help desk] found in source 
[system]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [logins] not 
in group [backend] in source [explicit]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [logins] not 
in group [backend] in source [user]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [logins] not 
in group [backend] in source [workbase]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [login] not 
in group [preferences] in source [explicit]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[preferences::login] found in source [user]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [profile] not 
in group [preferences] in source [explicit]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[preferences::profile] found in source [user]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2012-08-27 07:59:45  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::slave] found in source [internal]
2012-08-27 07:59:45  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::get_icon() #810): icon found in 
[/usr/share/gnumed/bitmaps/gm_icon-serpent_and_gnu.png]
2012-08-27 07:59:45  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::connect_to_database() 
#118): login attempt 1 of 3
2012-08-27 07:59:52  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::__on_login_button_pressed()
 #777): debug mode disabled
2012-08-27 07:59:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--quiet] not 
in group [cli] in source [cli]
2012-08-27 07:59:53  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::__validate_timezone() #227): time 
zone [CEST] is not settable
2012-08-27 07:59:54  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::sanity_check_database_settings() 
#1687): PG option [log_connections] set to [off], expected [on], risk: 
<non-compliance with HIPAA>
2012-08-27 07:59:54  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::sanity_check_database_settings() 
#1687): PG option [log_disconnections] set to [off], expected [on], risk: 
<non-compliance with HIPAA>
2012-08-27 08:31:37  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Herr//Frau::>$, discarding length: ><
2012-08-27 08:31:37  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-08-27 08:31:37  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-08-27 08:31:37  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-08-27 08:31:37  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-08-27 08:31:43  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Sehr geehrter Herr//Sehr geehrte 
Frau::>$, discarding length: ><
2012-08-27 08:31:46  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-08-27 08:32:06  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-gTIGXI/gm-L-Template-nSmFNq-instance.tex] is not a 
readable file
2012-08-27 08:32:06  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-gTIGXI/gm-L-Template-nSmFNq-instance.tex] into document part
2012-08-27 08:32:06  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-08-27 08:32:06  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-08-27 10:04:08  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Herr//Frau::>$, discarding length: ><
2012-08-27 10:04:08  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-08-27 10:04:08  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-08-27 10:04:08  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-08-27 10:04:09  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-08-27 10:04:14  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Sehr geehrter Herr//Sehr geehrte 
Frau::>$, discarding length: ><
2012-08-27 10:04:15  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-08-27 10:04:25  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-gTIGXI/gm-L-Template-uNX75H-instance.tex] is not a 
readable file
2012-08-27 10:04:25  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-gTIGXI/gm-L-Template-uNX75H-instance.tex] into document part
2012-08-27 10:04:25  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-08-27 10:04:25  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-08-27 10:38:47  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Herr//Frau::>$, discarding length: ><
2012-08-27 10:38:47  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-08-27 10:38:47  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-08-27 10:38:47  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-08-27 10:38:47  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-08-27 10:38:53  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Sehr geehrter Herr//Sehr geehrte 
Frau::>$, discarding length: ><
2012-08-27 10:38:56  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-08-27 10:39:05  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-gTIGXI/gm-L-Template-Mh0aay-instance.tex] is not a 
readable file
2012-08-27 10:39:05  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-gTIGXI/gm-L-Template-Mh0aay-instance.tex] into document part
2012-08-27 10:39:05  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-08-27 10:39:05  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-08-27 10:43:48  ERROR     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::pydt_strftime() #262): Python 
cannot strftime() this <datetime>
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py", line 260, in 
pydt_strftime
    return dt.strftime(format).decode(encoding, 'replace')
ValueError: year=198 is before 1900; the datetime strftime() methods require 
year >= 1900
2012-08-27 10:44:36  CRITICAL  gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py::refetch_payload() 
#504): [cIdentity:778]: cannot reload, payload changed
2012-08-27 11:17:02  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Herr//Frau::>$, discarding length: ><
2012-08-27 11:17:02  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-08-27 11:17:02  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-08-27 11:17:02  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-08-27 11:17:02  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-08-27 11:17:09  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Sehr geehrter Herr//Sehr geehrte 
Frau::>$, discarding length: ><
2012-08-27 11:17:13  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-08-27 11:17:23  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-gTIGXI/gm-L-Template-FyIP7G-instance.tex] is not a 
readable file
2012-08-27 11:17:23  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-gTIGXI/gm-L-Template-FyIP7G-instance.tex] into document part
2012-08-27 11:17:23  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-08-27 11:17:23  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-08-27 11:24:58  CRITICAL  gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py::refetch_payload() 
#504): [cIdentity:779]: cannot reload, payload changed
2012-08-27 12:20:01  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Herr//Frau::>$, discarding length: ><
2012-08-27 12:20:01  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-08-27 12:20:02  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-08-27 12:20:02  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-08-27 12:20:02  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-08-27 12:20:08  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Sehr geehrter Herr//Sehr geehrte 
Frau::>$, discarding length: ><
2012-08-27 12:20:19  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-08-27 12:20:28  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-gTIGXI/gm-L-Template-y0PnrV-instance.tex] is not a 
readable file
2012-08-27 12:20:28  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-gTIGXI/gm-L-Template-y0PnrV-instance.tex] into document part
2012-08-27 12:20:28  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-08-27 12:20:28  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-08-27 14:01:54  ERROR     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::pydt_strftime() #262): Python 
cannot strftime() this <datetime>
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py", line 260, in 
pydt_strftime
    return dt.strftime(format).decode(encoding, 'replace')
ValueError: year=196 is before 1900; the datetime strftime() methods require 
year >= 1900
2012-08-27 14:02:28  CRITICAL  gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py::refetch_payload() 
#504): [cIdentity:780]: cannot reload, payload changed
2012-08-27 14:51:50  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1266): error 
running RW query
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
OperationalError: could not extend file "base/150128/148695": No space left on 
device
TIP:  Check free disk space.

2012-08-27 14:51:50  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #182): enabling debug mode
2012-08-27 14:51:50  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #186): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1236, in 
_on_save_note_button_pressed
    gmTools.none_if(self._TCTRL_rfe.GetValue().strip(), u'')
  File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1419, in 
save_current_editor
    if not page.save(emr = emr, episode_name_candidates = 
episode_name_candidates, encounter = encounter):
  File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1645, in 
save
    encounter_id = encounter
  File "/usr/share/gnumed/Gnumed/business/gmClinNarrative.py", line 265, in 
create_clin_narrative
    rows, idx = gmPG2.run_rw_queries(queries = queries, return_data = True, 
get_col_idx = True)
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
OperationalError: could not extend file "base/150128/148695": No space left on 
device
TIP:  Check free disk space.

2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 605 
<<<
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
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.

2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
_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']
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x108da28>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x108d938>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x108d7d0>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x108dd70>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x108db90>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x108df50>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
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.

2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x108dc08>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x108dc80>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x108daa0>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x108d848>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x108d758>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x10a9390>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x108de60>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x108d9b0>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
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.

2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x108dde8>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x108dcf8>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x108d8c0>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x108ded8>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x108db18>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x108d6e0>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3424 <<<
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >,)
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_save_note_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1236 <<<
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapPluginPnl; proxy of 
<Swig Object of type 'wxPanel *' at 0x318f9f0> >
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff7c82f7e0> >
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save_current_editor] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1419 <<<
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   page_idx = 1
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteInputNotebook; proxy 
of <Swig Object of type 'wxNotebook *' at 0x31987b0> >
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       page = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = None
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1645 <<<
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1561]: ['episode_open: >>True<<', 
'episode_modified_when: >>2012-08-27 14:51:49.744257+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: >>Shunt, 
Narbe, C1+2<<', u'issue_active: NULL', 'pk_episode: >>1561<<', u'health_issue: 
NULL', 'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 
14:02:31.337221+02:00<<', 'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 
'pk_health_issue: >>772<<', u'summary: >><<', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111282<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       data = [cNarrative:8298]: ['xmin_clin_narrative_14: >>111284<<', 
'pk_episode: >>1561<<', u'soap_cat: >>o<<', 'pk_narrative: >>8298<<', 
'pk_health_issue: >>772<<', 'pk_patient: >>780<<', u'provider: >>MaAn<<', 
'pk_encounter: >>2934<<', 'row_version: >>0<<', 'xmin_clin_narrative: 
>>111284<<', 'modified_when: >>2012-08-27 14:51:49.944279+02:00<<', 
u'narrative: >>C1+2 re, Kiefergelenk re, Dura re parietal, Narbe LWS, Plexus 
pharyngeus re, Uterus/Ovar li, sek. Becken<<', 'date: >>2012-08-27 
14:51:49.944279+02:00<<', 'pk_generic_codes: >>[]<<', 'pk_item: >>8309<<']
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       note = ['a', u'Dysfunktion Kiefergelenk, Dysfunktion Halswirbels\xe4ule, 
Narbenst\xf6rung Lendenwirbels\xe4ule']
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 soap_notes = [<Gnumed.business.gmClinNarrative.cNarrative object at 
0x2a9a790>, <Gnumed.business.gmClinNarrative.cNarrative object at 0x2a9ac90>]
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      saved = True
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = 2934
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [create_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinNarrative.py] at line 265 <<<
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'narr': u'Dysfunktion Kiefergelenk, Dysfunktion 
Halswirbels\xe4ule, Narbenst\xf6rung Lendenwirbels\xe4ule', 'enc': 2934, 
'soap': 'a', 'epi': 1561}
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        idx = {'xmin_clin_narrative_14': 14, 'pk_episode': 8, 'soap_cat': 3, 
'pk_narrative': 6, 'pk_health_issue': 7, 'pk_patient': 0, 'provider': 2, 
'pk_encounter': 9, 'row_version': 12, 'xmin_clin_narrative': 10, 
'modified_when': 11, 'narrative': 4, 'date': 1, 'pk_generic_codes': 13, 
'pk_item': 5}
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = a
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = 
                SELECT
                        *, xmin_clin_narrative
                FROM clin.v_pat_narrative
                WHERE
                        pk_encounter = %(enc)s
                                AND
                        pk_episode = %(epi)s
                                AND
                        soap_cat = %(soap)s
                                AND
                        narrative = %(narr)s
        
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 episode_id = 1561
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  narrative = Dysfunktion Kiefergelenk, Dysfunktion Halswirbelsäule, 
Narbenstörung Lendenwirbelsäule
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       rows = []
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1561, 
u'Dysfunktion Kiefergelenk, Dysfunktion Halswirbels\xe4ule, Narbenst\xf6rung 
Lendenwirbels\xe4ule', 'a']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
encounter_id = 2934
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1275 <<<
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x298dc50>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x298dc50; closed: -1>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x7fcbbc083630>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = [2934, 1561, u'Dysfunktion Kiefergelenk, Dysfunktion 
Halswirbels\xe4ule, Narbenst\xf6rung Lendenwirbels\xe4ule', 'a']
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
conn_rollback = <built-in method rollback of DictConnection object at 
0x7fcbbc083630>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1561, 
u'Dysfunktion Kiefergelenk, Dysfunktion Halswirbels\xe4ule, Narbenst\xf6rung 
Lendenwirbels\xe4ule', 'a']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = True
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1561, 
u'Dysfunktion Kiefergelenk, Dysfunktion Halswirbels\xe4ule, Narbenst\xf6rung 
Lendenwirbels\xe4ule', 'a']}
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = True
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x7fcbbc083630; dsn: 'dbname=gnumed_v17 
port=5432 user=maan password=xxxxxxxxxxx sslmode=prefer', closed: 1>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 
0x7fcbbc083630>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = 
                        INSERT INTO clin.clin_narrative
                                (fk_encounter, fk_episode, narrative, soap_cat)
                        VALUES
                                (%s, %s, %s, lower(%s))
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x298dc50; closed: -1>
2012-08-27 14:51:50  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = [2934, 1561, u'Dysfunktion Kiefergelenk, Dysfunktion 
Halswirbels\xe4ule, Narbenst\xf6rung Lendenwirbels\xe4ule', 'a']
2012-08-27 14:51:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15530, readonly: False
2012-08-27 14:51:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:51:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:51:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15531, readonly: False
2012-08-27 14:51:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:51:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:51:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15532, readonly: False
2012-08-27 14:51:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:51:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:51:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15533, readonly: False
2012-08-27 14:51:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:51:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:51:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15534, readonly: False
2012-08-27 14:51:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:51:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:51:54  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #214): syncing log file for backup to 
[/home/marc/gnumed/logs/gnumed-3729_2012-08-27_14-51-50.log]
2012-08-27 14:51:54  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------
2012-08-27 14:52:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15537, readonly: False
2012-08-27 14:52:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:52:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:52:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15538, readonly: False
2012-08-27 14:52:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:52:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:52:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15539, readonly: False
2012-08-27 14:52:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:52:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:52:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15540, readonly: False
2012-08-27 14:52:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:52:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:52:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15542, readonly: False
2012-08-27 14:52:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:52:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:52:15  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1266): error 
running RW query
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
OperationalError: could not extend file "base/150128/143772": No space left on 
device
TIP:  Check free disk space.

2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 605 
<<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
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.

2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
_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']
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x108da28>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x108d938>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x108d7d0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x108dd70>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x108db90>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x108df50>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
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.

2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x108dc08>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x108dc80>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x108daa0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x108d848>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x108d758>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x10a9390>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x108de60>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x108d9b0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
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.

2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x108dde8>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x108dcf8>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x108d8c0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x108ded8>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x108db18>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x108d6e0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3424 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >,)
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_save_note_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1236 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapPluginPnl; proxy of 
<Swig Object of type 'wxPanel *' at 0x318f9f0> >
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff7c82f7e0> >
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save_current_editor] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1419 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   page_idx = 1
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteInputNotebook; proxy 
of <Swig Object of type 'wxNotebook *' at 0x31987b0> >
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       page = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = None
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1645 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1562]: ['episode_open: >>True<<', 
'episode_modified_when: >>2012-08-27 14:52:03.689812+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: >>Shunt, 
Narbe, C1<<', u'issue_active: NULL', 'pk_episode: >>1562<<', u'health_issue: 
NULL', 'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 
14:02:31.337221+02:00<<', 'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 
u'pk_health_issue: NULL', u'summary: >><<', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111287<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       note = ['s', u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,']
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 soap_notes = []
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = 2934
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [create_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinNarrative.py] at line 265 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'narr': u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 'enc': 2934, 'soap': 's', 'epi': 1562}
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        idx = {'xmin_clin_narrative_14': 14, 'pk_episode': 8, 'soap_cat': 3, 
'pk_narrative': 6, 'pk_health_issue': 7, 'pk_patient': 0, 'provider': 2, 
'pk_encounter': 9, 'row_version': 12, 'xmin_clin_narrative': 10, 
'modified_when': 11, 'narrative': 4, 'date': 1, 'pk_generic_codes': 13, 
'pk_item': 5}
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = s
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = 
                SELECT
                        *, xmin_clin_narrative
                FROM clin.v_pat_narrative
                WHERE
                        pk_encounter = %(enc)s
                                AND
                        pk_episode = %(epi)s
                                AND
                        soap_cat = %(soap)s
                                AND
                        narrative = %(narr)s
        
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 episode_id = 1562
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  narrative = Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, 
schon vorher gehabt, trägt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunfälle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, großes Myom, zunehmend menstruationsabhängig 
Sz,
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       rows = []
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1562, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
encounter_id = 2934
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1267 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x298de50>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x298de50; closed: 0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x39361d0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = [2934, 1562, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
conn_rollback = <built-in method rollback of DictConnection object at 0x39361d0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1562, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = True
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1562, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = True
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x39361d0; dsn: 'dbname=gnumed_v17 
port=5432 user=maan password=xxxxxxxxxxx sslmode=prefer', closed: 0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 0x39361d0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = 
                        INSERT INTO clin.clin_narrative
                                (fk_encounter, fk_episode, narrative, soap_cat)
                        VALUES
                                (%s, %s, %s, lower(%s))
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x298de50; closed: 0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = [2934, 1562, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:52:15  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #165): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1236, in 
_on_save_note_button_pressed
    gmTools.none_if(self._TCTRL_rfe.GetValue().strip(), u'')
  File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1419, in 
save_current_editor
    if not page.save(emr = emr, episode_name_candidates = 
episode_name_candidates, encounter = encounter):
  File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1645, in 
save
    encounter_id = encounter
  File "/usr/share/gnumed/Gnumed/business/gmClinNarrative.py", line 265, in 
create_clin_narrative
    rows, idx = gmPG2.run_rw_queries(queries = queries, return_data = True, 
get_col_idx = True)
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
OperationalError: could not extend file "base/150128/143772": No space left on 
device
TIP:  Check free disk space.

2012-08-27 14:52:15  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 605 
<<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
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.

2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
_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']
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x108da28>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x108d938>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x108d7d0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x108dd70>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x108db90>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x108df50>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
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.

2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x108dc08>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x108dc80>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x108daa0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x108d848>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x108d758>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x10a9390>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x108de60>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x108d9b0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
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.

2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x108dde8>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x108dcf8>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x108d8c0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x108ded8>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x108db18>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x108d6e0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3424 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >,)
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_save_note_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1236 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapPluginPnl; proxy of 
<Swig Object of type 'wxPanel *' at 0x318f9f0> >
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff7c82f7e0> >
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save_current_editor] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1419 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   page_idx = 1
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteInputNotebook; proxy 
of <Swig Object of type 'wxNotebook *' at 0x31987b0> >
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       page = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = None
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1645 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1562]: ['episode_open: >>True<<', 
'episode_modified_when: >>2012-08-27 14:52:03.689812+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: >>Shunt, 
Narbe, C1<<', u'issue_active: NULL', 'pk_episode: >>1562<<', u'health_issue: 
NULL', 'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 
14:02:31.337221+02:00<<', 'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 
u'pk_health_issue: NULL', u'summary: >><<', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111287<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       note = ['s', u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,']
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 soap_notes = []
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = 2934
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [create_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinNarrative.py] at line 265 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'narr': u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 'enc': 2934, 'soap': 's', 'epi': 1562}
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        idx = {'xmin_clin_narrative_14': 14, 'pk_episode': 8, 'soap_cat': 3, 
'pk_narrative': 6, 'pk_health_issue': 7, 'pk_patient': 0, 'provider': 2, 
'pk_encounter': 9, 'row_version': 12, 'xmin_clin_narrative': 10, 
'modified_when': 11, 'narrative': 4, 'date': 1, 'pk_generic_codes': 13, 
'pk_item': 5}
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = s
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = 
                SELECT
                        *, xmin_clin_narrative
                FROM clin.v_pat_narrative
                WHERE
                        pk_encounter = %(enc)s
                                AND
                        pk_episode = %(epi)s
                                AND
                        soap_cat = %(soap)s
                                AND
                        narrative = %(narr)s
        
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 episode_id = 1562
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  narrative = Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, 
schon vorher gehabt, trägt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunfälle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, großes Myom, zunehmend menstruationsabhängig 
Sz,
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       rows = []
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1562, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
encounter_id = 2934
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1275 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x298de50>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x298de50; closed: -1>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x39361d0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = [2934, 1562, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
conn_rollback = <built-in method rollback of DictConnection object at 0x39361d0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1562, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = True
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1562, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = True
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x39361d0; dsn: 'dbname=gnumed_v17 
port=5432 user=maan password=xxxxxxxxxxx sslmode=prefer', closed: 1>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 0x39361d0>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = 
                        INSERT INTO clin.clin_narrative
                                (fk_encounter, fk_episode, narrative, soap_cat)
                        VALUES
                                (%s, %s, %s, lower(%s))
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x298de50; closed: -1>
2012-08-27 14:52:15  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = [2934, 1562, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:52:16  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #214): syncing log file for backup to 
[/home/marc/gnumed/logs/gnumed-3729_2012-08-27_14-52-15.log]
2012-08-27 14:52:16  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------
2012-08-27 14:52:17  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-08-27 14:52:17  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=5* -> event.GetSelection()=4
2012-08-27 14:52:17  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-08-27 14:52:17  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=5 -> event.GetSelection()=4*
2012-08-27 14:52:18  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15543, readonly: False
2012-08-27 14:52:18  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:52:18  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:52:36  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-08-27 14:52:36  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=4* -> event.GetSelection()=5
2012-08-27 14:52:36  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-08-27 14:52:36  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=4 -> event.GetSelection()=5*
2012-08-27 14:52:42  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15547, readonly: False
2012-08-27 14:52:42  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:52:42  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:52:42  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15548, readonly: False
2012-08-27 14:52:42  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:52:42  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:52:42  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15549, readonly: False
2012-08-27 14:52:42  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:52:42  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:52:42  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15550, readonly: False
2012-08-27 14:52:42  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:52:42  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:52:44  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15551, readonly: False
2012-08-27 14:52:44  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:52:44  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:52:44  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15552, readonly: False
2012-08-27 14:52:44  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:52:44  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:52:44  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15553, readonly: False
2012-08-27 14:52:44  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:52:44  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:52:44  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1266): error 
running RW query
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
OperationalError: could not extend file "base/150128/143772": No space left on 
device
TIP:  Check free disk space.

2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 605 
<<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
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.

2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
_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']
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x108da28>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x108d938>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x108d7d0>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x108dd70>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x108db90>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x108df50>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
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.

2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x108dc08>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x108dc80>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x108daa0>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x108d848>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x108d758>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x10a9390>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x108de60>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x108d9b0>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
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.

2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x108dde8>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x108dcf8>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x108d8c0>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x108ded8>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x108db18>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x108d6e0>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3424 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >,)
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_save_note_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1236 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapPluginPnl; proxy of 
<Swig Object of type 'wxPanel *' at 0x318f9f0> >
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff7c82f7e0> >
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save_current_editor] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1419 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   page_idx = 1
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteInputNotebook; proxy 
of <Swig Object of type 'wxNotebook *' at 0x31987b0> >
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       page = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = None
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1645 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1563]: ['episode_open: >>True<<', 
'episode_modified_when: >>2012-08-27 14:52:42.667235+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: >>Shunt<<', 
u'issue_active: NULL', 'pk_episode: >>1563<<', u'health_issue: NULL', 
'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 14:02:31.337221+02:00<<', 
'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 'pk_health_issue: 
>>772<<', u'summary: >><<', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111292<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       note = ['s', u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,']
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 soap_notes = []
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = 2934
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [create_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinNarrative.py] at line 265 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'narr': u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 'enc': 2934, 'soap': 's', 'epi': 1563}
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        idx = {'xmin_clin_narrative_14': 14, 'pk_episode': 8, 'soap_cat': 3, 
'pk_narrative': 6, 'pk_health_issue': 7, 'pk_patient': 0, 'provider': 2, 
'pk_encounter': 9, 'row_version': 12, 'xmin_clin_narrative': 10, 
'modified_when': 11, 'narrative': 4, 'date': 1, 'pk_generic_codes': 13, 
'pk_item': 5}
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = s
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = 
                SELECT
                        *, xmin_clin_narrative
                FROM clin.v_pat_narrative
                WHERE
                        pk_encounter = %(enc)s
                                AND
                        pk_episode = %(epi)s
                                AND
                        soap_cat = %(soap)s
                                AND
                        narrative = %(narr)s
        
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 episode_id = 1563
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  narrative = Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, 
schon vorher gehabt, trägt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunfälle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, großes Myom, zunehmend menstruationsabhängig 
Sz,
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       rows = []
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1563, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
encounter_id = 2934
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1267 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x298dc50>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x298dc50; closed: 0>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x7fcbbc078770>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = [2934, 1563, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
conn_rollback = <built-in method rollback of DictConnection object at 
0x7fcbbc078770>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1563, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = True
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1563, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = True
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x7fcbbc078770; dsn: 'dbname=gnumed_v17 
port=5432 user=maan password=xxxxxxxxxxx sslmode=prefer', closed: 0>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 
0x7fcbbc078770>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = 
                        INSERT INTO clin.clin_narrative
                                (fk_encounter, fk_episode, narrative, soap_cat)
                        VALUES
                                (%s, %s, %s, lower(%s))
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x298dc50; closed: 0>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = [2934, 1563, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:52:44  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #165): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1236, in 
_on_save_note_button_pressed
    gmTools.none_if(self._TCTRL_rfe.GetValue().strip(), u'')
  File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1419, in 
save_current_editor
    if not page.save(emr = emr, episode_name_candidates = 
episode_name_candidates, encounter = encounter):
  File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1645, in 
save
    encounter_id = encounter
  File "/usr/share/gnumed/Gnumed/business/gmClinNarrative.py", line 265, in 
create_clin_narrative
    rows, idx = gmPG2.run_rw_queries(queries = queries, return_data = True, 
get_col_idx = True)
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
OperationalError: could not extend file "base/150128/143772": No space left on 
device
TIP:  Check free disk space.

2012-08-27 14:52:44  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 605 
<<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
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.

2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
_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']
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x108da28>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x108d938>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x108d7d0>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x108dd70>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x108db90>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x108df50>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
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.

2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x108dc08>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x108dc80>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x108daa0>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x108d848>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x108d758>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x10a9390>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x108de60>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x108d9b0>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
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.

2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x108dde8>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x108dcf8>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x108d8c0>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x108ded8>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x108db18>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x108d6e0>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3424 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >,)
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_save_note_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1236 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapPluginPnl; proxy of 
<Swig Object of type 'wxPanel *' at 0x318f9f0> >
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff7c82f7e0> >
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save_current_editor] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1419 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   page_idx = 1
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteInputNotebook; proxy 
of <Swig Object of type 'wxNotebook *' at 0x31987b0> >
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       page = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = None
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1645 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1563]: ['episode_open: >>True<<', 
'episode_modified_when: >>2012-08-27 14:52:42.667235+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: >>Shunt<<', 
u'issue_active: NULL', 'pk_episode: >>1563<<', u'health_issue: NULL', 
'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 14:02:31.337221+02:00<<', 
'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 'pk_health_issue: 
>>772<<', u'summary: >><<', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111292<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       note = ['s', u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,']
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 soap_notes = []
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = 2934
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [create_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinNarrative.py] at line 265 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'narr': u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 'enc': 2934, 'soap': 's', 'epi': 1563}
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        idx = {'xmin_clin_narrative_14': 14, 'pk_episode': 8, 'soap_cat': 3, 
'pk_narrative': 6, 'pk_health_issue': 7, 'pk_patient': 0, 'provider': 2, 
'pk_encounter': 9, 'row_version': 12, 'xmin_clin_narrative': 10, 
'modified_when': 11, 'narrative': 4, 'date': 1, 'pk_generic_codes': 13, 
'pk_item': 5}
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = s
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = 
                SELECT
                        *, xmin_clin_narrative
                FROM clin.v_pat_narrative
                WHERE
                        pk_encounter = %(enc)s
                                AND
                        pk_episode = %(epi)s
                                AND
                        soap_cat = %(soap)s
                                AND
                        narrative = %(narr)s
        
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 episode_id = 1563
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  narrative = Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, 
schon vorher gehabt, trägt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunfälle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, großes Myom, zunehmend menstruationsabhängig 
Sz,
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       rows = []
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1563, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
encounter_id = 2934
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1275 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x298dc50>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x298dc50; closed: -1>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x7fcbbc078770>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = [2934, 1563, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
conn_rollback = <built-in method rollback of DictConnection object at 
0x7fcbbc078770>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1563, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = True
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1563, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = True
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x7fcbbc078770; dsn: 'dbname=gnumed_v17 
port=5432 user=maan password=xxxxxxxxxxx sslmode=prefer', closed: 1>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 
0x7fcbbc078770>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = 
                        INSERT INTO clin.clin_narrative
                                (fk_encounter, fk_episode, narrative, soap_cat)
                        VALUES
                                (%s, %s, %s, lower(%s))
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x298dc50; closed: -1>
2012-08-27 14:52:44  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = [2934, 1563, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:52:45  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15554, readonly: False
2012-08-27 14:52:45  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:52:45  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:52:45  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15555, readonly: False
2012-08-27 14:52:45  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:52:45  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:52:50  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #214): syncing log file for backup to 
[/home/marc/gnumed/logs/gnumed-3729_2012-08-27_14-52-44.log]
2012-08-27 14:52:50  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------
2012-08-27 14:52:59  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-08-27 14:52:59  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=5* -> event.GetSelection()=4
2012-08-27 14:52:59  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-08-27 14:52:59  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=5 -> event.GetSelection()=4*
2012-08-27 14:53:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15558, readonly: False
2012-08-27 14:53:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15559, readonly: False
2012-08-27 14:53:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15560, readonly: False
2012-08-27 14:53:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15562, readonly: False
2012-08-27 14:53:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15563, readonly: False
2012-08-27 14:53:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:24  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-08-27 14:53:24  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=4* -> event.GetSelection()=5
2012-08-27 14:53:24  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-08-27 14:53:24  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=4 -> event.GetSelection()=5*
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15565, readonly: False
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15566, readonly: False
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15567, readonly: False
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15568, readonly: False
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:34  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1266): error 
running RW query
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
OperationalError: could not extend file "base/150128/143772": No space left on 
device
TIP:  Check free disk space.

2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 605 
<<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
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.

2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
_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']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x108da28>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x108d938>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x108d7d0>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x108dd70>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x108db90>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x108df50>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
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.

2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x108dc08>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x108dc80>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x108daa0>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x108d848>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x108d758>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x10a9390>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x108de60>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x108d9b0>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
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.

2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x108dde8>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x108dcf8>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x108d8c0>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x108ded8>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x108db18>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x108d6e0>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3424 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >,)
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_save_note_under_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1257 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapPluginPnl; proxy of 
<Swig Object of type 'wxPanel *' at 0x318f9f0> >
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff7c82f7e0> >
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = [cEncounter:2934]: ['pk_generic_codes_aoe: >>[]<<', 
'last_affirmed_original_tz: >>2012-08-27 14:02:31.337221<<', 'started: 
>>2012-08-27 14:02:31.317690+02:00<<', 'pk_type: >>1<<', 'pk_patient: >>780<<', 
'last_affirmed: >>2012-08-27 14:02:31.337221+02:00<<', u'reason_for_encounter: 
NULL', u'l10n_type: >>in Praxis<<', 'pk_encounter: >>2934<<', 'pk_location: 
>>-1<<', 'pk_generic_codes_rfe: >>[]<<', 'source_time_zone: >>2:00:00<<', 
u'assessment_of_encounter: NULL', u'type: >>in surgery<<', 'xmin_encounter: 
>>111276<<', 'started_original_tz: >>2012-08-27 14:02:31.317690<<']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save_current_editor] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1419 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   page_idx = 1
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteInputNotebook; proxy 
of <Swig Object of type 'wxNotebook *' at 0x31987b0> >
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       page = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = 2934
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1645 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1564]: ['episode_open: >>True<<', 
'episode_modified_when: >>2012-08-27 14:53:34.486074+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: >>Shunt<<', 
u'issue_active: NULL', 'pk_episode: >>1564<<', u'health_issue: NULL', 
'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 14:02:31.337221+02:00<<', 
'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 'pk_health_issue: 
>>772<<', u'summary: >><<', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111298<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       note = ['s', u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 soap_notes = []
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = 2934
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [create_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinNarrative.py] at line 265 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'narr': u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 'enc': 2934, 'soap': 's', 'epi': 1564}
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        idx = {'xmin_clin_narrative_14': 14, 'pk_episode': 8, 'soap_cat': 3, 
'pk_narrative': 6, 'pk_health_issue': 7, 'pk_patient': 0, 'provider': 2, 
'pk_encounter': 9, 'row_version': 12, 'xmin_clin_narrative': 10, 
'modified_when': 11, 'narrative': 4, 'date': 1, 'pk_generic_codes': 13, 
'pk_item': 5}
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = s
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = 
                SELECT
                        *, xmin_clin_narrative
                FROM clin.v_pat_narrative
                WHERE
                        pk_encounter = %(enc)s
                                AND
                        pk_episode = %(epi)s
                                AND
                        soap_cat = %(soap)s
                                AND
                        narrative = %(narr)s
        
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 episode_id = 1564
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  narrative = Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, 
schon vorher gehabt, trägt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunfälle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, großes Myom, zunehmend menstruationsabhängig 
Sz,
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       rows = []
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1564, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
encounter_id = 2934
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1267 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x298de50>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x298de50; closed: 0>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x38f5620>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = [2934, 1564, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
conn_rollback = <built-in method rollback of DictConnection object at 0x38f5620>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1564, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = True
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1564, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = True
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x38f5620; dsn: 'dbname=gnumed_v17 
port=5432 user=maan password=xxxxxxxxxxx sslmode=prefer', closed: 0>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 0x38f5620>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = 
                        INSERT INTO clin.clin_narrative
                                (fk_encounter, fk_episode, narrative, soap_cat)
                        VALUES
                                (%s, %s, %s, lower(%s))
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x298de50; closed: 0>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = [2934, 1564, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:53:34  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #165): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1257, in 
_on_save_note_under_button_pressed
    gmTools.none_if(self._TCTRL_rfe.GetValue().strip(), u'')
  File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1419, in 
save_current_editor
    if not page.save(emr = emr, episode_name_candidates = 
episode_name_candidates, encounter = encounter):
  File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1645, in 
save
    encounter_id = encounter
  File "/usr/share/gnumed/Gnumed/business/gmClinNarrative.py", line 265, in 
create_clin_narrative
    rows, idx = gmPG2.run_rw_queries(queries = queries, return_data = True, 
get_col_idx = True)
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
OperationalError: could not extend file "base/150128/143772": No space left on 
device
TIP:  Check free disk space.

2012-08-27 14:53:34  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 605 
<<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
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.

2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
_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']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x108da28>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x108d938>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x108d7d0>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x108dd70>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x108db90>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x108df50>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
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.

2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x108dc08>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x108dc80>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x108daa0>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x108d848>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x108d758>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x10a9390>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x108de60>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x108d9b0>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
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.

2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x108dde8>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x108dcf8>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x108d8c0>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x108ded8>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x108db18>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x108d6e0>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3424 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >,)
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_save_note_under_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1257 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapPluginPnl; proxy of 
<Swig Object of type 'wxPanel *' at 0x318f9f0> >
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff7c82f7e0> >
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = [cEncounter:2934]: ['pk_generic_codes_aoe: >>[]<<', 
'last_affirmed_original_tz: >>2012-08-27 14:02:31.337221<<', 'started: 
>>2012-08-27 14:02:31.317690+02:00<<', 'pk_type: >>1<<', 'pk_patient: >>780<<', 
'last_affirmed: >>2012-08-27 14:02:31.337221+02:00<<', u'reason_for_encounter: 
NULL', u'l10n_type: >>in Praxis<<', 'pk_encounter: >>2934<<', 'pk_location: 
>>-1<<', 'pk_generic_codes_rfe: >>[]<<', 'source_time_zone: >>2:00:00<<', 
u'assessment_of_encounter: NULL', u'type: >>in surgery<<', 'xmin_encounter: 
>>111276<<', 'started_original_tz: >>2012-08-27 14:02:31.317690<<']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save_current_editor] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1419 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   page_idx = 1
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteInputNotebook; proxy 
of <Swig Object of type 'wxNotebook *' at 0x31987b0> >
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       page = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = 2934
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1645 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1564]: ['episode_open: >>True<<', 
'episode_modified_when: >>2012-08-27 14:53:34.486074+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: >>Shunt<<', 
u'issue_active: NULL', 'pk_episode: >>1564<<', u'health_issue: NULL', 
'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 14:02:31.337221+02:00<<', 
'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 'pk_health_issue: 
>>772<<', u'summary: >><<', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111298<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       note = ['s', u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 soap_notes = []
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = 2934
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [create_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinNarrative.py] at line 265 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'narr': u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 'enc': 2934, 'soap': 's', 'epi': 1564}
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        idx = {'xmin_clin_narrative_14': 14, 'pk_episode': 8, 'soap_cat': 3, 
'pk_narrative': 6, 'pk_health_issue': 7, 'pk_patient': 0, 'provider': 2, 
'pk_encounter': 9, 'row_version': 12, 'xmin_clin_narrative': 10, 
'modified_when': 11, 'narrative': 4, 'date': 1, 'pk_generic_codes': 13, 
'pk_item': 5}
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = s
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = 
                SELECT
                        *, xmin_clin_narrative
                FROM clin.v_pat_narrative
                WHERE
                        pk_encounter = %(enc)s
                                AND
                        pk_episode = %(epi)s
                                AND
                        soap_cat = %(soap)s
                                AND
                        narrative = %(narr)s
        
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 episode_id = 1564
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  narrative = Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, 
schon vorher gehabt, trägt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunfälle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, großes Myom, zunehmend menstruationsabhängig 
Sz,
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       rows = []
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1564, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
encounter_id = 2934
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1275 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x298de50>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x298de50; closed: -1>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x38f5620>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = [2934, 1564, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
conn_rollback = <built-in method rollback of DictConnection object at 0x38f5620>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1564, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = True
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1564, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = True
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x38f5620; dsn: 'dbname=gnumed_v17 
port=5432 user=maan password=xxxxxxxxxxx sslmode=prefer', closed: 1>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 0x38f5620>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = 
                        INSERT INTO clin.clin_narrative
                                (fk_encounter, fk_episode, narrative, soap_cat)
                        VALUES
                                (%s, %s, %s, lower(%s))
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x298de50; closed: -1>
2012-08-27 14:53:34  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = [2934, 1564, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15569, readonly: False
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15570, readonly: False
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15571, readonly: False
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:36  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #214): syncing log file for backup to 
[/home/marc/gnumed/logs/gnumed-3729_2012-08-27_14-53-34.log]
2012-08-27 14:53:36  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------
2012-08-27 14:53:38  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-08-27 14:53:38  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=5* -> event.GetSelection()=4
2012-08-27 14:53:38  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-08-27 14:53:38  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=5 -> event.GetSelection()=4*
2012-08-27 14:53:38  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15572, readonly: False
2012-08-27 14:53:38  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:38  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:46  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15574, readonly: False
2012-08-27 14:53:46  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:46  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:46  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15575, readonly: False
2012-08-27 14:53:46  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:46  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:46  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15576, readonly: False
2012-08-27 14:53:46  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:46  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:46  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15577, readonly: False
2012-08-27 14:53:46  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:46  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15578, readonly: False
2012-08-27 14:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:52  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1266): error 
running RW query
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
IntegrityError: update or delete on table "health_issue" violates foreign key 
constraint "episode_fk_health_issue_fkey" on table "episode"
DETAIL:  Key (pk)=(773) is still referenced from table "episode".

2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 605 
<<<
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
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.

2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
_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']
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x108da28>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x108d938>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x108d7d0>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x108dd70>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x108db90>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x108df50>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
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.

2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x108dc08>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x108dc80>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x108daa0>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x108d848>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x108d758>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x10a9390>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x108de60>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x108d9b0>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
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.

2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x108dde8>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x108dcf8>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x108d8c0>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x108ded8>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x108db18>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x108d6e0>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3424 <<<
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >,)
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_tree_item_right_clicked] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRBrowser.py] at line 813 <<<
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       node = <wx._controls.TreeItemId; proxy of <Swig Object of type 
'wxTreeItemId *' at 0x3922f00> >
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmEMRBrowser.cEMRTree; proxy of <Swig Object of 
type 'wxPyTreeCtrl *' at 0x3162b80> >
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        pos = (-1, -1)
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._controls.TreeEvent; proxy of <Swig Object of type 
'wxTreeEvent *' at 0x7fff7c82fbd0> >
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [__handle_issue_context] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRBrowser.py] at line 402 <<<
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmEMRBrowser.cEMRTree; proxy of <Swig Object of 
type 'wxPyTreeCtrl *' at 0x3162b80> >
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        pos = (-1, -1)
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [PopupMenu] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
10252 <<<
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmEMRBrowser.cEMRTree; proxy of <Swig Object of 
type 'wxPyTreeCtrl *' at 0x3162b80> >, <wx._core.Menu; proxy of <Swig Object of 
type 'wxMenu *' at 0x316ed30> >, wx.Point(-1, -1))
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [__delete_issue] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRBrowser.py] at line 526 <<<
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmEMRBrowser.cEMRTree; proxy of <Swig Object of 
type 'wxPyTreeCtrl *' at 0x3162b80> >
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmGuiHelpers.c2ButtonQuestionDlg; proxy of <Swig 
Object of type 'wxDialog *' at 0x3805000> >
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     result = 5103
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff7c82e120> >
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [delete_health_issue] in 
[/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py] at line 609 <<<
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         pk = 773
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
health_issue = [cHealthIssue:773]: ['is_confidential: >>False<<', 
u'modified_by: >>maan<<', u'description: >>Shunt<<', 'is_cause_of_death: 
>>False<<', 'pk_encounter: >>2934<<', u'laterality: NULL', 
'xmin_health_issue_18: >>111300<<', 'pk_patient: >>780<<', 'is_active: 
>>True<<', 'pk_generic_codes: >>[]<<', u'summary: NULL', 'clinically_relevant: 
>>True<<', 'row_version: >>0<<', u'age_noted: NULL', 'xmin_health_issue: 
>>111300<<', 'pk_health_issue: >>773<<', u'diagnostic_certainty_classification: 
NULL', u'grouping: NULL', 'modified_when: >>2012-08-27 14:53:46.166449+02:00<<']
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1267 <<<
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x298dc50>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x298dc50; closed: 0>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x3b21df0>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'pk': 773}
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
conn_rollback = <built-in method rollback of DictConnection object at 0x3b21df0>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'delete from clin.health_issue where pk=%(pk)s', 
'args': {'pk': 773}}]
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = False
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'delete from clin.health_issue where pk=%(pk)s', 'args': 
{'pk': 773}}
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = None
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x3b21df0; dsn: 'dbname=gnumed_v17 
port=5432 user=maan password=xxxxxxxxxxx sslmode=prefer', closed: 0>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 0x3b21df0>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = delete from clin.health_issue where pk=%(pk)s
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x298dc50; closed: 0>
2012-08-27 14:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = {'pk': 773}
2012-08-27 14:53:52  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py::delete_health_issue() 
#612): cannot delete health issue
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py", line 609, in 
delete_health_issue
    gmPG2.run_rw_queries(queries = [{'cmd': u'delete from clin.health_issue 
where pk=%(pk)s', 'args': {'pk': pk}}])
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
IntegrityError: update or delete on table "health_issue" violates foreign key 
constraint "episode_fk_health_issue_fkey" on table "episode"
DETAIL:  Key (pk)=(773) is still referenced from table "episode".

2012-08-27 14:53:56  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15580, readonly: False
2012-08-27 14:53:56  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:56  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:53:56  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15581, readonly: False
2012-08-27 14:53:56  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:53:56  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:54:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15582, readonly: False
2012-08-27 14:54:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:54:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:54:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15583, readonly: False
2012-08-27 14:54:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:54:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:54:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15585, readonly: True
2012-08-27 14:54:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1447): 
access mode [READ ONLY]
2012-08-27 14:54:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #998): 
expecting bytea data of size: [2619] bytes
2012-08-27 14:54:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #999): using 
chunk size of: [0] bytes
2012-08-27 14:54:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1004): chunk 
size [0] bytes: retrieving all data at once
2012-08-27 14:54:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1010): chunks 
to retrieve: [1]
2012-08-27 14:54:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1011): 
remainder to retrieve: [0] bytes
2012-08-27 14:54:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1019): failed 
to set bytea_output to "escape", not necessary
2012-08-27 14:54:09  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-08-27 14:54:09  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<gender_mapper::Herr//Frau::>$]
2012-08-27 14:54:09  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Herr//Frau::>$, discarding length: ><
2012-08-27 14:54:09  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-08-27 14:54:09  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<firstname>$]
2012-08-27 14:54:09  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-08-27 14:54:09  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_street::home::>$]
2012-08-27 14:54:09  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-08-27 14:54:09  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_number::home::>$]
2012-08-27 14:54:09  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-08-27 14:54:09  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_postcode::home::>$]
2012-08-27 14:54:09  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-08-27 14:54:10  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_location::home::>$]
2012-08-27 14:54:10  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-08-27 14:54:10  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-08-27 14:54:10  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<firstname>$]
2012-08-27 14:54:10  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-08-27 14:54:10  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<date_of_birth::%d.%m.%Y>$]
2012-08-27 14:54:10  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<progress_notes::a// %s \\ >$]
2012-08-27 14:54:15  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<gender_mapper::Sehr geehrter Herr//Sehr geehrte Frau::>$]
2012-08-27 14:54:15  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Sehr geehrter Herr//Sehr geehrte 
Frau::>$, discarding length: ><
2012-08-27 14:54:15  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-08-27 14:54:15  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-08-27 14:54:15  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-latex> editor: [None]
2012-08-27 14:54:15  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-tex> editor: [/usr/bin/kwrite 
'/tmp/gnumed/gm-gTIGXI/gm-L-Template-brizn4-instance.tex']
2012-08-27 14:54:15  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-gTIGXI/gm-L-Template-brizn4-instance.tex'<<<
2012-08-27 14:54:15  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-08-27 14:54:15  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2012-08-27 14:54:15  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-gTIGXI/gm-L-Template-brizn4-instance.tex'<<<
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-08-27 14:54:29  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #896): 
ignoring <format> directive [None], generating PDF
2012-08-27 14:54:29  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #900): LaTeX 
sandbox directory: [/tmp/gnumed/gm-gTIGXI/gm-L-Template-brizn4]
2012-08-27 14:54:29  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #903): CWD: 
[/home/marc]
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-brizn4/gm-L-Template-brizn4-instance.tex<<<
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-08-27 14:54:29  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-brizn4/gm-L-Template-brizn4-instance.tex<<<
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-brizn4/gm-L-Template-brizn4-instance.tex<<<
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-08-27 14:54:29  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-brizn4/gm-L-Template-brizn4-instance.tex<<<
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-brizn4/gm-L-Template-brizn4-instance.tex<<<
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-08-27 14:54:29  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-brizn4/gm-L-Template-brizn4-instance.tex<<<
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-08-27 14:54:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-08-27 14:54:29  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #44): printing 
"generic_document": [u'/tmp/gnumed/gm-gTIGXI/gm-L-Template-brizn4-instance.pdf']
2012-08-27 14:54:29  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-08-27 14:54:29  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::_print_files_by_gtklp() 
#156): printing with ['gtklp', '-i', '-# 1', 
u'/tmp/gnumed/gm-gTIGXI/gm-L-Template-brizn4-instance.pdf']
2012-08-27 14:54:37  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15598, readonly: False
2012-08-27 14:54:37  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:54:37  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:54:37  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15599, readonly: False
2012-08-27 14:54:37  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:54:37  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:54:37  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1266): error 
running RW query
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
OperationalError: could not extend file "base/150128/143772": No space left on 
device
TIP:  Check free disk space.

2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 605 
<<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
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.

2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
_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']
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x108da28>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x108d938>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x108d7d0>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x108dd70>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x108db90>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x108df50>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
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.

2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x108dc08>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x108dc80>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x108daa0>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x108d848>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x108d758>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x10a9390>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x108de60>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x108d9b0>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
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.

2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x108dde8>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x108dcf8>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x108d8c0>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x108ded8>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x108db18>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x108d6e0>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3424 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >,)
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [__on_new_letter] in 
[/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 1089 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff7c82f970> >
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2ec5f70> >
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x2a3c250>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [print_doc_from_template] in 
[/usr/share/gnumed/Gnumed/wxpython/gmFormWidgets.py] at line 86 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2ec5f70> >
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x2a3c250>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
keep_a_copy = True
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       form = <Gnumed.business.gmForms.cLaTeXForm object at 0x3b50a50>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    printed = True
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   template = [cFormTemplate:16]: [u'engine: >>L<<', u'template_type: >>other 
letter<<', u'modified_by: >>MaAn<<', 'xmin_paperwork_template: >>105348<<', 
u'instance_type: >>sonstiger Arztbrief<<', u'l10n_instance_type: >>sonstiger 
Arztbrief<<', 'in_use: >>True<<', u'external_version: >>1.0<<', 
'has_template_data: >>True<<', u'filename: >>Rechnung Osteo.tex<<', 
u'name_short: >>Osteo<<', u'l10n_template_type: >>sonstiger Brief<<', 
'last_modified: >>2012-06-13 12:40:29.055369+02:00<<', 'pk_paperwork_template: 
>>16<<', 'pk_template_type: >>12<<', 'has_instances: >>False<<', u'name_long: 
>>Rechnung Osteopathie<<']
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):       
printable_file = /tmp/gnumed/gm-gTIGXI/gm-L-Template-brizn4-instance.pdf
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1565]: ['episode_open: >>False<<', 
'episode_modified_when: >>2012-08-27 14:54:37.528507+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: 
>>administration<<', u'issue_active: NULL', 'pk_episode: >>1565<<', 
u'health_issue: NULL', 'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 
14:02:31.337221+02:00<<', 'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 
u'pk_health_issue: NULL', u'summary: NULL', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111305<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         ph = <Gnumed.wxpython.gmMacro.gmPlaceholderHandler object at 0x2411c50>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    jobtype = generic_document
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [add_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py] at line 319 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = None
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       note = generic_document gedruckt mittels Template [Rechnung Osteopathie 
- 1.0]
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1565]: ['episode_open: >>False<<', 
'episode_modified_when: >>2012-08-27 14:54:37.528507+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: 
>>administration<<', u'issue_active: NULL', 'pk_episode: >>1565<<', 
u'health_issue: NULL', 'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 
14:02:31.337221+02:00<<', 'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 
u'pk_health_issue: NULL', u'summary: NULL', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111305<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [create_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinNarrative.py] at line 265 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'narr': u'generic_document gedruckt mittels Template [Rechnung 
Osteopathie - 1.0]', 'enc': 2934, 'soap': None, 'epi': 1565}
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        idx = {'xmin_clin_narrative_14': 14, 'pk_episode': 8, 'soap_cat': 3, 
'pk_narrative': 6, 'pk_health_issue': 7, 'pk_patient': 0, 'provider': 2, 
'pk_encounter': 9, 'row_version': 12, 'xmin_clin_narrative': 10, 
'modified_when': 11, 'narrative': 4, 'date': 1, 'pk_generic_codes': 13, 
'pk_item': 5}
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = None
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = 
                SELECT
                        *, xmin_clin_narrative
                FROM clin.v_pat_narrative
                WHERE
                        pk_encounter = %(enc)s
                                AND
                        pk_episode = %(epi)s
                                AND
                        soap_cat = %(soap)s
                                AND
                        narrative = %(narr)s
        
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 episode_id = 1565
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  narrative = generic_document gedruckt mittels Template [Rechnung Osteopathie 
- 1.0]
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       rows = []
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1565, 
u'generic_document gedruckt mittels Template [Rechnung Osteopathie - 1.0]', 
None]}, {'cmd': u"\n\t\t\tSELECT *, xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
encounter_id = 2934
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1267 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x298dc50>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x298dc50; closed: 0>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x3b21f90>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = [2934, 1565, u'generic_document gedruckt mittels Template 
[Rechnung Osteopathie - 1.0]', None]
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
conn_rollback = <built-in method rollback of DictConnection object at 0x3b21f90>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1565, 
u'generic_document gedruckt mittels Template [Rechnung Osteopathie - 1.0]', 
None]}, {'cmd': u"\n\t\t\tSELECT *, xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = True
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1565, 
u'generic_document gedruckt mittels Template [Rechnung Osteopathie - 1.0]', 
None]}
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = True
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x3b21f90; dsn: 'dbname=gnumed_v17 
port=5432 user=maan password=xxxxxxxxxxx sslmode=prefer', closed: 0>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 0x3b21f90>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = 
                        INSERT INTO clin.clin_narrative
                                (fk_encounter, fk_episode, narrative, soap_cat)
                        VALUES
                                (%s, %s, %s, lower(%s))
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x298dc50; closed: 0>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = [2934, 1565, u'generic_document gedruckt mittels Template 
[Rechnung Osteopathie - 1.0]', None]
2012-08-27 14:54:37  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #165): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py", line 1089, in 
__on_new_letter
    gmFormWidgets.print_doc_from_template(parent = self, keep_a_copy = True)
  File "/usr/share/gnumed/Gnumed/wxpython/gmFormWidgets.py", line 86, in 
print_doc_from_template
    episode = episode
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 319, in 
add_clin_narrative
    encounter_id = self.current_encounter['pk_encounter']
  File "/usr/share/gnumed/Gnumed/business/gmClinNarrative.py", line 265, in 
create_clin_narrative
    rows, idx = gmPG2.run_rw_queries(queries = queries, return_data = True, 
get_col_idx = True)
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
OperationalError: could not extend file "base/150128/143772": No space left on 
device
TIP:  Check free disk space.

2012-08-27 14:54:37  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 605 
<<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
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.

2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
_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']
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x108da28>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x108d938>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x108d7d0>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x108dd70>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x108db90>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x108df50>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
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.

2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x108dc08>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x108dc80>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x108daa0>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x108d848>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x108d758>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x10a9390>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x108de60>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x108d9b0>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
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.

2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x108dde8>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x108dcf8>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x108d8c0>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x108ded8>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x108db18>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x108d6e0>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3424 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >,)
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [__on_new_letter] in 
[/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 1089 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff7c82f970> >
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2ec5f70> >
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x2a3c250>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [print_doc_from_template] in 
[/usr/share/gnumed/Gnumed/wxpython/gmFormWidgets.py] at line 86 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2ec5f70> >
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x2a3c250>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
keep_a_copy = True
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       form = <Gnumed.business.gmForms.cLaTeXForm object at 0x3b50a50>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    printed = True
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   template = [cFormTemplate:16]: [u'engine: >>L<<', u'template_type: >>other 
letter<<', u'modified_by: >>MaAn<<', 'xmin_paperwork_template: >>105348<<', 
u'instance_type: >>sonstiger Arztbrief<<', u'l10n_instance_type: >>sonstiger 
Arztbrief<<', 'in_use: >>True<<', u'external_version: >>1.0<<', 
'has_template_data: >>True<<', u'filename: >>Rechnung Osteo.tex<<', 
u'name_short: >>Osteo<<', u'l10n_template_type: >>sonstiger Brief<<', 
'last_modified: >>2012-06-13 12:40:29.055369+02:00<<', 'pk_paperwork_template: 
>>16<<', 'pk_template_type: >>12<<', 'has_instances: >>False<<', u'name_long: 
>>Rechnung Osteopathie<<']
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):       
printable_file = /tmp/gnumed/gm-gTIGXI/gm-L-Template-brizn4-instance.pdf
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1565]: ['episode_open: >>False<<', 
'episode_modified_when: >>2012-08-27 14:54:37.528507+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: 
>>administration<<', u'issue_active: NULL', 'pk_episode: >>1565<<', 
u'health_issue: NULL', 'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 
14:02:31.337221+02:00<<', 'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 
u'pk_health_issue: NULL', u'summary: NULL', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111305<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         ph = <Gnumed.wxpython.gmMacro.gmPlaceholderHandler object at 0x2411c50>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    jobtype = generic_document
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [add_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py] at line 319 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = None
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       note = generic_document gedruckt mittels Template [Rechnung Osteopathie 
- 1.0]
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1565]: ['episode_open: >>False<<', 
'episode_modified_when: >>2012-08-27 14:54:37.528507+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: 
>>administration<<', u'issue_active: NULL', 'pk_episode: >>1565<<', 
u'health_issue: NULL', 'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 
14:02:31.337221+02:00<<', 'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 
u'pk_health_issue: NULL', u'summary: NULL', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111305<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [create_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinNarrative.py] at line 265 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'narr': u'generic_document gedruckt mittels Template [Rechnung 
Osteopathie - 1.0]', 'enc': 2934, 'soap': None, 'epi': 1565}
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        idx = {'xmin_clin_narrative_14': 14, 'pk_episode': 8, 'soap_cat': 3, 
'pk_narrative': 6, 'pk_health_issue': 7, 'pk_patient': 0, 'provider': 2, 
'pk_encounter': 9, 'row_version': 12, 'xmin_clin_narrative': 10, 
'modified_when': 11, 'narrative': 4, 'date': 1, 'pk_generic_codes': 13, 
'pk_item': 5}
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = None
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = 
                SELECT
                        *, xmin_clin_narrative
                FROM clin.v_pat_narrative
                WHERE
                        pk_encounter = %(enc)s
                                AND
                        pk_episode = %(epi)s
                                AND
                        soap_cat = %(soap)s
                                AND
                        narrative = %(narr)s
        
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 episode_id = 1565
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  narrative = generic_document gedruckt mittels Template [Rechnung Osteopathie 
- 1.0]
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       rows = []
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1565, 
u'generic_document gedruckt mittels Template [Rechnung Osteopathie - 1.0]', 
None]}, {'cmd': u"\n\t\t\tSELECT *, xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
encounter_id = 2934
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1275 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x298dc50>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x298dc50; closed: -1>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x3b21f90>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = [2934, 1565, u'generic_document gedruckt mittels Template 
[Rechnung Osteopathie - 1.0]', None]
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
conn_rollback = <built-in method rollback of DictConnection object at 0x3b21f90>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1565, 
u'generic_document gedruckt mittels Template [Rechnung Osteopathie - 1.0]', 
None]}, {'cmd': u"\n\t\t\tSELECT *, xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = True
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1565, 
u'generic_document gedruckt mittels Template [Rechnung Osteopathie - 1.0]', 
None]}
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = True
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x3b21f90; dsn: 'dbname=gnumed_v17 
port=5432 user=maan password=xxxxxxxxxxx sslmode=prefer', closed: 1>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 0x3b21f90>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = 
                        INSERT INTO clin.clin_narrative
                                (fk_encounter, fk_episode, narrative, soap_cat)
                        VALUES
                                (%s, %s, %s, lower(%s))
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x298dc50; closed: -1>
2012-08-27 14:54:37  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = [2934, 1565, u'generic_document gedruckt mittels Template 
[Rechnung Osteopathie - 1.0]', None]
2012-08-27 14:54:37  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15600, readonly: False
2012-08-27 14:54:37  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:54:37  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:55:03  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #214): syncing log file for backup to 
[/home/marc/gnumed/logs/gnumed-3729_2012-08-27_14-54-37.log]
2012-08-27 14:55:03  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------
2012-08-27 14:55:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15605, readonly: True
2012-08-27 14:55:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1447): 
access mode [READ ONLY]
2012-08-27 14:55:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #998): 
expecting bytea data of size: [2619] bytes
2012-08-27 14:55:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #999): using 
chunk size of: [0] bytes
2012-08-27 14:55:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1004): chunk 
size [0] bytes: retrieving all data at once
2012-08-27 14:55:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1010): chunks 
to retrieve: [1]
2012-08-27 14:55:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1011): 
remainder to retrieve: [0] bytes
2012-08-27 14:55:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1019): failed 
to set bytea_output to "escape", not necessary
2012-08-27 14:55:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-08-27 14:55:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<gender_mapper::Herr//Frau::>$]
2012-08-27 14:55:12  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Herr//Frau::>$, discarding length: ><
2012-08-27 14:55:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-08-27 14:55:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<firstname>$]
2012-08-27 14:55:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-08-27 14:55:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_street::home::>$]
2012-08-27 14:55:12  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-08-27 14:55:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_number::home::>$]
2012-08-27 14:55:12  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-08-27 14:55:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_postcode::home::>$]
2012-08-27 14:55:12  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-08-27 14:55:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_location::home::>$]
2012-08-27 14:55:13  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-08-27 14:55:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-08-27 14:55:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<firstname>$]
2012-08-27 14:55:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-08-27 14:55:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<date_of_birth::%d.%m.%Y>$]
2012-08-27 14:55:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<progress_notes::a// %s \\ >$]
2012-08-27 14:55:14  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<gender_mapper::Sehr geehrter Herr//Sehr geehrte Frau::>$]
2012-08-27 14:55:14  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Sehr geehrter Herr//Sehr geehrte 
Frau::>$, discarding length: ><
2012-08-27 14:55:14  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-08-27 14:55:14  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-08-27 14:55:14  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-latex> editor: [None]
2012-08-27 14:55:14  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-tex> editor: [/usr/bin/kwrite 
'/tmp/gnumed/gm-gTIGXI/gm-L-Template-P4CnPX-instance.tex']
2012-08-27 14:55:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-gTIGXI/gm-L-Template-P4CnPX-instance.tex'<<<
2012-08-27 14:55:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-08-27 14:55:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2012-08-27 14:55:14  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-gTIGXI/gm-L-Template-P4CnPX-instance.tex'<<<
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-08-27 14:55:28  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #896): 
ignoring <format> directive [None], generating PDF
2012-08-27 14:55:28  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #900): LaTeX 
sandbox directory: [/tmp/gnumed/gm-gTIGXI/gm-L-Template-P4CnPX]
2012-08-27 14:55:28  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #903): CWD: 
[/home/marc]
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-P4CnPX/gm-L-Template-P4CnPX-instance.tex<<<
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-08-27 14:55:28  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-P4CnPX/gm-L-Template-P4CnPX-instance.tex<<<
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-P4CnPX/gm-L-Template-P4CnPX-instance.tex<<<
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-08-27 14:55:28  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-P4CnPX/gm-L-Template-P4CnPX-instance.tex<<<
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-P4CnPX/gm-L-Template-P4CnPX-instance.tex<<<
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-08-27 14:55:28  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-08-27 14:55:28  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-P4CnPX/gm-L-Template-P4CnPX-instance.tex<<<
2012-08-27 14:55:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-08-27 14:55:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-08-27 14:55:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-08-27 14:55:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-08-27 14:55:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-08-27 14:55:29  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-08-27 14:55:29  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #44): printing 
"generic_document": [u'/tmp/gnumed/gm-gTIGXI/gm-L-Template-P4CnPX-instance.pdf']
2012-08-27 14:55:29  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-08-27 14:55:29  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::_print_files_by_gtklp() 
#156): printing with ['gtklp', '-i', '-# 1', 
u'/tmp/gnumed/gm-gTIGXI/gm-L-Template-P4CnPX-instance.pdf']
2012-08-27 14:55:36  ERROR     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::_print_files_by_gtklp() 
#164): <gtklp> returned [254], failed to print
2012-08-27 14:55:36  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::find_first_binary() #145): 
looking for [gm-print_doc]
2012-08-27 14:55:36  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::detect_external_binary() 
#98): searching for [gm-print_doc]
2012-08-27 14:55:36  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::is_cmd_in_path() #23): cmd: 
[gm-print_doc]
2012-08-27 14:55:36  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::is_cmd_in_path() #25): dir: []
2012-08-27 14:55:36  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::is_cmd_in_path() #31): 
${PATH}: 
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/gnumed/bin
2012-08-27 14:55:36  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::is_cmd_in_path() #38): not 
found: /usr/local/bin/gm-print_doc
2012-08-27 14:55:36  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::is_cmd_in_path() #35): found 
[/usr/bin/gm-print_doc]
2012-08-27 14:55:36  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::detect_external_binary() 
#111): found: executable in ${PATH}
2012-08-27 14:55:36  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::_print_files_by_shellscript() 
#284): printing with [u'/usr/bin/gm-print_doc', 'generic_document', 
u'/tmp/gnumed/gm-gTIGXI/gm-L-Template-P4CnPX-instance.pdf']
2012-08-27 14:55:37  ERROR     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::_print_files_by_shellscript() 
#292): <gm_print_doc> returned [254], failed to print
2012-08-27 14:58:00  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-08-27 14:58:00  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=4* -> event.GetSelection()=8
2012-08-27 14:58:00  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-08-27 14:58:00  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=4 -> event.GetSelection()=8*
2012-08-27 14:58:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15666, readonly: True
2012-08-27 14:58:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1447): 
access mode [READ ONLY]
2012-08-27 14:58:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #998): 
expecting bytea data of size: [2619] bytes
2012-08-27 14:58:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #999): using 
chunk size of: [0] bytes
2012-08-27 14:58:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1004): chunk 
size [0] bytes: retrieving all data at once
2012-08-27 14:58:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1010): chunks 
to retrieve: [1]
2012-08-27 14:58:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1011): 
remainder to retrieve: [0] bytes
2012-08-27 14:58:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1019): failed 
to set bytea_output to "escape", not necessary
2012-08-27 14:58:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-08-27 14:58:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<gender_mapper::Herr//Frau::>$]
2012-08-27 14:58:05  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Herr//Frau::>$, discarding length: ><
2012-08-27 14:58:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-08-27 14:58:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<firstname>$]
2012-08-27 14:58:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-08-27 14:58:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_street::home::>$]
2012-08-27 14:58:05  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-08-27 14:58:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_number::home::>$]
2012-08-27 14:58:05  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-08-27 14:58:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_postcode::home::>$]
2012-08-27 14:58:05  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-08-27 14:58:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_location::home::>$]
2012-08-27 14:58:05  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-08-27 14:58:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-08-27 14:58:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<firstname>$]
2012-08-27 14:58:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-08-27 14:58:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<date_of_birth::%d.%m.%Y>$]
2012-08-27 14:58:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<progress_notes::a// %s \\ >$]
2012-08-27 14:58:10  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<gender_mapper::Sehr geehrter Herr//Sehr geehrte Frau::>$]
2012-08-27 14:58:10  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Sehr geehrter Herr//Sehr geehrte 
Frau::>$, discarding length: ><
2012-08-27 14:58:10  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-08-27 14:58:10  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-08-27 14:58:10  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-latex> editor: [None]
2012-08-27 14:58:10  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-tex> editor: [/usr/bin/kwrite 
'/tmp/gnumed/gm-gTIGXI/gm-L-Template-lpKwZ5-instance.tex']
2012-08-27 14:58:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-gTIGXI/gm-L-Template-lpKwZ5-instance.tex'<<<
2012-08-27 14:58:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-08-27 14:58:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2012-08-27 14:58:10  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-gTIGXI/gm-L-Template-lpKwZ5-instance.tex'<<<
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-08-27 14:58:25  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #896): 
ignoring <format> directive [None], generating PDF
2012-08-27 14:58:25  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #900): LaTeX 
sandbox directory: [/tmp/gnumed/gm-gTIGXI/gm-L-Template-lpKwZ5]
2012-08-27 14:58:25  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #903): CWD: 
[/home/marc]
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-lpKwZ5/gm-L-Template-lpKwZ5-instance.tex<<<
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-08-27 14:58:25  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-lpKwZ5/gm-L-Template-lpKwZ5-instance.tex<<<
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-lpKwZ5/gm-L-Template-lpKwZ5-instance.tex<<<
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-08-27 14:58:25  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-lpKwZ5/gm-L-Template-lpKwZ5-instance.tex<<<
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-lpKwZ5/gm-L-Template-lpKwZ5-instance.tex<<<
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-08-27 14:58:25  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-gTIGXI/gm-L-Template-lpKwZ5/gm-L-Template-lpKwZ5-instance.tex<<<
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-08-27 14:58:25  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-08-27 14:58:25  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #44): printing 
"generic_document": [u'/tmp/gnumed/gm-gTIGXI/gm-L-Template-lpKwZ5-instance.pdf']
2012-08-27 14:58:25  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-08-27 14:58:25  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::_print_files_by_gtklp() 
#156): printing with ['gtklp', '-i', '-# 1', 
u'/tmp/gnumed/gm-gTIGXI/gm-L-Template-lpKwZ5-instance.pdf']
2012-08-27 14:58:31  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15679, readonly: False
2012-08-27 14:58:31  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:58:31  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:58:31  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1266): error 
running RW query
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
OperationalError: could not extend file "base/150128/143772": No space left on 
device
TIP:  Check free disk space.

2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 605 
<<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
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.

2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
_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']
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x108da28>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x108d938>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x108d7d0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x108dd70>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x108db90>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x108df50>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
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.

2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x108dc08>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x108dc80>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x108daa0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x108d848>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x108d758>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x10a9390>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x108de60>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x108d9b0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
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.

2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x108dde8>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x108dcf8>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x108d8c0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x108ded8>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x108db18>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x108d6e0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3424 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >,)
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [__on_new_letter] in 
[/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 1089 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff7c82f970> >
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2ec5f70> >
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x2a3c250>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [print_doc_from_template] in 
[/usr/share/gnumed/Gnumed/wxpython/gmFormWidgets.py] at line 86 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2ec5f70> >
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x2a3c250>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
keep_a_copy = True
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       form = <Gnumed.business.gmForms.cLaTeXForm object at 0x3be4950>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    printed = True
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   template = [cFormTemplate:16]: [u'engine: >>L<<', u'template_type: >>other 
letter<<', u'modified_by: >>MaAn<<', 'xmin_paperwork_template: >>105348<<', 
u'instance_type: >>sonstiger Arztbrief<<', u'l10n_instance_type: >>sonstiger 
Arztbrief<<', 'in_use: >>True<<', u'external_version: >>1.0<<', 
'has_template_data: >>True<<', u'filename: >>Rechnung Osteo.tex<<', 
u'name_short: >>Osteo<<', u'l10n_template_type: >>sonstiger Brief<<', 
'last_modified: >>2012-06-13 12:40:29.055369+02:00<<', 'pk_paperwork_template: 
>>16<<', 'pk_template_type: >>12<<', 'has_instances: >>False<<', u'name_long: 
>>Rechnung Osteopathie<<']
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):       
printable_file = /tmp/gnumed/gm-gTIGXI/gm-L-Template-lpKwZ5-instance.pdf
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1565]: ['episode_open: >>False<<', 
'episode_modified_when: >>2012-08-27 14:54:37.528507+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: 
>>administration<<', u'issue_active: NULL', 'pk_episode: >>1565<<', 
u'health_issue: NULL', 'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 
14:02:31.337221+02:00<<', 'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 
u'pk_health_issue: NULL', u'summary: NULL', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111305<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         ph = <Gnumed.wxpython.gmMacro.gmPlaceholderHandler object at 0x2411c50>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    jobtype = generic_document
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [add_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py] at line 319 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = None
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       note = generic_document gedruckt mittels Template [Rechnung Osteopathie 
- 1.0]
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1565]: ['episode_open: >>False<<', 
'episode_modified_when: >>2012-08-27 14:54:37.528507+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: 
>>administration<<', u'issue_active: NULL', 'pk_episode: >>1565<<', 
u'health_issue: NULL', 'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 
14:02:31.337221+02:00<<', 'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 
u'pk_health_issue: NULL', u'summary: NULL', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111305<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [create_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinNarrative.py] at line 265 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'narr': u'generic_document gedruckt mittels Template [Rechnung 
Osteopathie - 1.0]', 'enc': 2934, 'soap': None, 'epi': 1565}
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        idx = {'xmin_clin_narrative_14': 14, 'pk_episode': 8, 'soap_cat': 3, 
'pk_narrative': 6, 'pk_health_issue': 7, 'pk_patient': 0, 'provider': 2, 
'pk_encounter': 9, 'row_version': 12, 'xmin_clin_narrative': 10, 
'modified_when': 11, 'narrative': 4, 'date': 1, 'pk_generic_codes': 13, 
'pk_item': 5}
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = None
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = 
                SELECT
                        *, xmin_clin_narrative
                FROM clin.v_pat_narrative
                WHERE
                        pk_encounter = %(enc)s
                                AND
                        pk_episode = %(epi)s
                                AND
                        soap_cat = %(soap)s
                                AND
                        narrative = %(narr)s
        
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 episode_id = 1565
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  narrative = generic_document gedruckt mittels Template [Rechnung Osteopathie 
- 1.0]
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       rows = []
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1565, 
u'generic_document gedruckt mittels Template [Rechnung Osteopathie - 1.0]', 
None]}, {'cmd': u"\n\t\t\tSELECT *, xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
encounter_id = 2934
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1267 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x298de50>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x298de50; closed: 0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x3c0cfb0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = [2934, 1565, u'generic_document gedruckt mittels Template 
[Rechnung Osteopathie - 1.0]', None]
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
conn_rollback = <built-in method rollback of DictConnection object at 0x3c0cfb0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1565, 
u'generic_document gedruckt mittels Template [Rechnung Osteopathie - 1.0]', 
None]}, {'cmd': u"\n\t\t\tSELECT *, xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = True
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1565, 
u'generic_document gedruckt mittels Template [Rechnung Osteopathie - 1.0]', 
None]}
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = True
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x3c0cfb0; dsn: 'dbname=gnumed_v17 
port=5432 user=maan password=xxxxxxxxxxx sslmode=prefer', closed: 0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 0x3c0cfb0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = 
                        INSERT INTO clin.clin_narrative
                                (fk_encounter, fk_episode, narrative, soap_cat)
                        VALUES
                                (%s, %s, %s, lower(%s))
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x298de50; closed: 0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = [2934, 1565, u'generic_document gedruckt mittels Template 
[Rechnung Osteopathie - 1.0]', None]
2012-08-27 14:58:31  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #165): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py", line 1089, in 
__on_new_letter
    gmFormWidgets.print_doc_from_template(parent = self, keep_a_copy = True)
  File "/usr/share/gnumed/Gnumed/wxpython/gmFormWidgets.py", line 86, in 
print_doc_from_template
    episode = episode
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 319, in 
add_clin_narrative
    encounter_id = self.current_encounter['pk_encounter']
  File "/usr/share/gnumed/Gnumed/business/gmClinNarrative.py", line 265, in 
create_clin_narrative
    rows, idx = gmPG2.run_rw_queries(queries = queries, return_data = True, 
get_col_idx = True)
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
OperationalError: could not extend file "base/150128/143772": No space left on 
device
TIP:  Check free disk space.

2012-08-27 14:58:31  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 605 
<<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
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.

2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
_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']
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x108da28>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x108d938>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x108d7d0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x108dd70>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x108db90>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x108df50>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
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.

2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x108dc08>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x108dc80>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x108daa0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x108d848>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x108d758>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x10a9390>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x108de60>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x108d9b0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
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.

2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x108dde8>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x108dcf8>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x108d8c0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x108ded8>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x108db18>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x108d6e0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3424 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >,)
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [__on_new_letter] in 
[/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 1089 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff7c82f970> >
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2ec5f70> >
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x2a3c250>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [print_doc_from_template] in 
[/usr/share/gnumed/Gnumed/wxpython/gmFormWidgets.py] at line 86 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2ec5f70> >
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x2a3c250>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
keep_a_copy = True
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       form = <Gnumed.business.gmForms.cLaTeXForm object at 0x3be4950>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    printed = True
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   template = [cFormTemplate:16]: [u'engine: >>L<<', u'template_type: >>other 
letter<<', u'modified_by: >>MaAn<<', 'xmin_paperwork_template: >>105348<<', 
u'instance_type: >>sonstiger Arztbrief<<', u'l10n_instance_type: >>sonstiger 
Arztbrief<<', 'in_use: >>True<<', u'external_version: >>1.0<<', 
'has_template_data: >>True<<', u'filename: >>Rechnung Osteo.tex<<', 
u'name_short: >>Osteo<<', u'l10n_template_type: >>sonstiger Brief<<', 
'last_modified: >>2012-06-13 12:40:29.055369+02:00<<', 'pk_paperwork_template: 
>>16<<', 'pk_template_type: >>12<<', 'has_instances: >>False<<', u'name_long: 
>>Rechnung Osteopathie<<']
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):       
printable_file = /tmp/gnumed/gm-gTIGXI/gm-L-Template-lpKwZ5-instance.pdf
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1565]: ['episode_open: >>False<<', 
'episode_modified_when: >>2012-08-27 14:54:37.528507+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: 
>>administration<<', u'issue_active: NULL', 'pk_episode: >>1565<<', 
u'health_issue: NULL', 'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 
14:02:31.337221+02:00<<', 'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 
u'pk_health_issue: NULL', u'summary: NULL', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111305<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         ph = <Gnumed.wxpython.gmMacro.gmPlaceholderHandler object at 0x2411c50>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    jobtype = generic_document
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [add_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py] at line 319 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = None
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       note = generic_document gedruckt mittels Template [Rechnung Osteopathie 
- 1.0]
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1565]: ['episode_open: >>False<<', 
'episode_modified_when: >>2012-08-27 14:54:37.528507+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: 
>>administration<<', u'issue_active: NULL', 'pk_episode: >>1565<<', 
u'health_issue: NULL', 'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 
14:02:31.337221+02:00<<', 'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 
u'pk_health_issue: NULL', u'summary: NULL', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111305<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [create_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinNarrative.py] at line 265 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'narr': u'generic_document gedruckt mittels Template [Rechnung 
Osteopathie - 1.0]', 'enc': 2934, 'soap': None, 'epi': 1565}
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        idx = {'xmin_clin_narrative_14': 14, 'pk_episode': 8, 'soap_cat': 3, 
'pk_narrative': 6, 'pk_health_issue': 7, 'pk_patient': 0, 'provider': 2, 
'pk_encounter': 9, 'row_version': 12, 'xmin_clin_narrative': 10, 
'modified_when': 11, 'narrative': 4, 'date': 1, 'pk_generic_codes': 13, 
'pk_item': 5}
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = None
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = 
                SELECT
                        *, xmin_clin_narrative
                FROM clin.v_pat_narrative
                WHERE
                        pk_encounter = %(enc)s
                                AND
                        pk_episode = %(epi)s
                                AND
                        soap_cat = %(soap)s
                                AND
                        narrative = %(narr)s
        
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 episode_id = 1565
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  narrative = generic_document gedruckt mittels Template [Rechnung Osteopathie 
- 1.0]
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       rows = []
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1565, 
u'generic_document gedruckt mittels Template [Rechnung Osteopathie - 1.0]', 
None]}, {'cmd': u"\n\t\t\tSELECT *, xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
encounter_id = 2934
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1275 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x298de50>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x298de50; closed: -1>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x3c0cfb0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = [2934, 1565, u'generic_document gedruckt mittels Template 
[Rechnung Osteopathie - 1.0]', None]
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
conn_rollback = <built-in method rollback of DictConnection object at 0x3c0cfb0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1565, 
u'generic_document gedruckt mittels Template [Rechnung Osteopathie - 1.0]', 
None]}, {'cmd': u"\n\t\t\tSELECT *, xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = True
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1565, 
u'generic_document gedruckt mittels Template [Rechnung Osteopathie - 1.0]', 
None]}
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = True
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x3c0cfb0; dsn: 'dbname=gnumed_v17 
port=5432 user=maan password=xxxxxxxxxxx sslmode=prefer', closed: 1>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 0x3c0cfb0>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = 
                        INSERT INTO clin.clin_narrative
                                (fk_encounter, fk_episode, narrative, soap_cat)
                        VALUES
                                (%s, %s, %s, lower(%s))
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x298de50; closed: -1>
2012-08-27 14:58:31  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = [2934, 1565, u'generic_document gedruckt mittels Template 
[Rechnung Osteopathie - 1.0]', None]
2012-08-27 14:58:41  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #214): syncing log file for backup to 
[/home/marc/gnumed/logs/gnumed-3729_2012-08-27_14-58-31.log]
2012-08-27 14:58:41  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------
2012-08-27 14:58:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-08-27 14:58:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=8* -> event.GetSelection()=9
2012-08-27 14:58:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-08-27 14:58:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=8 -> event.GetSelection()=9*
2012-08-27 14:58:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-08-27 14:58:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=9* -> event.GetSelection()=8
2012-08-27 14:58:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-08-27 14:58:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=9 -> event.GetSelection()=8*
2012-08-27 14:59:02  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-08-27 14:59:02  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=8* -> event.GetSelection()=7
2012-08-27 14:59:02  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-08-27 14:59:02  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=8 -> event.GetSelection()=7*
2012-08-27 14:59:03  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-08-27 14:59:03  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=7* -> event.GetSelection()=5
2012-08-27 14:59:03  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-08-27 14:59:03  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=7 -> event.GetSelection()=5*
2012-08-27 14:59:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-08-27 14:59:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=5* -> event.GetSelection()=4
2012-08-27 14:59:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-08-27 14:59:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=5 -> event.GetSelection()=4*
2012-08-27 14:59:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15687, readonly: False
2012-08-27 14:59:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:59:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:59:43  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-08-27 14:59:43  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=4* -> event.GetSelection()=9
2012-08-27 14:59:43  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-08-27 14:59:43  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=4 -> event.GetSelection()=9*
2012-08-27 14:59:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-08-27 14:59:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=9* -> event.GetSelection()=5
2012-08-27 14:59:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-08-27 14:59:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=9 -> event.GetSelection()=5*
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15700, readonly: False
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15701, readonly: False
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15702, readonly: False
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15703, readonly: False
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:59:53  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1266): error 
running RW query
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
OperationalError: could not extend file "base/150128/143772": No space left on 
device
TIP:  Check free disk space.

2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 605 
<<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
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.

2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
_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']
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x108da28>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x108d938>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x108d7d0>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x108dd70>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x108db90>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x108df50>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
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.

2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x108dc08>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x108dc80>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x108daa0>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x108d848>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x108d758>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x10a9390>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x108de60>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x108d9b0>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
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.

2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x108dde8>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x108dcf8>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x108d8c0>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x108ded8>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x108db18>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x108d6e0>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3424 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >,)
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_save_note_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1236 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapPluginPnl; proxy of 
<Swig Object of type 'wxPanel *' at 0x318f9f0> >
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff7c82f7e0> >
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save_current_editor] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1419 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   page_idx = 1
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteInputNotebook; proxy 
of <Swig Object of type 'wxNotebook *' at 0x31987b0> >
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       page = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = None
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1645 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1566]: ['episode_open: >>True<<', 
'episode_modified_when: >>2012-08-27 14:59:53.164581+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: >>Shunt<<', 
u'issue_active: NULL', 'pk_episode: >>1566<<', u'health_issue: NULL', 
'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 14:02:31.337221+02:00<<', 
'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 'pk_health_issue: 
>>772<<', u'summary: >><<', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111310<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       note = ['s', u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,']
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 soap_notes = []
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = 2934
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [create_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinNarrative.py] at line 265 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'narr': u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 'enc': 2934, 'soap': 's', 'epi': 1566}
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        idx = {'xmin_clin_narrative_14': 14, 'pk_episode': 8, 'soap_cat': 3, 
'pk_narrative': 6, 'pk_health_issue': 7, 'pk_patient': 0, 'provider': 2, 
'pk_encounter': 9, 'row_version': 12, 'xmin_clin_narrative': 10, 
'modified_when': 11, 'narrative': 4, 'date': 1, 'pk_generic_codes': 13, 
'pk_item': 5}
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = s
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = 
                SELECT
                        *, xmin_clin_narrative
                FROM clin.v_pat_narrative
                WHERE
                        pk_encounter = %(enc)s
                                AND
                        pk_episode = %(epi)s
                                AND
                        soap_cat = %(soap)s
                                AND
                        narrative = %(narr)s
        
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 episode_id = 1566
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  narrative = Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, 
schon vorher gehabt, trägt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunfälle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, großes Myom, zunehmend menstruationsabhängig 
Sz,
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       rows = []
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1566, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
encounter_id = 2934
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1267 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x298dc50>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x298dc50; closed: 0>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x36f5820>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = [2934, 1566, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
conn_rollback = <built-in method rollback of DictConnection object at 0x36f5820>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1566, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = True
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1566, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = True
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x36f5820; dsn: 'dbname=gnumed_v17 
port=5432 user=maan password=xxxxxxxxxxx sslmode=prefer', closed: 0>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 0x36f5820>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = 
                        INSERT INTO clin.clin_narrative
                                (fk_encounter, fk_episode, narrative, soap_cat)
                        VALUES
                                (%s, %s, %s, lower(%s))
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x298dc50; closed: 0>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = [2934, 1566, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:59:53  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #165): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1236, in 
_on_save_note_button_pressed
    gmTools.none_if(self._TCTRL_rfe.GetValue().strip(), u'')
  File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1419, in 
save_current_editor
    if not page.save(emr = emr, episode_name_candidates = 
episode_name_candidates, encounter = encounter):
  File "/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py", line 1645, in 
save
    encounter_id = encounter
  File "/usr/share/gnumed/Gnumed/business/gmClinNarrative.py", line 265, in 
create_clin_narrative
    rows, idx = gmPG2.run_rw_queries(queries = queries, return_data = True, 
get_col_idx = True)
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1264, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
OperationalError: could not extend file "base/150128/143772": No space left on 
device
TIP:  Check free disk space.

2012-08-27 14:59:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7fcbd2a28bb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
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.py'>, '_old_sig_term': None, 
'current_client_version': u'1.2.1', '_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'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x108da28>, 
'setup_cli': <function setup_cli at 0x108d938>, '_known_ui_types': [u'web', 
u'wxp', u'chweb'], 'shutil': <module 'shutil' from 
'/usr/lib/python2.7/shutil.pyc'>, 'gmLog2': <module 'Gnumed.pycommon.gmLog2' 
from '/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>, 'gmGuiMain': <module 
'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>, 'current_client_branch': 
u'1.2', 'setup_logging': <function setup_logging at 0x108d7d0>, 
'setup_ui_type': <function setup_ui_type at 0x108dd70>, '__package__': 
'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'gmDateTime': <module 
'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x108db90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x108df50>, '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: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\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 0x108dc08>, 'setup_date_time': <function 
setup_date_time at 0x108dc80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x108daa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x108d848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x108d758>, '__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.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x10a9390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x108de60>, 'handle_sig_term': <function handle_sig_term at 
0x108d9b0>, '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', '__loader__': 
<pkgutil.ImpLoader instance at 0x7fcbd2a2c098>, 'setup_backend': <function 
setup_backend at 0x108dde8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x108dcf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x108d8c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x108ded8>, 
'handle_help_request': <function handle_help_request at 0x108db18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>, 'setup_python_path': 
<function setup_python_path at 0x108d6e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 605 
<<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
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.

2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
_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']
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x108da28>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x108d938>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x108d7d0>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x108dd70>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x108db90>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x108df50>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
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.

2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x108dc08>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x108dc80>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x108daa0>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x108d848>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x108d758>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x10a9390>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x108de60>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x108d9b0>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
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.

2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fcbd2a2c098>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x108dde8>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x108dcf8>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x108d8c0>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x108ded8>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x108db18>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12fbe90>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x108d6e0>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3424 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x2541d40> >,)
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_save_note_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1236 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapPluginPnl; proxy of 
<Swig Object of type 'wxPanel *' at 0x318f9f0> >
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff7c82f7e0> >
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save_current_editor] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1419 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   page_idx = 1
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteInputNotebook; proxy 
of <Swig Object of type 'wxNotebook *' at 0x31987b0> >
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       page = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = None
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save] in 
[/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py] at line 1645 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = [cEpisode:1566]: ['episode_open: >>True<<', 
'episode_modified_when: >>2012-08-27 14:59:53.164581+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: >>Shunt<<', 
u'issue_active: NULL', 'pk_episode: >>1566<<', u'health_issue: NULL', 
'pk_patient: >>780<<', 'last_affirmed: >>2012-08-27 14:02:31.337221+02:00<<', 
'started_last: >>2012-08-27 14:02:31.317690+02:00<<', 'pk_health_issue: 
>>772<<', u'summary: >><<', 'started_first: >>2012-08-27 
14:02:31.317690+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: 
>>111310<<', 'pk_encounter: >>2934<<', u'diagnostic_certainty_classification: 
NULL', u'episode_modified_by: >>maan<<', u'issue_clinically_relevant: NULL']
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmNarrativeWidgets.cSoapNoteExpandoEditAreaPnl; 
proxy of <Swig Object of type 'wxScrolledWindow *' at 0x398e4f0> >
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
episode_name_candidates = [None, None, u'']
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       note = ['s', u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,']
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 soap_notes = []
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x2a9b210>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  encounter = 2934
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [create_clin_narrative] in 
[/usr/share/gnumed/Gnumed/business/gmClinNarrative.py] at line 265 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'narr': u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 'enc': 2934, 'soap': 's', 'epi': 1566}
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        idx = {'xmin_clin_narrative_14': 14, 'pk_episode': 8, 'soap_cat': 3, 
'pk_narrative': 6, 'pk_health_issue': 7, 'pk_patient': 0, 'provider': 2, 
'pk_encounter': 9, 'row_version': 12, 'xmin_clin_narrative': 10, 
'modified_when': 11, 'narrative': 4, 'date': 1, 'pk_generic_codes': 13, 
'pk_item': 5}
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   soap_cat = s
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = 
                SELECT
                        *, xmin_clin_narrative
                FROM clin.v_pat_narrative
                WHERE
                        pk_encounter = %(enc)s
                                AND
                        pk_episode = %(epi)s
                                AND
                        soap_cat = %(soap)s
                                AND
                        narrative = %(narr)s
        
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 episode_id = 1566
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  narrative = Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, 
schon vorher gehabt, trägt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunfälle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, großes Myom, zunehmend menstruationsabhängig 
Sz,
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       rows = []
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1566, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
encounter_id = 2934
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1275 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x298dc50>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x298dc50; closed: -1>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x36f5820>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = [2934, 1566, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
conn_rollback = <built-in method rollback of DictConnection object at 0x36f5820>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1566, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}, {'cmd': u"\n\t\t\tSELECT *, 
xmin_clin_narrative\n\t\t\tFROM 
clin.v_pat_narrative\n\t\t\tWHERE\n\t\t\t\tpk_narrative = 
currval(pg_get_serial_sequence('clin.clin_narrative', 'pk'))"}]
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = True
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'\n\t\t\tINSERT INTO 
clin.clin_narrative\n\t\t\t\t(fk_encounter, fk_episode, narrative, 
soap_cat)\n\t\t\tVALUES\n\t\t\t\t(%s, %s, %s, lower(%s))', 'args': [2934, 1566, 
u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re Kiefergelenk, schon vorher 
gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 1a, 
Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a Auffahrunf\xe4lle 
mit Schleudertrauma, ventriculacardialer Shunt re bei Spina bifida bei Geburt, 
NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in Kindheit, keine 
Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']}
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = True
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x36f5820; dsn: 'dbname=gnumed_v17 
port=5432 user=maan password=xxxxxxxxxxx sslmode=prefer', closed: 1>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 0x36f5820>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = 
                        INSERT INTO clin.clin_narrative
                                (fk_encounter, fk_episode, narrative, soap_cat)
                        VALUES
                                (%s, %s, %s, lower(%s))
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x298dc50; closed: -1>
2012-08-27 14:59:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = [2934, 1566, u'Kiefersperre vor ca. 4w, seitdem Sz im Bereich re 
Kiefergelenk, schon vorher gehabt, tr\xe4gt Knirscherschiene nachts seit ca. 
1a, Schulter-Nackenverspannungen li > re, letztes Jahr + vor 10a 
Auffahrunf\xe4lle mit Schleudertrauma, ventriculacardialer Shunt re bei Spina 
bifida bei Geburt, NPP in C3/4 + C5/6, Ischias li, keine Medi, Treppensturz in 
Kindheit, keine Kinder, SS nicht mgl. gewesen, gro\xdfes Myom, zunehmend 
menstruationsabh\xe4ngig Sz,', 's']
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15704, readonly: False
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15705, readonly: False
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15706, readonly: False
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-08-27 14:59:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1515): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2012-08-27 15:00:43  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::mail_log() 
#371): Error on Saving new encounter entry
2012-08-27 15:00:43  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::mail_log() 
#372): syncing log file for emailing
2012-08-27 15:00:43  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------

reply via email to

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