gnumed-bugs
[Top][All Lists]
Advanced

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

[Gnumed-bugs] <bug>: on deleting org unit


From: MaAn = maan
Subject: [Gnumed-bugs] <bug>: on deleting org unit
Date: Tue, 19 Nov 2013 23:49:04 +0100

Report sent via GNUmed's handler for unexpected exceptions.

user comment  : on deleting org unit

client version: 1.3.9

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

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

2013-11-19 23:42:08  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #229): -------- 
start of logging ------------------------------
2013-11-19 23:42:08  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #230): log file 
is </home/marc/.gnumed/gnumed-9535.log>
2013-11-19 23:42:08  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #231): log 
level is [DEBUG]
2013-11-19 23:42:08  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #232): log file 
encoding is <utf8>
2013-11-19 23:42:08  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #233): initial 
python.str -> python.unicode encoding is <ANSI_X3.4-1968>
2013-11-19 23:42:08  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #263): Starting up as 
main module.
2013-11-19 23:42:08  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #264): GNUmed client 
version [1.3.9] on branch [1.3]
2013-11-19 23:42:08  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #265): Platform: 
('Linux', 'slapperone', '3.10-3-amd64', '#1 SMP Debian 3.10.11-1 (2013-09-10)', 
'x86_64', '')
2013-11-19 23:42:08  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #266): Python 2.7.5+ 
(default, Sep 17 2013, 15:31:50) 
[GCC 4.8.1] on linux2 (posix)
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #269): {'DESCRIPTION': 
u'Debian GNU/Linux testing (jessie)', 'RELEASE': u'testing', 'CODENAME': 
'jessie', 'OS': 'GNU/Linux', 'ID': 'Debian'}
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #272): process 
environment:
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):          
${XDG_CURRENT_DESKTOP}: KDE
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                  
    ${LOGNAME}: marc
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                  
       ${USER}: marc
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                  
       ${PATH}: 
/usr/lib/x86_64-linux-gnu/qt4/bin:/home/marc/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/gnumed/bin
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                  
       ${HOME}: /home/marc
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):          
${KDE_SESSION_VERSION}: 4
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):             
${KDE_FULL_SESSION}: true
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                  
       ${LANG}: de_DE.UTF-8
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                  
      ${SHELL}: /bin/bash
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                
${SSH_AGENT_PID}: 17687
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):           
${XDG_SESSION_COOKIE}: 
3e42944f8d3f25c8b15394ce00000b15-1384759792.410539-145187437
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):              
${SESSION_MANAGER}: 
local/slapperone:@/tmp/.ICE-unix/17791,unix/slapperone:/tmp/.ICE-unix/17791
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                  
      ${SHLVL}: 1
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                
${XCURSOR_THEME}: Oxygen_White
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                  
 ${WINDOWPATH}: 7
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):               
${GPG_AGENT_INFO}: /tmp/gpg-IRkaiK/S.gpg-agent:17688:1
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):              
${KDE_SESSION_UID}: 1000
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):               
${QT_PLUGIN_PATH}: /home/marc/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                  
 ${PYTHONPATH}: /usr/share/gnumed/:/usr/share/gnumed/Gnumed/
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                
${SSH_AUTH_SOCK}: /tmp/ssh-8Gt0hjWmBx84/agent.17640
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                  
${XDM_MANAGED}: method=classic
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                  
 ${DM_CONTROL}: /var/run/xdmctl
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                
${GTK2_RC_FILES}: 
/etc/gtk-2.0/gtkrc:/home/marc/.gtkrc-2.0:/home/marc/.gtkrc-2.0-kde:/home/marc/.kde/share/config/gtkrc-2.0
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                  
     ${GS_LIB}: /home/marc/.fonts
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):     
${DBUS_SESSION_BUS_ADDRESS}: 
unix:abstract=/tmp/dbus-XP0ZEjxhih,guid=b842b1e2bd46e2a2b9b228745289c1f2
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                  
          ${_}: /usr/bin/python
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):              
${DESKTOP_SESSION}: kde-plasma
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                  
    ${DISPLAY}: :0
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                
${XDG_DATA_DIRS}: /usr/share:/usr/share:/usr/local/share
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                  
        ${PWD}: /home/marc
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):           
${DESKTOP_STARTUP_ID}: slapperone;1384900928;348529;18039_TIME115608512
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                 
${GTK_RC_FILES}: 
/etc/gtk/gtkrc:/home/marc/.gtkrc:/home/marc/.kde/share/config/gtkrc
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #274):                
${KDE_MULTIHEAD}: false
2013-11-19 23:42:09  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #507): adding command 
line arguments
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #508): raw command line 
is:
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #509): 
['/usr/share/gnumed/Gnumed/gnumed.py', '--override-schema-check']
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--debug] not 
in group [cli] in source [cli]
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--slave] not 
in group [cli] in source [cli]
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option 
[--skip-update-check] not in group [cli] in source [cli]
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--hipaa] not 
in group [cli] in source [cli]
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option 
[--local-import] not in group [cli] in source [cli]
2013-11-19 23:42:09  DEBUG     gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_local_repo_path() #205): 
[/home/marc/.gnumed/local_code/1.3/Gnumed/wxGladeWidgets] not found
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_local_repo_path() #206): local 
wxGlade widgets repository not available
2013-11-19 23:42:09  INFO      gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::<module>() #59): mx.DateTime 
version: 3.2.6
2013-11-19 23:42:09  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #29): $Revision: 1.18 
$
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #68): known hooks:
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
post_patient_activation
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
post_person_creation
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
shutdown-post-GUI
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
startup-after-GUI-init
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
startup-before-GUI
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
request_user_attention
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
app_activated_startup
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): app_activated
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): app_deactivated
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_substance_intake_modified
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_test_result_modified
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_soap_modified
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_code_link_modified
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_new_doc_created
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): before_print_doc
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): before_fax_doc
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): before_mail_doc
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_print_doc_part
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_fax_doc_part
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_mail_doc_part
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_external_doc_access
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
db_maintenance_warning
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #122): 
unmodified startup locale settings (should be [C])
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #124): 
current locale settings:
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #125): 
locale.get_locale(): (None, None)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_NUMERIC): (None, None)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_MESSAGES): (None, None)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_MONETARY): (None, None)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_COLLATE): (None, None)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_CTYPE): (None, None)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_TIME): (None, None)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_NUMERIC): C)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_MESSAGES): C)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_MONETARY): C)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_COLLATE): C)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_CTYPE): C)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_ALL): C)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_TIME): C)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #133): 
locale.getdefaultlocale() - default (user) locale: ('de_DE', 'UTF-8')
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
encoding sanity check (also check "locale.nl_langinfo(CODESET)" below):
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #142): 
sys.getdefaultencoding(): [ascii]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #143): 
locale.getpreferredencoding(): [ANSI_X3.4-1968]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #144): 
locale.getlocale()[1]: [None]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #145): 
sys.getfilesystemencoding(): [UTF-8]
2013-11-19 23:42:09  WARNING   gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #152): 
encoding suggested by locale (ANSI_X3.4-1968) does not match encoding currently 
set in locale (None)
2013-11-19 23:42:09  WARNING   gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #153): 
this might lead to encoding errors
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [ANSI_X3.4-1968]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [ascii]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [UTF-8]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #161): on 
Linux you can determine a likely candidate for the encoding by running "locale 
charmap"
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #163): 
locale related environment variables (${LANG} is typically used):
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LANGUAGE} not set
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LC_ALL} not set
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LC_CTYPE} not set
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #166): 
${LANG}=de_DE.UTF-8
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
database of locale conventions:
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(mon_decimal_point): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(int_frac_digits): 127
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(p_sep_by_space): 127
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(frac_digits): 127
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(thousands_sep): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(n_sign_posn): 127
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(decimal_point): .
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(int_curr_symbol): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(n_cs_precedes): 127
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(p_sign_posn): 127
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(mon_thousands_sep): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(negative_sign): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(currency_symbol): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(n_sep_by_space): 127
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(mon_grouping): []
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(p_cs_precedes): 127
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(positive_sign): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(grouping): []
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(D_FMT): %m/%d/%y
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(D_T_FMT): %a %b %e %H:%M:%S %Y
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(YESEXPR): ^[yY]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(ALT_DIGITS): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(T_FMT_AMPM): %I:%M:%S %p
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(RADIXCHAR): .
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(ERA_D_FMT): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(T_FMT): %H:%M:%S
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(NOEXPR): ^[nN]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(CRNCYSTR): -
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(ERA): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(CODESET): ANSI_X3.4-1968
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(THOUSEP): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(ERA_D_T_FMT): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::get_encoding() #418): *actual* 
encoding of locale is None, using encoding *recommended* by locale
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #198): 
gmI18N.get_encoding(): ANSI_X3.4-1968
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::activate_locale() #249): 
activating user-default locale with <locale.setlocale(locale.LC_ALL, '')> 
returns: [de_DE.UTF-8]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #122): 
locale settings after activating user-default locale
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #124): 
current locale settings:
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #125): 
locale.get_locale(): ('de_DE', 'UTF-8')
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_NUMERIC): ('de_DE', 'UTF-8')
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_MESSAGES): ('de_DE', 'UTF-8')
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_MONETARY): ('de_DE', 'UTF-8')
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_COLLATE): ('de_DE', 'UTF-8')
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_CTYPE): ('de_DE', 'UTF-8')
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_TIME): ('de_DE', 'UTF-8')
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_NUMERIC): de_DE.UTF-8)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_MESSAGES): de_DE.UTF-8)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_MONETARY): de_DE.UTF-8)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_COLLATE): de_DE.UTF-8)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_CTYPE): de_DE.UTF-8)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_ALL): de_DE.UTF-8)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_TIME): de_DE.UTF-8)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #133): 
locale.getdefaultlocale() - default (user) locale: ('de_DE', 'UTF-8')
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
encoding sanity check (also check "locale.nl_langinfo(CODESET)" below):
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #142): 
sys.getdefaultencoding(): [ascii]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #143): 
locale.getpreferredencoding(): [UTF-8]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #144): 
locale.getlocale()[1]: [UTF-8]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #145): 
sys.getfilesystemencoding(): [UTF-8]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [UTF-8]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [UTF-8]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [ascii]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [UTF-8]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #161): on 
Linux you can determine a likely candidate for the encoding by running "locale 
charmap"
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #163): 
locale related environment variables (${LANG} is typically used):
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LANGUAGE} not set
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LC_ALL} not set
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LC_CTYPE} not set
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #166): 
${LANG}=de_DE.UTF-8
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
database of locale conventions:
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(mon_decimal_point): ,
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(int_frac_digits): 2
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(p_sep_by_space): 1
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(frac_digits): 2
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(thousands_sep): .
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(n_sign_posn): 1
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(decimal_point): ,
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(int_curr_symbol): EUR 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(n_cs_precedes): 0
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(p_sign_posn): 1
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(mon_thousands_sep): .
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(negative_sign): -
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(currency_symbol): €
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(n_sep_by_space): 1
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(mon_grouping): [3, 3, 0]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(p_cs_precedes): 0
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(positive_sign): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(grouping): [3, 3, 0]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(D_FMT): %d.%m.%Y
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(D_T_FMT): %a %d %b %Y %T %Z
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(YESEXPR): ^[jJyY].*
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(ALT_DIGITS): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(T_FMT_AMPM): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(RADIXCHAR): ,
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(ERA_D_FMT): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(T_FMT): %T
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(NOEXPR): ^[nN].*
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(CRNCYSTR): +€
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(ERA): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(CODESET): UTF-8
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(THOUSEP): .
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(ERA_D_T_FMT): 
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #198): 
gmI18N.get_encoding(): UTF-8
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__split_locale_into_levels() 
#95): splitting canonical locale [de_DE] into levels
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__split_locale_into_levels() 
#104): system locale levels: {'country': 'de_DE', 'full': 'de_DE', 'language': 
'de'}
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option 
[--text-domain] not in group [cli] in source [cli]
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option 
[--lang-gettext] not in group [cli] in source [cli]
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::local-import] found in source [internal]
2013-11-19 23:42:09  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #278): domain 
not specified, deriving from script name
2013-11-19 23:42:09  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #281): text 
domain is [gnumed]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #284): searching 
message catalog file for system locale [de_DE]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #291): 
${LANGUAGE} = [None]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #291): ${LC_ALL} 
= [None]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #291): 
${LC_MESSAGES} = [None]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #291): ${LANG} = 
[de_DE.UTF-8]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #318): system is 
POSIX, looking in standard locations (see Python Manual)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #327): looking 
at ${GNUMED_DIR}
2013-11-19 23:42:09  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #333): 
${GNUMED_DIR} not set
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #342): looking 
above binary install directory [/usr/share/gnumed/po]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #346): looking 
in binary install directory [/usr/share/gnumed/Gnumed/po]
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #351): trying 
[/usr/share/locale](/de_DE/LC_MESSAGES/gnumed.mo)
2013-11-19 23:42:09  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #365): found msg 
catalog: [Translate this or i18n into <en_EN> will not work properly !] => 
[Übersetzen oder Bauchplatscher !]
2013-11-19 23:42:09  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)
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--help] not 
in group [cli] in source [cli]
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [-h] not in 
group [cli] in source [cli]
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [-?] not in 
group [cli] in source [cli]
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--version] 
not in group [cli] in source [cli]
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [-V] not in 
group [cli] in source [cli]
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #143): wxPython not 
available
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #144): detecting 
paths directly
2013-11-19 23:42:09  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #150): app name 
passed in as [gnumed]
2013-11-19 23:42:09  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #198): previous 
temp dir: /tmp
2013-11-19 23:42:09  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #200): intermediate 
temp dir: /tmp/gnumed
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::_set_tmp_dir() #329): previous 
temp dir: /tmp/gnumed
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #242): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #243): 
sys.executable: /usr/bin/python
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #244): 
sys._MEIPASS: <not found>
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #245): 
os.environ["_MEIPASS2"]: <not found>
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #246): __file__ : 
/usr/share/gnumed/Gnumed/pycommon/gmTools.py
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #247): local 
application base dir: /usr/share/gnumed/Gnumed
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #248): current 
working dir: /home/marc
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #249): user home 
dir: /home/marc
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #250): 
user-specific config dir: /home/marc/.gnumed
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #251): system-wide 
config dir: /etc/gnumed
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #252): system-wide 
application data dir: /usr/share/gnumed
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #253): temporary 
dir: /tmp/gnumed/gm-Z1wFGV
2013-11-19 23:42:09  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #122): 
mx.DateTime.now(): [2013-11-19 23:42:09,59]
2013-11-19 23:42:09  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #123): datetime.now()  
 : [2013-11-19 23:42:09.588836]
