gnumed-bugs
[Top][All Lists]
Advanced

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

[Gnumed-bugs] <bug>: on saving printing document in overview scr


From: MaAn = maan
Subject: [Gnumed-bugs] <bug>: on saving printing document in overview scr
Date: Wed, 05 Sep 2012 08:46:40 -0400

Report sent via GNUmed's handler for unexpected exceptions.

user comment  : on saving printing document in overview screen

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-09-05 08:04:47  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #229): -------- 
start of logging ------------------------------
2012-09-05 08:04:47  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #230): log file 
is </home/marc/.gnumed/gnumed-5371.log>
2012-09-05 08:04:47  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #231): log 
level is [DEBUG]
2012-09-05 08:04:47  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #232): log file 
encoding is <utf8>
2012-09-05 08:04:47  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-09-05 08:04:47  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #262): Starting up as 
main module ($Revision: 1.169 $).
2012-09-05 08:04:47  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #263): GNUmed client 
version [1.2.1] on branch [1.2]
2012-09-05 08:04:47  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-09-05 08:04:47  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-09-05 08:04:47  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-09-05 08:04:47  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::<module>() #19): $Revision: 1.20 $
2012-09-05 08:04:47  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #430): adding command 
line arguments
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #431): raw command line 
is:
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #432): 
['/usr/share/gnumed/Gnumed/gnumed.py', '--override-schema-check']
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--debug] not 
in group [cli] in source [cli]
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--slave] not 
in group [cli] in source [cli]
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option 
[--skip-update-check] not in group [cli] in source [cli]
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--hipaa] not 
in group [cli] in source [cli]
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option 
[--local-import] not in group [cli] in source [cli]
2012-09-05 08:04:47  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-09-05 08:04:47  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_local_repo_path() #205): local 
wxGlade widgets repository not available
2012-09-05 08:04:47  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::<module>() #61): $Revision: 1.50 $
2012-09-05 08:04:47  INFO      gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::<module>() #60): $Revision: 
1.34 $
2012-09-05 08:04:47  INFO      gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::<module>() #61): mx.DateTime 
version: 3.2.1
2012-09-05 08:04:47  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #29): $Revision: 1.18 
$
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #68): known hooks:
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
post_patient_activation
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
post_person_creation
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
shutdown-post-GUI
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
startup-after-GUI-init
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
startup-before-GUI
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
request_user_attention
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
app_activated_startup
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): app_activated
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): app_deactivated
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_substance_intake_modified
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_test_result_modified
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_soap_modified
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_code_link_modified
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_new_doc_created
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): before_print_doc
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): before_fax_doc
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): before_mail_doc
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_print_doc_part
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_fax_doc_part
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_mail_doc_part
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_external_doc_access
2012-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
db_maintenance_warning
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #124): 
unmodified startup locale settings (should be [C])
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #126): 
current locale settings:
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(): (None, None)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_NUMERIC): (None, None)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_MESSAGES): (None, None)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_MONETARY): (None, None)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_COLLATE): (None, None)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_CTYPE): (None, None)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_TIME): (None, None)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_NUMERIC): C)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_MESSAGES): C)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_MONETARY): C)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_COLLATE): C)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_CTYPE): C)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_ALL): C)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_TIME): C)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #135): 
locale.getdefaultlocale() - default (user) locale: ('de_DE', 'UTF-8')
2012-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #144): 
sys.getdefaultencoding(): [ascii]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #145): 
locale.getpreferredencoding(): [ANSI_X3.4-1968]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #146): 
locale.getlocale()[1]: [None]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #147): 
sys.getfilesystemencoding(): [UTF-8]
2012-09-05 08:04:47  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-09-05 08:04:47  WARNING   gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #155): 
this might lead to encoding errors
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #160): 
<codecs> module CAN handle encoding [ANSI_X3.4-1968]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #160): 
<codecs> module CAN handle encoding [ascii]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #160): 
<codecs> module CAN handle encoding [UTF-8]
2012-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #165): 
locale related environment variables (${LANG} is typically used):
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
${LANGUAGE} not set
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
${LC_ALL} not set
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
${LC_CTYPE} not set
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LANG}=de_DE.UTF-8
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #172): 
database of locale conventions:
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(mon_decimal_point): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(int_frac_digits): 127
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(p_sep_by_space): 127
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(frac_digits): 127
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(thousands_sep): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(n_sign_posn): 127
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(decimal_point): .
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(int_curr_symbol): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(n_cs_precedes): 127
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(p_sign_posn): 127
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(mon_thousands_sep): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(negative_sign): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(currency_symbol): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(n_sep_by_space): 127
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(mon_grouping): []
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(p_cs_precedes): 127
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(positive_sign): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
locale.localeconv(grouping): []
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(D_FMT): %m/%d/%y
2012-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(YESEXPR): ^[yY]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(ALT_DIGITS): 
2012-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(RADIXCHAR): .
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(ERA_D_FMT): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(T_FMT): %H:%M:%S
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(NOEXPR): ^[nN]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(CRNCYSTR): -
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(ERA): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(CODESET): ANSI_X3.4-1968
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(THOUSEP): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #191): 
locale.nl_langinfo(ERA_D_T_FMT): 
2012-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #200): 
gmI18N.get_encoding(): ANSI_X3.4-1968
2012-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #124): 
locale settings after activating user-default locale
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #126): 
current locale settings:
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(): ('de_DE', 'UTF-8')
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_NUMERIC): ('de_DE', 'UTF-8')
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_MESSAGES): ('de_DE', 'UTF-8')
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_MONETARY): ('de_DE', 'UTF-8')
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_COLLATE): ('de_DE', 'UTF-8')
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_CTYPE): ('de_DE', 'UTF-8')
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #129): 
locale.get_locale(LC_TIME): ('de_DE', 'UTF-8')
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_NUMERIC): de_DE.UTF-8)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_MESSAGES): de_DE.UTF-8)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_MONETARY): de_DE.UTF-8)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_COLLATE): de_DE.UTF-8)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_CTYPE): de_DE.UTF-8)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_ALL): de_DE.UTF-8)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
(locale.set_locale(LC_TIME): de_DE.UTF-8)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #135): 
locale.getdefaultlocale() - default (user) locale: ('de_DE', 'UTF-8')
2012-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #144): 
sys.getdefaultencoding(): [ascii]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #145): 
locale.getpreferredencoding(): [UTF-8]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #146): 
locale.getlocale()[1]: [UTF-8]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #147): 
sys.getfilesystemencoding(): [UTF-8]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #160): 
<codecs> module CAN handle encoding [UTF-8]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #160): 
<codecs> module CAN handle encoding [UTF-8]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #160): 
<codecs> module CAN handle encoding [ascii]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #160): 
<codecs> module CAN handle encoding [UTF-8]
2012-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #165): 
locale related environment variables (${LANG} is typically used):
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
${LANGUAGE} not set
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
${LC_ALL} not set
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
${LC_CTYPE} not set
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LANG}=de_DE.UTF-8
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #172): 
database of locale conventions:
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(mon_decimal_point): ,
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(int_frac_digits): 2
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(p_sep_by_space): 1
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(frac_digits): 2
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(thousands_sep): .
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(n_sign_posn): 1
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(decimal_point): ,
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(int_curr_symbol): EUR 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(n_cs_precedes): 0
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(p_sign_posn): 1
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(mon_thousands_sep): .
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(negative_sign): -
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #181): 
locale.localeconv(currency_symbol): €
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(n_sep_by_space): 1
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(mon_grouping): [3, 3, 0]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(p_cs_precedes): 0
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(positive_sign): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(grouping): [3, 3, 0]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(D_FMT): %d.%m.%Y
2012-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(YESEXPR): ^[jJyY].*
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(ALT_DIGITS): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(T_FMT_AMPM): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(RADIXCHAR): ,
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(ERA_D_FMT): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(T_FMT): %T
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(NOEXPR): ^[nN].*
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #196): 
locale.nl_langinfo(CRNCYSTR): +€
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(ERA): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(CODESET): UTF-8
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(THOUSEP): .
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(ERA_D_T_FMT): 
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #200): 
gmI18N.get_encoding(): UTF-8
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__split_locale_into_levels() 
#97): splitting canonical locale [de_DE] into levels
2012-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option 
[--text-domain] not in group [cli] in source [cli]
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option 
[--lang-gettext] not in group [cli] in source [cli]
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::local-import] found in source [internal]
2012-09-05 08:04:47  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #280): domain 
not specified, deriving from script name
2012-09-05 08:04:47  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #283): text 
domain is [gnumed]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #286): searching 
message catalog file for system locale [de_DE]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #293): 
${LANGUAGE} = [None]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #293): ${LC_ALL} 
= [None]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #293): 
${LC_MESSAGES} = [None]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #293): ${LANG} = 
[de_DE.UTF-8]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #320): system is 
POSIX, looking in standard locations (see Python Manual)
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #329): looking 
at ${GNUMED_DIR}
2012-09-05 08:04:47  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #335): 
${GNUMED_DIR} not set
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #344): looking 
above binary install directory [/usr/share/gnumed/po]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #348): looking 
in binary install directory [/usr/share/gnumed/Gnumed/po]
2012-09-05 08:04:47  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #353): trying 
[/usr/share/locale](/de_DE/LC_MESSAGES/gnumed.mo)
2012-09-05 08:04:47  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-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--help] not 
in group [cli] in source [cli]
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [-h] not in 
group [cli] in source [cli]
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [-?] not in 
group [cli] in source [cli]
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--version] 
not in group [cli] in source [cli]
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [-V] not in 
group [cli] in source [cli]
2012-09-05 08:04:47  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #135): wxPython not 
available
2012-09-05 08:04:47  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #136): detecting 
paths directly
2012-09-05 08:04:47  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #142): app name 
passed in as [gnumed]
2012-09-05 08:04:47  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #180): previous 
temp dir: /tmp
2012-09-05 08:04:47  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #182): intermediate 
temp dir: /tmp/gnumed
2012-09-05 08:04:47  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::_set_tmp_dir() #308): previous 
temp dir: /tmp/gnumed
2012-09-05 08:04:47  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #224): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2012-09-05 08:04:47  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #225): local 
application base dir: /usr/share/gnumed/Gnumed
2012-09-05 08:04:47  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #226): current 
working dir: /home/marc
2012-09-05 08:04:47  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #228): user home 
dir: /home/marc
2012-09-05 08:04:47  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #229): 
user-specific config dir: /home/marc/.gnumed
2012-09-05 08:04:47  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #230): system-wide 
config dir: /etc/gnumed
2012-09-05 08:04:47  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #231): system-wide 
application data dir: /usr/share/gnumed
2012-09-05 08:04:47  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #232): temporary 
dir: /tmp/gnumed/gm-wefjPq
2012-09-05 08:04:47  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #124): 
mx.DateTime.now(): [2012-09-05 08:04:47,61]
2012-09-05 08:04:47  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #125): datetime.now()  
 : [2012-09-05 08:04:47.609999]