2013-11-19 23:42:09  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #124): 
time.localtime() : [time.struct_time(tm_year=2013, tm_mon=11, tm_mday=19, 
tm_hour=23, tm_min=42, tm_sec=9, tm_wday=1, tm_yday=323, tm_isdst=0)]
2013-11-19 23:42:09  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #125): time.gmtime()   
 : [time.struct_time(tm_year=2013, tm_mon=11, tm_mday=19, tm_hour=22, 
tm_min=42, tm_sec=9, tm_wday=1, tm_yday=323, tm_isdst=0)]
2013-11-19 23:42:09  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #130): $TZ not defined
2013-11-19 23:42:09  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #132): time.daylight: 
[1] (whether or not DST is locally used at all)
2013-11-19 23:42:09  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #133): time.timezone: 
[-3600] seconds
2013-11-19 23:42:09  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #134): time.altzone : 
[-7200] seconds
2013-11-19 23:42:09  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #135): time.tzname  : 
[CET / CEST] (non-DST / DST)
2013-11-19 23:42:09  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #136): 
mx.DateTime.now().gmtoffset(): [01:00:00,00]
2013-11-19 23:42:09  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #149): DST currently 
in effect: [False]
2013-11-19 23:42:09  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #161): DST currently 
not in effect: using UTC offset of [3600] seconds instead of [7200] seconds
2013-11-19 23:42:09  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #164): UTC offset is 
positive, assuming EAST of Greenwich (clock is "ahead")
2013-11-19 23:42:09  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #172): ISO timezone: 
[01:00:00,00] (taken from mx.DateTime.now().gmtoffset())
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--conf-file] 
not in group [cli] in source [cli]
2013-11-19 23:42:09  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "workbase": /home/marc/gnumed.conf (UTF-8)
2013-11-19 23:42:09  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #458): cannot 
open [/home/marc/gnumed.conf], keeping as dummy source
2013-11-19 23:42:09  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "system": /etc/gnumed/gnumed-client.conf (UTF-8)
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::parse_INI_stream() #274): parsing 
INI-style data stream [<open file u'/etc/gnumed/gnumed-client.conf', mode 'rb' 
at 0x128e6f0>]
2013-11-19 23:42:09  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "user": /home/marc/.gnumed/gnumed.conf (UTF-8)
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::parse_INI_stream() #274): parsing 
INI-style data stream [<open file u'/home/marc/.gnumed/gnumed.conf', mode 'rb' 
at 0x128e6f0>]
2013-11-19 23:42:09  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "local": /usr/share/gnumed/Gnumed/gnumed.conf (UTF-8)
2013-11-19 23:42:09  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #458): cannot 
open [/usr/share/gnumed/Gnumed/gnumed.conf], keeping as dummy source
2013-11-19 23:42:09  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "explicit": None (UTF-8)
2013-11-19 23:42:09  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #450): file 
[None] already known as source [workbase]
2013-11-19 23:42:09  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #451): adding 
it as source [explicit] may provoke trouble
2013-11-19 23:42:09  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #450): file 
[None] already known as source [local]
2013-11-19 23:42:09  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #451): adding 
it as source [explicit] may provoke trouble
2013-11-19 23:42:09  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "user-mime": /home/marc/.gnumed/mime_type2file_extension.conf (UTF-8)
2013-11-19 23:42:09  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #458): cannot 
open [/home/marc/.gnumed/mime_type2file_extension.conf], keeping as dummy source
2013-11-19 23:42:09  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "system-mime": /etc/gnumed/mime_type2file_extension.conf (UTF-8)
2013-11-19 23:42:09  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #458): cannot 
open [/etc/gnumed/mime_type2file_extension.conf], keeping as dummy source
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--ui] not in 
group [cli] in source [cli]
2013-11-19 23:42:09  DEBUG     gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_ui_type() #505): UI type: wxp
2013-11-19 23:42:09  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #51): psycopg2 version: 
2.4.5 (dt dec mx pq3 ext)
2013-11-19 23:42:09  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #52): 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"
2013-11-19 23:42:09  DEBUG     psycopg2 
(/usr/lib/python2.7/dist-packages/psycopg2/pool.py::<module>() #40): installed. 
Logging using Python logging module
2013-11-19 23:42:09  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #79): assuming default 
client encoding of [UTF8]
2013-11-19 23:42:09  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_backend() #510): client expects 
database version [18]
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [client 
timezone] not in group [backend] in source [explicit]
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [client 
timezone] not in group [backend] in source [workbase]
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [client 
timezone] not in group [backend] in source [local]
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [client 
timezone] not in group [backend] in source [user]
2013-11-19 23:42:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [client 
timezone] not in group [backend] in source [system]
2013-11-19 23:42:09  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=60951332, st_dev=2304L, 
st_nlink=1, st_uid=1000, st_gid=1000, st_size=403, st_atime=1341055187, 
st_mtime=1223050894, st_ctime=1296556377)
2013-11-19 23:42:09  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #119): hook 
script mode: 384 (oktal: 0600)
2013-11-19 23:42:09  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#484): appending to sys.path: [/home/marc/.gnumed/scripts]
2013-11-19 23:42:09  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#488): will remove import path: True
2013-11-19 23:42:09  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#501): imported module [hook_script] as [<module 'hook_script' from 
'/home/marc/.gnumed/scripts/hook_script.pyc'>]
2013-11-19 23:42:09  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #140): hook 
script: /home/marc/.gnumed/scripts/hook_script.py
2013-11-19 23:42:10  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::<module>() #18): $Revision: 
1.13 $
2013-11-19 23:42:10  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::<module>() #19): 
$Revision: 1.22 $
2013-11-19 23:42:10  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/pycommon/gmMatchProvider.py::<module>() #21): 
$Revision: 1.34 $
2013-11-19 23:42:10  INFO      gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::<module>() #17): $Revision: 
1.34 $
2013-11-19 23:42:10  INFO      gm.coding 
(/usr/share/gnumed/Gnumed/business/gmCoding.py::<module>() #21): $Revision: 1.2 
$
2013-11-19 23:42:10  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [episode_code_mod_db]
2013-11-19 23:42:10  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [rfe_code_mod_db]
2013-11-19 23:42:10  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [aoe_code_mod_db]
2013-11-19 23:42:10  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [health_issue_code_mod_db]
2013-11-19 23:42:10  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [narrative_code_mod_db]
2013-11-19 23:42:10  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [procedure_code_mod_db]
2013-11-19 23:42:10  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [test_result_mod_db]
2013-11-19 23:42:10  INFO      gm.loinc 
(/usr/share/gnumed/Gnumed/business/gmLOINC.py::<module>() #22): $Revision: 1.7 $
2013-11-19 23:42:10  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [clin_narrative_mod_db]
2013-11-19 23:42:10  INFO      gm.atc 
(/usr/share/gnumed/Gnumed/business/gmATC.py::<module>() #21): $Revision: 1.7 $
2013-11-19 23:42:10  INFO      gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::<module>() #27): $Revision: 
1.27 $
2013-11-19 23:42:10  INFO      gm.meds 
(/usr/share/gnumed/Gnumed/business/gmMedication.py::<module>() #40): $Revision: 
1.21 $
2013-11-19 23:42:10  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [substance_intake_mod_db]
2013-11-19 23:42:10  INFO      gm.vaccination 
(/usr/share/gnumed/Gnumed/business/gmVaccination.py::<module>() #18): 
$Revision: 1.38 $
2013-11-19 23:42:10  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py::<module>() #23): $Revision: 
1.135 $
2013-11-19 23:42:11  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmCfgWidgets.py::<module>() #30): $Revision: 
1.4 $
2013-11-19 23:42:11  INFO      gm.kvk 
(/usr/share/gnumed/Gnumed/business/gmKVK.py::<module>() #29): $Revision: 1.22 $
2013-11-19 23:42:11  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::<module>() #27): $Revision: 
1.47 $
2013-11-19 23:42:11  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmSOAPWidgets.py::<module>() #22): 
$Revision: 1.114 $
2013-11-19 23:42:11  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmDocumentWidgets.py::<module>() #45): 
$Revision: 1.187 $
2013-11-19 23:42:11  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmCodingWidgets.py::<module>() #27): 
$Revision: 1.4 $
2013-11-19 23:42:11  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::<module>() #126): wxPython GUI 
framework: 2.8.12.1 ('__WXGTK__', 'wxGTK', 'unicode', 'gtk2', 
'wx-assertions-off', 'SWIG-1.3.29')
2013-11-19 23:42:11  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--profile] 
not in group [cli] in source [cli]
2013-11-19 23:42:11  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2013-11-19 23:42:11  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [workplace] in source [explicit]
2013-11-19 23:42:11  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [workplace] in source [workbase]
2013-11-19 23:42:11  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [workplace] in source [local]
2013-11-19 23:42:11  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [workplace] in source [user]
2013-11-19 23:42:11  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[workplace::help desk] found in source [system]
2013-11-19 23:42:11  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::client_version] found in source [internal]
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #144): detecting 
paths directly
2013-11-19 23:42:11  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #150): app name 
passed in as [gnumed]
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #194): temp dir 
already set
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #242): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #243): 
sys.executable: /usr/bin/python
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #244): 
sys._MEIPASS: <not found>
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #245): 
os.environ["_MEIPASS2"]: <not found>
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #246): __file__ : 
/usr/share/gnumed/Gnumed/pycommon/gmTools.py
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #247): local 
application base dir: /usr/share/gnumed/Gnumed
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #248): current 
working dir: /home/marc
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #249): user home 
dir: /home/marc
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #250): 
user-specific config dir: /home/marc/.gnumed
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #251): system-wide 
config dir: /etc/gnumed
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #252): system-wide 
application data dir: /usr/share/gnumed
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #253): temporary 
dir: /tmp/gnumed/gm-Z1wFGV
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #208): re-detecting 
paths with wxPython
2013-11-19 23:42:11  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #211): wxPython app 
name is [gnumed]
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #242): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #243): 
sys.executable: /usr/bin/python
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #244): 
sys._MEIPASS: <not found>
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #245): 
os.environ["_MEIPASS2"]: <not found>
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #246): __file__ : 
/usr/share/gnumed/Gnumed/pycommon/gmTools.py
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #247): local 
application base dir: /usr/share/gnumed/Gnumed
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #248): current 
working dir: /home/marc
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #249): user home 
dir: /home/marc
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #250): 
user-specific config dir: /home/marc/.gnumed
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #251): system-wide 
config dir: /etc/gnumed
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #252): system-wide 
application data dir: /usr/share/gnumed
2013-11-19 23:42:11  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #253): temporary 
dir: /tmp/gnumed/gm-Z1wFGV
2013-11-19 23:42:11  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--conf-file] 
not in group [cli] in source [cli]
2013-11-19 23:42:11  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::__setup_prefs_file() #3323): 
user preferences file: /home/marc/.gnumed/gnumed.conf
2013-11-19 23:42:11  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [user email] 
not in group [preferences] in source [explicit]
2013-11-19 23:42:11  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [user email] 
not in group [preferences] in source [user]
2013-11-19 23:42:11  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [user email] 
not in group [preferences] in source [local]
2013-11-19 23:42:11  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [user email] 
not in group [preferences] in source [workbase]
2013-11-19 23:42:11  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [user email] 
not in group [preferences] in source [system]
2013-11-19 23:42:12  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::__setup_platform() #3398): 
running on GTK (probably Linux)
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[cli::--override-schema-check] found in source [cli]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::client_branch] found in source [internal]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::client_version] found in source [internal]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [name] not in 
group [workplace] in source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [name] not in 
group [workplace] in source [workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [name] not in 
group [workplace] in source [local]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [name] not in 
group [workplace] in source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[workplace::name] found in source [system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [profiles] 
not in group [backend] in source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[backend::profiles] found in source [system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [profiles] 
not in group [backend] in source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [profiles] 
not in group [backend] in source [workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("local": Linux/Mac)::host] found in source 
[system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("local": Linux/Mac)::port] found in source 
[system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("local": Linux/Mac)::database] found in source 
[system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database on this machine ("local": 
Linux/Mac)] in source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database on this machine ("local": 
Linux/Mac)] in source [workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database on this machine ("local": 
Linux/Mac)] in source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("local": Linux/Mac)::public/open access] found 
in source [system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("local": Linux/Mac)::help desk] found in 
source [system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)::host] found in 
source [system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)::port] found in 
source [system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)::database] found 
in source [system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)::public/open 
access] found in source [system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)::help desk] found 
in source [system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::host] found in source [system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::port] found in source [system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::database] found in source 
[system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] 
in source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] 
in source [workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] 
in source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::public/open access] found in 
source [system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::help desk] found in source 
[system]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [logins] not 
in group [backend] in source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [logins] not 
in group [backend] in source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [logins] not 
in group [backend] in source [workbase]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [login] not 
in group [preferences] in source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[preferences::login] found in source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [profile] not 
in group [preferences] in source [explicit]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[preferences::profile] found in source [user]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2013-11-19 23:42:12  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::slave] found in source [internal]
2013-11-19 23:42:12  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::get_icon() #874): icon found in 
[/usr/share/gnumed/bitmaps/gm_icon-serpent_and_gnu.png]
2013-11-19 23:42:12  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::connect_to_database() 
#128): login attempt 1 of 3
2013-11-19 23:42:24  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::__on_login_button_pressed()
 #803): debug mode disabled
2013-11-19 23:42:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--quiet] not 
in group [cli] in source [cli]
2013-11-19 23:42:31  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::sanity_check_database_settings() 
#1703): PG option [log_connections] set to [off], expected [on], risk: 
<non-compliance with HIPAA>
2013-11-19 23:42:31  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::sanity_check_database_settings() 
#1703): PG option [log_disconnections] set to [off], expected [on], risk: 
<non-compliance with HIPAA>
2013-11-19 23:42:34  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_stream_source() #438): 
overriding source <user> with [<open file u'/home/marc/.gnumed/gnumed.conf', 
mode 'rb' at 0x2cc5660>]
2013-11-19 23:43:23  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1251): RW query 
failed: [DELETE FROM dem.org_unit WHERE pk = 3]
2013-11-19 23:43:23  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1254): PG error 
code: 23503
2013-11-19 23:43:23  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1256): PG error 
message: ERROR:  update or delete on table "org_unit" violates foreign key 
constraint "test_org_fk_org_unit_fkey" on table "test_org"
DETAIL:  Key (pk)=(3) is still referenced from table "test_org".
2013-11-19 23:43:23  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #216): enabling debug mode
2013-11-19 23:43:23  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #220): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py", line 574, in 
_on_remove_button_pressed
    if not self.delete_callback(item):
  File "/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py", line 157, 
in _del
    return gmOrganization.delete_org_unit(unit = item['pk_org_unit'])
  File "/usr/share/gnumed/Gnumed/business/gmOrganization.py", line 249, in 
delete_org_unit
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}], 
get_col_idx = False)
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1249, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
IntegrityError: update or delete on table "org_unit" violates foreign key 
constraint "test_org_fk_org_unit_fkey" on table "test_org"
DETAIL:  Key (pk)=(3) is still referenced from table "test_org".

2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2013-11-19 23:43:23  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 <<<
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f92baae1d30, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:43:23  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.3.9', '_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 0x101fb90>, 
'setup_cli': <function setup_cli at 0x101faa0>, '_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.3', 'setup_logging': <function setup_logging at 0x101f938>, 
'setup_ui_type': <function setup_ui_type at 0x101fed8>, '__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 0x101fcf8>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x7f92b9ac7140>, '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', '__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 0x101fd70>, 'setup_date_time': <function 
setup_date_time at 0x101fde8>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x101fc08>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x101f9b0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x101f8c0>, '__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 0x103cf50>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7f92b9ac7050>, 'handle_sig_term': <function 
handle_sig_term at 0x101fb18>, '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 0x7f92baadfcb0>, 'setup_backend': <function 
setup_backend at 0x101ff50>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x101fe60>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x101fa28>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7f92b9ac70c8>, 
'handle_help_request': <function handle_help_request at 0x101fc80>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>, 'setup_python_path': 
<function setup_python_path at 0x101f848>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2013-11-19 23:43:23  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 <<<
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f92baae1d30, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2013-11-19 23:43:23  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.3.9', '_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 0x101fb90>, 
'setup_cli': <function setup_cli at 0x101faa0>, '_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.3', 'setup_logging': <function setup_logging at 0x101f938>, 
'setup_ui_type': <function setup_ui_type at 0x101fed8>, '__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 0x101fcf8>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x7f92b9ac7140>, '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', '__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 0x101fd70>, 'setup_date_time': <function 
setup_date_time at 0x101fde8>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x101fc08>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x101f9b0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x101f8c0>, '__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 0x103cf50>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7f92b9ac7050>, 'handle_sig_term': <function 
handle_sig_term at 0x101fb18>, '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 0x7f92baadfcb0>, 'setup_backend': <function 
setup_backend at 0x101ff50>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x101fe60>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x101fa28>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7f92b9ac70c8>, 
'handle_help_request': <function handle_help_request at 0x101fc80>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>, 'setup_python_path': 
<function setup_python_path at 0x101f848>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:43:23  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 608 
<<<
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2013-11-19 23:43:23  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.

2013-11-19 23:43:23  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'>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.3.9
2013-11-19 23:43:23  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']
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x101fb90>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x101faa0>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2013-11-19 23:43:23  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'>
2013-11-19 23:43:23  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'>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.3
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x101f938>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x101fed8>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2013-11-19 23:43:23  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'>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x101fcf8>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x7f92b9ac7140>
2013-11-19 23:43:23  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.

2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x101fd70>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x101fde8>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x101fc08>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2013-11-19 23:43:23  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)
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x101f9b0>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x101f8c0>
2013-11-19 23:43:23  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>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2013-11-19 23:43:23  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'>
2013-11-19 23:43:23  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'>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x103cf50>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2013-11-19 23:43:23  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'>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x7f92b9ac7050>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x101fb18>
2013-11-19 23:43:23  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.

2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x101ff50>
2013-11-19 23:43:23  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'>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x101fe60>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x101fa28>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x7f92b9ac70c8>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x101fc80>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x101f848>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2013-11-19 23:43:23  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 3562 <<<
2013-11-19 23:43:23  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 0x2815a90> >
2013-11-19 23:43:23  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 
<<<
2013-11-19 23:43:23  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 0x2815a90> >
2013-11-19 23:43:23  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 
<<<
2013-11-19 23:43:23  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 0x2815a90> >,)
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [__on_manage_master_data] in 
[/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 2241 <<<
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       edit = <function edit at 0x3a48758>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2fb2b20> >
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
map_list2handler = {'doc_types': <function manage_document_types at 0x2a95050>, 
'billables': <function manage_billables at 0x2f458c0>, 'ref_data_sources': 
<function browse_data_sources at 0x2f25c80>, 'text_expansions': <function 
configure_keyword_text_expansion at 0x2a9b1b8>, 'provinces': <function 
manage_provinces at 0x24368c0>, 'codes': <function browse_coded_terms at 
0x2f25cf8>, 'adr': <function manage_addresses at 0x2436938>, 'vaccines': 
<function manage_vaccines at 0x28fa938>, 'substances_in_brands': <function 
manage_drug_components at 0x292a7d0>, 'form_templates': <function 
manage_form_templates at 0x28f9e60>, 'meta_test_types': <function 
manage_meta_test_types at 0x28fc938>, 'substances': <function 
manage_consumable_substances at 0x292a668>, 'drugs': <function 
manage_branded_drugs at 0x2d29578>, 'workplaces': <function 
configure_workplace_plugins at 0x29125f0>, 'labs': <function 
manage_measurement_orgs at 0x28fc8c0>, 'test_panels': <function 
manage_test_panels at 0x28f32a8>, 'enc_types': <function manage_encounter_types 
at 0x22dce60>, 'hints': <function browse_dynamic_hints at 0x29241b8>, 
'test_types': <function manage_measurement_types at 0x2901e60>, 
'vacc_indications': <function manage_vaccination_indications at 0x28f9f50>, 
'patient_tags': <function manage_tag_images at 0x2747500>, 'orgs': <function 
manage_orgs at 0x295bc08>, 'db_translations': <function manage_translations at 
0x2f25aa0>, 'communication_channel_types': <function manage_comm_channel_types 
at 0x2f25d70>}
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
master_data_lists = ['adr', 'billables', 'drugs', 'hints', 'codes', 
'communication_channel_types', 'substances_in_brands', 'substances', 'labs', 
'form_templates', 'doc_types', 'enc_types', 'text_expansions', 
'meta_test_types', 'orgs', 'patient_tags', 'provinces', 'db_translations', 
'ref_data_sources', 'test_types', 'test_panels', 'vacc_indications', 
'vaccines', 'workplaces']
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        lst = workplaces
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
master_data_list_names = {'ref_data_sources': u'Quellen f\xfcr Referenzdaten', 
'doc_types': u'Dokumententypen', 'billables': u'Geb\xfchrenordnungspositionen', 
'workplaces': u'Arbeitsplatz-Profile (Laden welcher Plugins)', 
'text_expansions': u'Textmakros (schl\xfcsselwortbasiert)', 'provinces': 
u'Bundesl\xe4nder (Provinzen, Staaten, Regionen, ...)', 'codes': u'Codes und 
dazugeh\xf6rige Termini', 'adr': u'Adressen (langsam)', 'vaccines': 
u'Impfstoffe', 'substances_in_brands': u'Bestandteile der handels\xfcblichen 
Medikamente', 'form_templates': u'Dokumentenvorlagen (Briefe, Formulare, Plots, 
...)', 'substances': u'Wirkstoffe', 'drugs': u'Medikamente (Produkte)', 
'enc_types': u'Konsultationstypen', 'labs': u'Labore/Me\xdffirmen', 
'test_panels': u'Me\xdfprofile (Panele, Batterien)', 'meta_test_types': 
u'Meta-Me\xdfverfahren', 'hints': u'Klinische Hinweise', 'test_types': 
u'Me\xdfverfahren', 'vacc_indications': u'Impfindikationen (Krankheiten, die 
durch Impfung verhindert werden k\xf6nnen)', 'patient_tags': 
u'Patientensymbole', 'orgs': u'Organisationen (inkl. Abteilungen, Adressen, 
Kommunikationskan\xe4le)', 'db_translations': u'Zeichenketten\xfcbersetzungen 
in der Datenbank', 'communication_channel_types': u'Kommunikationskanaltypen'}
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120e300> >
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [get_choices_from_list] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 109 <<<
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
delete_callback = None
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >
2013-11-19 23:43:23  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 0x2fb2b20> >
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 selections = None
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    caption = Stammdatenverwaltung
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
single_selection = True
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
refresh_callback = None
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
ignore_OK_button = True
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    choices = [u'Adressen (langsam)', u'Geb\xfchrenordnungspositionen', 
u'Medikamente (Produkte)', u'Klinische Hinweise', u'Codes und dazugeh\xf6rige 
Termini', u'Kommunikationskanaltypen', u'Bestandteile der handels\xfcblichen 
Medikamente', u'Wirkstoffe', u'Labore/Me\xdffirmen', u'Dokumentenvorlagen 
(Briefe, Formulare, Plots, ...)', u'Dokumententypen', u'Konsultationstypen', 
u'Textmakros (schl\xfcsselwortbasiert)', u'Meta-Me\xdfverfahren', 
u'Organisationen (inkl. Abteilungen, Adressen, Kommunikationskan\xe4le)', 
u'Patientensymbole', u'Bundesl\xe4nder (Provinzen, Staaten, Regionen, ...)', 
u'Zeichenketten\xfcbersetzungen in der Datenbank', u'Quellen f\xfcr 
Referenzdaten', u'Me\xdfverfahren', u'Me\xdfprofile (Panele, Batterien)', 
u'Impfindikationen (Krankheiten, die durch Impfung verhindert werden 
k\xf6nnen)', u'Impfstoffe', u'Arbeitsplatz-Profile (Laden welcher Plugins)']
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
can_return_empty = False
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
middle_extra_button = None
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        msg = None
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
new_callback = None
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):   
right_extra_button = None
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
edit_callback = <function edit at 0x3a48758>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       data = ['adr', 'billables', 'drugs', 'hints', 'codes', 
'communication_channel_types', 'substances_in_brands', 'substances', 'labs', 
'form_templates', 'doc_types', 'enc_types', 'text_expansions', 
'meta_test_types', 'orgs', 'patient_tags', 'provinces', 'db_translations', 
'ref_data_sources', 'test_types', 'test_panels', 'vacc_indications', 
'vaccines', 'workplaces']
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
left_extra_button = None
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    columns = [u'W\xe4hlen Sie die Liste, die Sie bearbeiten wollen:']
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
list_tooltip_callback = None
2013-11-19 23:43:23  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 <<<
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >,)
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_edit_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 217 <<<
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120ccd0> >
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [edit] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 2228 <<<
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       item = orgs
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2fb2b20> >
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
map_list2handler = {'doc_types': <function manage_document_types at 0x2a95050>, 
'billables': <function manage_billables at 0x2f458c0>, 'ref_data_sources': 
<function browse_data_sources at 0x2f25c80>, 'text_expansions': <function 
configure_keyword_text_expansion at 0x2a9b1b8>, 'provinces': <function 
manage_provinces at 0x24368c0>, 'codes': <function browse_coded_terms at 
0x2f25cf8>, 'adr': <function manage_addresses at 0x2436938>, 'vaccines': 
<function manage_vaccines at 0x28fa938>, 'substances_in_brands': <function 
manage_drug_components at 0x292a7d0>, 'form_templates': <function 
manage_form_templates at 0x28f9e60>, 'meta_test_types': <function 
manage_meta_test_types at 0x28fc938>, 'substances': <function 
manage_consumable_substances at 0x292a668>, 'drugs': <function 
manage_branded_drugs at 0x2d29578>, 'workplaces': <function 
configure_workplace_plugins at 0x29125f0>, 'labs': <function 
manage_measurement_orgs at 0x28fc8c0>, 'test_panels': <function 
manage_test_panels at 0x28f32a8>, 'enc_types': <function manage_encounter_types 
at 0x22dce60>, 'hints': <function browse_dynamic_hints at 0x29241b8>, 
'test_types': <function manage_measurement_types at 0x2901e60>, 
'vacc_indications': <function manage_vaccination_indications at 0x28f9f50>, 
'patient_tags': <function manage_tag_images at 0x2747500>, 'orgs': <function 
manage_orgs at 0x295bc08>, 'db_translations': <function manage_translations at 
0x2f25aa0>, 'communication_channel_types': <function manage_comm_channel_types 
at 0x2f25d70>}
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [manage_orgs] in 
[/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py] at line 455 <<<
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmOrganizationWidgets.cOrganizationManagerDlg; 
proxy of <Swig Object of type 'wxDialog *' at 0x3c591b0> >
2013-11-19 23:43:23  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 0x2fb2b20> >
2013-11-19 23:43:23  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 <<<
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmOrganizationWidgets.cOrganizationManagerDlg; 
proxy of <Swig Object of type 'wxDialog *' at 0x3c591b0> >,)
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_remove_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 574 <<<
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       item = [cOrgUnit:3]:
pk_category_org: 2
l10n_organization_category: Krankenhaus
pk_address: NULL
xmin_org_unit: 13891
pk_org_unit: 3
l10n_unit_category: Labor
unit_category: Laboratory
pk_org: 2
pk_category_unit: 9
organization: Starfleet Central
organization_category: Hospital
unit: Enterprise Main Lab
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmOrganizationWidgets.cOrgUnitsManagerPnl; proxy 
of <Swig Object of type 'wxScrolledWindow *' at 0x3c76390> >
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120b4c0> >
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_del] in 
[/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py] at line 157 <<<
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       item = [cOrgUnit:3]:
pk_category_org: 2
l10n_organization_category: Krankenhaus
pk_address: NULL
xmin_org_unit: 13891
pk_org_unit: 3
l10n_unit_category: Labor
unit_category: Laboratory
pk_org: 2
pk_category_unit: 9
organization: Starfleet Central
organization_category: Hospital
unit: Enterprise Main Lab
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmOrganizationWidgets.cOrgUnitsManagerPnl; proxy 
of <Swig Object of type 'wxScrolledWindow *' at 0x3c76390> >
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [delete_org_unit] in 
[/usr/share/gnumed/Gnumed/business/gmOrganization.py] at line 249 <<<
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = DELETE FROM dem.org_unit WHERE pk = %(pk)s
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       unit = 3
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'pk': 3}
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1280 <<<
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x2c42e50>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x2c42e50; closed: -1>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
tx_rollback = <built-in method rollback of DictConnection object at 0x3cf6920>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x3cf6920>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'pk': 3}
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     pg_exc = update or delete on table "org_unit" violates foreign key 
constraint "test_org_fk_org_unit_fkey" on table "test_org"
DETAIL:  Key (pk)=(3) is still referenced from table "test_org".