2012-09-05 08:04:47  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #126): 
time.localtime() : [time.struct_time(tm_year=2012, tm_mon=9, tm_mday=5, 
tm_hour=8, tm_min=4, tm_sec=47, tm_wday=2, tm_yday=249, tm_isdst=1)]
2012-09-05 08:04:47  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #127): time.gmtime()   
 : [time.struct_time(tm_year=2012, tm_mon=9, tm_mday=5, tm_hour=6, tm_min=4, 
tm_sec=47, tm_wday=2, tm_yday=249, tm_isdst=0)]
2012-09-05 08:04:47  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #132): $TZ not defined
2012-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #135): time.timezone: 
[-3600] seconds
2012-09-05 08:04:47  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #136): time.altzone : 
[-7200] seconds
2012-09-05 08:04:47  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #137): time.tzname  : 
[CET / CEST] (non-DST / DST)
2012-09-05 08:04:47  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #138): 
mx.DateTime.now().gmtoffset(): [02:00:00,00]
2012-09-05 08:04:47  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #151): DST currently 
in effect: [True]
2012-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #166): UTC offset is 
positive, assuming EAST of Greenwich (clock is "ahead")
2012-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--conf-file] 
not in group [cli] in source [cli]
2012-09-05 08:04:47  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "workbase": /home/marc/gnumed.conf (UTF-8)
2012-09-05 08:04:47  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-09-05 08:04:47  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-09-05 08:04:47  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 0x2fb2420>]
2012-09-05 08:04:47  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-09-05 08:04:47  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 0x2fb2420>]
2012-09-05 08:04:47  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-09-05 08:04:47  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-09-05 08:04:47  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #368): file 
source "explicit": None (UTF-8)
2012-09-05 08:04:47  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #373): file 
[None] already known as source [workbase]
2012-09-05 08:04:47  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #374): adding 
it as source [explicit] may provoke trouble
2012-09-05 08:04:47  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #373): file 
[None] already known as source [local]
2012-09-05 08:04:47  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #374): adding 
it as source [explicit] may provoke trouble
2012-09-05 08:04:47  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-09-05 08:04:47  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-09-05 08:04:47  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-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--ui] not in 
group [cli] in source [cli]
2012-09-05 08:04:47  DEBUG     gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_ui_type() #502): UI type: wxp
2012-09-05 08:04:47  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmLoginInfo.py::<module>() #13): $Revision: 
1.17 $
2012-09-05 08:04:47  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #30): $Revision: 1.127 $
2012-09-05 08:04:47  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #43): psycopg2 version: 
2.4.5 (dt dec mx pq3 ext)
2012-09-05 08:04:47  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-09-05 08:04:47  DEBUG     psycopg2 
(/usr/lib/python2.7/dist-packages/psycopg2/pool.py::<module>() #40): installed. 
Logging using Python logging module
2012-09-05 08:04:47  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #71): assuming default 
client encoding of [UTF8]
2012-09-05 08:04:47  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_backend() #507): client expects 
database version [17]
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [client 
timezone] not in group [backend] in source [explicit]
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [client 
timezone] not in group [backend] in source [workbase]
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [client 
timezone] not in group [backend] in source [local]
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [client 
timezone] not in group [backend] in source [user]
2012-09-05 08:04:47  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [client 
timezone] not in group [backend] in source [system]
2012-09-05 08:04:47  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-09-05 08:04:47  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #119): hook 
script mode: 384 (oktal: 0600)
2012-09-05 08:04:47  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#422): appending to sys.path: [/home/marc/.gnumed/scripts]
2012-09-05 08:04:47  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#426): will remove import path: True
2012-09-05 08:04:47  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-09-05 08:04:47  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #140): hook 
script: /home/marc/.gnumed/scripts/hook_script.py
2012-09-05 08:04:48  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg.py::<module>() #39): $Revision: 1.60 $
2012-09-05 08:04:48  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::<module>() #18): $Revision: 
1.13 $
2012-09-05 08:04:48  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::<module>() #19): 
$Revision: 1.22 $
2012-09-05 08:04:48  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py::<module>() #142): 
$Revision: 1.60 $
2012-09-05 08:04:48  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/pycommon/gmMatchProvider.py::<module>() #21): 
$Revision: 1.34 $
2012-09-05 08:04:48  INFO      gm.business 
(/usr/share/gnumed/Gnumed/business/gmDemographicRecord.py::<module>() #30): 
$Revision: 1.106 $
2012-09-05 08:04:48  INFO      gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::<module>() #17): $Revision: 
1.34 $
2012-09-05 08:04:48  INFO      gm.lab 
(/usr/share/gnumed/Gnumed/business/gmPathLab.py::<module>() #28): $Revision: 
1.81 $
2012-09-05 08:04:48  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [test_result_mod_db]
2012-09-05 08:04:48  INFO      gm.coding 
(/usr/share/gnumed/Gnumed/business/gmCoding.py::<module>() #21): $Revision: 1.2 
$
2012-09-05 08:04:48  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [episode_code_mod_db]
2012-09-05 08:04:48  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [rfe_code_mod_db]
2012-09-05 08:04:48  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [aoe_code_mod_db]
2012-09-05 08:04:48  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [health_issue_code_mod_db]
2012-09-05 08:04:48  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [narrative_code_mod_db]
2012-09-05 08:04:48  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [procedure_code_mod_db]
2012-09-05 08:04:48  INFO      gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinNarrative.py::<module>() #23): 
$Revision: 1.45 $
2012-09-05 08:04:48  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [clin_narrative_mod_db]
2012-09-05 08:04:48  INFO      gm.emr 
(/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py::<module>() #28): 
$Revision: 1.157 $
2012-09-05 08:04:48  INFO      gm.atc 
(/usr/share/gnumed/Gnumed/business/gmATC.py::<module>() #21): $Revision: 1.7 $
2012-09-05 08:04:48  INFO      gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::<module>() #23): $Revision: 
1.27 $
2012-09-05 08:04:48  INFO      gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::<module>() #23): $Revision: 
1.118 $
2012-09-05 08:04:48  INFO      gm.meds 
(/usr/share/gnumed/Gnumed/business/gmMedication.py::<module>() #40): $Revision: 
1.21 $
2012-09-05 08:04:48  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #94): unknown 
signal [substance_intake_mod_db]
2012-09-05 08:04:48  INFO      gm.vaccination 
(/usr/share/gnumed/Gnumed/business/gmVaccination.py::<module>() #18): 
$Revision: 1.38 $
2012-09-05 08:04:48  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::<module>() #56): 
$Revision: 1.308 $
2012-09-05 08:04:48  INFO      gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::<module>() #34): $Revision: 
1.198 $
2012-09-05 08:04:48  INFO      gm.export 
(/usr/share/gnumed/Gnumed/exporters/gmPatientExporter.py::<module>() #30): 
$Revision: 1.138 $
2012-09-05 08:04:49  INFO      gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::<module>() 
#20): $Revision: 1.17 $
2012-09-05 08:04:49  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::<module>() #29): 
$Revision: 1.45 $
2012-09-05 08:04:49  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py::<module>() #23): $Revision: 
1.135 $
2012-09-05 08:04:49  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmCfgWidgets.py::<module>() #30): $Revision: 
1.4 $
2012-09-05 08:04:49  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmDataMiningWidgets.py::<module>() #29): 
$Revision: 1.14 $
2012-09-05 08:04:49  INFO      gm.kvk 
(/usr/share/gnumed/Gnumed/business/gmKVK.py::<module>() #29): $Revision: 1.22 $
2012-09-05 08:04:49  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::<module>() #27): $Revision: 
1.47 $
2012-09-05 08:04:49  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmResizingWidgets.py::<module>() #23): 
$Revision: 1.55 $
2012-09-05 08:04:49  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmSOAPWidgets.py::<module>() #22): 
$Revision: 1.114 $
2012-09-05 08:04:49  INFO      gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::<module>() #47): $Revision: 1.79 
$
2012-09-05 08:04:49  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmDocumentWidgets.py::<module>() #35): 
$Revision: 1.187 $
2012-09-05 08:04:49  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py::<module>() #49): 
$Revision: 1.46 $
2012-09-05 08:04:49  INFO      gm.vaccination 
(/usr/share/gnumed/Gnumed/wxpython/gmVaccWidgets.py::<module>() #31): 
$Revision: 1.36 $
2012-09-05 08:04:49  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmEMRBrowser.py::<module>() #32): $Revision: 
1.111 $
2012-09-05 08:04:49  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmFormWidgets.py::<module>() #22): 
$Revision: 1.16 $
2012-09-05 08:04:49  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmMedicationWidgets.py::<module>() #24): 
$Revision: 1.33 $
2012-09-05 08:04:49  INFO      gm.loinc 
(/usr/share/gnumed/Gnumed/business/gmLOINC.py::<module>() #22): $Revision: 1.7 $
2012-09-05 08:04:49  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmMeasurementWidgets.py::<module>() #47): 
$Revision: 1.66 $
2012-09-05 08:04:49  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmI18nWidgets.py::<module>() #35): 
$Revision: 1.4 $
2012-09-05 08:04:49  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmCodingWidgets.py::<module>() #27): 
$Revision: 1.4 $
2012-09-05 08:04:49  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::<module>() #91): $Revision: 
1.491 $
2012-09-05 08:04:49  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-09-05 08:04:49  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--profile] 
not in group [cli] in source [cli]
2012-09-05 08:04:49  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [workplace] in source [explicit]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [workplace] in source [workbase]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [workplace] in source [local]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [help desk] 
not in group [workplace] in source [user]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[workplace::help desk] found in source [system]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::client_version] found in source [internal]
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #136): detecting 
paths directly
2012-09-05 08:04:50  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #142): app name 
passed in as [gnumed]
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #176): temp dir 
already set
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #224): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #225): local 
application base dir: /usr/share/gnumed/Gnumed
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #226): current 
working dir: /home/marc
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #228): user home 
dir: /home/marc
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #229): 
user-specific config dir: /home/marc/.gnumed
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #230): system-wide 
config dir: /etc/gnumed
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #231): system-wide 
application data dir: /usr/share/gnumed
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #232): temporary 
dir: /tmp/gnumed/gm-wefjPq
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #190): re-detecting 
paths with wxPython
2012-09-05 08:04:50  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #193): wxPython app 
name is [gnumed]
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #224): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #225): local 
application base dir: /usr/share/gnumed/Gnumed
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #226): current 
working dir: /home/marc
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #228): user home 
dir: /home/marc
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #229): 
user-specific config dir: /home/marc/.gnumed
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #230): system-wide 
config dir: /etc/gnumed
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #231): system-wide 
application data dir: /usr/share/gnumed
2012-09-05 08:04:50  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #232): temporary 
dir: /tmp/gnumed/gm-wefjPq
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--conf-file] 
not in group [cli] in source [cli]
2012-09-05 08:04:50  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::__setup_prefs_file() #3185): 
user preferences file: /home/marc/.gnumed/gnumed.conf
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [user email] 
not in group [preferences] in source [explicit]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [user email] 
not in group [preferences] in source [user]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [user email] 
not in group [preferences] in source [local]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [user email] 
not in group [preferences] in source [workbase]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [user email] 
not in group [preferences] in source [system]
2012-09-05 08:04:50  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::__setup_platform() #3260): 
running on GTK (probably Linux)
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[cli::--override-schema-check] found in source [cli]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::client_branch] found in source [internal]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::client_version] found in source [internal]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [name] not in 
group [workplace] in source [explicit]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [name] not in 
group [workplace] in source [workbase]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [name] not in 
group [workplace] in source [local]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [name] not in 
group [workplace] in source [user]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[workplace::name] found in source [system]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [profiles] 
not in group [backend] in source [explicit]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[backend::profiles] found in source [system]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [profiles] 
not in group [backend] in source [user]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [profiles] 
not in group [backend] in source [workbase]
2012-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  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-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [logins] not 
in group [backend] in source [explicit]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [logins] not 
in group [backend] in source [user]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [logins] not 
in group [backend] in source [workbase]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [login] not 
in group [preferences] in source [explicit]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[preferences::login] found in source [user]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [profile] not 
in group [preferences] in source [explicit]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[preferences::profile] found in source [user]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2012-09-05 08:04:50  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::slave] found in source [internal]
2012-09-05 08:04:50  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-09-05 08:04:50  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::connect_to_database() 
#118): login attempt 1 of 3
2012-09-05 08:04:54  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::__on_login_button_pressed()
 #777): debug mode disabled
2012-09-05 08:04:54  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #312): option [--quiet] not 
in group [cli] in source [cli]
2012-09-05 08:04:54  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::__validate_timezone() #227): time 
zone [CEST] is not settable
2012-09-05 08:04: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-09-05 08:04: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-09-05 08:33:04  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=193 is before 1900; the datetime strftime() methods require 
year >= 1900
2012-09-05 08:33:26  CRITICAL  gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py::refetch_payload() 
#504): [cIdentity:795]: cannot reload, payload changed
2012-09-05 08:33:37  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-09-05 08:33:37  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-09-05 08:33:37  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-09-05 08:33:37  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-09-05 08:33:40  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-09-05 08:33:45  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-wefjPq/gm-L-Template-QRjPiF-instance.tex] is not a 
readable file
2012-09-05 08:33:45  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-wefjPq/gm-L-Template-QRjPiF-instance.tex] into document part
2012-09-05 08:33:45  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-09-05 08:33:45  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-09-05 08:42:30  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#43): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 40, in 
_twain_import_module
    import twain
ImportError: No module named twain
2012-09-05 08:42:30  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#43): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 40, in 
_twain_import_module
    import twain
ImportError: No module named twain
2012-09-05 09:21:34  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Herr//Frau::>$, discarding length: ><
2012-09-05 09:21:34  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-09-05 09:21:34  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-09-05 09:21:34  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-09-05 09:21:34  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-09-05 09:21:41  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-09-05 09:21:45  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-09-05 09:21:52  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-wefjPq/gm-L-Template-y5n708-instance.tex] is not a 
readable file
2012-09-05 09:21:52  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-wefjPq/gm-L-Template-y5n708-instance.tex] into document part
2012-09-05 09:21:52  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-09-05 09:21:52  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-09-05 09:27:52  CRITICAL  gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py::refetch_payload() 
#504): [cIdentity:796]: cannot reload, payload changed
2012-09-05 09:28:01  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-09-05 09:28:01  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-09-05 09:28:01  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-09-05 09:28:01  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-09-05 09:28:04  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-09-05 09:28:09  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-wefjPq/gm-L-Template-1zM_5b-instance.tex] is not a 
readable file
2012-09-05 09:28:09  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-wefjPq/gm-L-Template-1zM_5b-instance.tex] into document part
2012-09-05 09:28:09  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-09-05 09:28:09  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-09-05 10:07:23  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Herr//Frau::>$, discarding length: ><
2012-09-05 10:07:23  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-09-05 10:07:23  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-09-05 10:07:23  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-09-05 10:07:23  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-09-05 10:07:30  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-09-05 10:07:32  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-09-05 10:07:41  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-wefjPq/gm-L-Template-goF4Te-instance.tex] is not a 
readable file
2012-09-05 10:07:41  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-wefjPq/gm-L-Template-goF4Te-instance.tex] into document part
2012-09-05 10:07:41  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-09-05 10:07:41  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-09-05 10:41:39  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-09-05 10:41:39  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-09-05 10:41:39  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-09-05 10:41:39  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-09-05 10:41:41  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-09-05 10:41:46  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-wefjPq/gm-L-Template-aFpTGG-instance.tex] is not a 
readable file
2012-09-05 10:41:46  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-wefjPq/gm-L-Template-aFpTGG-instance.tex] into document part
2012-09-05 10:41:46  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-09-05 10:41:46  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-09-05 10:41:49  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Herr//Frau::>$, discarding length: ><
2012-09-05 10:41:49  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-09-05 10:41:50  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-09-05 10:41:50  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-09-05 10:41:50  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-09-05 10:41:56  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-09-05 10:41:58  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-09-05 10:42:05  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-wefjPq/gm-L-Template-gAlT1i-instance.tex] is not a 
readable file
2012-09-05 10:42:05  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-wefjPq/gm-L-Template-gAlT1i-instance.tex] into document part
2012-09-05 10:42:05  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-09-05 10:42: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-09-05 11:05:27  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-09-05 11:05:28  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-09-05 11:05:28  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-09-05 11:05:28  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-09-05 11:05:30  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-09-05 11:05:35  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-wefjPq/gm-L-Template-iPe6A8-instance.tex] is not a 
readable file
2012-09-05 11:05:35  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-wefjPq/gm-L-Template-iPe6A8-instance.tex] into document part
2012-09-05 11:05:35  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-09-05 11:05:35  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-09-05 11:05:38  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Herr//Frau::>$, discarding length: ><
2012-09-05 11:05:38  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-09-05 11:05:38  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-09-05 11:05:38  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-09-05 11:05:38  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-09-05 11:05:44  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-09-05 11:05:46  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-09-05 11:05:53  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-wefjPq/gm-L-Template-n653WC-instance.tex] is not a 
readable file
2012-09-05 11:05:53  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-wefjPq/gm-L-Template-n653WC-instance.tex] into document part
2012-09-05 11:05:53  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-09-05 11:05:53  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-09-05 11:10:08  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-09-05 11:10:08  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-09-05 11:10:08  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-09-05 11:10:08  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-09-05 11:10:10  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-09-05 11:10:13  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #182): enabling debug mode
2012-09-05 11:10:13  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/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
14665, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/share/gnumed/Gnumed/wxpython/gmEMRBrowser.py", line 266, in 
__update_text_for_selected_node
    with_co_encountlet_hints = True
  File "/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py", line 1793, in 