2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'DELETE FROM dem.org_unit WHERE pk = %(pk)s', 'args': 
{'pk': 3}}]
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = False
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'DELETE FROM dem.org_unit WHERE pk = %(pk)s', 'args': 
{'pk': 3}}
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = None
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x3cf6920; dsn: 'dbname=gnumed_v18 
host=privatpraxis.dyndns.org port=5432 user=maan password=xxxxxxxxxxx 
sslmode=prefer', closed: 1>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 0x3cf6920>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = DELETE FROM dem.org_unit WHERE pk = %(pk)s
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x2c42e50; closed: -1>
2013-11-19 23:43:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = {'pk': 3}
2013-11-19 23:43:32  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::detect_external_binary() 
#98): searching for [xdg-open]
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::is_cmd_in_path() #23): cmd: 
[xdg-open]
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::is_cmd_in_path() #25): dir: []
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::is_cmd_in_path() #31): 
${PATH}: 
/usr/lib/x86_64-linux-gnu/qt4/bin:/home/marc/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/gnumed/bin
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::is_cmd_in_path() #38): not 
found: /usr/lib/x86_64-linux-gnu/qt4/bin/xdg-open
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::is_cmd_in_path() #38): not 
found: /home/marc/bin/xdg-open
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::is_cmd_in_path() #38): not 
found: /usr/local/bin/xdg-open
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::is_cmd_in_path() #35): found 
[/usr/bin/xdg-open]
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::detect_external_binary() 
#111): found: executable in ${PATH}
2013-11-19 23:43:32  INFO      gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::_get_system_startfile_cmd() 
#204): detected local startfile cmd: [xdg-open "%s"]
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>xdg-open "/home/marc/.gnumed/gnumed-9535.log"<<<
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: False
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2013-11-19 23:43:32  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>xdg-open "/home/marc/.gnumed/gnumed-9535.log" &<<<
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2013-11-19 23:43:32  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2013-11-19 23:44:06  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #248): syncing log file for backup to 
[/home/marc/gnumed/logs/gnumed-9535_2013-11-19_23-43-23.log]
2013-11-19 23:44:06  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------
2013-11-19 23:44:25  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1430): new 
database connection, backend PID: 3470, readonly: False
2013-11-19 23:44:25  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1469): 
access mode [READ WRITE]
2013-11-19 23:44:25  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1531): client 
string encoding [UTF8], isolation level [serializable], time zone [CET]
2013-11-19 23:45:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1430): new 
database connection, backend PID: 3641, readonly: False
2013-11-19 23:45:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1469): 
access mode [READ WRITE]
2013-11-19 23:45:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1531): client 
string encoding [UTF8], isolation level [serializable], time zone [CET]
2013-11-19 23:45:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1430): new 
database connection, backend PID: 3653, readonly: False
2013-11-19 23:45:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1469): 
access mode [READ WRITE]
2013-11-19 23:45:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1531): client 
string encoding [UTF8], isolation level [serializable], time zone [CET]
2013-11-19 23:46:34  DEBUG     gm.business 
(/usr/share/gnumed/Gnumed/business/gmDemographicRecord.py::address_exists() 
#367): address does not exist
2013-11-19 23:46:34  DEBUG     gm.business 
(/usr/share/gnumed/Gnumed/business/gmDemographicRecord.py::address_exists() 
#369): urb: Kamenz
2013-11-19 23:46:34  DEBUG     gm.business 
(/usr/share/gnumed/Gnumed/business/gmDemographicRecord.py::address_exists() 
#369): country: DE
2013-11-19 23:46:34  DEBUG     gm.business 
(/usr/share/gnumed/Gnumed/business/gmDemographicRecord.py::address_exists() 
#369): number: 2
2013-11-19 23:46:34  DEBUG     gm.business 
(/usr/share/gnumed/Gnumed/business/gmDemographicRecord.py::address_exists() 
#369): state: SN
2013-11-19 23:46:34  DEBUG     gm.business 
(/usr/share/gnumed/Gnumed/business/gmDemographicRecord.py::address_exists() 
#369): street: Zwingerstr.
2013-11-19 23:46:34  DEBUG     gm.business 
(/usr/share/gnumed/Gnumed/business/gmDemographicRecord.py::address_exists() 
#369): postcode: 01917
2013-11-19 23:46:34  DEBUG     gm.business 
(/usr/share/gnumed/Gnumed/business/gmDemographicRecord.py::address_exists() 
#369): subunit: None
2013-11-19 23:46:36  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1430): new 
database connection, backend PID: 4157, readonly: False
2013-11-19 23:46:36  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1469): 
access mode [READ WRITE]
2013-11-19 23:46:36  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1531): client 
string encoding [UTF8], isolation level [serializable], time zone [CET]
2013-11-19 23:46:38  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1430): new 
database connection, backend PID: 4173, readonly: False
2013-11-19 23:46:38  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1469): 
access mode [READ WRITE]
2013-11-19 23:46:38  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1531): client 
string encoding [UTF8], isolation level [serializable], time zone [CET]
2013-11-19 23:46:39  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #196): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py", line 424, in 
_on_save_button_pressed
    if self._PNL_ea.save():
  File "/usr/share/gnumed/Gnumed/wxpython/gmAddressWidgets.py", line 818, in 
save
    if a['pk_address'] != address['pk_address']:
TypeError: 'NoneType' object has no attribute '__getitem__'
2013-11-19 23:46:39  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2013-11-19 23:46:39  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 <<<
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f92baae1d30, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:46:39  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.3.9', '_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 0x101fb90>, 
'setup_cli': <function setup_cli at 0x101faa0>, '_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.3', 'setup_logging': <function setup_logging at 0x101f938>, 
'setup_ui_type': <function setup_ui_type at 0x101fed8>, '__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 0x101fcf8>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x7f92b9ac7140>, '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', '__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 0x101fd70>, 'setup_date_time': <function 
setup_date_time at 0x101fde8>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x101fc08>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x101f9b0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x101f8c0>, '__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 0x103cf50>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7f92b9ac7050>, 'handle_sig_term': <function 
handle_sig_term at 0x101fb18>, '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 0x7f92baadfcb0>, 'setup_backend': <function 
setup_backend at 0x101ff50>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x101fe60>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x101fa28>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7f92b9ac70c8>, 
'handle_help_request': <function handle_help_request at 0x101fc80>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>, 'setup_python_path': 
<function setup_python_path at 0x101f848>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2013-11-19 23:46:39  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 <<<
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f92baae1d30, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2013-11-19 23:46:39  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.3.9', '_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 0x101fb90>, 
'setup_cli': <function setup_cli at 0x101faa0>, '_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.3', 'setup_logging': <function setup_logging at 0x101f938>, 
'setup_ui_type': <function setup_ui_type at 0x101fed8>, '__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 0x101fcf8>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x7f92b9ac7140>, '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', '__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 0x101fd70>, 'setup_date_time': <function 
setup_date_time at 0x101fde8>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x101fc08>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x101f9b0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x101f8c0>, '__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 0x103cf50>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7f92b9ac7050>, 'handle_sig_term': <function 
handle_sig_term at 0x101fb18>, '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 0x7f92baadfcb0>, 'setup_backend': <function 
setup_backend at 0x101ff50>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x101fe60>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x101fa28>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7f92b9ac70c8>, 
'handle_help_request': <function handle_help_request at 0x101fc80>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>, 'setup_python_path': 
<function setup_python_path at 0x101f848>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:46:39  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 608 
<<<
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2013-11-19 23:46:39  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.

2013-11-19 23:46:39  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'>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.3.9
2013-11-19 23:46:39  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']
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x101fb90>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x101faa0>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2013-11-19 23:46:39  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'>
2013-11-19 23:46:39  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'>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.3
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x101f938>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x101fed8>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2013-11-19 23:46:39  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'>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x101fcf8>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x7f92b9ac7140>
2013-11-19 23:46:39  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.

2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x101fd70>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x101fde8>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x101fc08>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2013-11-19 23:46:39  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)
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x101f9b0>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x101f8c0>
2013-11-19 23:46:39  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>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2013-11-19 23:46:39  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'>
2013-11-19 23:46:39  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'>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x103cf50>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2013-11-19 23:46:39  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'>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x7f92b9ac7050>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x101fb18>
2013-11-19 23:46:39  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.

2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x101ff50>
2013-11-19 23:46:39  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'>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x101fe60>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x101fa28>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x7f92b9ac70c8>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x101fc80>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x101f848>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2013-11-19 23:46:39  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 3562 <<<
2013-11-19 23:46:39  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 0x2815a90> >
2013-11-19 23:46:39  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 
<<<
2013-11-19 23:46:39  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 0x2815a90> >
2013-11-19 23:46:39  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 
<<<
2013-11-19 23:46:39  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 0x2815a90> >,)
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [__on_manage_master_data] in 
[/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 2241 <<<
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       edit = <function edit at 0x3a48758>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2fb2b20> >
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
map_list2handler = {'doc_types': <function manage_document_types at 0x2a95050>, 
'billables': <function manage_billables at 0x2f458c0>, 'ref_data_sources': 
<function browse_data_sources at 0x2f25c80>, 'text_expansions': <function 
configure_keyword_text_expansion at 0x2a9b1b8>, 'provinces': <function 
manage_provinces at 0x24368c0>, 'codes': <function browse_coded_terms at 
0x2f25cf8>, 'adr': <function manage_addresses at 0x2436938>, 'vaccines': 
<function manage_vaccines at 0x28fa938>, 'substances_in_brands': <function 
manage_drug_components at 0x292a7d0>, 'form_templates': <function 
manage_form_templates at 0x28f9e60>, 'meta_test_types': <function 
manage_meta_test_types at 0x28fc938>, 'substances': <function 
manage_consumable_substances at 0x292a668>, 'drugs': <function 
manage_branded_drugs at 0x2d29578>, 'workplaces': <function 
configure_workplace_plugins at 0x29125f0>, 'labs': <function 
manage_measurement_orgs at 0x28fc8c0>, 'test_panels': <function 
manage_test_panels at 0x28f32a8>, 'enc_types': <function manage_encounter_types 
at 0x22dce60>, 'hints': <function browse_dynamic_hints at 0x29241b8>, 
'test_types': <function manage_measurement_types at 0x2901e60>, 
'vacc_indications': <function manage_vaccination_indications at 0x28f9f50>, 
'patient_tags': <function manage_tag_images at 0x2747500>, 'orgs': <function 
manage_orgs at 0x295bc08>, 'db_translations': <function manage_translations at 
0x2f25aa0>, 'communication_channel_types': <function manage_comm_channel_types 
at 0x2f25d70>}
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
master_data_lists = ['adr', 'billables', 'drugs', 'hints', 'codes', 
'communication_channel_types', 'substances_in_brands', 'substances', 'labs', 
'form_templates', 'doc_types', 'enc_types', 'text_expansions', 
'meta_test_types', 'orgs', 'patient_tags', 'provinces', 'db_translations', 
'ref_data_sources', 'test_types', 'test_panels', 'vacc_indications', 
'vaccines', 'workplaces']
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        lst = workplaces
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
master_data_list_names = {'ref_data_sources': u'Quellen f\xfcr Referenzdaten', 
'doc_types': u'Dokumententypen', 'billables': u'Geb\xfchrenordnungspositionen', 
'workplaces': u'Arbeitsplatz-Profile (Laden welcher Plugins)', 
'text_expansions': u'Textmakros (schl\xfcsselwortbasiert)', 'provinces': 
u'Bundesl\xe4nder (Provinzen, Staaten, Regionen, ...)', 'codes': u'Codes und 
dazugeh\xf6rige Termini', 'adr': u'Adressen (langsam)', 'vaccines': 
u'Impfstoffe', 'substances_in_brands': u'Bestandteile der handels\xfcblichen 
Medikamente', 'form_templates': u'Dokumentenvorlagen (Briefe, Formulare, Plots, 
...)', 'substances': u'Wirkstoffe', 'drugs': u'Medikamente (Produkte)', 
'enc_types': u'Konsultationstypen', 'labs': u'Labore/Me\xdffirmen', 
'test_panels': u'Me\xdfprofile (Panele, Batterien)', 'meta_test_types': 
u'Meta-Me\xdfverfahren', 'hints': u'Klinische Hinweise', 'test_types': 
u'Me\xdfverfahren', 'vacc_indications': u'Impfindikationen (Krankheiten, die 
durch Impfung verhindert werden k\xf6nnen)', 'patient_tags': 
u'Patientensymbole', 'orgs': u'Organisationen (inkl. Abteilungen, Adressen, 
Kommunikationskan\xe4le)', 'db_translations': u'Zeichenketten\xfcbersetzungen 
in der Datenbank', 'communication_channel_types': u'Kommunikationskanaltypen'}
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120e300> >
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [get_choices_from_list] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 109 <<<
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
delete_callback = None
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >
2013-11-19 23:46:39  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 0x2fb2b20> >
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 selections = None
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    caption = Stammdatenverwaltung
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
single_selection = True
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
refresh_callback = None
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
ignore_OK_button = True
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    choices = [u'Adressen (langsam)', u'Geb\xfchrenordnungspositionen', 
u'Medikamente (Produkte)', u'Klinische Hinweise', u'Codes und dazugeh\xf6rige 
Termini', u'Kommunikationskanaltypen', u'Bestandteile der handels\xfcblichen 
Medikamente', u'Wirkstoffe', u'Labore/Me\xdffirmen', u'Dokumentenvorlagen 
(Briefe, Formulare, Plots, ...)', u'Dokumententypen', u'Konsultationstypen', 
u'Textmakros (schl\xfcsselwortbasiert)', u'Meta-Me\xdfverfahren', 
u'Organisationen (inkl. Abteilungen, Adressen, Kommunikationskan\xe4le)', 
u'Patientensymbole', u'Bundesl\xe4nder (Provinzen, Staaten, Regionen, ...)', 
u'Zeichenketten\xfcbersetzungen in der Datenbank', u'Quellen f\xfcr 
Referenzdaten', u'Me\xdfverfahren', u'Me\xdfprofile (Panele, Batterien)', 
u'Impfindikationen (Krankheiten, die durch Impfung verhindert werden 
k\xf6nnen)', u'Impfstoffe', u'Arbeitsplatz-Profile (Laden welcher Plugins)']
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
can_return_empty = False
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
middle_extra_button = None
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        msg = None
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
new_callback = None
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):   
right_extra_button = None
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
edit_callback = <function edit at 0x3a48758>
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       data = ['adr', 'billables', 'drugs', 'hints', 'codes', 
'communication_channel_types', 'substances_in_brands', 'substances', 'labs', 
'form_templates', 'doc_types', 'enc_types', 'text_expansions', 
'meta_test_types', 'orgs', 'patient_tags', 'provinces', 'db_translations', 
'ref_data_sources', 'test_types', 'test_panels', 'vacc_indications', 
'vaccines', 'workplaces']
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
left_extra_button = None
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    columns = [u'W\xe4hlen Sie die Liste, die Sie bearbeiten wollen:']
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
list_tooltip_callback = None
2013-11-19 23:46:39  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 <<<
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >,)
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_edit_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 217 <<<
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120ccd0> >
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [edit] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 2228 <<<
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       item = orgs
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2fb2b20> >
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
map_list2handler = {'doc_types': <function manage_document_types at 0x2a95050>, 
'billables': <function manage_billables at 0x2f458c0>, 'ref_data_sources': 
<function browse_data_sources at 0x2f25c80>, 'text_expansions': <function 
configure_keyword_text_expansion at 0x2a9b1b8>, 'provinces': <function 
manage_provinces at 0x24368c0>, 'codes': <function browse_coded_terms at 
0x2f25cf8>, 'adr': <function manage_addresses at 0x2436938>, 'vaccines': 
<function manage_vaccines at 0x28fa938>, 'substances_in_brands': <function 
manage_drug_components at 0x292a7d0>, 'form_templates': <function 
manage_form_templates at 0x28f9e60>, 'meta_test_types': <function 
manage_meta_test_types at 0x28fc938>, 'substances': <function 
manage_consumable_substances at 0x292a668>, 'drugs': <function 
manage_branded_drugs at 0x2d29578>, 'workplaces': <function 
configure_workplace_plugins at 0x29125f0>, 'labs': <function 
manage_measurement_orgs at 0x28fc8c0>, 'test_panels': <function 
manage_test_panels at 0x28f32a8>, 'enc_types': <function manage_encounter_types 
at 0x22dce60>, 'hints': <function browse_dynamic_hints at 0x29241b8>, 
'test_types': <function manage_measurement_types at 0x2901e60>, 
'vacc_indications': <function manage_vaccination_indications at 0x28f9f50>, 
'patient_tags': <function manage_tag_images at 0x2747500>, 'orgs': <function 
manage_orgs at 0x295bc08>, 'db_translations': <function manage_translations at 
0x2f25aa0>, 'communication_channel_types': <function manage_comm_channel_types 
at 0x2f25d70>}
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [manage_orgs] in 
[/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py] at line 455 <<<
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmOrganizationWidgets.cOrganizationManagerDlg; 
proxy of <Swig Object of type 'wxDialog *' at 0x3c591b0> >
2013-11-19 23:46:39  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 0x2fb2b20> >
2013-11-19 23:46:39  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 <<<
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmOrganizationWidgets.cOrganizationManagerDlg; 
proxy of <Swig Object of type 'wxDialog *' at 0x3c591b0> >,)
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_add_new_address_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py] at line 395 <<<
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         ea = <Gnumed.wxpython.gmAddressWidgets.cAddressEditAreaPnl; proxy of 
<Swig Object of type 'wxScrolledWindow *' at 0x3da7000> >
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmOrganizationWidgets.cOrgUnitAddressPnl; proxy 
of <Swig Object of type 'wxScrolledWindow *' at 0x3c8ead0> >
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg; proxy of <Swig 
Object of type 'wxDialog *' at 0x3e2f600> >
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120b4c0> >
2013-11-19 23:46:39  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 <<<
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg; proxy of <Swig 
Object of type 'wxDialog *' at 0x3e2f600> >,)
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_save_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py] at line 424 <<<
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg; proxy of <Swig 
Object of type 'wxDialog *' at 0x3e2f600> >
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120a030> >
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save] in 
[/usr/share/gnumed/Gnumed/wxpython/gmAddressWidgets.py] at line 818 <<<
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
          a = None
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmAddressWidgets.cAddressEditAreaPnl; proxy of 
<Swig Object of type 'wxScrolledWindow *' at 0x3da7000> >
2013-11-19 23:46:39  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    address = [cAddress:1489]:
country_deprecated: NULL
notes_subunit: NULL
number: 2
pk_state: 2145
street: Zwingerstr.
postcode: 01917
lat_lon_street: NULL
code_country: DE
notes_street: NULL
postcode_street: 01917
postcode_urb: 01917
state: Sachsen
subunit: NULL
l10n_country: Deutschland
pk_urb: 9205
pk_address: 1489
suburb: NULL
lat_lon_urb: NULL
l10n_state: Sachsen
xmin_address: 27470
lat_lon_address: NULL
code_state: SN
urb: Kamenz
country: Germany
pk_street: 521
2013-11-19 23:46:41  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #248): syncing log file for backup to 
[/home/marc/gnumed/logs/gnumed-9535_2013-11-19_23-46-39.log]
2013-11-19 23:46:41  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------
2013-11-19 23:46:46  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #196): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py", line 424, in 
_on_save_button_pressed
    if self._PNL_ea.save():
  File "/usr/share/gnumed/Gnumed/wxpython/gmAddressWidgets.py", line 818, in 
save
    if a['pk_address'] != address['pk_address']:
TypeError: 'NoneType' object has no attribute '__getitem__'
2013-11-19 23:46:46  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2013-11-19 23:46:46  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 <<<
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f92baae1d30, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:46:46  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.3.9', '_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 0x101fb90>, 
'setup_cli': <function setup_cli at 0x101faa0>, '_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.3', 'setup_logging': <function setup_logging at 0x101f938>, 
'setup_ui_type': <function setup_ui_type at 0x101fed8>, '__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 0x101fcf8>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x7f92b9ac7140>, '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', '__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 0x101fd70>, 'setup_date_time': <function 
setup_date_time at 0x101fde8>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x101fc08>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x101f9b0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x101f8c0>, '__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 0x103cf50>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7f92b9ac7050>, 'handle_sig_term': <function 
handle_sig_term at 0x101fb18>, '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 0x7f92baadfcb0>, 'setup_backend': <function 
setup_backend at 0x101ff50>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x101fe60>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x101fa28>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7f92b9ac70c8>, 
'handle_help_request': <function handle_help_request at 0x101fc80>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>, 'setup_python_path': 
<function setup_python_path at 0x101f848>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2013-11-19 23:46:46  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 <<<
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f92baae1d30, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2013-11-19 23:46:46  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.3.9', '_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 0x101fb90>, 
'setup_cli': <function setup_cli at 0x101faa0>, '_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.3', 'setup_logging': <function setup_logging at 0x101f938>, 
'setup_ui_type': <function setup_ui_type at 0x101fed8>, '__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 0x101fcf8>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x7f92b9ac7140>, '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', '__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 0x101fd70>, 'setup_date_time': <function 
setup_date_time at 0x101fde8>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x101fc08>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x101f9b0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x101f8c0>, '__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 0x103cf50>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7f92b9ac7050>, 'handle_sig_term': <function 
handle_sig_term at 0x101fb18>, '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 0x7f92baadfcb0>, 'setup_backend': <function 
setup_backend at 0x101ff50>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x101fe60>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x101fa28>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7f92b9ac70c8>, 
'handle_help_request': <function handle_help_request at 0x101fc80>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>, 'setup_python_path': 
<function setup_python_path at 0x101f848>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:46:46  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 608 
<<<
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2013-11-19 23:46:46  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.

2013-11-19 23:46:46  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'>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.3.9
2013-11-19 23:46:46  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']
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x101fb90>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x101faa0>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2013-11-19 23:46:46  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'>
2013-11-19 23:46:46  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'>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.3
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x101f938>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x101fed8>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2013-11-19 23:46:46  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'>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x101fcf8>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x7f92b9ac7140>
2013-11-19 23:46:46  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.

2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x101fd70>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x101fde8>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x101fc08>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2013-11-19 23:46:46  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)
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x101f9b0>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x101f8c0>
2013-11-19 23:46:46  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>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2013-11-19 23:46:46  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'>
2013-11-19 23:46:46  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'>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x103cf50>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2013-11-19 23:46:46  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'>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x7f92b9ac7050>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x101fb18>
2013-11-19 23:46:46  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.

2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x101ff50>
2013-11-19 23:46:46  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'>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x101fe60>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x101fa28>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x7f92b9ac70c8>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x101fc80>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x101f848>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2013-11-19 23:46:46  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 3562 <<<
2013-11-19 23:46:46  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 0x2815a90> >
2013-11-19 23:46:46  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 
<<<
2013-11-19 23:46:46  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 0x2815a90> >
2013-11-19 23:46:46  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 
<<<
2013-11-19 23:46:46  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 0x2815a90> >,)
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [__on_manage_master_data] in 
[/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 2241 <<<
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       edit = <function edit at 0x3a48758>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2fb2b20> >
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
map_list2handler = {'doc_types': <function manage_document_types at 0x2a95050>, 
'billables': <function manage_billables at 0x2f458c0>, 'ref_data_sources': 
<function browse_data_sources at 0x2f25c80>, 'text_expansions': <function 
configure_keyword_text_expansion at 0x2a9b1b8>, 'provinces': <function 
manage_provinces at 0x24368c0>, 'codes': <function browse_coded_terms at 
0x2f25cf8>, 'adr': <function manage_addresses at 0x2436938>, 'vaccines': 
<function manage_vaccines at 0x28fa938>, 'substances_in_brands': <function 
manage_drug_components at 0x292a7d0>, 'form_templates': <function 
manage_form_templates at 0x28f9e60>, 'meta_test_types': <function 
manage_meta_test_types at 0x28fc938>, 'substances': <function 
manage_consumable_substances at 0x292a668>, 'drugs': <function 
manage_branded_drugs at 0x2d29578>, 'workplaces': <function 
configure_workplace_plugins at 0x29125f0>, 'labs': <function 
manage_measurement_orgs at 0x28fc8c0>, 'test_panels': <function 
manage_test_panels at 0x28f32a8>, 'enc_types': <function manage_encounter_types 
at 0x22dce60>, 'hints': <function browse_dynamic_hints at 0x29241b8>, 
'test_types': <function manage_measurement_types at 0x2901e60>, 
'vacc_indications': <function manage_vaccination_indications at 0x28f9f50>, 
'patient_tags': <function manage_tag_images at 0x2747500>, 'orgs': <function 
manage_orgs at 0x295bc08>, 'db_translations': <function manage_translations at 
0x2f25aa0>, 'communication_channel_types': <function manage_comm_channel_types 
at 0x2f25d70>}
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
master_data_lists = ['adr', 'billables', 'drugs', 'hints', 'codes', 
'communication_channel_types', 'substances_in_brands', 'substances', 'labs', 
'form_templates', 'doc_types', 'enc_types', 'text_expansions', 
'meta_test_types', 'orgs', 'patient_tags', 'provinces', 'db_translations', 
'ref_data_sources', 'test_types', 'test_panels', 'vacc_indications', 
'vaccines', 'workplaces']
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        lst = workplaces
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
master_data_list_names = {'ref_data_sources': u'Quellen f\xfcr Referenzdaten', 
'doc_types': u'Dokumententypen', 'billables': u'Geb\xfchrenordnungspositionen', 
'workplaces': u'Arbeitsplatz-Profile (Laden welcher Plugins)', 
'text_expansions': u'Textmakros (schl\xfcsselwortbasiert)', 'provinces': 
u'Bundesl\xe4nder (Provinzen, Staaten, Regionen, ...)', 'codes': u'Codes und 
dazugeh\xf6rige Termini', 'adr': u'Adressen (langsam)', 'vaccines': 
u'Impfstoffe', 'substances_in_brands': u'Bestandteile der handels\xfcblichen 
Medikamente', 'form_templates': u'Dokumentenvorlagen (Briefe, Formulare, Plots, 
...)', 'substances': u'Wirkstoffe', 'drugs': u'Medikamente (Produkte)', 
'enc_types': u'Konsultationstypen', 'labs': u'Labore/Me\xdffirmen', 
'test_panels': u'Me\xdfprofile (Panele, Batterien)', 'meta_test_types': 
u'Meta-Me\xdfverfahren', 'hints': u'Klinische Hinweise', 'test_types': 
u'Me\xdfverfahren', 'vacc_indications': u'Impfindikationen (Krankheiten, die 
durch Impfung verhindert werden k\xf6nnen)', 'patient_tags': 
u'Patientensymbole', 'orgs': u'Organisationen (inkl. Abteilungen, Adressen, 
Kommunikationskan\xe4le)', 'db_translations': u'Zeichenketten\xfcbersetzungen 
in der Datenbank', 'communication_channel_types': u'Kommunikationskanaltypen'}
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120e300> >
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [get_choices_from_list] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 109 <<<
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
delete_callback = None
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >
2013-11-19 23:46:46  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 0x2fb2b20> >
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 selections = None
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    caption = Stammdatenverwaltung
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
single_selection = True
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
refresh_callback = None
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
ignore_OK_button = True
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    choices = [u'Adressen (langsam)', u'Geb\xfchrenordnungspositionen', 
u'Medikamente (Produkte)', u'Klinische Hinweise', u'Codes und dazugeh\xf6rige 
Termini', u'Kommunikationskanaltypen', u'Bestandteile der handels\xfcblichen 
Medikamente', u'Wirkstoffe', u'Labore/Me\xdffirmen', u'Dokumentenvorlagen 
(Briefe, Formulare, Plots, ...)', u'Dokumententypen', u'Konsultationstypen', 
u'Textmakros (schl\xfcsselwortbasiert)', u'Meta-Me\xdfverfahren', 
u'Organisationen (inkl. Abteilungen, Adressen, Kommunikationskan\xe4le)', 
u'Patientensymbole', u'Bundesl\xe4nder (Provinzen, Staaten, Regionen, ...)', 
u'Zeichenketten\xfcbersetzungen in der Datenbank', u'Quellen f\xfcr 
Referenzdaten', u'Me\xdfverfahren', u'Me\xdfprofile (Panele, Batterien)', 
u'Impfindikationen (Krankheiten, die durch Impfung verhindert werden 
k\xf6nnen)', u'Impfstoffe', u'Arbeitsplatz-Profile (Laden welcher Plugins)']
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
can_return_empty = False
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
middle_extra_button = None
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        msg = None
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
new_callback = None
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):   
right_extra_button = None
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
edit_callback = <function edit at 0x3a48758>
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       data = ['adr', 'billables', 'drugs', 'hints', 'codes', 
'communication_channel_types', 'substances_in_brands', 'substances', 'labs', 
'form_templates', 'doc_types', 'enc_types', 'text_expansions', 
'meta_test_types', 'orgs', 'patient_tags', 'provinces', 'db_translations', 
'ref_data_sources', 'test_types', 'test_panels', 'vacc_indications', 
'vaccines', 'workplaces']
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
left_extra_button = None
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    columns = [u'W\xe4hlen Sie die Liste, die Sie bearbeiten wollen:']
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
list_tooltip_callback = None
2013-11-19 23:46:46  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 <<<
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >,)
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_edit_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 217 <<<
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120ccd0> >
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [edit] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 2228 <<<
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       item = orgs
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2fb2b20> >
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
map_list2handler = {'doc_types': <function manage_document_types at 0x2a95050>, 
'billables': <function manage_billables at 0x2f458c0>, 'ref_data_sources': 
<function browse_data_sources at 0x2f25c80>, 'text_expansions': <function 
configure_keyword_text_expansion at 0x2a9b1b8>, 'provinces': <function 
manage_provinces at 0x24368c0>, 'codes': <function browse_coded_terms at 
0x2f25cf8>, 'adr': <function manage_addresses at 0x2436938>, 'vaccines': 
<function manage_vaccines at 0x28fa938>, 'substances_in_brands': <function 
manage_drug_components at 0x292a7d0>, 'form_templates': <function 
manage_form_templates at 0x28f9e60>, 'meta_test_types': <function 
manage_meta_test_types at 0x28fc938>, 'substances': <function 
manage_consumable_substances at 0x292a668>, 'drugs': <function 
manage_branded_drugs at 0x2d29578>, 'workplaces': <function 
configure_workplace_plugins at 0x29125f0>, 'labs': <function 
manage_measurement_orgs at 0x28fc8c0>, 'test_panels': <function 
manage_test_panels at 0x28f32a8>, 'enc_types': <function manage_encounter_types 
at 0x22dce60>, 'hints': <function browse_dynamic_hints at 0x29241b8>, 
'test_types': <function manage_measurement_types at 0x2901e60>, 
'vacc_indications': <function manage_vaccination_indications at 0x28f9f50>, 
'patient_tags': <function manage_tag_images at 0x2747500>, 'orgs': <function 
manage_orgs at 0x295bc08>, 'db_translations': <function manage_translations at 
0x2f25aa0>, 'communication_channel_types': <function manage_comm_channel_types 
at 0x2f25d70>}
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [manage_orgs] in 
[/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py] at line 455 <<<
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmOrganizationWidgets.cOrganizationManagerDlg; 
proxy of <Swig Object of type 'wxDialog *' at 0x3c591b0> >
2013-11-19 23:46:46  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 0x2fb2b20> >
2013-11-19 23:46:46  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 <<<
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmOrganizationWidgets.cOrganizationManagerDlg; 
proxy of <Swig Object of type 'wxDialog *' at 0x3c591b0> >,)
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_add_new_address_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py] at line 395 <<<
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         ea = <Gnumed.wxpython.gmAddressWidgets.cAddressEditAreaPnl; proxy of 
<Swig Object of type 'wxScrolledWindow *' at 0x3da7000> >
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmOrganizationWidgets.cOrgUnitAddressPnl; proxy 
of <Swig Object of type 'wxScrolledWindow *' at 0x3c8ead0> >
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg; proxy of <Swig 
Object of type 'wxDialog *' at 0x3e2f600> >
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120b4c0> >
2013-11-19 23:46:46  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 <<<
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg; proxy of <Swig 
Object of type 'wxDialog *' at 0x3e2f600> >,)
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_save_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py] at line 424 <<<
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg; proxy of <Swig 
Object of type 'wxDialog *' at 0x3e2f600> >
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120a030> >
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save] in 
[/usr/share/gnumed/Gnumed/wxpython/gmAddressWidgets.py] at line 818 <<<
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
          a = None
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmAddressWidgets.cAddressEditAreaPnl; proxy of 
<Swig Object of type 'wxScrolledWindow *' at 0x3da7000> >
2013-11-19 23:46:46  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    address = [cAddress:1489]:
country_deprecated: NULL
notes_subunit: NULL
number: 2
pk_state: 2145
street: Zwingerstr.
postcode: 01917
lat_lon_street: NULL
code_country: DE
notes_street: NULL
postcode_street: 01917
postcode_urb: 01917
state: Sachsen
subunit: NULL
l10n_country: Deutschland
pk_urb: 9205
pk_address: 1489
suburb: NULL
lat_lon_urb: NULL
l10n_state: Sachsen
xmin_address: 27470
lat_lon_address: NULL
code_state: SN
urb: Kamenz
country: Germany
pk_street: 521
2013-11-19 23:47:29  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::mail_log() 
#405): on adding new address to org unit
2013-11-19 23:47:29  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::mail_log() 
#406): syncing log file for emailing
2013-11-19 23:47:29  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------
2013-11-19 23:47:36  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #246): user comment: on adding new address to org unit
2013-11-19 23:47:36  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #248): syncing log file for backup to 
[/home/marc/gnumed/logs/gnumed-9535_2013-11-19_23-46-46.log]
2013-11-19 23:47:36  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------
2013-11-19 23:47:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1430): new 
database connection, backend PID: 4585, readonly: False
2013-11-19 23:47:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1469): 
access mode [READ WRITE]
2013-11-19 23:47:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1531): client 
string encoding [UTF8], isolation level [serializable], time zone [CET]
2013-11-19 23:47:58  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1251): RW query 
failed: [DELETE FROM dem.org_unit WHERE pk = 3]
2013-11-19 23:47:58  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1254): PG error 
code: 23503
2013-11-19 23:47:58  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1256): PG error 
message: ERROR:  update or delete on table "org_unit" violates foreign key 
constraint "test_org_fk_org_unit_fkey" on table "test_org"
DETAIL:  Key (pk)=(3) is still referenced from table "test_org".
2013-11-19 23:47:58  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #196): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py", line 574, in 
_on_remove_button_pressed
    if not self.delete_callback(item):
  File "/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py", line 157, 
in _del
    return gmOrganization.delete_org_unit(unit = item['pk_org_unit'])
  File "/usr/share/gnumed/Gnumed/business/gmOrganization.py", line 249, in 
delete_org_unit
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}], 
get_col_idx = False)
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1249, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
IntegrityError: update or delete on table "org_unit" violates foreign key 
constraint "test_org_fk_org_unit_fkey" on table "test_org"
DETAIL:  Key (pk)=(3) is still referenced from table "test_org".