format
    raise ValueError(msg)
ValueError: <patient>.ID = 216 but encounter 2839 belongs to patient 744
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-09-05 11:10:13  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-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f6bac16cbb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7f6bac170098>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-09-05 11:10:13  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 0x2952a28>, 
'setup_cli': <function setup_cli at 0x2952938>, '_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 0x29527d0>, 
'setup_ui_type': <function setup_ui_type at 0x2952d70>, '__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 0x2952b90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x2952f50>, '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 0x2952c08>, 'setup_date_time': <function 
setup_date_time at 0x2952c80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x2952aa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x2952848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x2952758>, '__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 0x296e390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x2952e60>, 'handle_sig_term': <function handle_sig_term at 
0x29529b0>, '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 0x7f6bac170098>, 'setup_backend': <function 
setup_backend at 0x2952de8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x2952cf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x29528c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x2952ed8>, 
'handle_help_request': <function handle_help_request at 0x2952b18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2bc0e90>, 'setup_python_path': 
<function setup_python_path at 0x29526e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-09-05 11:10:13  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-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7f6bac170098>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f6bac16cbb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-09-05 11:10:13  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 0x2952a28>, 
'setup_cli': <function setup_cli at 0x2952938>, '_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 0x29527d0>, 
'setup_ui_type': <function setup_ui_type at 0x2952d70>, '__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 0x2952b90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x2952f50>, '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 0x2952c08>, 'setup_date_time': <function 
setup_date_time at 0x2952c80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x2952aa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x2952848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x2952758>, '__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 0x296e390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x2952e60>, 'handle_sig_term': <function handle_sig_term at 
0x29529b0>, '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 0x7f6bac170098>, 'setup_backend': <function 
setup_backend at 0x2952de8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x2952cf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x29528c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x2952ed8>, 
'handle_help_request': <function handle_help_request at 0x2952b18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2bc0e90>, 'setup_python_path': 
<function setup_python_path at 0x29526e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-09-05 11:10:13  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-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-09-05 11:10:13  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-09-05 11:10:13  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-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-09-05 11:10:13  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-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x2952a28>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x2952938>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-09-05 11:10:13  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-09-05 11:10:13  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-09-05 11:10:13  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-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x29527d0>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x2952d70>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-09-05 11:10:13  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-09-05 11:10:13  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-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x2952b90>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x2952f50>
2012-09-05 11:10:13  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-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x2952c08>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x2952c80>
2012-09-05 11:10:13  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-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x2952aa0>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-09-05 11:10:13  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-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x2952848>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x2952758>
2012-09-05 11:10:13  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-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-09-05 11:10:13  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-09-05 11:10:13  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-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x296e390>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-09-05 11:10:13  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-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x2952e60>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x29529b0>
2012-09-05 11:10:13  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-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7f6bac170098>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x2952de8>
2012-09-05 11:10:13  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-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x2952cf8>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x29528c0>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x2952ed8>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x2952b18>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2bc0e90>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x29526e0>
2012-09-05 11:10:13  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-09-05 11:10:13  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-09-05 11:10:13  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 0x400e1d0> >
2012-09-05 11:10:13  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-09-05 11:10:13  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 0x400e1d0> >
2012-09-05 11:10:13  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-09-05 11:10:13  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 0x400e1d0> >,)
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<lambda>] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
14665 <<<
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.PyEvent; proxy of <Swig Object of type 'wxPyEvent *' at 
0x4f927b0> >
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save_files_as_new_document] in 
[/usr/share/gnumed/Gnumed/wxpython/gmDocumentWidgets.py] at line 155 <<<
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
document_type = sonstiger Arztbrief
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x3ea2250>
2012-09-05 11:10:13  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 0x46eda60> >
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  reference = None
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
review_as_normal = False
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  filenames = [u'/tmp/gnumed/gm-wefjPq/gm-L-Template-W6UZ0z-instance.pdf', 
u'/tmp/gnumed/gm-wefjPq/gm-L-Template-W6UZ0z-instance.tex']
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):       
unlock_patient = True
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        emr = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x4604890>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmEMRStructWidgets.cEpisodeListSelectorDlg; 
proxy of <Swig Object of type 'wxDialog *' at 0x514e8f0> >
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   all_epis = [<Gnumed.business.gmEMRStructItems.cEpisode object at 0x460d850>, 
<Gnumed.business.gmEMRStructItems.cEpisode object at 0x460d590>, 
<Gnumed.business.gmEMRStructItems.cEpisode object at 0x4604d90>]
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    episode = None
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [ShowModal] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_windows.py] at line 
703 <<<
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmEMRStructWidgets.cEpisodeListSelectorDlg; 
proxy of <Swig Object of type 'wxDialog *' at 0x514e8f0> >,)
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<lambda>] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
14665 <<<
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.PyEvent; proxy of <Swig Object of type 'wxPyEvent *' at 
0x4cfb7a0> >
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [__update_text_for_selected_node] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRBrowser.py] at line 266 <<<
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  node_data = [cEncounter:2839]: ['pk_generic_codes_aoe: >>[]<<', 
'last_affirmed_original_tz: >>2012-08-14 09:48:14<<', 'started: >>2012-08-14 
09:48:14+02:00<<', 'pk_type: >>1<<', 'pk_patient: >>744<<', 'last_affirmed: 
>>2012-08-14 09:48:14+02:00<<', u'reason_for_encounter: NULL', u'l10n_type: 
>>in Praxis<<', 'pk_encounter: >>2839<<', 'pk_location: >>-1<<', 
'pk_generic_codes_rfe: >>[]<<', 'source_time_zone: >>2:00:00<<', 
u'assessment_of_encounter: >>administration; C1 re;<<', u'type: >>in 
surgery<<', 'xmin_encounter: >>107950<<', 'started_original_tz: >>2012-08-14 
09:48:14<<']
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 doc_folder = <Gnumed.business.gmDocuments.cDocumentFolder instance at 
0x42f7fc8>
2012-09-05 11:10:13  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 0x4a279c0> >
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        epi = [cEpisode:1489]: ['episode_open: >>True<<', 
'episode_modified_when: >>2012-08-14 10:14:37.250885+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: >>C1 re<<', 
'issue_active: >>True<<', 'pk_episode: >>1489<<', u'health_issue: 
>>Migr\xe4ne<<', 'pk_patient: >>744<<', 'last_affirmed: >>2012-08-14 
09:48:14+02:00<<', 'started_last: >>2012-08-14 09:48:14+02:00<<', 
'pk_health_issue: >>736<<', u'summary: NULL', 'started_first: >>2012-08-14 
09:48:14+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: >>107935<<', 
'pk_encounter: >>2839<<', u'diagnostic_certainty_classification: NULL', 
u'episode_modified_by: >>maan<<', 'issue_clinically_relevant: >>True<<']
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [format] in 
[/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py] at line 1793 <<<
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
with_vaccinations = True
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    patient = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x3ea2250>
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
with_family_history = True
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
with_co_encountlet_hints = True
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 with_tests = True
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = [cEncounter:2839]: ['pk_generic_codes_aoe: >>[]<<', 
'last_affirmed_original_tz: >>2012-08-14 09:48:14<<', 'started: >>2012-08-14 
09:48:14+02:00<<', 'pk_type: >>1<<', 'pk_patient: >>744<<', 'last_affirmed: 
>>2012-08-14 09:48:14+02:00<<', u'reason_for_encounter: NULL', u'l10n_type: 
>>in Praxis<<', 'pk_encounter: >>2839<<', 'pk_location: >>-1<<', 
'pk_generic_codes_rfe: >>[]<<', 'source_time_zone: >>2:00:00<<', 
u'assessment_of_encounter: >>administration; C1 re;<<', u'type: >>in 
surgery<<', 'xmin_encounter: >>107950<<', 'started_original_tz: >>2012-08-14 
09:48:14<<']
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  with_soap = True
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      lines = [u' in Praxis: 2012-08-14 09:48 - 09:48 (@2:00:00) 
\xbbadministration; C1 re;\xab [#2839]', u'  Ortszeit: 2012-08-14 09:48 - 09:48 
 (@02:00:00.00 = CEST - Sommerzeit aktiv)\n', u'BE: administration; C1 re;', 
u'']
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  with_docs = True
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   episodes = [1489]
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
with_rfe_aoe = False
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        msg = <patient>.ID = 216 but encounter 2839 belongs to patient 744
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
left_margin = 1
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
fancy_header = True
2012-09-05 11:10:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     issues = None
2012-09-05 11:10:15  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-5371_2012-09-05_11-10-13.log]
2012-09-05 11:10:15  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------
2012-09-05 11:10:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11112, readonly: False
2012-09-05 11:10:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:10:17  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-09-05 11:10:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11113, readonly: False
2012-09-05 11:10:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:10:17  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-09-05 11:10:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11114, readonly: False
2012-09-05 11:10:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:10:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11115, readonly: False
2012-09-05 11:10:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:10:17  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-09-05 11:10:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11116, readonly: False
2012-09-05 11:10:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:10:17  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-09-05 11:10:17  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-wefjPq/gm-L-Template-W6UZ0z-instance.tex] is not a 
readable file
2012-09-05 11:10:17  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-wefjPq/gm-L-Template-W6UZ0z-instance.tex] into document part
2012-09-05 11:10:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11118, readonly: False
2012-09-05 11:10:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:10:17  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-09-05 11:10:17  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-09-05 11:10:17  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-09-05 11:10:24  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 11:10:24  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=2* -> event.GetSelection()=4
2012-09-05 11:10:24  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 11:10:24  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=2 -> event.GetSelection()=4*
2012-09-05 11:10:24  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11119, readonly: False
2012-09-05 11:10:24  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:10:24  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-09-05 11:11:05  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 11:11:05  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=4* -> event.GetSelection()=12
2012-09-05 11:11:05  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 11:11:05  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=4 -> event.GetSelection()=12*
2012-09-05 11:11:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 11:11:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=0* -> event.GetSelection()=1
2012-09-05 11:11:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #163): the following two should match but do not:
2012-09-05 11:11:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164):  event.GetOldSelection(): 0
2012-09-05 11:11:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #165):  notebook.GetSelection(): 12
2012-09-05 11:11:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 11:11:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=0 -> event.GetSelection()=1*
2012-09-05 11:11:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#215): those two really *should* match:
2012-09-05 11:11:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#216):  wx.Notebook.GetSelection() (before switch) : 12
2012-09-05 11:11:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): 0
2012-09-05 11:13:56  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 11:13:56  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=12* -> event.GetSelection()=4
2012-09-05 11:13:56  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 11:13:56  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=12 -> event.GetSelection()=4*
2012-09-05 11:13:56  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11130, readonly: False
2012-09-05 11:13:56  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:13: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-09-05 11:14:56  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 11:14:56  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=4* -> event.GetSelection()=12
2012-09-05 11:14:56  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 11:14:56  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=4 -> event.GetSelection()=12*
2012-09-05 11:43:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11230, readonly: False
2012-09-05 11:43:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:43:09  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-09-05 11:43:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11231, readonly: False
2012-09-05 11:43:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:43:09  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-09-05 11:43:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11232, readonly: False
2012-09-05 11:43:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:43:09  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-09-05 11:43:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11233, readonly: False
2012-09-05 11:43:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:43:09  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-09-05 11:43:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 11:43:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=-1* -> event.GetSelection()=0
2012-09-05 11:43:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #163): the following two should match but do not:
2012-09-05 11:43:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164):  event.GetOldSelection(): -1
2012-09-05 11:43:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #165):  notebook.GetSelection(): 12
2012-09-05 11:43:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 11:43:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2012-09-05 11:43:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#215): those two really *should* match:
2012-09-05 11:43:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#216):  wx.Notebook.GetSelection() (before switch) : 12
2012-09-05 11:43:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2012-09-05 11:43:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11234, readonly: True
2012-09-05 11:43:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1447): 
access mode [READ ONLY]
2012-09-05 11:43:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #998): 
expecting bytea data of size: [2500] bytes
2012-09-05 11:43:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #999): using 
chunk size of: [0] bytes
2012-09-05 11:43:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1004): chunk 
size [0] bytes: retrieving all data at once
2012-09-05 11:43:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1010): chunks 
to retrieve: [1]
2012-09-05 11:43:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1011): 
remainder to retrieve: [0] bytes
2012-09-05 11:43:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1019): failed 
to set bytea_output to "escape", not necessary
2012-09-05 11:43:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-09-05 11:43:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<gender_mapper::Herr//Frau::>$]
2012-09-05 11:43:13  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Herr//Frau::>$, discarding length: ><
2012-09-05 11:43:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-09-05 11:43:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<firstname>$]
2012-09-05 11:43:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-09-05 11:43:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_street::home::>$]
2012-09-05 11:43:13  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-09-05 11:43:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_number::home::>$]
2012-09-05 11:43:13  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-09-05 11:43:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_postcode::home::>$]
2012-09-05 11:43:13  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-09-05 11:43:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_location::home::>$]
2012-09-05 11:43:13  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-09-05 11:43:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-09-05 11:43:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<firstname>$]
2012-09-05 11:43:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-09-05 11:43:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<date_of_birth::%d.%m.%Y>$]
2012-09-05 11:43:13  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<progress_notes::a// %s \\ >$]
2012-09-05 11:43:19  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<gender_mapper::Sehr geehrter Herr//Sehr geehrte Frau::>$]
2012-09-05 11:43:19  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-09-05 11:43:19  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-09-05 11:43:19  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-09-05 11:43:19  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-latex> editor: [None]
2012-09-05 11:43:19  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-tex> editor: [/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-4opCh9-instance.tex']
2012-09-05 11:43:19  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-4opCh9-instance.tex'<<<
2012-09-05 11:43:19  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 11:43:19  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2012-09-05 11:43:19  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-4opCh9-instance.tex'<<<
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 11:43:21  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #896): 
ignoring <format> directive [None], generating PDF
2012-09-05 11:43:21  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #900): LaTeX 
sandbox directory: [/tmp/gnumed/gm-wefjPq/gm-L-Template-4opCh9]
2012-09-05 11:43:21  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #903): CWD: 
[/home/marc]
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-4opCh9/gm-L-Template-4opCh9-instance.tex<<<
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 11:43:21  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-wefjPq/gm-L-Template-4opCh9/gm-L-Template-4opCh9-instance.tex<<<
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-4opCh9/gm-L-Template-4opCh9-instance.tex<<<
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 11:43:21  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-wefjPq/gm-L-Template-4opCh9/gm-L-Template-4opCh9-instance.tex<<<
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-4opCh9/gm-L-Template-4opCh9-instance.tex<<<
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 11:43:21  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-4opCh9/gm-L-Template-4opCh9-instance.tex<<<
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 11:43:21  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 11:43:21  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #44): printing 
"generic_document": [u'/tmp/gnumed/gm-wefjPq/gm-L-Template-4opCh9-instance.pdf']
2012-09-05 11:43:21  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-09-05 11:43:21  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::_print_files_by_gtklp() 
#156): printing with ['gtklp', '-i', '-# 1', 
u'/tmp/gnumed/gm-wefjPq/gm-L-Template-4opCh9-instance.pdf']
2012-09-05 11:43:25  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11264, readonly: False
2012-09-05 11:43:25  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:43:25  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-09-05 11:43:27  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11355, readonly: False
2012-09-05 11:43:27  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:43:27  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-09-05 11:43:28  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11356, readonly: False
2012-09-05 11:43:28  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:43:28  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-09-05 11:43:28  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11358, readonly: False
2012-09-05 11:43:28  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:43:28  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11359, readonly: False
2012-09-05 11:43:28  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:43:28  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-09-05 11:43:28  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11360, readonly: False
2012-09-05 11:43:28  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:43:28  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-09-05 11:43:28  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-wefjPq/gm-L-Template-4opCh9-instance.tex] is not a 
readable file
2012-09-05 11:43:28  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-wefjPq/gm-L-Template-4opCh9-instance.tex] into document part
2012-09-05 11:43:28  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11361, readonly: False
2012-09-05 11:43:28  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:43:28  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-09-05 11:43:28  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-09-05 11:43: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-09-05 11:43:31  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 11:43:31  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=12* -> event.GetSelection()=8
2012-09-05 11:43:31  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 11:43:31  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=12 -> event.GetSelection()=8*
2012-09-05 11:43:39  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11363, readonly: False
2012-09-05 11:43:39  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:43:39  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-09-05 11:43:39  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11365, readonly: False
2012-09-05 11:43:39  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:43:39  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-09-05 11:47:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11382, readonly: False
2012-09-05 11:47:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:47: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-09-05 11:47:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11383, readonly: False
2012-09-05 11:47:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:47: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-09-05 11:49:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 11:49:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=8* -> event.GetSelection()=10
2012-09-05 11:49:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 11:49:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=8 -> event.GetSelection()=10*
2012-09-05 11:49:06  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>konsolekalendar --view --export-type csv --export-file 
/home/marc/.gnumed/tmp/korganizer2gnumed.csv<<<
2012-09-05 11:49:06  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 11:49:06  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2012-09-05 11:49:06  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>konsolekalendar --view --export-type csv --export-file 
/home/marc/.gnumed/tmp/korganizer2gnumed.csv<<<
2012-09-05 11:49:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 11:49:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 11:49:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 11:49:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 11:49:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 11:49:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 11:49:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::_generate_queries_de() 
#378): [Schulze, Gerhard]: not a search term with a "suggestive" structure
2012-09-05 11:49:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::_normalize_soundalikes() 
#151): [Schulze, Gerhard] -> [Schulze, Gerhard]
2012-09-05 11:49:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u'SELECT *, %s::text AS match_type FROM dem.v_basic_person 
WHERE firstnames ~ %s AND lastnames ~ %s', 'args': [u'Name: Nachname, Vorname', 
u'^Gerhard', u'^Schulze']}
2012-09-05 11:49:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u'SELECT *, %s::text AS match_type FROM dem.v_basic_person 
WHERE lower(firstnames) ~* lower(%s) AND lower(lastnames) ~* lower(%s)', 
'args': [u'Name: Nachname, Vorname', u'^Gerhard', u'^Schulze']}
2012-09-05 11:49:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u'SELECT *, %s::text AS match_type FROM dem.v_basic_person 
WHERE firstnames ~ %s AND lastnames ~ %s', 'args': [u'Name: Nachname, Vorname', 
u'^Schulze', u'^Gerhard']}
2012-09-05 11:49:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u'SELECT *, %s::text AS match_type FROM dem.v_basic_person 
WHERE lower(firstnames) ~* lower(%s) AND lower(lastnames) ~* lower(%s)', 
'args': [u'Name: Nachname, Vorname', u'^Schulze', u'^Gerhard']}
2012-09-05 11:49:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u'SELECT *, %s::text AS match_type FROM dem.v_basic_person 
WHERE lower(firstnames || lastnames) ~* lower(%s) AND lower(firstnames || 
lastnames) ~* lower(%s)', 'args': [u'Name', u'Schulze', u'Gerhard']}
2012-09-05 11:49:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::__init__() #1276): patient 
change [216] -> [642] requested
2012-09-05 11:49:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11388, readonly: False
2012-09-05 11:49:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:49: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-09-05 11:49:10  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #179): active encounter modified remotely, reloading and announcing the 
modification
2012-09-05 11:49:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [allg_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [allg_state_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [bill_item_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [clin_narrative_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [comm_channel_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [doc_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [encounter_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [episode_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [family_history_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [health_issue_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [hospital_stay_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [identity_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [identity_tag_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [job_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [message_inbox_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [name_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [narrative_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [procedure_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [substance_intake_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [test_result_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [vacc_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [waiting_list_mod_db:216]
2012-09-05 11:49:13  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::cleanup() #142): 
cleaning up after clinical record for patient [216]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11389, readonly: False
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:49:13  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-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11390, readonly: False
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:49:13  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-09-05 11:49:13  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::__activate_very_recent_encounter()
 #1711): no <very recent> encounter (younger than [1 hour 30 minutes]) found
2012-09-05 11:49:13  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::__activate_fairly_recent_encounter()
 #1754): no <fairly recent> encounter (between [1 hour 30 minutes] and [6 
hours] old) found
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11391, readonly: False
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:49:13  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-09-05 11:49:13  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::_set_current_encounter()
 #1649): first setting of active encounter in this clinical record instance
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11392, readonly: False
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:49:13  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-09-05 11:49:13  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::start_new_encounter() 
#1817): new encounter [2987] initiated
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11393, readonly: False
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:49:13  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-09-05 11:49:13  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::__init__() #136): 
Instantiated clinical record for patient [642].
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [allg_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [allg_state_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [bill_item_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [clin_narrative_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [comm_channel_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [doc_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [encounter_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [episode_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [family_history_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [health_issue_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [hospital_stay_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [identity_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [identity_tag_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [job_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [message_inbox_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [name_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [narrative_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [procedure_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [substance_intake_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [test_result_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [vacc_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [waiting_list_mod_db:642]
2012-09-05 11:49:13  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::__init__() #47): 
instantiated document folder for patient [642]
2012-09-05 11:49:13  INFO      gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::get_latest_mugshot() #100): 
no mugshots available for patient [642]
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=-1* -> event.GetSelection()=0
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #163): the following two should match but do not:
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164):  event.GetOldSelection(): -1
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #165):  notebook.GetSelection(): 10
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#215): those two really *should* match:
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#216):  wx.Notebook.GetSelection() (before switch) : 10
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=-1* -> event.GetSelection()=0
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #163): the following two should match but do not:
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164):  event.GetOldSelection(): -1
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #165):  notebook.GetSelection(): 10
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#215): those two really *should* match:
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#216):  wx.Notebook.GetSelection() (before switch) : 10
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11394, readonly: False
2012-09-05 11:49:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:49:13  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-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=10* -> event.GetSelection()=2
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 11:49:13  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=10 -> event.GetSelection()=2*
2012-09-05 11:49:17  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 11:49:17  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=2* -> event.GetSelection()=4
2012-09-05 11:49:17  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 11:49:17  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=2 -> event.GetSelection()=4*
2012-09-05 11:49:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11395, readonly: False
2012-09-05 11:49:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:49:17  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-09-05 11:49:43  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 11:49:43  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=4* -> event.GetSelection()=12
2012-09-05 11:49:43  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 11:49:43  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=4 -> event.GetSelection()=12*
2012-09-05 11:49:45  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 11:49:45  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=0* -> event.GetSelection()=1
2012-09-05 11:49:45  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #163): the following two should match but do not:
2012-09-05 11:49:45  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164):  event.GetOldSelection(): 0
2012-09-05 11:49:45  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #165):  notebook.GetSelection(): 12
2012-09-05 11:49:45  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 11:49:45  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=0 -> event.GetSelection()=1*
2012-09-05 11:49:45  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#215): those two really *should* match:
2012-09-05 11:49:45  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#216):  wx.Notebook.GetSelection() (before switch) : 12
2012-09-05 11:49:45  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): 0
2012-09-05 11:50:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 11:50:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=12* -> event.GetSelection()=4
2012-09-05 11:50:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 11:50:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=12 -> event.GetSelection()=4*
2012-09-05 11:50:49  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 11401, readonly: False
2012-09-05 11:50:49  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 11:50:49  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-09-05 12:19:34  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 12:19:34  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=4* -> event.GetSelection()=8
2012-09-05 12:19:34  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 12:19:34  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=4 -> event.GetSelection()=8*
2012-09-05 12:19:40  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12609, readonly: True
2012-09-05 12:19:40  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1447): 
access mode [READ ONLY]
2012-09-05 12:19:40  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #998): 
expecting bytea data of size: [1848] bytes
2012-09-05 12:19:40  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #999): using 
chunk size of: [0] bytes
2012-09-05 12:19:40  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1004): chunk 
size [0] bytes: retrieving all data at once
2012-09-05 12:19:40  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1010): chunks 
to retrieve: [1]
2012-09-05 12:19:40  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1011): 
remainder to retrieve: [0] bytes
2012-09-05 12:19:40  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1019): failed 
to set bytea_output to "escape", not necessary
2012-09-05 12:19:40  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-09-05 12:19:40  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<firstname>$]
2012-09-05 12:19:40  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-09-05 12:19:40  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_street::home::>$]
2012-09-05 12:19:40  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-09-05 12:19:40  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_number::home::>$]
2012-09-05 12:19:40  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-09-05 12:19:40  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_postcode::home::>$]
2012-09-05 12:19:40  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-09-05 12:19:40  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_location::home::>$]
2012-09-05 12:19:40  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-09-05 12:19:40  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<date_of_birth::%d.%m.%Y>$]
2012-09-05 12:19:40  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-latex> editor: [None]
2012-09-05 12:19:40  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-tex> editor: [/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-nQyCIs-instance.tex']
2012-09-05 12:19:40  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-nQyCIs-instance.tex'<<<
2012-09-05 12:19:40  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 12:19:40  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2012-09-05 12:19:40  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-nQyCIs-instance.tex'<<<
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 12:19:42  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #896): 
ignoring <format> directive [None], generating PDF
2012-09-05 12:19:42  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #900): LaTeX 
sandbox directory: [/tmp/gnumed/gm-wefjPq/gm-L-Template-nQyCIs]
2012-09-05 12:19:42  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #903): CWD: 
[/home/marc]
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-nQyCIs/gm-L-Template-nQyCIs-instance.tex<<<
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 12:19:42  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-wefjPq/gm-L-Template-nQyCIs/gm-L-Template-nQyCIs-instance.tex<<<
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-nQyCIs/gm-L-Template-nQyCIs-instance.tex<<<
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 12:19:42  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-wefjPq/gm-L-Template-nQyCIs/gm-L-Template-nQyCIs-instance.tex<<<
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-nQyCIs/gm-L-Template-nQyCIs-instance.tex<<<
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 12:19:42  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-nQyCIs/gm-L-Template-nQyCIs-instance.tex<<<
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 12:19:42  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 12:19:42  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #44): printing 
"generic_document": [u'/tmp/gnumed/gm-wefjPq/gm-L-Template-nQyCIs-instance.pdf']
2012-09-05 12:19:42  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-09-05 12:19:42  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::_print_files_by_gtklp() 
#156): printing with ['gtklp', '-i', '-# 1', 
u'/tmp/gnumed/gm-wefjPq/gm-L-Template-nQyCIs-instance.pdf']
2012-09-05 12:19:45  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12641, readonly: False
2012-09-05 12:19:45  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:19: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-09-05 12:19:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12729, readonly: False
2012-09-05 12:19:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:19:47  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-09-05 12:19:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12730, readonly: False
2012-09-05 12:19:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:19:47  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-09-05 12:19:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12731, readonly: False
2012-09-05 12:19:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:19:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12732, readonly: False
2012-09-05 12:19:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:19:47  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-09-05 12:19:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12733, readonly: False
2012-09-05 12:19:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:19:47  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-09-05 12:19:47  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-wefjPq/gm-L-Template-nQyCIs-instance.tex] is not a 
readable file
2012-09-05 12:19:47  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-wefjPq/gm-L-Template-nQyCIs-instance.tex] into document part
2012-09-05 12:19:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12734, readonly: False
2012-09-05 12:19:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:19:47  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-09-05 12:19:47  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-09-05 12:19:47  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-09-05 12:19:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 12:19:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=8* -> event.GetSelection()=12
2012-09-05 12:19:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 12:19:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=8 -> event.GetSelection()=12*
2012-09-05 12:20:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12740, readonly: False
2012-09-05 12:20:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:20:55  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-09-05 12:20:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12741, readonly: False
2012-09-05 12:20:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:20:55  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-09-05 12:20:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12742, readonly: False
2012-09-05 12:20:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:20:55  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-09-05 12:20:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12743, readonly: False
2012-09-05 12:20:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:20:55  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-09-05 12:20:55  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 12:20:55  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=-1* -> event.GetSelection()=0
2012-09-05 12:20:55  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #163): the following two should match but do not:
2012-09-05 12:20:55  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164):  event.GetOldSelection(): -1
2012-09-05 12:20:55  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #165):  notebook.GetSelection(): 12
2012-09-05 12:20:55  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 12:20:55  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2012-09-05 12:20:55  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#215): those two really *should* match:
2012-09-05 12:20:55  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#216):  wx.Notebook.GetSelection() (before switch) : 12
2012-09-05 12:20:55  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2012-09-05 12:20:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12744, readonly: True
2012-09-05 12:20:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1447): 
access mode [READ ONLY]
2012-09-05 12:20:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #998): 
expecting bytea data of size: [2500] bytes
2012-09-05 12:20:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #999): using 
chunk size of: [0] bytes
2012-09-05 12:20:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1004): chunk 
size [0] bytes: retrieving all data at once
2012-09-05 12:20:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1010): chunks 
to retrieve: [1]
2012-09-05 12:20:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1011): 
remainder to retrieve: [0] bytes
2012-09-05 12:20:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1019): failed 
to set bytea_output to "escape", not necessary
2012-09-05 12:20:58  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-09-05 12:20:58  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<gender_mapper::Herr//Frau::>$]
2012-09-05 12:20:58  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Herr//Frau::>$, discarding length: ><
2012-09-05 12:20:58  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-09-05 12:20:58  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<firstname>$]
2012-09-05 12:20:58  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-09-05 12:20:58  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_street::home::>$]
2012-09-05 12:20:58  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-09-05 12:20:58  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_number::home::>$]
2012-09-05 12:20:58  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-09-05 12:20:58  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_postcode::home::>$]
2012-09-05 12:20:58  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-09-05 12:20:58  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_location::home::>$]
2012-09-05 12:20:58  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-09-05 12:20:58  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-09-05 12:20:58  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<firstname>$]
2012-09-05 12:20:58  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-09-05 12:20:58  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<date_of_birth::%d.%m.%Y>$]
2012-09-05 12:20:58  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<progress_notes::a// %s \\ >$]
2012-09-05 12:21:03  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<gender_mapper::Sehr geehrter Herr//Sehr geehrte Frau::>$]
2012-09-05 12:21:03  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-09-05 12:21:03  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-09-05 12:21:03  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-09-05 12:21:03  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-latex> editor: [None]
2012-09-05 12:21:03  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-tex> editor: [/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-XqGPPK-instance.tex']
2012-09-05 12:21:03  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-XqGPPK-instance.tex'<<<
2012-09-05 12:21:03  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 12:21:03  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2012-09-05 12:21:03  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-XqGPPK-instance.tex'<<<
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 12:21:05  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #896): 
ignoring <format> directive [None], generating PDF
2012-09-05 12:21:05  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #900): LaTeX 
sandbox directory: [/tmp/gnumed/gm-wefjPq/gm-L-Template-XqGPPK]
2012-09-05 12:21:05  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #903): CWD: 
[/home/marc]
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-XqGPPK/gm-L-Template-XqGPPK-instance.tex<<<
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 12:21:05  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-wefjPq/gm-L-Template-XqGPPK/gm-L-Template-XqGPPK-instance.tex<<<
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-XqGPPK/gm-L-Template-XqGPPK-instance.tex<<<
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 12:21:05  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-wefjPq/gm-L-Template-XqGPPK/gm-L-Template-XqGPPK-instance.tex<<<
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-XqGPPK/gm-L-Template-XqGPPK-instance.tex<<<
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 12:21:05  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-XqGPPK/gm-L-Template-XqGPPK-instance.tex<<<
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 12:21:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 12:21:05  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #44): printing 
"generic_document": [u'/tmp/gnumed/gm-wefjPq/gm-L-Template-XqGPPK-instance.pdf']
2012-09-05 12:21:05  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-09-05 12:21:05  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::_print_files_by_gtklp() 
#156): printing with ['gtklp', '-i', '-# 1', 
u'/tmp/gnumed/gm-wefjPq/gm-L-Template-XqGPPK-instance.pdf']
2012-09-05 12:21:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12773, readonly: False
2012-09-05 12:21:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:21:09  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-09-05 12:21:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12864, readonly: False
2012-09-05 12:21:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:21:12  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-09-05 12:21:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12865, readonly: False
2012-09-05 12:21:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:21:12  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-09-05 12:21:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12866, readonly: False
2012-09-05 12:21:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:21:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12867, readonly: False
2012-09-05 12:21:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:21:12  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-09-05 12:21:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12868, readonly: False
2012-09-05 12:21:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:21:12  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-09-05 12:21:12  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-wefjPq/gm-L-Template-XqGPPK-instance.tex] is not a 
readable file
2012-09-05 12:21:12  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-wefjPq/gm-L-Template-XqGPPK-instance.tex] into document part
2012-09-05 12:21:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12869, readonly: False
2012-09-05 12:21:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:21:12  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-09-05 12:21:12  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-09-05 12:21:12  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-09-05 12:21:12  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 12:21:12  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=12* -> event.GetSelection()=8
2012-09-05 12:21:12  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 12:21:12  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=12 -> event.GetSelection()=8*
2012-09-05 12:21:19  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12871, readonly: False
2012-09-05 12:21:19  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:21:19  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-09-05 12:21:19  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 12872, readonly: False
2012-09-05 12:21:19  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 12:21:19  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-09-05 14:02:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:02:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=8* -> event.GetSelection()=10
2012-09-05 14:02:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:02:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=8 -> event.GetSelection()=10*
2012-09-05 14:02:58  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>konsolekalendar --view --export-type csv --export-file 
/home/marc/.gnumed/tmp/korganizer2gnumed.csv<<<
2012-09-05 14:02:58  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 14:02:58  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2012-09-05 14:02:58  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>konsolekalendar --view --export-type csv --export-file 
/home/marc/.gnumed/tmp/korganizer2gnumed.csv<<<
2012-09-05 14:02:58  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 14:02:58  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 14:02:58  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 14:02:58  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 14:02:58  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 14:02:58  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 14:03:00  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::_generate_queries_de() 
#378): [Falke, Sabine]: not a search term with a "suggestive" structure
2012-09-05 14:03:00  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::_normalize_soundalikes() 
#151): [Falke, Sabine] -> [Falke, Sabine]
2012-09-05 14:03:00  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u'SELECT *, %s::text AS match_type FROM dem.v_basic_person 
WHERE firstnames ~ %s AND lastnames ~ %s', 'args': [u'Name: Nachname, Vorname', 
u'^Sabine', u'^Falke']}
2012-09-05 14:03:00  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u'SELECT *, %s::text AS match_type FROM dem.v_basic_person 
WHERE lower(firstnames) ~* lower(%s) AND lower(lastnames) ~* lower(%s)', 
'args': [u'Name: Nachname, Vorname', u'^Sabine', u'^Falke']}
2012-09-05 14:03:00  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u'SELECT *, %s::text AS match_type FROM dem.v_basic_person 
WHERE firstnames ~ %s AND lastnames ~ %s', 'args': [u'Name: Nachname, Vorname', 
u'^Falke', u'^Sabine']}
2012-09-05 14:03:00  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u'SELECT *, %s::text AS match_type FROM dem.v_basic_person 
WHERE lower(firstnames) ~* lower(%s) AND lower(lastnames) ~* lower(%s)', 
'args': [u'Name: Nachname, Vorname', u'^Falke', u'^Sabine']}
2012-09-05 14:03:00  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u'SELECT *, %s::text AS match_type FROM dem.v_basic_person 
WHERE lower(firstnames || lastnames) ~* lower(%s) AND lower(firstnames || 
lastnames) ~* lower(%s)', 'args': [u'Name', u'Falke', u'Sabine']}
2012-09-05 14:03:01  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::__init__() #1276): patient 
change [642] -> [175] requested
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15426, readonly: False
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:03:02  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-09-05 14:03:02  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #179): active encounter modified remotely, reloading and announcing the 
modification
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [allg_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [allg_state_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [bill_item_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [clin_narrative_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [comm_channel_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [doc_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #179): active encounter modified remotely, reloading and announcing the 
modification
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [encounter_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [episode_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [family_history_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [health_issue_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [hospital_stay_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [identity_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [identity_tag_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [job_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [message_inbox_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [name_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [narrative_mod_db:642]
2012-09-05 14:03:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [procedure_mod_db:642]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [substance_intake_mod_db:642]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [test_result_mod_db:642]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [vacc_mod_db:642]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [waiting_list_mod_db:642]
2012-09-05 14:03:05  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::cleanup() #142): 
cleaning up after clinical record for patient [642]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15427, readonly: False
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:03:05  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-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15428, readonly: False
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:03:05  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-09-05 14:03:05  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::__activate_very_recent_encounter()
 #1711): no <very recent> encounter (younger than [1 hour 30 minutes]) found
2012-09-05 14:03:05  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::__activate_fairly_recent_encounter()
 #1754): no <fairly recent> encounter (between [1 hour 30 minutes] and [6 
hours] old) found
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15429, readonly: False
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:03:05  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-09-05 14:03:05  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::_set_current_encounter()
 #1649): first setting of active encounter in this clinical record instance
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15430, readonly: False
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:03:05  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-09-05 14:03:05  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::start_new_encounter() 
#1817): new encounter [2988] initiated
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15431, readonly: False
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:03:05  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-09-05 14:03:05  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::__init__() #136): 
Instantiated clinical record for patient [175].
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [allg_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [allg_state_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [bill_item_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [clin_narrative_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [comm_channel_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [doc_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [encounter_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [episode_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [family_history_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [health_issue_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [hospital_stay_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [identity_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [identity_tag_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [job_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [message_inbox_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [name_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [narrative_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [procedure_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [substance_intake_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [test_result_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [vacc_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [waiting_list_mod_db:175]
2012-09-05 14:03:05  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::__init__() #47): 
instantiated document folder for patient [175]
2012-09-05 14:03:05  INFO      gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::get_latest_mugshot() #100): 
no mugshots available for patient [175]
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=-1* -> event.GetSelection()=0
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #163): the following two should match but do not:
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164):  event.GetOldSelection(): -1
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #165):  notebook.GetSelection(): 10
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#215): those two really *should* match:
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#216):  wx.Notebook.GetSelection() (before switch) : 10
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=-1* -> event.GetSelection()=0
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #163): the following two should match but do not:
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164):  event.GetOldSelection(): -1
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #165):  notebook.GetSelection(): 10
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#215): those two really *should* match:
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#216):  wx.Notebook.GetSelection() (before switch) : 10
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2012-09-05 14:03:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15432, readonly: False
2012-09-05 14:03:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:03:06  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-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=10* -> event.GetSelection()=2
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:03:06  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=10 -> event.GetSelection()=2*
2012-09-05 14:03:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15433, readonly: True
2012-09-05 14:03:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1447): 
access mode [READ ONLY]
2012-09-05 14:03:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #998): 
expecting bytea data of size: [1848] bytes
2012-09-05 14:03:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #999): using 
chunk size of: [0] bytes
2012-09-05 14:03:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1004): chunk 
size [0] bytes: retrieving all data at once
2012-09-05 14:03:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1010): chunks 
to retrieve: [1]
2012-09-05 14:03:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1011): 
remainder to retrieve: [0] bytes
2012-09-05 14:03:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1019): failed 
to set bytea_output to "escape", not necessary
2012-09-05 14:03:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-09-05 14:03:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<firstname>$]
2012-09-05 14:03:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-09-05 14:03:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_street::home::>$]
2012-09-05 14:03:12  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-09-05 14:03:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_number::home::>$]
2012-09-05 14:03:12  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-09-05 14:03:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_postcode::home::>$]
2012-09-05 14:03:12  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-09-05 14:03:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_location::home::>$]
2012-09-05 14:03:12  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-09-05 14:03:12  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<date_of_birth::%d.%m.%Y>$]
2012-09-05 14:03:12  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-latex> editor: [None]
2012-09-05 14:03:12  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-tex> editor: [/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-5Ihge0-instance.tex']
2012-09-05 14:03:12  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-5Ihge0-instance.tex'<<<
2012-09-05 14:03:12  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 14:03:12  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2012-09-05 14:03:12  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-5Ihge0-instance.tex'<<<
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 14:03:14  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #896): 
ignoring <format> directive [None], generating PDF
2012-09-05 14:03:14  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #900): LaTeX 
sandbox directory: [/tmp/gnumed/gm-wefjPq/gm-L-Template-5Ihge0]
2012-09-05 14:03:14  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #903): CWD: 
[/home/marc]
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-5Ihge0/gm-L-Template-5Ihge0-instance.tex<<<
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 14:03:14  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-wefjPq/gm-L-Template-5Ihge0/gm-L-Template-5Ihge0-instance.tex<<<
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-5Ihge0/gm-L-Template-5Ihge0-instance.tex<<<
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 14:03:14  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-wefjPq/gm-L-Template-5Ihge0/gm-L-Template-5Ihge0-instance.tex<<<
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-5Ihge0/gm-L-Template-5Ihge0-instance.tex<<<
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 14:03:14  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-5Ihge0/gm-L-Template-5Ihge0-instance.tex<<<
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 14:03:14  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 14:03:14  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #44): printing 
"generic_document": [u'/tmp/gnumed/gm-wefjPq/gm-L-Template-5Ihge0-instance.pdf']
2012-09-05 14:03:14  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-09-05 14:03:14  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::_print_files_by_gtklp() 
#156): printing with ['gtklp', '-i', '-# 1', 
u'/tmp/gnumed/gm-wefjPq/gm-L-Template-5Ihge0-instance.pdf']
2012-09-05 14:03:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15465, readonly: False
2012-09-05 14:03:17  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:03:17  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-09-05 14:03:17  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/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
14665, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/share/gnumed/Gnumed/wxpython/gmEMRBrowser.py", line 266, in 
__update_text_for_selected_node
    with_co_encountlet_hints = True
  File "/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py", line 1793, in 
format
    raise ValueError(msg)
ValueError: <patient>.ID = 175 but encounter 2735 belongs to patient 642
2012-09-05 14:03:17  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-09-05 14:03:17  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-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f6bac16cbb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7f6bac170098>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-09-05 14:03:17  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 0x2952a28>, 
'setup_cli': <function setup_cli at 0x2952938>, '_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 0x29527d0>, 
'setup_ui_type': <function setup_ui_type at 0x2952d70>, '__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 0x2952b90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x2952f50>, '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 0x2952c08>, 'setup_date_time': <function 
setup_date_time at 0x2952c80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x2952aa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x2952848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x2952758>, '__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 0x296e390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x2952e60>, 'handle_sig_term': <function handle_sig_term at 
0x29529b0>, '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 0x7f6bac170098>, 'setup_backend': <function 
setup_backend at 0x2952de8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x2952cf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x29528c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x2952ed8>, 
'handle_help_request': <function handle_help_request at 0x2952b18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2bc0e90>, 'setup_python_path': 
<function setup_python_path at 0x29526e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-09-05 14:03:17  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-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7f6bac170098>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f6bac16cbb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-09-05 14:03:17  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 0x2952a28>, 
'setup_cli': <function setup_cli at 0x2952938>, '_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 0x29527d0>, 
'setup_ui_type': <function setup_ui_type at 0x2952d70>, '__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 0x2952b90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x2952f50>, '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 0x2952c08>, 'setup_date_time': <function 
setup_date_time at 0x2952c80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x2952aa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x2952848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x2952758>, '__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 0x296e390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x2952e60>, 'handle_sig_term': <function handle_sig_term at 
0x29529b0>, '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 0x7f6bac170098>, 'setup_backend': <function 
setup_backend at 0x2952de8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x2952cf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x29528c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x2952ed8>, 
'handle_help_request': <function handle_help_request at 0x2952b18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2bc0e90>, 'setup_python_path': 
<function setup_python_path at 0x29526e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-09-05 14:03:17  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-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-09-05 14:03:17  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-09-05 14:03:17  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-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-09-05 14:03:17  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-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x2952a28>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x2952938>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-09-05 14:03:17  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-09-05 14:03:17  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-09-05 14:03:17  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-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x29527d0>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x2952d70>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-09-05 14:03:17  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-09-05 14:03:17  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-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x2952b90>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x2952f50>
2012-09-05 14:03:17  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-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x2952c08>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x2952c80>
2012-09-05 14:03:17  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-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x2952aa0>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-09-05 14:03:17  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-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x2952848>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x2952758>
2012-09-05 14:03:17  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-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-09-05 14:03:17  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-09-05 14:03:17  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-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x296e390>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-09-05 14:03:17  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-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x2952e60>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x29529b0>
2012-09-05 14:03:17  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-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7f6bac170098>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x2952de8>
2012-09-05 14:03:17  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-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x2952cf8>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x29528c0>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x2952ed8>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x2952b18>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2bc0e90>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x29526e0>
2012-09-05 14:03:17  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-09-05 14:03:17  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-09-05 14:03:17  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 0x400e1d0> >
2012-09-05 14:03:17  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-09-05 14:03:17  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 0x400e1d0> >
2012-09-05 14:03:17  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-09-05 14:03:17  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 0x400e1d0> >,)
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<lambda>] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
14665 <<<
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.PyEvent; proxy of <Swig Object of type 'wxPyEvent *' at 
0x5066b10> >
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [__update_text_for_selected_node] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRBrowser.py] at line 266 <<<
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  node_data = [cEncounter:2735]: ['pk_generic_codes_aoe: >>[]<<', 
'last_affirmed_original_tz: >>2012-08-08 09:16:31<<', 'started: >>2012-08-08 
09:16:31+02:00<<', 'pk_type: >>1<<', 'pk_patient: >>642<<', 'last_affirmed: 
>>2012-08-08 09:16:31+02:00<<', u'reason_for_encounter: NULL', u'l10n_type: 
>>in Praxis<<', 'pk_encounter: >>2735<<', 'pk_location: >>-1<<', 
'pk_generic_codes_rfe: >>[]<<', 'source_time_zone: >>2:00:00<<', 
u'assessment_of_encounter: >>administration; CT\xdc, li Niere, 
Narbenst\xf6rung;<<', u'type: >>in surgery<<', 'xmin_encounter: >>105268<<', 
'started_original_tz: >>2012-08-08 09:16:31<<']
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 doc_folder = <Gnumed.business.gmDocuments.cDocumentFolder instance at 
0x4325998>
2012-09-05 14:03:17  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 0x4a279c0> >
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        epi = [cEpisode:1292]: ['episode_open: >>True<<', 
'episode_modified_when: >>2012-07-03 11:18:03.906170+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: >>CT\xdc, li 
Niere, Narbenst\xf6rung<<', 'issue_active: >>True<<', 'pk_episode: >>1292<<', 
u'health_issue: >>Armbeschwerden<<', 'pk_patient: >>642<<', 'last_affirmed: 
>>2012-07-03 10:40:38+02:00<<', 'started_last: >>2012-07-03 10:40:38+02:00<<', 
'pk_health_issue: >>634<<', u'summary: NULL', 'started_first: >>2012-07-03 
10:40:38+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: >>105271<<', 
'pk_encounter: >>2471<<', u'diagnostic_certainty_classification: NULL', 
u'episode_modified_by: >>maan<<', 'issue_clinically_relevant: >>True<<']
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [format] in 
[/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py] at line 1793 <<<
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
with_vaccinations = True
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    patient = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x3ea2250>
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
with_family_history = True
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
with_co_encountlet_hints = True
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 with_tests = True
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = [cEncounter:2735]: ['pk_generic_codes_aoe: >>[]<<', 
'last_affirmed_original_tz: >>2012-08-08 09:16:31<<', 'started: >>2012-08-08 
09:16:31+02:00<<', 'pk_type: >>1<<', 'pk_patient: >>642<<', 'last_affirmed: 
>>2012-08-08 09:16:31+02:00<<', u'reason_for_encounter: NULL', u'l10n_type: 
>>in Praxis<<', 'pk_encounter: >>2735<<', 'pk_location: >>-1<<', 
'pk_generic_codes_rfe: >>[]<<', 'source_time_zone: >>2:00:00<<', 
u'assessment_of_encounter: >>administration; CT\xdc, li Niere, 
Narbenst\xf6rung;<<', u'type: >>in surgery<<', 'xmin_encounter: >>105268<<', 
'started_original_tz: >>2012-08-08 09:16:31<<']
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  with_soap = True
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      lines = [u' in Praxis: 2012-08-08 09:16 - 09:16 (@2:00:00) 
\xbbadministration; CT\xdc, li Niere, Narbenst\xf6rung;\xab [#2735]', u'  
Ortszeit: 2012-08-08 09:16 - 09:16  (@02:00:00.00 = CEST - Sommerzeit 
aktiv)\n', u'BE: administration; CT\xdc, li Niere, Narbenst\xf6rung;', u'']
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  with_docs = True
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   episodes = [1292]
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
with_rfe_aoe = False
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        msg = <patient>.ID = 175 but encounter 2735 belongs to patient 642
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
left_margin = 1
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
fancy_header = True
2012-09-05 14:03:17  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     issues = None
2012-09-05 14:03:19  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15553, readonly: False
2012-09-05 14:03:19  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:03:19  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-09-05 14:03:19  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15554, readonly: False
2012-09-05 14:03:19  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:03:19  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-09-05 14:03:19  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15555, readonly: False
2012-09-05 14:03:19  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:03:19  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15556, readonly: False
2012-09-05 14:03:19  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:03:19  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-09-05 14:03:19  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15557, readonly: False
2012-09-05 14:03:19  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:03:19  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-09-05 14:03:20  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-wefjPq/gm-L-Template-5Ihge0-instance.tex] is not a 
readable file
2012-09-05 14:03:20  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-wefjPq/gm-L-Template-5Ihge0-instance.tex] into document part
2012-09-05 14:03:20  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15558, readonly: False
2012-09-05 14:03:20  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:03:20  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-09-05 14:03:20  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-09-05 14:03:20  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-09-05 14:03:20  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-5371_2012-09-05_14-03-17.log]
2012-09-05 14:03:20  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------
2012-09-05 14:03:22  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:03:22  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=2* -> event.GetSelection()=4
2012-09-05 14:03:22  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:03:22  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=2 -> event.GetSelection()=4*
2012-09-05 14:03:22  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15560, readonly: False
2012-09-05 14:03:22  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:03:22  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-09-05 14:03:32  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:03:32  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=4* -> event.GetSelection()=10
2012-09-05 14:03:32  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:03:32  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=4 -> event.GetSelection()=10*
2012-09-05 14:03:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>konsolekalendar --view --export-type csv --export-file 
/home/marc/.gnumed/tmp/korganizer2gnumed.csv<<<
2012-09-05 14:03:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 14:03:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2012-09-05 14:03:32  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>konsolekalendar --view --export-type csv --export-file 
/home/marc/.gnumed/tmp/korganizer2gnumed.csv<<<
2012-09-05 14:03:33  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 14:03:33  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 14:03:33  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 14:03:33  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 14:03:33  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 14:03:33  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 14:03:34  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:03:34  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=10* -> event.GetSelection()=12
2012-09-05 14:03:34  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:03:34  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=10 -> event.GetSelection()=12*
2012-09-05 14:03:36  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:03:36  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=0* -> event.GetSelection()=1
2012-09-05 14:03:36  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #163): the following two should match but do not:
2012-09-05 14:03:36  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164):  event.GetOldSelection(): 0
2012-09-05 14:03:36  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #165):  notebook.GetSelection(): 12
2012-09-05 14:03:36  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:03:36  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=0 -> event.GetSelection()=1*
2012-09-05 14:03:36  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#215): those two really *should* match:
2012-09-05 14:03:36  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#216):  wx.Notebook.GetSelection() (before switch) : 12
2012-09-05 14:03:36  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): 0
2012-09-05 14:06:34  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:06:34  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=12* -> event.GetSelection()=4
2012-09-05 14:06:34  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:06:34  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=12 -> event.GetSelection()=4*
2012-09-05 14:06:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15569, readonly: False
2012-09-05 14:06:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:06: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-09-05 14:40:43  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:40:43  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=4* -> event.GetSelection()=12
2012-09-05 14:40:43  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:40:43  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=4 -> event.GetSelection()=12*
2012-09-05 14:42:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15684, readonly: False
2012-09-05 14:42:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:42: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-09-05 14:42:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15685, readonly: False
2012-09-05 14:42:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:42: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-09-05 14:42:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15686, readonly: False
2012-09-05 14:42:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:42: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-09-05 14:42:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15687, readonly: False
2012-09-05 14:42:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:42: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-09-05 14:42:52  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:42:52  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=-1* -> event.GetSelection()=0
2012-09-05 14:42:52  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #163): the following two should match but do not:
2012-09-05 14:42:52  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164):  event.GetOldSelection(): -1
2012-09-05 14:42:52  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #165):  notebook.GetSelection(): 12
2012-09-05 14:42:52  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:42:52  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2012-09-05 14:42:52  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#215): those two really *should* match:
2012-09-05 14:42:52  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#216):  wx.Notebook.GetSelection() (before switch) : 12
2012-09-05 14:42:52  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2012-09-05 14:42:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15689, readonly: True
2012-09-05 14:42:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1447): 
access mode [READ ONLY]
2012-09-05 14:42:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #998): 
expecting bytea data of size: [2500] bytes
2012-09-05 14:42:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #999): using 
chunk size of: [0] bytes
2012-09-05 14:42:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1004): chunk 
size [0] bytes: retrieving all data at once
2012-09-05 14:42:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1010): chunks 
to retrieve: [1]
2012-09-05 14:42:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1011): 
remainder to retrieve: [0] bytes
2012-09-05 14:42:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1019): failed 
to set bytea_output to "escape", not necessary
2012-09-05 14:42:57  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-09-05 14:42:57  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<gender_mapper::Herr//Frau::>$]
2012-09-05 14:42:57  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<gender_mapper::Herr//Frau::>$, discarding length: ><
2012-09-05 14:42:57  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-09-05 14:42:57  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<firstname>$]
2012-09-05 14:42:57  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-09-05 14:42:57  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_street::home::>$]
2012-09-05 14:42:57  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-09-05 14:42:57  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_number::home::>$]
2012-09-05 14:42:57  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-09-05 14:42:57  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_postcode::home::>$]
2012-09-05 14:42:57  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-09-05 14:42:57  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_location::home::>$]
2012-09-05 14:42:57  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-09-05 14:42:57  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-09-05 14:42:57  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<firstname>$]
2012-09-05 14:42:57  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-09-05 14:42:57  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<date_of_birth::%d.%m.%Y>$]
2012-09-05 14:42:57  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<progress_notes::a// %s \\ >$]
2012-09-05 14:43:03  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<gender_mapper::Sehr geehrter Herr//Sehr geehrte Frau::>$]
2012-09-05 14:43:03  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-09-05 14:43:03  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-09-05 14:43:03  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-09-05 14:43:03  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-latex> editor: [None]
2012-09-05 14:43:03  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-tex> editor: [/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-s_rpR5-instance.tex']
2012-09-05 14:43:03  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-s_rpR5-instance.tex'<<<
2012-09-05 14:43:03  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 14:43:03  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2012-09-05 14:43:03  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-s_rpR5-instance.tex'<<<
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 14:43:05  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #896): 
ignoring <format> directive [None], generating PDF
2012-09-05 14:43:05  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #900): LaTeX 
sandbox directory: [/tmp/gnumed/gm-wefjPq/gm-L-Template-s_rpR5]
2012-09-05 14:43:05  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #903): CWD: 
[/home/marc]
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-s_rpR5/gm-L-Template-s_rpR5-instance.tex<<<
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 14:43:05  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-wefjPq/gm-L-Template-s_rpR5/gm-L-Template-s_rpR5-instance.tex<<<
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-s_rpR5/gm-L-Template-s_rpR5-instance.tex<<<
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 14:43:05  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-wefjPq/gm-L-Template-s_rpR5/gm-L-Template-s_rpR5-instance.tex<<<
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-s_rpR5/gm-L-Template-s_rpR5-instance.tex<<<
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 14:43:05  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-s_rpR5/gm-L-Template-s_rpR5-instance.tex<<<
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 14:43:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 14:43:05  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #44): printing 
"generic_document": [u'/tmp/gnumed/gm-wefjPq/gm-L-Template-s_rpR5-instance.pdf']
2012-09-05 14:43:05  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-09-05 14:43:05  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::_print_files_by_gtklp() 
#156): printing with ['gtklp', '-i', '-# 1', 
u'/tmp/gnumed/gm-wefjPq/gm-L-Template-s_rpR5-instance.pdf']
2012-09-05 14:43:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15721, readonly: False
2012-09-05 14:43:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:43:09  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-09-05 14:43:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15809, readonly: False
2012-09-05 14:43:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:43:11  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-09-05 14:43:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15810, readonly: False
2012-09-05 14:43:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:43:11  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-09-05 14:43:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15811, readonly: False
2012-09-05 14:43:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:43:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15813, readonly: False
2012-09-05 14:43:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:43:11  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-09-05 14:43:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15814, readonly: False
2012-09-05 14:43:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:43:11  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-09-05 14:43:11  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-wefjPq/gm-L-Template-s_rpR5-instance.tex] is not a 
readable file
2012-09-05 14:43:11  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-wefjPq/gm-L-Template-s_rpR5-instance.tex] into document part
2012-09-05 14:43:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15815, readonly: False
2012-09-05 14:43:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:43:11  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-09-05 14:43:11  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-09-05 14:43:11  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-09-05 14:43:12  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:43:12  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=12* -> event.GetSelection()=8
2012-09-05 14:43:12  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:43:12  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=12 -> event.GetSelection()=8*
2012-09-05 14:43:23  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15818, readonly: False
2012-09-05 14:43:23  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:43:23  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-09-05 14:43:23  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15819, readonly: False
2012-09-05 14:43:23  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:43:23  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-09-05 14:44:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:44:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=8* -> event.GetSelection()=10
2012-09-05 14:44:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:44:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=8 -> event.GetSelection()=10*
2012-09-05 14:44:49  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>konsolekalendar --view --export-type csv --export-file 
/home/marc/.gnumed/tmp/korganizer2gnumed.csv<<<
2012-09-05 14:44:49  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 14:44:49  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2012-09-05 14:44:49  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>konsolekalendar --view --export-type csv --export-file 
/home/marc/.gnumed/tmp/korganizer2gnumed.csv<<<
2012-09-05 14:44:49  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 14:44:49  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 14:44:49  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 14:44:49  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 14:44:49  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 14:44:49  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 14:44:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::_generate_queries_de() 
#378): [Großmann, Karin]: not a search term with a "suggestive" structure
2012-09-05 14:44:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::_normalize_soundalikes() 
#151): [Großmann, Karin] -> [Gro(ß|sz|ss|s)mann, Karin]
2012-09-05 14:44:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u'SELECT *, %s::text AS match_type FROM dem.v_basic_person 
WHERE firstnames ~ %s AND lastnames ~ %s', 'args': [u'Name: Nachname, Vorname', 
u'^Karin', u'^Gro(\xdf|sz|ss|s)mann']}
2012-09-05 14:44:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u'SELECT *, %s::text AS match_type FROM dem.v_basic_person 
WHERE lower(firstnames) ~* lower(%s) AND lower(lastnames) ~* lower(%s)', 
'args': [u'Name: Nachname, Vorname', u'^Karin', u'^Gro(\xdf|sz|ss|s)mann']}
2012-09-05 14:44:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u'SELECT *, %s::text AS match_type FROM dem.v_basic_person 
WHERE firstnames ~ %s AND lastnames ~ %s', 'args': [u'Name: Nachname, Vorname', 
u'^Gro(\xdf|sz|ss|s)mann', u'^Karin']}
2012-09-05 14:44:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u'SELECT *, %s::text AS match_type FROM dem.v_basic_person 
WHERE lower(firstnames) ~* lower(%s) AND lower(lastnames) ~* lower(%s)', 
'args': [u'Name: Nachname, Vorname', u'^Gro(\xdf|sz|ss|s)mann', u'^Karin']}
2012-09-05 14:44:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u'SELECT *, %s::text AS match_type FROM dem.v_basic_person 
WHERE lower(firstnames || lastnames) ~* lower(%s) AND lower(firstnames || 
lastnames) ~* lower(%s)', 'args': [u'Name', u'Gro(\xdf|sz|ss|s)mann', u'Karin']}
2012-09-05 14:44:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::__init__() #1276): patient 
change [175] -> [424] requested
2012-09-05 14:44:54  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15827, readonly: False
2012-09-05 14:44:54  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:44:54  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-09-05 14:44:54  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #179): active encounter modified remotely, reloading and announcing the 
modification
2012-09-05 14:44:54  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [allg_mod_db:175]
2012-09-05 14:44:54  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [allg_state_mod_db:175]
2012-09-05 14:44:54  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [bill_item_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [clin_narrative_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [comm_channel_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [doc_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [encounter_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [episode_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [family_history_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [health_issue_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [hospital_stay_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [identity_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [identity_tag_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [job_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [message_inbox_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [name_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [narrative_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [procedure_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [substance_intake_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [test_result_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [vacc_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__unregister_patient_notifications()
 #180): stopping to listen for [waiting_list_mod_db:175]
2012-09-05 14:44:57  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::cleanup() #142): 
cleaning up after clinical record for patient [175]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15828, readonly: False
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:44:57  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-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15829, readonly: False
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:44:57  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-09-05 14:44:57  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::__activate_very_recent_encounter()
 #1711): no <very recent> encounter (younger than [1 hour 30 minutes]) found
2012-09-05 14:44:57  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::__activate_fairly_recent_encounter()
 #1754): no <fairly recent> encounter (between [1 hour 30 minutes] and [6 
hours] old) found
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15830, readonly: False
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:44:57  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-09-05 14:44:57  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::_set_current_encounter()
 #1649): first setting of active encounter in this clinical record instance
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15831, readonly: False
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:44:57  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-09-05 14:44:57  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::start_new_encounter() 
#1817): new encounter [2989] initiated
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15832, readonly: False
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:44:57  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-09-05 14:44:57  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::__init__() #136): 
Instantiated clinical record for patient [424].
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [allg_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [allg_state_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [bill_item_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [clin_narrative_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [comm_channel_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [doc_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [encounter_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [episode_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [family_history_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [health_issue_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [hospital_stay_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [identity_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [identity_tag_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [job_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [message_inbox_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [name_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [narrative_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [procedure_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [substance_intake_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [test_result_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [vacc_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::__register_patient_notifications()
 #167): starting to listen for [waiting_list_mod_db:424]
2012-09-05 14:44:57  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::__init__() #47): 
instantiated document folder for patient [424]
2012-09-05 14:44:57  INFO      gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::get_latest_mugshot() #100): 
no mugshots available for patient [424]
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=-1* -> event.GetSelection()=0
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #163): the following two should match but do not:
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164):  event.GetOldSelection(): -1
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #165):  notebook.GetSelection(): 10
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#215): those two really *should* match:
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#216):  wx.Notebook.GetSelection() (before switch) : 10
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=-1* -> event.GetSelection()=0
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #163): the following two should match but do not:
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164):  event.GetOldSelection(): -1
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #165):  notebook.GetSelection(): 10
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#215): those two really *should* match:
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#216):  wx.Notebook.GetSelection() (before switch) : 10
2012-09-05 14:44:57  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2012-09-05 14:44:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15833, readonly: False
2012-09-05 14:44:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:44:58  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-09-05 14:44:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #152): just before switching notebook tabs
2012-09-05 14:44:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #160): event.GetOldSelection()=10* -> event.GetSelection()=2
2012-09-05 14:44:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#206): just after switching notebook tabs
2012-09-05 14:44:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#212): event.GetOldSelection()=10 -> event.GetSelection()=2*
2012-09-05 14:45:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15838, readonly: True
2012-09-05 14:45:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1447): 
access mode [READ ONLY]
2012-09-05 14:45:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #998): 
expecting bytea data of size: [1848] bytes
2012-09-05 14:45:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #999): using 
chunk size of: [0] bytes
2012-09-05 14:45:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1004): chunk 
size [0] bytes: retrieving all data at once
2012-09-05 14:45:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1010): chunks 
to retrieve: [1]
2012-09-05 14:45:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1011): 
remainder to retrieve: [0] bytes
2012-09-05 14:45:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1019): failed 
to set bytea_output to "escape", not necessary
2012-09-05 14:45:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<title>$]
2012-09-05 14:45:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<firstname>$]
2012-09-05 14:45:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<lastname>$]
2012-09-05 14:45:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_street::home::>$]
2012-09-05 14:45:05  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_street::home::>$, discarding length: ><
2012-09-05 14:45:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_number::home::>$]
2012-09-05 14:45:05  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_number::home::>$, discarding length: ><
2012-09-05 14:45:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_postcode::home::>$]
2012-09-05 14:45:05  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_postcode::home::>$, discarding length: ><
2012-09-05 14:45:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<adr_location::home::>$]
2012-09-05 14:45:05  ERROR     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #294): placeholder 
length definition error: $<adr_location::home::>$, discarding length: ><
2012-09-05 14:45:05  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #225): replacing 
[$<date_of_birth::%d.%m.%Y>$]
2012-09-05 14:45:05  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-latex> editor: [None]
2012-09-05 14:45:05  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #122): 
<application/x-tex> editor: [/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-Og5shg-instance.tex']
2012-09-05 14:45:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-Og5shg-instance.tex'<<<
2012-09-05 14:45:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 14:45:05  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2012-09-05 14:45:05  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>/usr/bin/kwrite 
'/tmp/gnumed/gm-wefjPq/gm-L-Template-Og5shg-instance.tex'<<<
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 14:45:07  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #896): 
ignoring <format> directive [None], generating PDF
2012-09-05 14:45:07  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #900): LaTeX 
sandbox directory: [/tmp/gnumed/gm-wefjPq/gm-L-Template-Og5shg]
2012-09-05 14:45:07  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #903): CWD: 
[/home/marc]
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-Og5shg/gm-L-Template-Og5shg-instance.tex<<<
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 14:45:07  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-wefjPq/gm-L-Template-Og5shg/gm-L-Template-Og5shg-instance.tex<<<
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-Og5shg/gm-L-Template-Og5shg-instance.tex<<<
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 14:45:07  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-wefjPq/gm-L-Template-Og5shg/gm-L-Template-Og5shg-instance.tex<<<
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-Og5shg/gm-L-Template-Og5shg-instance.tex<<<
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2012-09-05 14:45:07  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -interaction nonstopmode 
/tmp/gnumed/gm-wefjPq/gm-L-Template-Og5shg/gm-L-Template-Og5shg-instance.tex<<<
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2012-09-05 14:45:07  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2012-09-05 14:45:07  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #44): printing 
"generic_document": [u'/tmp/gnumed/gm-wefjPq/gm-L-Template-Og5shg-instance.pdf']
2012-09-05 14:45:07  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #51): print API 
"None" unknown, trying all
2012-09-05 14:45:07  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::_print_files_by_gtklp() 
#156): printing with ['gtklp', '-i', '-# 1', 
u'/tmp/gnumed/gm-wefjPq/gm-L-Template-Og5shg-instance.pdf']
2012-09-05 14:45:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15866, readonly: False
2012-09-05 14:45:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:45:13  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-09-05 14:45:13  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/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
14665, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/share/gnumed/Gnumed/wxpython/gmEMRBrowser.py", line 266, in 
__update_text_for_selected_node
    with_co_encountlet_hints = True
  File "/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py", line 1793, in 
format
    raise ValueError(msg)
ValueError: <patient>.ID = 424 but encounter 2846 belongs to patient 175
2012-09-05 14:45:13  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #314): option 
[internal::debug] found in source [internal]
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2012-09-05 14:45:13  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-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f6bac16cbb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7f6bac170098>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-09-05 14:45:13  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 0x2952a28>, 
'setup_cli': <function setup_cli at 0x2952938>, '_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 0x29527d0>, 
'setup_ui_type': <function setup_ui_type at 0x2952d70>, '__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 0x2952b90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x2952f50>, '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 0x2952c08>, 'setup_date_time': <function 
setup_date_time at 0x2952c80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x2952aa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x2952848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x2952758>, '__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 0x296e390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x2952e60>, 'handle_sig_term': <function handle_sig_term at 
0x29529b0>, '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 0x7f6bac170098>, 'setup_backend': <function 
setup_backend at 0x2952de8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x2952cf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x29528c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x2952ed8>, 
'handle_help_request': <function handle_help_request at 0x2952b18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2bc0e90>, 'setup_python_path': 
<function setup_python_path at 0x29526e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-09-05 14:45:13  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-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7f6bac170098>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f6bac16cbb0, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2012-09-05 14:45:13  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 0x2952a28>, 
'setup_cli': <function setup_cli at 0x2952938>, '_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 0x29527d0>, 
'setup_ui_type': <function setup_ui_type at 0x2952d70>, '__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 0x2952b90>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x2952f50>, '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 0x2952c08>, 'setup_date_time': <function 
setup_date_time at 0x2952c80>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x2952aa0>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x2952848>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x2952758>, '__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 0x296e390>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x2952e60>, 'handle_sig_term': <function handle_sig_term at 
0x29529b0>, '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 0x7f6bac170098>, 'setup_backend': <function 
setup_backend at 0x2952de8>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x2952cf8>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x29528c0>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x2952ed8>, 
'handle_help_request': <function handle_help_request at 0x2952b18>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2bc0e90>, 'setup_python_path': 
<function setup_python_path at 0x29526e0>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2012-09-05 14:45:13  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-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2012-09-05 14:45:13  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-09-05 14:45:13  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-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.2.1
2012-09-05 14:45:13  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-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x2952a28>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x2952938>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2012-09-05 14:45:13  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-09-05 14:45:13  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-09-05 14:45:13  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-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.2
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x29527d0>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x2952d70>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2012-09-05 14:45:13  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-09-05 14:45:13  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-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x2952b90>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x2952f50>
2012-09-05 14:45:13  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-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x2952c08>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x2952c80>
2012-09-05 14:45:13  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-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x2952aa0>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2012-09-05 14:45:13  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-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x2952848>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x2952758>
2012-09-05 14:45:13  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-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2012-09-05 14:45:13  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-09-05 14:45:13  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-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x296e390>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2012-09-05 14:45:13  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-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x2952e60>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x29529b0>
2012-09-05 14:45:13  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-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7f6bac170098>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x2952de8>
2012-09-05 14:45:13  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-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x2952cf8>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x29528c0>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x2952ed8>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x2952b18>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x2bc0e90>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x29526e0>
2012-09-05 14:45:13  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-09-05 14:45:13  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-09-05 14:45:13  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 0x400e1d0> >
2012-09-05 14:45:13  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-09-05 14:45:13  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 0x400e1d0> >
2012-09-05 14:45:13  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-09-05 14:45:13  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 0x400e1d0> >,)
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [<lambda>] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
14665 <<<
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.PyEvent; proxy of <Swig Object of type 'wxPyEvent *' at 
0x4fa5a40> >
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [__update_text_for_selected_node] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEMRBrowser.py] at line 266 <<<
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  node_data = [cEncounter:2846]: ['pk_generic_codes_aoe: >>[]<<', 
'last_affirmed_original_tz: >>2012-08-15 08:08:18<<', 'started: >>2012-08-15 
08:08:18+02:00<<', 'pk_type: >>1<<', 'pk_patient: >>175<<', 'last_affirmed: 
>>2012-08-15 08:08:18+02:00<<', u'reason_for_encounter: NULL', u'l10n_type: 
>>in Praxis<<', 'pk_encounter: >>2846<<', 'pk_location: >>-1<<', 
'pk_generic_codes_rfe: >>[]<<', 'source_time_zone: >>2:00:00<<', 
u'assessment_of_encounter: >>administration; Gallenwege;<<', u'type: >>in 
surgery<<', 'xmin_encounter: >>108058<<', 'started_original_tz: >>2012-08-15 
08:08:18<<']
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 doc_folder = <Gnumed.business.gmDocuments.cDocumentFolder instance at 
0x42fed40>
2012-09-05 14:45:13  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 0x4a279c0> >
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        epi = [cEpisode:331]: ['episode_open: >>True<<', 
'episode_modified_when: >>2011-08-30 09:11:49.922248+02:00<<', 
u'diagnostic_certainty_classification_issue: NULL', u'description: 
>>Gallenwege<<', 'issue_active: >>True<<', 'pk_episode: >>331<<', 
u'health_issue: >>chron. Diarrhoe<<', 'pk_patient: >>175<<', 'last_affirmed: 
>>2011-08-30 08:01:43+02:00<<', 'started_last: >>2011-08-30 08:01:48+02:00<<', 
'pk_health_issue: >>165<<', u'summary: NULL', 'started_first: >>2011-08-30 
08:01:48+02:00<<', 'pk_generic_codes: >>[]<<', 'xmin_episode: >>105271<<', 
'pk_encounter: >>607<<', u'diagnostic_certainty_classification: NULL', 
u'episode_modified_by: >>maan<<', 'issue_clinically_relevant: >>True<<']
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [format] in 
[/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py] at line 1793 <<<
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
with_vaccinations = True
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    patient = <Gnumed.business.gmPerson.gmCurrentPatient object at 0x3ea2250>
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
with_family_history = True
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
with_co_encountlet_hints = True
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 with_tests = True
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = [cEncounter:2846]: ['pk_generic_codes_aoe: >>[]<<', 
'last_affirmed_original_tz: >>2012-08-15 08:08:18<<', 'started: >>2012-08-15 
08:08:18+02:00<<', 'pk_type: >>1<<', 'pk_patient: >>175<<', 'last_affirmed: 
>>2012-08-15 08:08:18+02:00<<', u'reason_for_encounter: NULL', u'l10n_type: 
>>in Praxis<<', 'pk_encounter: >>2846<<', 'pk_location: >>-1<<', 
'pk_generic_codes_rfe: >>[]<<', 'source_time_zone: >>2:00:00<<', 
u'assessment_of_encounter: >>administration; Gallenwege;<<', u'type: >>in 
surgery<<', 'xmin_encounter: >>108058<<', 'started_original_tz: >>2012-08-15 
08:08:18<<']
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  with_soap = True
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      lines = [u' in Praxis: 2012-08-15 08:08 - 08:08 (@2:00:00) 
\xbbadministration; Gallenwege;\xab [#2846]', u'  Ortszeit: 2012-08-15 08:08 - 
08:08  (@02:00:00.00 = CEST - Sommerzeit aktiv)\n', u'BE: administration; 
Gallenwege;', u'']
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  with_docs = True
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   episodes = [331]
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
with_rfe_aoe = False
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        msg = <patient>.ID = 424 but encounter 2846 belongs to patient 175
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
left_margin = 1
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
fancy_header = True
2012-09-05 14:45:13  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     issues = None
2012-09-05 14:45:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15958, readonly: False
2012-09-05 14:45:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:45: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-09-05 14:45:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15959, readonly: False
2012-09-05 14:45:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:45: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-09-05 14:45:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15960, readonly: False
2012-09-05 14:45:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:45:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15961, readonly: False
2012-09-05 14:45:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:45: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-09-05 14:45:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15962, readonly: False
2012-09-05 14:45:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:45: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-09-05 14:45:16  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::update_data_from_file() 
#308): [/tmp/gnumed/gm-wefjPq/gm-L-Template-Og5shg-instance.tex] is not a 
readable file
2012-09-05 14:45:16  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_part() #513): cannot 
import binary data from 
[/tmp/gnumed/gm-wefjPq/gm-L-Template-Og5shg-instance.tex] into document part
2012-09-05 14:45:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1414): new 
database connection, backend PID: 15963, readonly: False
2012-09-05 14:45:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1453): 
access mode [READ WRITE]
2012-09-05 14:45:16  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-09-05 14:45:16  ERROR     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::add_parts_from_files() 
#533): cannot instantiate document part object
2012-09-05 14:45:16  ERROR     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::_set_locked() #1323): 
lock/unlock imbalance, trying to refcount lock depth below 0
2012-09-05 14:45:59  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::mail_log() 
#371): on saving printing document in overview screen
2012-09-05 14:45:59  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::mail_log() 
#372): syncing log file for emailing
2012-09-05 14:45:59  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]