2013-11-19 23:47:58  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2013-11-19 23:47:58  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 <<<
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f92baae1d30, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:47:58  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.3.9', '_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 0x101fb90>, 
'setup_cli': <function setup_cli at 0x101faa0>, '_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.3', 'setup_logging': <function setup_logging at 0x101f938>, 
'setup_ui_type': <function setup_ui_type at 0x101fed8>, '__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 0x101fcf8>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x7f92b9ac7140>, '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', '__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 0x101fd70>, 'setup_date_time': <function 
setup_date_time at 0x101fde8>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x101fc08>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x101f9b0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x101f8c0>, '__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 0x103cf50>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7f92b9ac7050>, 'handle_sig_term': <function 
handle_sig_term at 0x101fb18>, '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 0x7f92baadfcb0>, 'setup_backend': <function 
setup_backend at 0x101ff50>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x101fe60>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x101fa28>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7f92b9ac70c8>, 
'handle_help_request': <function handle_help_request at 0x101fc80>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>, 'setup_python_path': 
<function setup_python_path at 0x101f848>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2013-11-19 23:47:58  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 <<<
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f92baae1d30, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2013-11-19 23:47:58  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.3.9', '_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 0x101fb90>, 
'setup_cli': <function setup_cli at 0x101faa0>, '_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.3', 'setup_logging': <function setup_logging at 0x101f938>, 
'setup_ui_type': <function setup_ui_type at 0x101fed8>, '__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 0x101fcf8>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x7f92b9ac7140>, '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', '__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 0x101fd70>, 'setup_date_time': <function 
setup_date_time at 0x101fde8>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x101fc08>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x101f9b0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x101f8c0>, '__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 0x103cf50>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7f92b9ac7050>, 'handle_sig_term': <function 
handle_sig_term at 0x101fb18>, '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 0x7f92baadfcb0>, 'setup_backend': <function 
setup_backend at 0x101ff50>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x101fe60>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x101fa28>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7f92b9ac70c8>, 
'handle_help_request': <function handle_help_request at 0x101fc80>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>, 'setup_python_path': 
<function setup_python_path at 0x101f848>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:47:58  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 608 
<<<
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2013-11-19 23:47:58  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.

2013-11-19 23:47:58  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'>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.3.9
2013-11-19 23:47:58  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']
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x101fb90>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x101faa0>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2013-11-19 23:47:58  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'>
2013-11-19 23:47:58  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'>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.3
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x101f938>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x101fed8>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2013-11-19 23:47:58  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'>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x101fcf8>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x7f92b9ac7140>
2013-11-19 23:47:58  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.

2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x101fd70>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x101fde8>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x101fc08>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2013-11-19 23:47:58  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)
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x101f9b0>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x101f8c0>
2013-11-19 23:47:58  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>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2013-11-19 23:47:58  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'>
2013-11-19 23:47:58  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'>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x103cf50>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2013-11-19 23:47:58  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'>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x7f92b9ac7050>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x101fb18>
2013-11-19 23:47:58  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.

2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x101ff50>
2013-11-19 23:47:58  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'>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x101fe60>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x101fa28>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x7f92b9ac70c8>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x101fc80>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x101f848>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2013-11-19 23:47:58  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 3562 <<<
2013-11-19 23:47:58  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 0x2815a90> >
2013-11-19 23:47:58  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 
<<<
2013-11-19 23:47:58  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 0x2815a90> >
2013-11-19 23:47:58  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 
<<<
2013-11-19 23:47:58  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 0x2815a90> >,)
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [__on_manage_master_data] in 
[/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 2241 <<<
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       edit = <function edit at 0x3a48758>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2fb2b20> >
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
map_list2handler = {'doc_types': <function manage_document_types at 0x2a95050>, 
'billables': <function manage_billables at 0x2f458c0>, 'ref_data_sources': 
<function browse_data_sources at 0x2f25c80>, 'text_expansions': <function 
configure_keyword_text_expansion at 0x2a9b1b8>, 'provinces': <function 
manage_provinces at 0x24368c0>, 'codes': <function browse_coded_terms at 
0x2f25cf8>, 'adr': <function manage_addresses at 0x2436938>, 'vaccines': 
<function manage_vaccines at 0x28fa938>, 'substances_in_brands': <function 
manage_drug_components at 0x292a7d0>, 'form_templates': <function 
manage_form_templates at 0x28f9e60>, 'meta_test_types': <function 
manage_meta_test_types at 0x28fc938>, 'substances': <function 
manage_consumable_substances at 0x292a668>, 'drugs': <function 
manage_branded_drugs at 0x2d29578>, 'workplaces': <function 
configure_workplace_plugins at 0x29125f0>, 'labs': <function 
manage_measurement_orgs at 0x28fc8c0>, 'test_panels': <function 
manage_test_panels at 0x28f32a8>, 'enc_types': <function manage_encounter_types 
at 0x22dce60>, 'hints': <function browse_dynamic_hints at 0x29241b8>, 
'test_types': <function manage_measurement_types at 0x2901e60>, 
'vacc_indications': <function manage_vaccination_indications at 0x28f9f50>, 
'patient_tags': <function manage_tag_images at 0x2747500>, 'orgs': <function 
manage_orgs at 0x295bc08>, 'db_translations': <function manage_translations at 
0x2f25aa0>, 'communication_channel_types': <function manage_comm_channel_types 
at 0x2f25d70>}
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
master_data_lists = ['adr', 'billables', 'drugs', 'hints', 'codes', 
'communication_channel_types', 'substances_in_brands', 'substances', 'labs', 
'form_templates', 'doc_types', 'enc_types', 'text_expansions', 
'meta_test_types', 'orgs', 'patient_tags', 'provinces', 'db_translations', 
'ref_data_sources', 'test_types', 'test_panels', 'vacc_indications', 
'vaccines', 'workplaces']
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        lst = workplaces
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
master_data_list_names = {'ref_data_sources': u'Quellen f\xfcr Referenzdaten', 
'doc_types': u'Dokumententypen', 'billables': u'Geb\xfchrenordnungspositionen', 
'workplaces': u'Arbeitsplatz-Profile (Laden welcher Plugins)', 
'text_expansions': u'Textmakros (schl\xfcsselwortbasiert)', 'provinces': 
u'Bundesl\xe4nder (Provinzen, Staaten, Regionen, ...)', 'codes': u'Codes und 
dazugeh\xf6rige Termini', 'adr': u'Adressen (langsam)', 'vaccines': 
u'Impfstoffe', 'substances_in_brands': u'Bestandteile der handels\xfcblichen 
Medikamente', 'form_templates': u'Dokumentenvorlagen (Briefe, Formulare, Plots, 
...)', 'substances': u'Wirkstoffe', 'drugs': u'Medikamente (Produkte)', 
'enc_types': u'Konsultationstypen', 'labs': u'Labore/Me\xdffirmen', 
'test_panels': u'Me\xdfprofile (Panele, Batterien)', 'meta_test_types': 
u'Meta-Me\xdfverfahren', 'hints': u'Klinische Hinweise', 'test_types': 
u'Me\xdfverfahren', 'vacc_indications': u'Impfindikationen (Krankheiten, die 
durch Impfung verhindert werden k\xf6nnen)', 'patient_tags': 
u'Patientensymbole', 'orgs': u'Organisationen (inkl. Abteilungen, Adressen, 
Kommunikationskan\xe4le)', 'db_translations': u'Zeichenketten\xfcbersetzungen 
in der Datenbank', 'communication_channel_types': u'Kommunikationskanaltypen'}
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120e300> >
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [get_choices_from_list] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 109 <<<
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
delete_callback = None
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >
2013-11-19 23:47:58  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 0x2fb2b20> >
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 selections = None
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    caption = Stammdatenverwaltung
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
single_selection = True
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
refresh_callback = None
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
ignore_OK_button = True
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    choices = [u'Adressen (langsam)', u'Geb\xfchrenordnungspositionen', 
u'Medikamente (Produkte)', u'Klinische Hinweise', u'Codes und dazugeh\xf6rige 
Termini', u'Kommunikationskanaltypen', u'Bestandteile der handels\xfcblichen 
Medikamente', u'Wirkstoffe', u'Labore/Me\xdffirmen', u'Dokumentenvorlagen 
(Briefe, Formulare, Plots, ...)', u'Dokumententypen', u'Konsultationstypen', 
u'Textmakros (schl\xfcsselwortbasiert)', u'Meta-Me\xdfverfahren', 
u'Organisationen (inkl. Abteilungen, Adressen, Kommunikationskan\xe4le)', 
u'Patientensymbole', u'Bundesl\xe4nder (Provinzen, Staaten, Regionen, ...)', 
u'Zeichenketten\xfcbersetzungen in der Datenbank', u'Quellen f\xfcr 
Referenzdaten', u'Me\xdfverfahren', u'Me\xdfprofile (Panele, Batterien)', 
u'Impfindikationen (Krankheiten, die durch Impfung verhindert werden 
k\xf6nnen)', u'Impfstoffe', u'Arbeitsplatz-Profile (Laden welcher Plugins)']
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
can_return_empty = False
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
middle_extra_button = None
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        msg = None
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
new_callback = None
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):   
right_extra_button = None
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
edit_callback = <function edit at 0x3a48758>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       data = ['adr', 'billables', 'drugs', 'hints', 'codes', 
'communication_channel_types', 'substances_in_brands', 'substances', 'labs', 
'form_templates', 'doc_types', 'enc_types', 'text_expansions', 
'meta_test_types', 'orgs', 'patient_tags', 'provinces', 'db_translations', 
'ref_data_sources', 'test_types', 'test_panels', 'vacc_indications', 
'vaccines', 'workplaces']
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
left_extra_button = None
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    columns = [u'W\xe4hlen Sie die Liste, die Sie bearbeiten wollen:']
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
list_tooltip_callback = None
2013-11-19 23:47:58  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 <<<
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >,)
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_edit_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 217 <<<
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120ccd0> >
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [edit] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 2228 <<<
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       item = orgs
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2fb2b20> >
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
map_list2handler = {'doc_types': <function manage_document_types at 0x2a95050>, 
'billables': <function manage_billables at 0x2f458c0>, 'ref_data_sources': 
<function browse_data_sources at 0x2f25c80>, 'text_expansions': <function 
configure_keyword_text_expansion at 0x2a9b1b8>, 'provinces': <function 
manage_provinces at 0x24368c0>, 'codes': <function browse_coded_terms at 
0x2f25cf8>, 'adr': <function manage_addresses at 0x2436938>, 'vaccines': 
<function manage_vaccines at 0x28fa938>, 'substances_in_brands': <function 
manage_drug_components at 0x292a7d0>, 'form_templates': <function 
manage_form_templates at 0x28f9e60>, 'meta_test_types': <function 
manage_meta_test_types at 0x28fc938>, 'substances': <function 
manage_consumable_substances at 0x292a668>, 'drugs': <function 
manage_branded_drugs at 0x2d29578>, 'workplaces': <function 
configure_workplace_plugins at 0x29125f0>, 'labs': <function 
manage_measurement_orgs at 0x28fc8c0>, 'test_panels': <function 
manage_test_panels at 0x28f32a8>, 'enc_types': <function manage_encounter_types 
at 0x22dce60>, 'hints': <function browse_dynamic_hints at 0x29241b8>, 
'test_types': <function manage_measurement_types at 0x2901e60>, 
'vacc_indications': <function manage_vaccination_indications at 0x28f9f50>, 
'patient_tags': <function manage_tag_images at 0x2747500>, 'orgs': <function 
manage_orgs at 0x295bc08>, 'db_translations': <function manage_translations at 
0x2f25aa0>, 'communication_channel_types': <function manage_comm_channel_types 
at 0x2f25d70>}
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [manage_orgs] in 
[/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py] at line 455 <<<
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmOrganizationWidgets.cOrganizationManagerDlg; 
proxy of <Swig Object of type 'wxDialog *' at 0x3c591b0> >
2013-11-19 23:47:58  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 0x2fb2b20> >
2013-11-19 23:47:58  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 <<<
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmOrganizationWidgets.cOrganizationManagerDlg; 
proxy of <Swig Object of type 'wxDialog *' at 0x3c591b0> >,)
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_remove_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 574 <<<
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       item = [cOrgUnit:3]:
pk_category_org: 2
l10n_organization_category: Krankenhaus
pk_address: NULL
xmin_org_unit: 13891
pk_org_unit: 3
l10n_unit_category: Labor
unit_category: Laboratory
pk_org: 2
pk_category_unit: 9
organization: Starfleet Central
organization_category: Hospital
unit: Enterprise Main Lab
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmOrganizationWidgets.cOrgUnitsManagerPnl; proxy 
of <Swig Object of type 'wxScrolledWindow *' at 0x3c76390> >
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120b4c0> >
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_del] in 
[/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py] at line 157 <<<
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       item = [cOrgUnit:3]:
pk_category_org: 2
l10n_organization_category: Krankenhaus
pk_address: NULL
xmin_org_unit: 13891
pk_org_unit: 3
l10n_unit_category: Labor
unit_category: Laboratory
pk_org: 2
pk_category_unit: 9
organization: Starfleet Central
organization_category: Hospital
unit: Enterprise Main Lab
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmOrganizationWidgets.cOrgUnitsManagerPnl; proxy 
of <Swig Object of type 'wxScrolledWindow *' at 0x3c76390> >
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [delete_org_unit] in 
[/usr/share/gnumed/Gnumed/business/gmOrganization.py] at line 249 <<<
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = DELETE FROM dem.org_unit WHERE pk = %(pk)s
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       unit = 3
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'pk': 3}
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1280 <<<
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x3ee2250>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x3ee2250; closed: -1>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
tx_rollback = <built-in method rollback of DictConnection object at 0x3f55e20>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x3f55e20>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'pk': 3}
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     pg_exc = update or delete on table "org_unit" violates foreign key 
constraint "test_org_fk_org_unit_fkey" on table "test_org"
DETAIL:  Key (pk)=(3) is still referenced from table "test_org".

2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'DELETE FROM dem.org_unit WHERE pk = %(pk)s', 'args': 
{'pk': 3}}]
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = False
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'DELETE FROM dem.org_unit WHERE pk = %(pk)s', 'args': 
{'pk': 3}}
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = None
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x3f55e20; dsn: 'dbname=gnumed_v18 
host=privatpraxis.dyndns.org port=5432 user=maan password=xxxxxxxxxxx 
sslmode=prefer', closed: 1>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 0x3f55e20>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = DELETE FROM dem.org_unit WHERE pk = %(pk)s
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x3ee2250; closed: -1>
2013-11-19 23:47:58  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = {'pk': 3}
2013-11-19 23:47:59  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #248): syncing log file for backup to 
[/home/marc/gnumed/logs/gnumed-9535_2013-11-19_23-47-58.log]
2013-11-19 23:47:59  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------
2013-11-19 23:48:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1430): new 
database connection, backend PID: 4622, readonly: False
2013-11-19 23:48:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1469): 
access mode [READ WRITE]
2013-11-19 23:48:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1531): client 
string encoding [UTF8], isolation level [serializable], time zone [CET]
2013-11-19 23:48:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1430): new 
database connection, backend PID: 4653, readonly: False
2013-11-19 23:48:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1469): 
access mode [READ WRITE]
2013-11-19 23:48:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1531): client 
string encoding [UTF8], isolation level [serializable], time zone [CET]
2013-11-19 23:48:22  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1430): new 
database connection, backend PID: 4700, readonly: False
2013-11-19 23:48:22  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1469): 
access mode [READ WRITE]
2013-11-19 23:48:22  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1531): client 
string encoding [UTF8], isolation level [serializable], time zone [CET]
2013-11-19 23:48:23  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1251): RW query 
failed: [DELETE FROM dem.org_unit WHERE pk = 4]
2013-11-19 23:48:23  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1254): PG error 
code: 23503
2013-11-19 23:48:23  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1256): PG error 
message: ERROR:  update or delete on table "org_unit" violates foreign key 
constraint "test_org_fk_org_unit_fkey" on table "test_org"
DETAIL:  Key (pk)=(4) is still referenced from table "test_org".
2013-11-19 23:48:23  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #196): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py", line 574, in 
_on_remove_button_pressed
    if not self.delete_callback(item):
  File "/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py", line 157, 
in _del
    return gmOrganization.delete_org_unit(unit = item['pk_org_unit'])
  File "/usr/share/gnumed/Gnumed/business/gmOrganization.py", line 249, in 
delete_org_unit
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}], 
get_col_idx = False)
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1249, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
IntegrityError: update or delete on table "org_unit" violates foreign key 
constraint "test_org_fk_org_unit_fkey" on table "test_org"
DETAIL:  Key (pk)=(4) is still referenced from table "test_org".

2013-11-19 23:48:23  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2013-11-19 23:48:23  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 <<<
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f92baae1d30, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:48:23  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.3.9', '_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 0x101fb90>, 
'setup_cli': <function setup_cli at 0x101faa0>, '_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.3', 'setup_logging': <function setup_logging at 0x101f938>, 
'setup_ui_type': <function setup_ui_type at 0x101fed8>, '__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 0x101fcf8>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x7f92b9ac7140>, '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', '__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 0x101fd70>, 'setup_date_time': <function 
setup_date_time at 0x101fde8>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x101fc08>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x101f9b0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x101f8c0>, '__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 0x103cf50>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7f92b9ac7050>, 'handle_sig_term': <function 
handle_sig_term at 0x101fb18>, '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 0x7f92baadfcb0>, 'setup_backend': <function 
setup_backend at 0x101ff50>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x101fe60>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x101fa28>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7f92b9ac70c8>, 
'handle_help_request': <function handle_help_request at 0x101fc80>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>, 'setup_python_path': 
<function setup_python_path at 0x101f848>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2013-11-19 23:48:23  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 <<<
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f92baae1d30, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2013-11-19 23:48:23  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.3.9', '_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 0x101fb90>, 
'setup_cli': <function setup_cli at 0x101faa0>, '_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.3', 'setup_logging': <function setup_logging at 0x101f938>, 
'setup_ui_type': <function setup_ui_type at 0x101fed8>, '__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 0x101fcf8>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x7f92b9ac7140>, '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', '__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 0x101fd70>, 'setup_date_time': <function 
setup_date_time at 0x101fde8>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x101fc08>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x101f9b0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x101f8c0>, '__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 0x103cf50>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7f92b9ac7050>, 'handle_sig_term': <function 
handle_sig_term at 0x101fb18>, '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 0x7f92baadfcb0>, 'setup_backend': <function 
setup_backend at 0x101ff50>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x101fe60>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x101fa28>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7f92b9ac70c8>, 
'handle_help_request': <function handle_help_request at 0x101fc80>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>, 'setup_python_path': 
<function setup_python_path at 0x101f848>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:48:23  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 608 
<<<
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2013-11-19 23:48:23  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.

2013-11-19 23:48:23  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'>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.3.9
2013-11-19 23:48:23  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']
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x101fb90>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x101faa0>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2013-11-19 23:48:23  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'>
2013-11-19 23:48:23  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'>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.3
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x101f938>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x101fed8>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2013-11-19 23:48:23  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'>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x101fcf8>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x7f92b9ac7140>
2013-11-19 23:48:23  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.

2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x101fd70>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x101fde8>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x101fc08>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2013-11-19 23:48:23  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)
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x101f9b0>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x101f8c0>
2013-11-19 23:48:23  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>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2013-11-19 23:48:23  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'>
2013-11-19 23:48:23  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'>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x103cf50>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2013-11-19 23:48:23  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'>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x7f92b9ac7050>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x101fb18>
2013-11-19 23:48:23  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.

2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x101ff50>
2013-11-19 23:48:23  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'>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x101fe60>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x101fa28>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x7f92b9ac70c8>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x101fc80>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x101f848>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2013-11-19 23:48:23  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 3562 <<<
2013-11-19 23:48:23  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 0x2815a90> >
2013-11-19 23:48:23  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 
<<<
2013-11-19 23:48:23  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 0x2815a90> >
2013-11-19 23:48:23  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 
<<<
2013-11-19 23:48:23  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 0x2815a90> >,)
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [__on_manage_master_data] in 
[/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 2241 <<<
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       edit = <function edit at 0x3a48758>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2fb2b20> >
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
map_list2handler = {'doc_types': <function manage_document_types at 0x2a95050>, 
'billables': <function manage_billables at 0x2f458c0>, 'ref_data_sources': 
<function browse_data_sources at 0x2f25c80>, 'text_expansions': <function 
configure_keyword_text_expansion at 0x2a9b1b8>, 'provinces': <function 
manage_provinces at 0x24368c0>, 'codes': <function browse_coded_terms at 
0x2f25cf8>, 'adr': <function manage_addresses at 0x2436938>, 'vaccines': 
<function manage_vaccines at 0x28fa938>, 'substances_in_brands': <function 
manage_drug_components at 0x292a7d0>, 'form_templates': <function 
manage_form_templates at 0x28f9e60>, 'meta_test_types': <function 
manage_meta_test_types at 0x28fc938>, 'substances': <function 
manage_consumable_substances at 0x292a668>, 'drugs': <function 
manage_branded_drugs at 0x2d29578>, 'workplaces': <function 
configure_workplace_plugins at 0x29125f0>, 'labs': <function 
manage_measurement_orgs at 0x28fc8c0>, 'test_panels': <function 
manage_test_panels at 0x28f32a8>, 'enc_types': <function manage_encounter_types 
at 0x22dce60>, 'hints': <function browse_dynamic_hints at 0x29241b8>, 
'test_types': <function manage_measurement_types at 0x2901e60>, 
'vacc_indications': <function manage_vaccination_indications at 0x28f9f50>, 
'patient_tags': <function manage_tag_images at 0x2747500>, 'orgs': <function 
manage_orgs at 0x295bc08>, 'db_translations': <function manage_translations at 
0x2f25aa0>, 'communication_channel_types': <function manage_comm_channel_types 
at 0x2f25d70>}
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
master_data_lists = ['adr', 'billables', 'drugs', 'hints', 'codes', 
'communication_channel_types', 'substances_in_brands', 'substances', 'labs', 
'form_templates', 'doc_types', 'enc_types', 'text_expansions', 
'meta_test_types', 'orgs', 'patient_tags', 'provinces', 'db_translations', 
'ref_data_sources', 'test_types', 'test_panels', 'vacc_indications', 
'vaccines', 'workplaces']
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        lst = workplaces
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
master_data_list_names = {'ref_data_sources': u'Quellen f\xfcr Referenzdaten', 
'doc_types': u'Dokumententypen', 'billables': u'Geb\xfchrenordnungspositionen', 
'workplaces': u'Arbeitsplatz-Profile (Laden welcher Plugins)', 
'text_expansions': u'Textmakros (schl\xfcsselwortbasiert)', 'provinces': 
u'Bundesl\xe4nder (Provinzen, Staaten, Regionen, ...)', 'codes': u'Codes und 
dazugeh\xf6rige Termini', 'adr': u'Adressen (langsam)', 'vaccines': 
u'Impfstoffe', 'substances_in_brands': u'Bestandteile der handels\xfcblichen 
Medikamente', 'form_templates': u'Dokumentenvorlagen (Briefe, Formulare, Plots, 
...)', 'substances': u'Wirkstoffe', 'drugs': u'Medikamente (Produkte)', 
'enc_types': u'Konsultationstypen', 'labs': u'Labore/Me\xdffirmen', 
'test_panels': u'Me\xdfprofile (Panele, Batterien)', 'meta_test_types': 
u'Meta-Me\xdfverfahren', 'hints': u'Klinische Hinweise', 'test_types': 
u'Me\xdfverfahren', 'vacc_indications': u'Impfindikationen (Krankheiten, die 
durch Impfung verhindert werden k\xf6nnen)', 'patient_tags': 
u'Patientensymbole', 'orgs': u'Organisationen (inkl. Abteilungen, Adressen, 
Kommunikationskan\xe4le)', 'db_translations': u'Zeichenketten\xfcbersetzungen 
in der Datenbank', 'communication_channel_types': u'Kommunikationskanaltypen'}
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120e300> >
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [get_choices_from_list] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 109 <<<
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
delete_callback = None
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >
2013-11-19 23:48:23  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 0x2fb2b20> >
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 selections = None
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    caption = Stammdatenverwaltung
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
single_selection = True
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
refresh_callback = None
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
ignore_OK_button = True
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    choices = [u'Adressen (langsam)', u'Geb\xfchrenordnungspositionen', 
u'Medikamente (Produkte)', u'Klinische Hinweise', u'Codes und dazugeh\xf6rige 
Termini', u'Kommunikationskanaltypen', u'Bestandteile der handels\xfcblichen 
Medikamente', u'Wirkstoffe', u'Labore/Me\xdffirmen', u'Dokumentenvorlagen 
(Briefe, Formulare, Plots, ...)', u'Dokumententypen', u'Konsultationstypen', 
u'Textmakros (schl\xfcsselwortbasiert)', u'Meta-Me\xdfverfahren', 
u'Organisationen (inkl. Abteilungen, Adressen, Kommunikationskan\xe4le)', 
u'Patientensymbole', u'Bundesl\xe4nder (Provinzen, Staaten, Regionen, ...)', 
u'Zeichenketten\xfcbersetzungen in der Datenbank', u'Quellen f\xfcr 
Referenzdaten', u'Me\xdfverfahren', u'Me\xdfprofile (Panele, Batterien)', 
u'Impfindikationen (Krankheiten, die durch Impfung verhindert werden 
k\xf6nnen)', u'Impfstoffe', u'Arbeitsplatz-Profile (Laden welcher Plugins)']
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
can_return_empty = False
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
middle_extra_button = None
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        msg = None
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
new_callback = None
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):   
right_extra_button = None
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
edit_callback = <function edit at 0x3a48758>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       data = ['adr', 'billables', 'drugs', 'hints', 'codes', 
'communication_channel_types', 'substances_in_brands', 'substances', 'labs', 
'form_templates', 'doc_types', 'enc_types', 'text_expansions', 
'meta_test_types', 'orgs', 'patient_tags', 'provinces', 'db_translations', 
'ref_data_sources', 'test_types', 'test_panels', 'vacc_indications', 
'vaccines', 'workplaces']
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
left_extra_button = None
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    columns = [u'W\xe4hlen Sie die Liste, die Sie bearbeiten wollen:']
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
list_tooltip_callback = None
2013-11-19 23:48:23  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 <<<
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >,)
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_edit_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 217 <<<
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120ccd0> >
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [edit] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 2228 <<<
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       item = orgs
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2fb2b20> >
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
map_list2handler = {'doc_types': <function manage_document_types at 0x2a95050>, 
'billables': <function manage_billables at 0x2f458c0>, 'ref_data_sources': 
<function browse_data_sources at 0x2f25c80>, 'text_expansions': <function 
configure_keyword_text_expansion at 0x2a9b1b8>, 'provinces': <function 
manage_provinces at 0x24368c0>, 'codes': <function browse_coded_terms at 
0x2f25cf8>, 'adr': <function manage_addresses at 0x2436938>, 'vaccines': 
<function manage_vaccines at 0x28fa938>, 'substances_in_brands': <function 
manage_drug_components at 0x292a7d0>, 'form_templates': <function 
manage_form_templates at 0x28f9e60>, 'meta_test_types': <function 
manage_meta_test_types at 0x28fc938>, 'substances': <function 
manage_consumable_substances at 0x292a668>, 'drugs': <function 
manage_branded_drugs at 0x2d29578>, 'workplaces': <function 
configure_workplace_plugins at 0x29125f0>, 'labs': <function 
manage_measurement_orgs at 0x28fc8c0>, 'test_panels': <function 
manage_test_panels at 0x28f32a8>, 'enc_types': <function manage_encounter_types 
at 0x22dce60>, 'hints': <function browse_dynamic_hints at 0x29241b8>, 
'test_types': <function manage_measurement_types at 0x2901e60>, 
'vacc_indications': <function manage_vaccination_indications at 0x28f9f50>, 
'patient_tags': <function manage_tag_images at 0x2747500>, 'orgs': <function 
manage_orgs at 0x295bc08>, 'db_translations': <function manage_translations at 
0x2f25aa0>, 'communication_channel_types': <function manage_comm_channel_types 
at 0x2f25d70>}
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [manage_orgs] in 
[/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py] at line 455 <<<
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmOrganizationWidgets.cOrganizationManagerDlg; 
proxy of <Swig Object of type 'wxDialog *' at 0x3c591b0> >
2013-11-19 23:48:23  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 0x2fb2b20> >
2013-11-19 23:48:23  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 <<<
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmOrganizationWidgets.cOrganizationManagerDlg; 
proxy of <Swig Object of type 'wxDialog *' at 0x3c591b0> >,)
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_remove_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 574 <<<
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       item = [cOrgUnit:4]:
pk_category_org: 9
l10n_organization_category: Labor
pk_address: NULL
xmin_org_unit: 13891
pk_org_unit: 4
l10n_unit_category: Labor
unit_category: Laboratory
pk_org: 4
pk_category_unit: 9
organization: external org
organization_category: Laboratory
unit: external org
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmOrganizationWidgets.cOrgUnitsManagerPnl; proxy 
of <Swig Object of type 'wxScrolledWindow *' at 0x3c76390> >
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120b4c0> >
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_del] in 
[/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py] at line 157 <<<
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       item = [cOrgUnit:4]:
pk_category_org: 9
l10n_organization_category: Labor
pk_address: NULL
xmin_org_unit: 13891
pk_org_unit: 4
l10n_unit_category: Labor
unit_category: Laboratory
pk_org: 4
pk_category_unit: 9
organization: external org
organization_category: Laboratory
unit: external org
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmOrganizationWidgets.cOrgUnitsManagerPnl; proxy 
of <Swig Object of type 'wxScrolledWindow *' at 0x3c76390> >
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [delete_org_unit] in 
[/usr/share/gnumed/Gnumed/business/gmOrganization.py] at line 249 <<<
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = DELETE FROM dem.org_unit WHERE pk = %(pk)s
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       unit = 4
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'pk': 4}
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1280 <<<
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x3ee2350>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x3ee2350; closed: -1>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
tx_rollback = <built-in method rollback of DictConnection object at 0x3e94b40>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x3e94b40>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'pk': 4}
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     pg_exc = update or delete on table "org_unit" violates foreign key 
constraint "test_org_fk_org_unit_fkey" on table "test_org"
DETAIL:  Key (pk)=(4) is still referenced from table "test_org".

2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'DELETE FROM dem.org_unit WHERE pk = %(pk)s', 'args': 
{'pk': 4}}]
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = False
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'DELETE FROM dem.org_unit WHERE pk = %(pk)s', 'args': 
{'pk': 4}}
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = None
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x3e94b40; dsn: 'dbname=gnumed_v18 
host=privatpraxis.dyndns.org port=5432 user=maan password=xxxxxxxxxxx 
sslmode=prefer', closed: 1>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 0x3e94b40>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = DELETE FROM dem.org_unit WHERE pk = %(pk)s
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x3ee2350; closed: -1>
2013-11-19 23:48:23  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = {'pk': 4}
2013-11-19 23:48:24  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #248): syncing log file for backup to 
[/home/marc/gnumed/logs/gnumed-9535_2013-11-19_23-48-23.log]
2013-11-19 23:48:24  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #116): -------- synced 
log file -------------------------------
2013-11-19 23:48:27  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1430): new 
database connection, backend PID: 4719, readonly: False
2013-11-19 23:48:27  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1469): 
access mode [READ WRITE]
2013-11-19 23:48:27  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1531): client 
string encoding [UTF8], isolation level [serializable], time zone [CET]
2013-11-19 23:48:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1251): RW query 
failed: [DELETE FROM dem.org_unit WHERE pk = 4]
2013-11-19 23:48:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1254): PG error 
code: 23503
2013-11-19 23:48:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1256): PG error 
message: ERROR:  update or delete on table "org_unit" violates foreign key 
constraint "test_org_fk_org_unit_fkey" on table "test_org"
DETAIL:  Key (pk)=(4) is still referenced from table "test_org".
2013-11-19 23:48:28  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #196): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py", line 574, in 
_on_remove_button_pressed
    if not self.delete_callback(item):
  File "/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py", line 157, 
in _del
    return gmOrganization.delete_org_unit(unit = item['pk_org_unit'])
  File "/usr/share/gnumed/Gnumed/business/gmOrganization.py", line 249, in 
delete_org_unit
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}], 
get_col_idx = False)
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1249, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 123, in 
execute
    return _cursor.execute(self, query, vars)
IntegrityError: update or delete on table "org_unit" violates foreign key 
constraint "test_org_fk_org_unit_fkey" on table "test_org"
DETAIL:  Key (pk)=(4) is still referenced from table "test_org".

2013-11-19 23:48:28  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2013-11-19 23:48:28  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 <<<
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f92baae1d30, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:48:28  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.3.9', '_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 0x101fb90>, 
'setup_cli': <function setup_cli at 0x101faa0>, '_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.3', 'setup_logging': <function setup_logging at 0x101f938>, 
'setup_ui_type': <function setup_ui_type at 0x101fed8>, '__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 0x101fcf8>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x7f92b9ac7140>, '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', '__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 0x101fd70>, 'setup_date_time': <function 
setup_date_time at 0x101fde8>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x101fc08>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x101f9b0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x101f8c0>, '__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 0x103cf50>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7f92b9ac7050>, 'handle_sig_term': <function 
handle_sig_term at 0x101fb18>, '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 0x7f92baadfcb0>, 'setup_backend': <function 
setup_backend at 0x101ff50>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x101fe60>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x101fa28>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7f92b9ac70c8>, 
'handle_help_request': <function handle_help_request at 0x101fc80>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>, 'setup_python_path': 
<function setup_python_path at 0x101f848>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2013-11-19 23:48:28  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 <<<
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0x7f92baae1d30, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2013-11-19 23:48:28  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.3.9', '_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 0x101fb90>, 
'setup_cli': <function setup_cli at 0x101faa0>, '_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.3', 'setup_logging': <function setup_logging at 0x101f938>, 
'setup_ui_type': <function setup_ui_type at 0x101fed8>, '__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 0x101fcf8>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x7f92b9ac7140>, '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', '__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 0x101fd70>, 'setup_date_time': <function 
setup_date_time at 0x101fde8>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x101fc08>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x101f9b0>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x101f8c0>, '__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 0x103cf50>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7f92b9ac7050>, 'handle_sig_term': <function 
handle_sig_term at 0x101fb18>, '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 0x7f92baadfcb0>, 'setup_backend': <function 
setup_backend at 0x101ff50>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x101fe60>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x101fa28>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x7f92b9ac70c8>, 
'handle_help_request': <function handle_help_request at 0x101fc80>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>, 'setup_python_path': 
<function setup_python_path at 0x101f848>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:48:28  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 608 
<<<
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2013-11-19 23:48:28  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.

2013-11-19 23:48:28  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'>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.3.9
2013-11-19 23:48:28  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']
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x101fb90>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x101faa0>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2013-11-19 23:48:28  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'>
2013-11-19 23:48:28  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'>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.3
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0x101f938>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x101fed8>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2013-11-19 23:48:28  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'>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x101fcf8>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x7f92b9ac7140>
2013-11-19 23:48:28  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.

2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x101fd70>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x101fde8>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x101fc08>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2013-11-19 23:48:28  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)
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x101f9b0>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0x101f8c0>
2013-11-19 23:48:28  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>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2013-11-19 23:48:28  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'>
2013-11-19 23:48:28  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'>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x103cf50>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2013-11-19 23:48:28  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'>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x7f92b9ac7050>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x101fb18>
2013-11-19 23:48:28  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.

2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7f92baadfcb0>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x101ff50>
2013-11-19 23:48:28  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'>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x101fe60>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x101fa28>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x7f92b9ac70c8>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x101fc80>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x12c4e50>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0x101f848>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2013-11-19 23:48:28  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 3562 <<<
2013-11-19 23:48:28  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 0x2815a90> >
2013-11-19 23:48:28  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 
<<<
2013-11-19 23:48:28  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 0x2815a90> >
2013-11-19 23:48:28  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 
<<<
2013-11-19 23:48:28  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 0x2815a90> >,)
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [__on_manage_master_data] in 
[/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 2241 <<<
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       edit = <function edit at 0x3a48758>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2fb2b20> >
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
map_list2handler = {'doc_types': <function manage_document_types at 0x2a95050>, 
'billables': <function manage_billables at 0x2f458c0>, 'ref_data_sources': 
<function browse_data_sources at 0x2f25c80>, 'text_expansions': <function 
configure_keyword_text_expansion at 0x2a9b1b8>, 'provinces': <function 
manage_provinces at 0x24368c0>, 'codes': <function browse_coded_terms at 
0x2f25cf8>, 'adr': <function manage_addresses at 0x2436938>, 'vaccines': 
<function manage_vaccines at 0x28fa938>, 'substances_in_brands': <function 
manage_drug_components at 0x292a7d0>, 'form_templates': <function 
manage_form_templates at 0x28f9e60>, 'meta_test_types': <function 
manage_meta_test_types at 0x28fc938>, 'substances': <function 
manage_consumable_substances at 0x292a668>, 'drugs': <function 
manage_branded_drugs at 0x2d29578>, 'workplaces': <function 
configure_workplace_plugins at 0x29125f0>, 'labs': <function 
manage_measurement_orgs at 0x28fc8c0>, 'test_panels': <function 
manage_test_panels at 0x28f32a8>, 'enc_types': <function manage_encounter_types 
at 0x22dce60>, 'hints': <function browse_dynamic_hints at 0x29241b8>, 
'test_types': <function manage_measurement_types at 0x2901e60>, 
'vacc_indications': <function manage_vaccination_indications at 0x28f9f50>, 
'patient_tags': <function manage_tag_images at 0x2747500>, 'orgs': <function 
manage_orgs at 0x295bc08>, 'db_translations': <function manage_translations at 
0x2f25aa0>, 'communication_channel_types': <function manage_comm_channel_types 
at 0x2f25d70>}
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
master_data_lists = ['adr', 'billables', 'drugs', 'hints', 'codes', 
'communication_channel_types', 'substances_in_brands', 'substances', 'labs', 
'form_templates', 'doc_types', 'enc_types', 'text_expansions', 
'meta_test_types', 'orgs', 'patient_tags', 'provinces', 'db_translations', 
'ref_data_sources', 'test_types', 'test_panels', 'vacc_indications', 
'vaccines', 'workplaces']
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        lst = workplaces
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
master_data_list_names = {'ref_data_sources': u'Quellen f\xfcr Referenzdaten', 
'doc_types': u'Dokumententypen', 'billables': u'Geb\xfchrenordnungspositionen', 
'workplaces': u'Arbeitsplatz-Profile (Laden welcher Plugins)', 
'text_expansions': u'Textmakros (schl\xfcsselwortbasiert)', 'provinces': 
u'Bundesl\xe4nder (Provinzen, Staaten, Regionen, ...)', 'codes': u'Codes und 
dazugeh\xf6rige Termini', 'adr': u'Adressen (langsam)', 'vaccines': 
u'Impfstoffe', 'substances_in_brands': u'Bestandteile der handels\xfcblichen 
Medikamente', 'form_templates': u'Dokumentenvorlagen (Briefe, Formulare, Plots, 
...)', 'substances': u'Wirkstoffe', 'drugs': u'Medikamente (Produkte)', 
'enc_types': u'Konsultationstypen', 'labs': u'Labore/Me\xdffirmen', 
'test_panels': u'Me\xdfprofile (Panele, Batterien)', 'meta_test_types': 
u'Meta-Me\xdfverfahren', 'hints': u'Klinische Hinweise', 'test_types': 
u'Me\xdfverfahren', 'vacc_indications': u'Impfindikationen (Krankheiten, die 
durch Impfung verhindert werden k\xf6nnen)', 'patient_tags': 
u'Patientensymbole', 'orgs': u'Organisationen (inkl. Abteilungen, Adressen, 
Kommunikationskan\xe4le)', 'db_translations': u'Zeichenketten\xfcbersetzungen 
in der Datenbank', 'communication_channel_types': u'Kommunikationskanaltypen'}
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        evt = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120e300> >
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [get_choices_from_list] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 109 <<<
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
delete_callback = None
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >
2013-11-19 23:48:28  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 0x2fb2b20> >
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 selections = None
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    caption = Stammdatenverwaltung
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
single_selection = True
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
refresh_callback = None
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
ignore_OK_button = True
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    choices = [u'Adressen (langsam)', u'Geb\xfchrenordnungspositionen', 
u'Medikamente (Produkte)', u'Klinische Hinweise', u'Codes und dazugeh\xf6rige 
Termini', u'Kommunikationskanaltypen', u'Bestandteile der handels\xfcblichen 
Medikamente', u'Wirkstoffe', u'Labore/Me\xdffirmen', u'Dokumentenvorlagen 
(Briefe, Formulare, Plots, ...)', u'Dokumententypen', u'Konsultationstypen', 
u'Textmakros (schl\xfcsselwortbasiert)', u'Meta-Me\xdfverfahren', 
u'Organisationen (inkl. Abteilungen, Adressen, Kommunikationskan\xe4le)', 
u'Patientensymbole', u'Bundesl\xe4nder (Provinzen, Staaten, Regionen, ...)', 
u'Zeichenketten\xfcbersetzungen in der Datenbank', u'Quellen f\xfcr 
Referenzdaten', u'Me\xdfverfahren', u'Me\xdfprofile (Panele, Batterien)', 
u'Impfindikationen (Krankheiten, die durch Impfung verhindert werden 
k\xf6nnen)', u'Impfstoffe', u'Arbeitsplatz-Profile (Laden welcher Plugins)']
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
can_return_empty = False
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
middle_extra_button = None
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        msg = None
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
new_callback = None
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):   
right_extra_button = None
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
edit_callback = <function edit at 0x3a48758>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       data = ['adr', 'billables', 'drugs', 'hints', 'codes', 
'communication_channel_types', 'substances_in_brands', 'substances', 'labs', 
'form_templates', 'doc_types', 'enc_types', 'text_expansions', 
'meta_test_types', 'orgs', 'patient_tags', 'provinces', 'db_translations', 
'ref_data_sources', 'test_types', 'test_panels', 'vacc_indications', 
'vaccines', 'workplaces']
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
left_extra_button = None
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    columns = [u'W\xe4hlen Sie die Liste, die Sie bearbeiten wollen:']
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
list_tooltip_callback = None
2013-11-19 23:48:28  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 <<<
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >,)
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_edit_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 217 <<<
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmListWidgets.cGenericListSelectorDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x3c31f30> >
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120ccd0> >
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [edit] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 2228 <<<
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       item = orgs
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x2fb2b20> >
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
map_list2handler = {'doc_types': <function manage_document_types at 0x2a95050>, 
'billables': <function manage_billables at 0x2f458c0>, 'ref_data_sources': 
<function browse_data_sources at 0x2f25c80>, 'text_expansions': <function 
configure_keyword_text_expansion at 0x2a9b1b8>, 'provinces': <function 
manage_provinces at 0x24368c0>, 'codes': <function browse_coded_terms at 
0x2f25cf8>, 'adr': <function manage_addresses at 0x2436938>, 'vaccines': 
<function manage_vaccines at 0x28fa938>, 'substances_in_brands': <function 
manage_drug_components at 0x292a7d0>, 'form_templates': <function 
manage_form_templates at 0x28f9e60>, 'meta_test_types': <function 
manage_meta_test_types at 0x28fc938>, 'substances': <function 
manage_consumable_substances at 0x292a668>, 'drugs': <function 
manage_branded_drugs at 0x2d29578>, 'workplaces': <function 
configure_workplace_plugins at 0x29125f0>, 'labs': <function 
manage_measurement_orgs at 0x28fc8c0>, 'test_panels': <function 
manage_test_panels at 0x28f32a8>, 'enc_types': <function manage_encounter_types 
at 0x22dce60>, 'hints': <function browse_dynamic_hints at 0x29241b8>, 
'test_types': <function manage_measurement_types at 0x2901e60>, 
'vacc_indications': <function manage_vaccination_indications at 0x28f9f50>, 
'patient_tags': <function manage_tag_images at 0x2747500>, 'orgs': <function 
manage_orgs at 0x295bc08>, 'db_translations': <function manage_translations at 
0x2f25aa0>, 'communication_channel_types': <function manage_comm_channel_types 
at 0x2f25d70>}
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [manage_orgs] in 
[/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py] at line 455 <<<
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmOrganizationWidgets.cOrganizationManagerDlg; 
proxy of <Swig Object of type 'wxDialog *' at 0x3c591b0> >
2013-11-19 23:48:28  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 0x2fb2b20> >
2013-11-19 23:48:28  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 <<<
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmOrganizationWidgets.cOrganizationManagerDlg; 
proxy of <Swig Object of type 'wxDialog *' at 0x3c591b0> >,)
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_on_remove_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmListWidgets.py] at line 574 <<<
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       item = [cOrgUnit:4]:
pk_category_org: 9
l10n_organization_category: Labor
pk_address: NULL
xmin_org_unit: 13891
pk_org_unit: 4
l10n_unit_category: Labor
unit_category: Laboratory
pk_org: 4
pk_category_unit: 9
organization: external org
organization_category: Laboratory
unit: external org
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmOrganizationWidgets.cOrgUnitsManagerPnl; proxy 
of <Swig Object of type 'wxScrolledWindow *' at 0x3c76390> >
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7fff1120b4c0> >
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_del] in 
[/usr/share/gnumed/Gnumed/wxpython/gmOrganizationWidgets.py] at line 157 <<<
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       item = [cOrgUnit:4]:
pk_category_org: 9
l10n_organization_category: Labor
pk_address: NULL
xmin_org_unit: 13891
pk_org_unit: 4
l10n_unit_category: Labor
unit_category: Laboratory
pk_org: 4
pk_category_unit: 9
organization: external org
organization_category: Laboratory
unit: external org
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmOrganizationWidgets.cOrgUnitsManagerPnl; proxy 
of <Swig Object of type 'wxScrolledWindow *' at 0x3c76390> >
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [delete_org_unit] in 
[/usr/share/gnumed/Gnumed/business/gmOrganization.py] at line 249 <<<
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        cmd = DELETE FROM dem.org_unit WHERE pk = %(pk)s
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       unit = 4
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'pk': 4}
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1280 <<<
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0x3ee2250>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0x3ee2250; closed: -1>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
tx_rollback = <built-in method rollback of DictConnection object at 0x3e50be0>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <built-in method close of DictConnection object at 0x3e50be0>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'pk': 4}
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     pg_exc = update or delete on table "org_unit" violates foreign key 
constraint "test_org_fk_org_unit_fkey" on table "test_org"
DETAIL:  Key (pk)=(4) is still referenced from table "test_org".

2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = None
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'DELETE FROM dem.org_unit WHERE pk = %(pk)s', 'args': 
{'pk': 4}}]
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = False
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'DELETE FROM dem.org_unit WHERE pk = %(pk)s', 'args': 
{'pk': 4}}
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = None
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0x3e50be0; dsn: 'dbname=gnumed_v18 
host=privatpraxis.dyndns.org port=5432 user=maan password=xxxxxxxxxxx 
sslmode=prefer', closed: 1>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <built-in method commit of DictConnection object at 0x3e50be0>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 123 <<<
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = DELETE FROM dem.org_unit WHERE pk = %(pk)s
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0x3ee2250; closed: -1>
2013-11-19 23:48:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = {'pk': 4}
2013-11-19 23:48:59  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::mail_log() 
#405): on deleting org unit
2013-11-19 23:48:59  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::mail_log() 
#406): syncing log file for emailing
2013-11-19 23:48: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]