gnumed-bugs
[Top][All Lists]
Advanced

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

[Gnumed-bugs] <bug>: tried to discontinue a drug


From: LMcC = any-doc
Subject: [Gnumed-bugs] <bug>: tried to discontinue a drug
Date: Fri, 29 Mar 2013 02:59:27 -0400

Report sent via GNUmed's handler for unexpected exceptions.

user comment  : tried to discontinue a drug

client version: 1.3.1

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

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

2013-03-29 07:36:29  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #229): -------- 
start of logging ------------------------------
2013-03-29 07:36:29  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #230): log file 
is </home/basti/.gnumed/gnumed-13819.log>
2013-03-29 07:36:29  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #231): log 
level is [DEBUG]
2013-03-29 07:36:29  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #232): log file 
encoding is <utf8>
2013-03-29 07:36:29  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-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #262): Starting up as 
main module ($Revision: 1.169 $).
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #263): GNUmed client 
version [1.3.1] on branch [1.3]
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #264): Platform: 
('Linux', 'localhost', '3.5.0-27-generic', '#46-Ubuntu SMP Mon Mar 25 20:00:05 
UTC 2013', 'i686', 'i686')
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #265): Python 2.7.3 
(default, Sep 26 2012, 21:53:58) 
[GCC 4.7.2] on linux2 (posix)
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #268): {'RELEASE': 
'12.10', 'CODENAME': 'quantal', 'ID': 'Ubuntu', 'DESCRIPTION': 'Ubuntu 12.10'}
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #271): process 
environment:
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
    ${LOGNAME}: basti
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
       ${USER}: basti
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
 ${DM_CONTROL}: /var/run/xdmctl
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
       ${PATH}: 
/home/basti/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/share/gnumed/bin
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):          
${KDE_SESSION_VERSION}: 4
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):             
${KDE_FULL_SESSION}: true
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
       ${LANG}: en_US.UTF-8
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
      ${SHELL}: /bin/bash
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                
${SSH_AGENT_PID}: 2832
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):           
${XDG_SESSION_COOKIE}: 
fb5aefdfcde21f995af4dc5400000009-1364503482.234040-1522196823
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
   ${LANGUAGE}: en_US:en
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):              
${SESSION_MANAGER}: 
local/localhost:@/tmp/.ICE-unix/3062,unix/localhost:/tmp/.ICE-unix/3062
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
      ${SHLVL}: 1
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):               
${MANDATORY_PATH}: /usr/share/gconf/kde-plasma.mandatory.path
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                
${XCURSOR_THEME}: default
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
 ${WINDOWPATH}: 8
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):               
${GPG_AGENT_INFO}: /tmp/gpg-Ff8urE/S.gpg-agent:2833:1
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
       ${HOME}: /home/basti
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):              
${KDE_SESSION_UID}: 1000
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):               
${QT_PLUGIN_PATH}: /home/basti/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
 ${PYTHONPATH}: /usr/share/gnumed/
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                
${SSH_AUTH_SOCK}: /tmp/ssh-BindczFtytXn/agent.2658
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
${XDM_MANAGED}: method=classic
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                
${GTK2_RC_FILES}: 
/etc/gtk-2.0/gtkrc:/home/basti/.gtkrc-2.0:/home/basti/.kde/share/config/gtkrc-2.0
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
     ${GS_LIB}: /home/basti/.fonts
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):     
${DBUS_SESSION_BUS_ADDRESS}: 
unix:abstract=/tmp/dbus-LhBW20Kydn,guid=6e0e15f5394c0bf833a5f2675154abbd
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
          ${_}: /usr/bin/python
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                
${DEFAULTS_PATH}: /usr/share/gconf/kde-plasma.default.path
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):              
${DESKTOP_SESSION}: kde-plasma
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):              
${XDG_CONFIG_DIRS}: /etc/xdg/xdg-kde-plasma:/etc/xdg
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
${GTK_MODULES}: canberra-gtk-module:canberra-gtk-module:overlay-scrollbar
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):             
${UBUNTU_MENUPROXY}: libappmenu.so
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                
${XDG_DATA_DIRS}: /usr/share/kde-plasma:/usr/local/share/:/usr/share/
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
        ${PWD}: /home/basti
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):           
${DESKTOP_STARTUP_ID}: localhost;1364538988;796590;3160_TIME2827955
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                 
${GTK_RC_FILES}: 
/etc/gtk/gtkrc:/home/basti/.gtkrc:/home/basti/.kde/share/config/gtkrc
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                  
    ${DISPLAY}: :0
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #273):                
${KDE_MULTIHEAD}: false
2013-03-29 07:36:29  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #507): adding command 
line arguments
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #508): raw command line 
is:
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #509): 
['/usr/share/gnumed/Gnumed/gnumed.py']
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--debug] not 
in group [cli] in source [cli]
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--slave] not 
in group [cli] in source [cli]
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option 
[--skip-update-check] not in group [cli] in source [cli]
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--hipaa] not 
in group [cli] in source [cli]
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option 
[--local-import] not in group [cli] in source [cli]
2013-03-29 07:36:29  DEBUG     gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_local_repo_path() #204): 
[/home/basti/.gnumed/local_code/1.3/Gnumed/wxGladeWidgets] not found
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_local_repo_path() #205): local 
wxGlade widgets repository not available
2013-03-29 07:36:29  INFO      gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::<module>() #60): $Revision: 
1.34 $
2013-03-29 07:36:29  INFO      gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::<module>() #61): mx.DateTime 
version: 3.2.1
2013-03-29 07:36:29  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #29): $Revision: 1.18 
$
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #68): known hooks:
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
post_patient_activation
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
post_person_creation
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
shutdown-post-GUI
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
startup-after-GUI-init
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
startup-before-GUI
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
request_user_attention
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
app_activated_startup
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): app_activated
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): app_deactivated
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_substance_intake_modified
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_test_result_modified
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_soap_modified
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_code_link_modified
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
after_new_doc_created
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): before_print_doc
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): before_fax_doc
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): before_mail_doc
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_print_doc_part
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_fax_doc_part
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_mail_doc_part
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
before_external_doc_access
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): 
db_maintenance_warning
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #122): 
unmodified startup locale settings (should be [C])
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #124): 
current locale settings:
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #125): 
locale.get_locale(): (None, None)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_NUMERIC): (None, None)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_MESSAGES): (None, None)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_MONETARY): (None, None)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_COLLATE): (None, None)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_CTYPE): (None, None)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_TIME): (None, None)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_NUMERIC): C)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_MESSAGES): C)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_MONETARY): C)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_COLLATE): C)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_CTYPE): C)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_ALL): C)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_TIME): C)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #133): 
locale.getdefaultlocale() - default (user) locale: ('en_US', 'UTF-8')
2013-03-29 07:36:29  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-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #142): 
sys.getdefaultencoding(): [ascii]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #143): 
locale.getpreferredencoding(): [ANSI_X3.4-1968]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #144): 
locale.getlocale()[1]: [None]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #145): 
sys.getfilesystemencoding(): [UTF-8]
2013-03-29 07:36:29  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-03-29 07:36:29  WARNING   gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #153): 
this might lead to encoding errors
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [ANSI_X3.4-1968]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [ascii]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [UTF-8]
2013-03-29 07:36:29  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-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #163): 
locale related environment variables (${LANG} is typically used):
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #166): 
${LANGUAGE}=en_US:en
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LC_ALL} not set
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LC_CTYPE} not set
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #166): 
${LANG}=en_US.UTF-8
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
database of locale conventions:
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(mon_decimal_point): 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(int_frac_digits): 127
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(p_sep_by_space): 127
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(frac_digits): 127
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(thousands_sep): 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(n_sign_posn): 127
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(decimal_point): .
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(int_curr_symbol): 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(n_cs_precedes): 127
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(p_sign_posn): 127
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(mon_thousands_sep): 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(negative_sign): 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(currency_symbol): 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(n_sep_by_space): 127
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(mon_grouping): []
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(p_cs_precedes): 127
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(positive_sign): 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(grouping): []
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(D_FMT): %m/%d/%y
2013-03-29 07:36:29  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-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(YESEXPR): ^[yY]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(ALT_DIGITS): 
2013-03-29 07:36:29  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-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(RADIXCHAR): .
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(ERA_D_FMT): 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(T_FMT): %H:%M:%S
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(NOEXPR): ^[nN]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(CRNCYSTR): -
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(ERA): 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(CODESET): ANSI_X3.4-1968
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(THOUSEP): 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(ERA_D_T_FMT): 
2013-03-29 07:36:29  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-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #198): 
gmI18N.get_encoding(): ANSI_X3.4-1968
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::activate_locale() #249): 
activating user-default locale with <locale.setlocale(locale.LC_ALL, '')> 
returns: [en_US.UTF-8]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #122): 
locale settings after activating user-default locale
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #124): 
current locale settings:
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #125): 
locale.get_locale(): ('en_US', 'UTF-8')
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_NUMERIC): ('en_US', 'UTF-8')
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_MESSAGES): ('en_US', 'UTF-8')
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_MONETARY): ('en_US', 'UTF-8')
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_COLLATE): ('en_US', 'UTF-8')
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_CTYPE): ('en_US', 'UTF-8')
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_TIME): ('en_US', 'UTF-8')
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_NUMERIC): en_US.UTF-8)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_MESSAGES): en_US.UTF-8)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_MONETARY): en_US.UTF-8)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_COLLATE): en_US.UTF-8)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_CTYPE): en_US.UTF-8)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_ALL): en_US.UTF-8)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_TIME): en_US.UTF-8)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #133): 
locale.getdefaultlocale() - default (user) locale: ('en_US', 'UTF-8')
2013-03-29 07:36:29  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-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #142): 
sys.getdefaultencoding(): [ascii]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #143): 
locale.getpreferredencoding(): [UTF-8]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #144): 
locale.getlocale()[1]: [UTF-8]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #145): 
sys.getfilesystemencoding(): [UTF-8]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [UTF-8]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [UTF-8]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [ascii]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [UTF-8]
2013-03-29 07:36:29  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-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #163): 
locale related environment variables (${LANG} is typically used):
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #166): 
${LANGUAGE}=en_US:en
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LC_ALL} not set
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LC_CTYPE} not set
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #166): 
${LANG}=en_US.UTF-8
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
database of locale conventions:
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(mon_decimal_point): .
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(int_frac_digits): 2
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(p_sep_by_space): 0
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(frac_digits): 2
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(thousands_sep): ,
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(n_sign_posn): 1
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(decimal_point): .
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(int_curr_symbol): USD 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(n_cs_precedes): 1
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(p_sign_posn): 1
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(mon_thousands_sep): ,
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(negative_sign): -
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(currency_symbol): $
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(n_sep_by_space): 0
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(mon_grouping): [3, 3, 0]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(p_cs_precedes): 1
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(positive_sign): 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(grouping): [3, 3, 0]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(D_FMT): %m/%d/%Y
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(D_T_FMT): %a %d %b %Y %r %Z
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(YESEXPR): ^[yY].*
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(ALT_DIGITS): 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(T_FMT_AMPM): %I:%M:%S %p
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(RADIXCHAR): .
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(ERA_D_FMT): 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(T_FMT): %r
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(NOEXPR): ^[nN].*
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(CRNCYSTR): -$
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(ERA): 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(CODESET): UTF-8
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(THOUSEP): ,
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(ERA_D_T_FMT): 
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #198): 
gmI18N.get_encoding(): UTF-8
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__split_locale_into_levels() 
#95): splitting canonical locale [en_US] into levels
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__split_locale_into_levels() 
#104): system locale levels: {'country': 'en_US', 'full': 'en_US', 'language': 
'en'}
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option 
[--text-domain] not in group [cli] in source [cli]
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option 
[--lang-gettext] not in group [cli] in source [cli]
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::local-import] found in source [internal]
2013-03-29 07:36:29  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #278): domain 
not specified, deriving from script name
2013-03-29 07:36:29  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #281): text 
domain is [gnumed]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #284): searching 
message catalog file for system locale [en_US]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #291): 
${LANGUAGE} = [en_US:en]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #291): ${LC_ALL} 
= [None]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #291): 
${LC_MESSAGES} = [None]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #291): ${LANG} = 
[en_US.UTF-8]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #318): system is 
POSIX, looking in standard locations (see Python Manual)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #327): looking 
at ${GNUMED_DIR}
2013-03-29 07:36:29  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #333): 
${GNUMED_DIR} not set
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #342): looking 
above binary install directory [/usr/share/gnumed/po]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #346): looking 
in binary install directory [/usr/share/gnumed/Gnumed/po]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #351): trying 
[/usr/share/locale](/en_US/LC_MESSAGES/gnumed.mo)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #362): does not 
translate: [Translate this or i18n into <en_EN> will not work properly !] => 
[Translate this or i18n into <en_EN> will not work properly !]
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #351): trying 
[/usr/share/gnumed/po](/en_US/LC_MESSAGES/gnumed.mo)
2013-03-29 07:36:29  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #351): trying 
[/usr/share/gnumed/Gnumed/po](/en_US/LC_MESSAGES/gnumed.mo)
2013-03-29 07:36:29  WARNING   gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #373): falling 
back to NullTranslations() class
2013-03-29 07:36:29  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-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--help] not 
in group [cli] in source [cli]
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [-h] not in 
group [cli] in source [cli]
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [-?] not in 
group [cli] in source [cli]
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--version] 
not in group [cli] in source [cli]
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [-V] not in 
group [cli] in source [cli]
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #143): wxPython not 
available
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #144): detecting 
paths directly
2013-03-29 07:36:29  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #150): app name 
passed in as [gnumed]
2013-03-29 07:36:29  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #198): previous 
temp dir: /tmp
2013-03-29 07:36:29  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #200): intermediate 
temp dir: /tmp/gnumed
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::_set_tmp_dir() #329): previous 
temp dir: /tmp/gnumed
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #242): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #243): 
sys.executable: /usr/bin/python
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #244): 
sys._MEIPASS: <not found>
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #245): 
os.environ["_MEIPASS2"]: <not found>
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #246): __file__ : 
/usr/share/gnumed/Gnumed/pycommon/gmTools.py
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #247): local 
application base dir: /usr/share/gnumed/Gnumed
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #248): current 
working dir: /home/basti
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #249): user home 
dir: /home/basti
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #250): 
user-specific config dir: /home/basti/.gnumed
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #251): system-wide 
config dir: /etc/gnumed
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #252): system-wide 
application data dir: /usr/share/gnumed
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #253): temporary 
dir: /tmp/gnumed/gm-dKB7gU
2013-03-29 07:36:29  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #124): 
mx.DateTime.now(): [2013-03-29 07:36:29.50]
2013-03-29 07:36:29  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #125): datetime.now()  
 : [2013-03-29 07:36:29.504088]
2013-03-29 07:36:29  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #126): 
time.localtime() : [time.struct_time(tm_year=2013, tm_mon=3, tm_mday=29, 
tm_hour=7, tm_min=36, tm_sec=29, tm_wday=4, tm_yday=88, tm_isdst=0)]
2013-03-29 07:36:29  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #127): time.gmtime()   
 : [time.struct_time(tm_year=2013, tm_mon=3, tm_mday=29, tm_hour=6, tm_min=36, 
tm_sec=29, tm_wday=4, tm_yday=88, tm_isdst=0)]
2013-03-29 07:36:29  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #132): $TZ not defined
2013-03-29 07:36:29  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #134): time.daylight: 
[1] (whether or not DST is locally used at all)
2013-03-29 07:36:29  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #135): time.timezone: 
[-3600] seconds
2013-03-29 07:36:29  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #136): time.altzone : 
[-7200] seconds
2013-03-29 07:36:29  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #137): time.tzname  : 
[CET / CEST] (non-DST / DST)
2013-03-29 07:36:29  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #138): 
mx.DateTime.now().gmtoffset(): [01:00:00.00]
2013-03-29 07:36:29  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #151): DST currently 
in effect: [False]
2013-03-29 07:36:29  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #163): DST currently 
not in effect: using UTC offset of [3600] seconds instead of [7200] seconds
2013-03-29 07:36:29  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #166): UTC offset is 
positive, assuming EAST of Greenwich (clock is "ahead")
2013-03-29 07:36:29  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #174): ISO timezone: 
[01:00:00.00] (taken from mx.DateTime.now().gmtoffset())
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--conf-file] 
not in group [cli] in source [cli]
2013-03-29 07:36:29  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "workbase": /home/basti/gnumed.conf (UTF-8)
2013-03-29 07:36:29  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #458): cannot 
open [/home/basti/gnumed.conf], keeping as dummy source
2013-03-29 07:36:29  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-03-29 07:36:29  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 0xa31df40>]
2013-03-29 07:36:29  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "user": /home/basti/.gnumed/gnumed.conf (UTF-8)
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::parse_INI_stream() #274): parsing 
INI-style data stream [<open file u'/home/basti/.gnumed/gnumed.conf', mode 'rb' 
at 0xa31df40>]
2013-03-29 07:36:29  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-03-29 07:36:29  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-03-29 07:36:29  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "explicit": None (UTF-8)
2013-03-29 07:36:29  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #450): file 
[None] already known as source [workbase]
2013-03-29 07:36:29  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #451): adding 
it as source [explicit] may provoke trouble
2013-03-29 07:36:29  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #450): file 
[None] already known as source [local]
2013-03-29 07:36:29  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #451): adding 
it as source [explicit] may provoke trouble
2013-03-29 07:36:29  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "user-mime": /home/basti/.gnumed/mime_type2file_extension.conf (UTF-8)
2013-03-29 07:36:29  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #458): cannot 
open [/home/basti/.gnumed/mime_type2file_extension.conf], keeping as dummy 
source
2013-03-29 07:36:29  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-03-29 07:36:29  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-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--ui] not in 
group [cli] in source [cli]
2013-03-29 07:36:29  DEBUG     gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_ui_type() #504): UI type: wxp
2013-03-29 07:36:29  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #51): psycopg2 version: 
2.4.5 (dt dec mx pq3 ext)
2013-03-29 07:36:29  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-03-29 07:36:29  DEBUG     psycopg2 
(/usr/lib/python2.7/dist-packages/psycopg2/pool.py::<module>() #40): installed. 
Logging using Python logging module
2013-03-29 07:36:29  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #79): assuming default 
client encoding of [UTF8]
2013-03-29 07:36:29  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_backend() #509): client expects 
database version [18]
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [client 
timezone] not in group [backend] in source [explicit]
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [client 
timezone] not in group [backend] in source [workbase]
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [client 
timezone] not in group [backend] in source [local]
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [client 
timezone] not in group [backend] in source [user]
2013-03-29 07:36:29  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [client 
timezone] not in group [backend] in source [system]
2013-03-29 07:36:29  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=9589406L, st_dev=2053L, 
st_nlink=1, st_uid=1000, st_gid=1000, st_size=562L, st_atime=1362873760, 
st_mtime=1355772881, st_ctime=1355772881)
2013-03-29 07:36:29  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #119): hook 
script mode: 384 (oktal: 0600)
2013-03-29 07:36:29  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#484): appending to sys.path: [/home/basti/.gnumed/scripts]
2013-03-29 07:36:29  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#488): will remove import path: True
2013-03-29 07:36:29  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/basti/.gnumed/scripts/hook_script.pyc'>]
2013-03-29 07:36:29  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #140): hook 
script: /home/basti/.gnumed/scripts/hook_script.py
2013-03-29 07:36:30  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::<module>() #18): $Revision: 
1.13 $
2013-03-29 07:36:30  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::<module>() #19): 
$Revision: 1.22 $
2013-03-29 07:36:30  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/pycommon/gmMatchProvider.py::<module>() #21): 
$Revision: 1.34 $
2013-03-29 07:36:30  INFO      gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::<module>() #17): $Revision: 
1.34 $
2013-03-29 07:36:30  INFO      gm.coding 
(/usr/share/gnumed/Gnumed/business/gmCoding.py::<module>() #21): $Revision: 1.2 
$
2013-03-29 07:36:30  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [episode_code_mod_db]
2013-03-29 07:36:30  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [rfe_code_mod_db]
2013-03-29 07:36:30  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [aoe_code_mod_db]
2013-03-29 07:36:30  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [health_issue_code_mod_db]
2013-03-29 07:36:30  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [narrative_code_mod_db]
2013-03-29 07:36:30  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [procedure_code_mod_db]
2013-03-29 07:36:30  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [test_result_mod_db]
2013-03-29 07:36:30  INFO      gm.loinc 
(/usr/share/gnumed/Gnumed/business/gmLOINC.py::<module>() #22): $Revision: 1.7 $
2013-03-29 07:36:30  INFO      gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinNarrative.py::<module>() #23): 
$Revision: 1.45 $
2013-03-29 07:36:30  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [clin_narrative_mod_db]
2013-03-29 07:36:30  INFO      gm.emr 
(/usr/share/gnumed/Gnumed/business/gmEMRStructItems.py::<module>() #28): 
$Revision: 1.157 $
2013-03-29 07:36:30  INFO      gm.atc 
(/usr/share/gnumed/Gnumed/business/gmATC.py::<module>() #21): $Revision: 1.7 $
2013-03-29 07:36:30  INFO      gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::<module>() #27): $Revision: 
1.27 $
2013-03-29 07:36:30  INFO      gm.meds 
(/usr/share/gnumed/Gnumed/business/gmMedication.py::<module>() #40): $Revision: 
1.21 $
2013-03-29 07:36:30  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #95): unknown 
signal [substance_intake_mod_db]
2013-03-29 07:36:30  INFO      gm.vaccination 
(/usr/share/gnumed/Gnumed/business/gmVaccination.py::<module>() #18): 
$Revision: 1.38 $
2013-03-29 07:36:31  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py::<module>() #23): $Revision: 
1.135 $
2013-03-29 07:36:31  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmCfgWidgets.py::<module>() #30): $Revision: 
1.4 $
2013-03-29 07:36:31  INFO      gm.kvk 
(/usr/share/gnumed/Gnumed/business/gmKVK.py::<module>() #29): $Revision: 1.22 $
2013-03-29 07:36:31  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::<module>() #27): $Revision: 
1.47 $
2013-03-29 07:36:31  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmSOAPWidgets.py::<module>() #22): 
$Revision: 1.114 $
2013-03-29 07:36:31  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmDocumentWidgets.py::<module>() #45): 
$Revision: 1.187 $
2013-03-29 07:36:32  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmCodingWidgets.py::<module>() #27): 
$Revision: 1.4 $
2013-03-29 07:36:32  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-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--profile] 
not in group [cli] in source [cli]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [workplace] in source [explicit]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [workplace] in source [workbase]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [workplace] in source [local]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [workplace] in source [user]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[workplace::help desk] found in source [system]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::client_version] found in source [internal]
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #144): detecting 
paths directly
2013-03-29 07:36:32  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #150): app name 
passed in as [gnumed]
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #194): temp dir 
already set
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #242): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #243): 
sys.executable: /usr/bin/python
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #244): 
sys._MEIPASS: <not found>
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #245): 
os.environ["_MEIPASS2"]: <not found>
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #246): __file__ : 
/usr/share/gnumed/Gnumed/pycommon/gmTools.py
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #247): local 
application base dir: /usr/share/gnumed/Gnumed
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #248): current 
working dir: /home/basti
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #249): user home 
dir: /home/basti
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #250): 
user-specific config dir: /home/basti/.gnumed
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #251): system-wide 
config dir: /etc/gnumed
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #252): system-wide 
application data dir: /usr/share/gnumed
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #253): temporary 
dir: /tmp/gnumed/gm-dKB7gU
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #208): re-detecting 
paths with wxPython
2013-03-29 07:36:32  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #211): wxPython app 
name is [gnumed]
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #242): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #243): 
sys.executable: /usr/bin/python
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #244): 
sys._MEIPASS: <not found>
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #245): 
os.environ["_MEIPASS2"]: <not found>
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #246): __file__ : 
/usr/share/gnumed/Gnumed/pycommon/gmTools.py
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #247): local 
application base dir: /usr/share/gnumed/Gnumed
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #248): current 
working dir: /home/basti
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #249): user home 
dir: /home/basti
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #250): 
user-specific config dir: /home/basti/.gnumed
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #251): system-wide 
config dir: /etc/gnumed
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #252): system-wide 
application data dir: /usr/share/gnumed
2013-03-29 07:36:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #253): temporary 
dir: /tmp/gnumed/gm-dKB7gU
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--conf-file] 
not in group [cli] in source [cli]
2013-03-29 07:36:32  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::__setup_prefs_file() #3334): 
user preferences file: /home/basti/.gnumed/gnumed.conf
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [user email] 
not in group [preferences] in source [explicit]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [user email] 
not in group [preferences] in source [user]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [user email] 
not in group [preferences] in source [local]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [user email] 
not in group [preferences] in source [workbase]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [user email] 
not in group [preferences] in source [system]
2013-03-29 07:36:32  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::__setup_platform() #3409): 
running on GTK (probably Linux)
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option 
[--override-schema-check] not in group [cli] in source [cli]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::client_branch] found in source [internal]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::client_version] found in source [internal]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [name] not in 
group [workplace] in source [explicit]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [name] not in 
group [workplace] in source [workbase]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [name] not in 
group [workplace] in source [local]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [name] not in 
group [workplace] in source [user]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[workplace::name] found in source [system]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [profiles] 
not in group [backend] in source [explicit]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[backend::profiles] found in source [system]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [profiles] 
not in group [backend] in source [user]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [profiles] 
not in group [backend] in source [workbase]
2013-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  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-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [logins] not 
in group [backend] in source [explicit]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [logins] not 
in group [backend] in source [user]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [logins] not 
in group [backend] in source [workbase]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [login] not 
in group [preferences] in source [explicit]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[preferences::login] found in source [user]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [profile] not 
in group [preferences] in source [explicit]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[preferences::profile] found in source [user]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2013-03-29 07:36:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::slave] found in source [internal]
2013-03-29 07:36:32  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-03-29 07:36:32  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::connect_to_database() 
#128): login attempt 1 of 3
2013-03-29 07:36:37  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::__on_login_button_pressed()
 #803): debug mode disabled
2013-03-29 07:36:37  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--quiet] not 
in group [cli] in source [cli]
2013-03-29 07:36:38  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:36:40  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::sanity_check_database_settings() 
#1660): PG option [log_connections] set to [off], expected [on], risk: 
<non-compliance with HIPAA>
2013-03-29 07:36:40  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::sanity_check_database_settings() 
#1660): PG option [log_disconnections] set to [off], expected [on], risk: 
<non-compliance with HIPAA>
2013-03-29 07:37:13  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_stream_source() #438): 
overriding source <user> with [<open file u'/home/basti/.gnumed/gnumed.conf', 
mode 'rb' at 0xb0dd9c0>]
2013-03-29 07:37:15  ERROR     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmPlugin.py::instantiate_plugin() #306): 
Cannot open module "gui.gmKOrganizerPlugin".
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmPlugin.py", line 304, in 
instantiate_plugin
    plugin = plugin_class()
  File "/usr/share/gnumed/Gnumed/wxpython/gui/gmKOrganizerPlugin.py", line 37, 
in __init__
    raise gmExceptions.ConstructorError('cannot detect "konsolekalendar" via 
[%s]' % cmd)
ConstructorError: cannot detect "konsolekalendar" via [None]
2013-03-29 07:37:15  ERROR     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::__load_plugins() #118): 
plugin [gmKOrganizerPlugin] not loaded, see errors above
2013-03-29 07:37:24  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:37:24  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:37:24  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:37:24  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:37:25  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:37:26  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_ro_queries() #1071): query 
failed: [set bytea_output to 'escape']
2013-03-29 07:37:26  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_ro_queries() #1074): PG error 
code: 42704
2013-03-29 07:37:26  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_ro_queries() #1076): PG error 
message: ERROR:  unrecognized configuration parameter "bytea_output"
2013-03-29 07:37:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:37:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_ro_queries() #1071): query 
failed: [set bytea_output to 'escape']
2013-03-29 07:37:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_ro_queries() #1074): PG error 
code: 42704
2013-03-29 07:37:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_ro_queries() #1076): PG error 
message: ERROR:  unrecognized configuration parameter "bytea_output"
2013-03-29 07:37:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:37:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:38:56  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:38:56  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:38:56  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:38:56  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:38:56  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:38:56  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:38:57  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:38:57  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:39:00  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:39:00  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:39:01  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:39:12  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:39:12  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:39:12  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:39:12  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:39:13  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:39:13  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:39  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:39  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:39  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:39  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:39  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:40  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:40  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:40  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:40  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:40  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:40  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:40  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:43  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:43  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:43  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:44  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:44  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:44  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:44  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:44  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:57  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:57  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:58  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:58  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:58  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:41:58  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:42:50  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:42:50  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:42:50  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:42:50  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:42:50  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:42:50  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:42:50  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:42:50  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:42:50  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:43:14  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:43:14  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:43:14  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:44:04  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:44:04  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:44:04  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:44:04  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:21  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:21  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:21  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:22  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:22  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:22  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:22  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:22  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:23  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:23  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:24  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:24  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:24  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:24  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:48  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:51  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:51  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:51  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:51  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:51  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:53:51  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:17  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:17  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:17  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:17  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:17  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:17  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:19  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:19  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:20  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:20  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:21  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:21  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:22  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:23  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:23  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:23  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:23  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:23  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:23  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:23  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:24  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:24  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:25  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:25  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:25  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:25  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:25  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:25  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:26  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:26  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:27  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:28  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:28  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:28  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:28  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:28  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:29  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:29  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:30  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:30  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:31  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:54:31  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:57:19  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:57:38  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:57:49  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:58:16  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1512): cannot 
set bytea_output format
2013-03-29 07:58:16  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1208): RW query 
failed: [UPDATE clin.substance_intake SET
                                clin_when = 
cast('2013-03-29T07:39:01.032874+01:00' as timestamp with time zone),
                                discontinued = 
cast('2013-04-10T11:11:11.111111+01:00' as timestamp with time zone),
                                discontinue_reason = 
gm.nullify_empty_string(E''),
                                schedule = gm.nullify_empty_string(E'1-0-0-1'),
                                aim = gm.nullify_empty_string(E'whatever'),
                                narrative = gm.nullify_empty_string(E'reduce 
after Apr 10th'),
                                intake_is_approved_of = true,
                                fk_episode = 3,

                                preparation = (
                                        case
                                                when NULL is NULL then E'tablet'
                                                else NULL
                                        end
                                )::text,

                                is_long_term = (
                                        case
                                                when (
                                                        (false is False)
                                                                and
                                                        ('10 days 0.000000 
seconds'::interval is NULL)
                                                ) is True then null
                                                else false
                                        end
                                )::boolean,

                                duration = (
                                        case
                                                when false is True then null
                                                else '10 days 0.000000 
seconds'::interval
                                        end
                                )::interval
                        WHERE
                                pk = 4
                                        AND
                                xmin = E'295144'
                        RETURNING
                                xmin as xmin_substance_intake
                ]
2013-03-29 07:58:16  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1211): PG error 
code: 23514
2013-03-29 07:58:16  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1213): PG error 
message: ERROR:  new row for relation "substance_intake" violates check 
constraint "discontinued_after_started"
2013-03-29 07:58:16  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #216): enabling debug mode
2013-03-29 07:58:16  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/gmEditArea.py", line 328, in 
_on_save_button_pressed
    if self._PNL_ea.save():
  File "/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py", line 199, in save
    return self._save_as_update()
  File "/usr/share/gnumed/Gnumed/wxpython/gmMedicationWidgets.py", line 1571, 
in _save_as_update
    self.data.save()
  File "/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py", line 541, in 
save
    return self.save_payload(conn = conn)
  File "/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py", line 573, in 
save_payload
    get_col_idx = True
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1206, 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: new row for relation "substance_intake" violates check 
constraint "discontinued_after_started"

2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #148): stack 
trace follows:
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #149): (locals 
by frame, outmost frame first)
2013-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0xb7422218, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = Gnumed.gnumed
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 alter_argv = 1
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     loader = <pkgutil.ImpLoader instance at 0xb740dd8c>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2013-03-29 07:58:16  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.1', '_known_long_options': [u'debug', u'slave', 
u'skip-update-check', u'profile=', u'text-domain=', u'log-file=', 
u'conf-file=', u'lang-gettext=', u'ui=', u'override-schema-check', 
u'local-import', u'help', u'version', u'hipaa'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x9f4dcdc>, 
'setup_cli': <function setup_cli at 0x9f4dc6c>, '_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 0xb712aed4>, 
'setup_ui_type': <function setup_ui_type at 0x9f4de64>, '__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 0x9f4dd84>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x9f4df44>, 'missing_cli_config_file': u'\nGNUmed startup: 
Missing configuration file.\n-------------------------------------------\n\nYou 
explicitly specified a configuration file\non the command 
line:\n\n\t--conf-file=%s\n\nThe file does not exist, however.\n', 
'__version__': '$Revision: 1.169 $', '__doc__': 'GNUmed client 
launcher.\n\nThis is the launcher for the GNUmed GUI client. It takes\ncare of 
all the pre- and post-GUI runtime environment setup.\n\n--quiet\n Be extra 
quiet and show only _real_ errors in the log.\n--debug\n Pre-set the [debug 
mode] checkbox in the login dialog to\n increase verbosity in the log file. 
Useful for, well, debugging :-)\n--slave\n Pre-set the [enable remote control] 
checkbox in the login\n dialog to enable the XML-RPC remote control 
feature.\n--hipaa\n Enable HIPAA functionality which has user 
impact.\n--profile=<file>\n Activate profiling and write profile data to 
<file>.\n--text-domain=<text domain>\n Set this to change the name of the 
language file to be loaded.\n Note, this does not change the directory the file 
is searched in,\n only the name of the file where messages are loaded from. 
The\n standard textdomain is, of course, "gnumed.mo".\n--log-file=<file>\n Use 
this to change the name of the log file.\n See gmLog2.py to find out where the 
standard log file would\n end up.\n--conf-file=<file>\n Use configuration file 
<file> instead of searching for it in\n standard 
locations.\n--lang-gettext=<language>\n Explicitly set the language to use in 
gettext translation. The very\n same effect can be achieved by setting the 
environment variable $LANG\n from a launcher script.\n--override-schema-check\n 
Continue loading the client even if the database schema version\n and the 
client software version cannot be verified to be 
compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x9f4ddbc>, 'setup_date_time': <function 
setup_date_time at 0x9f4ddf4>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x9f4dd14>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x9f4d6f4>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0xb712adbc>, '__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 0x9f507ac>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x9f4ded4>, 'handle_sig_term': <function handle_sig_term at 
0x9f4dca4>, '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 0xb740dd8c>, 'setup_backend': <function 
setup_backend at 0x9f4de9c>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x9f4de2c>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x9f4d764>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x9f4df0c>, 
'handle_help_request': <function handle_help_request at 0x9f4dd4c>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x9f7532c>, 'setup_python_path': 
<function setup_python_path at 0xb712ac34>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2013-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 mod_loader = <pkgutil.ImpLoader instance at 0xb740dd8c>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       code = <code object <module> at 0xb7422218, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2013-03-29 07:58:16  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.1', '_known_long_options': [u'debug', u'slave', 
u'skip-update-check', u'profile=', u'text-domain=', u'log-file=', 
u'conf-file=', u'lang-gettext=', u'ui=', u'override-schema-check', 
u'local-import', u'help', u'version', u'hipaa'], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x9f4dcdc>, 
'setup_cli': <function setup_cli at 0x9f4dc6c>, '_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 0xb712aed4>, 
'setup_ui_type': <function setup_ui_type at 0x9f4de64>, '__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 0x9f4dd84>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x9f4df44>, 'missing_cli_config_file': u'\nGNUmed startup: 
Missing configuration file.\n-------------------------------------------\n\nYou 
explicitly specified a configuration file\non the command 
line:\n\n\t--conf-file=%s\n\nThe file does not exist, however.\n', 
'__version__': '$Revision: 1.169 $', '__doc__': 'GNUmed client 
launcher.\n\nThis is the launcher for the GNUmed GUI client. It takes\ncare of 
all the pre- and post-GUI runtime environment setup.\n\n--quiet\n Be extra 
quiet and show only _real_ errors in the log.\n--debug\n Pre-set the [debug 
mode] checkbox in the login dialog to\n increase verbosity in the log file. 
Useful for, well, debugging :-)\n--slave\n Pre-set the [enable remote control] 
checkbox in the login\n dialog to enable the XML-RPC remote control 
feature.\n--hipaa\n Enable HIPAA functionality which has user 
impact.\n--profile=<file>\n Activate profiling and write profile data to 
<file>.\n--text-domain=<text domain>\n Set this to change the name of the 
language file to be loaded.\n Note, this does not change the directory the file 
is searched in,\n only the name of the file where messages are loaded from. 
The\n standard textdomain is, of course, "gnumed.mo".\n--log-file=<file>\n Use 
this to change the name of the log file.\n See gmLog2.py to find out where the 
standard log file would\n end up.\n--conf-file=<file>\n Use configuration file 
<file> instead of searching for it in\n standard 
locations.\n--lang-gettext=<language>\n Explicitly set the language to use in 
gettext translation. The very\n same effect can be achieved by setting the 
environment variable $LANG\n from a launcher script.\n--override-schema-check\n 
Continue loading the client even if the database schema version\n and the 
client software version cannot be verified to be 
compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x9f4ddbc>, 'setup_date_time': <function 
setup_date_time at 0x9f4ddf4>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x9f4dd14>, 'profile_file': None, '__license__': 'GPL v2 or later (details at 
http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x9f4d6f4>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0xb712adbc>, '__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 0x9f507ac>, '__name__': '__main__', 'gmPG2': 
<module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x9f4ded4>, 'handle_sig_term': <function handle_sig_term at 
0x9f4dca4>, '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 0xb740dd8c>, 'setup_backend': <function 
setup_backend at 0x9f4de9c>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x9f4de2c>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x9f4d764>, 'signal': <module 'signal' 
(built-in)>, 'shutdown_logging': <function shutdown_logging at 0x9f4df0c>, 
'handle_help_request': <function handle_help_request at 0x9f4dd4c>, '_cfg': 
<Gnumed.pycommon.gmCfg2.gmCfgData object at 0x9f7532c>, 'setup_python_path': 
<function setup_python_path at 0xb712ac34>, 'os': <module 'os' from 
'/usr/lib/python2.7/os.pyc'>}
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
init_globals = None
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   pkg_name = Gnumed
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   mod_name = __main__
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2013-03-29 07:58:16  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 607 
<<<
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
_known_short_options = h?V
2013-03-29 07:58:16  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-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
_old_sig_term = None
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_version = 1.3.1
2013-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    ui_type = wxp
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_signal_handlers = <function setup_signal_handlers at 0x9f4dcdc>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cli = <function setup_cli at 0x9f4dc6c>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2013-03-29 07:58:16  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-03-29 07:58:16  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-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
current_client_branch = 1.3
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_logging = <function setup_logging at 0xb712aed4>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_ui_type = <function setup_ui_type at 0x9f4de64>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__package__ = Gnumed
2013-03-29 07:58:16  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-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
handle_version_request = <function handle_version_request at 0x9f4dd84>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x9f4df44>
2013-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
__version__ = $Revision: 1.169 $
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_paths_and_files = <function setup_paths_and_files at 0x9f4ddbc>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
setup_date_time = <function setup_date_time at 0x9f4ddf4>
2013-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
setup_locale = <function setup_locale at 0x9f4dd14>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
profile_file = None
2013-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
log_startup_info = <function log_startup_info at 0x9f4d6f4>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):         
__builtins__ = <module '__builtin__' (built-in)>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_local_repo_path = <function setup_local_repo_path at 0xb712adbc>
2013-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        sys = <module 'sys' (built-in)>
2013-03-29 07:58:16  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-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _log = <logging.Logger object at 0x9f507ac>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   __name__ = __main__
2013-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_backend = <function shutdown_backend at 0x9f4ded4>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):      
handle_sig_term = <function handle_sig_term at 0x9f4dca4>
2013-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 __loader__ = <pkgutil.ImpLoader instance at 0xb740dd8c>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):        
setup_backend = <function setup_backend at 0x9f4de9c>
2013-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  setup_cfg = <function setup_cfg at 0x9f4de2c>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x9f4d764>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     signal = <module 'signal' (built-in)>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):     
shutdown_logging = <function shutdown_logging at 0x9f4df0c>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):  
handle_help_request = <function handle_help_request at 0x9f4dd4c>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x9f7532c>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):    
setup_python_path = <function setup_python_path at 0xb712ac34>
2013-03-29 07:58:16  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-03-29 07:58:16  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 3573 <<<
2013-03-29 07:58:16  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 0xac40490> >
2013-03-29 07:58:16  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-03-29 07:58:16  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 0xac40490> >
2013-03-29 07:58:16  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-03-29 07:58:16  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 0xac40490> >,)
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-03-29 07:58:16  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/gmMedicationWidgets.py] at line 2974 <<<
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmMedicationWidgets.cCurrentSubstancesPnl; proxy 
of <Swig Object of type 'wxScrolledWindow *' at 0xb76eda8> >
2013-03-29 07:58:16  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 0xbff69d08> >
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [edit_substance] in 
[/usr/share/gnumed/Gnumed/wxpython/gmMedicationWidgets.py] at line 2637 <<<
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      subst = [cSubstanceIntakeEntry:4]: ['pk_substance_intake: >>4<<', 
u'discontinue_reason: >><<', u'health_issue: NULL', 'pk_patient: >>12<<', 
u'pk_brand: NULL', 'is_long_term: >>False<<', 'is_currently_active: >>True<<', 
'duration: >>10 days, 0:00:00<<', u'unit: >>mg<<', u'preparation: >>tablet<<', 
'pk_substance: >>382<<', 'pk_encounter: >>11<<', u'external_code_type_brand: 
NULL', 'row_version: >>2<<', 'seems_inactive: >>False<<', u'notes: >>reduce 
after Apr 10th<<', u'atc_substance: NULL', u'pk_drug_component: NULL', 
u'fake_brand: NULL', u'schedule: >>1-0-0-1<<', 'started: >>2013-03-29 
07:39:01.032874+01:00<<', u'atc_brand: NULL', u'brand: NULL', 'modified_when: 
>>2013-03-29 07:42:50.091852+01:00<<', u'modified_by: >>any-doc<<', 
u'pk_data_source: NULL', u'substance: >>Olanzepine<<', u'episode: >>back 
pain<<', 'pk_episode: >>3<<', 'intake_is_approved_of: >>True<<', 
u'external_code_brand: NULL', u'aim: >>whatever<<', u'soap_cat: >>p<<', 
'amount: >>10<<', u'pk_health_issue: NULL', 'discontinued: >>2013-04-10 
11:11:11.111111+01:00<<', 'xmin_substance_intake: >>295144<<']
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       rows = [2]
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmMedicationWidgets.cCurrentSubstancesGrid; 
proxy of <Swig Object of type 'wxGrid *' at 0xb774548> >
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [edit_intake_of_substance] in 
[/usr/share/gnumed/Gnumed/wxpython/gmMedicationWidgets.py] at line 1884 <<<
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
         ea = <Gnumed.wxpython.gmMedicationWidgets.cSubstanceIntakeEAPnl; proxy 
of <Swig Object of type 'wxScrolledWindow *' at 0xbca8a38> >
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
  substance = [cSubstanceIntakeEntry:4]: ['pk_substance_intake: >>4<<', 
u'discontinue_reason: >><<', u'health_issue: NULL', 'pk_patient: >>12<<', 
u'pk_brand: NULL', 'is_long_term: >>False<<', 'is_currently_active: >>True<<', 
'duration: >>10 days, 0:00:00<<', u'unit: >>mg<<', u'preparation: >>tablet<<', 
'pk_substance: >>382<<', 'pk_encounter: >>11<<', u'external_code_type_brand: 
NULL', 'row_version: >>2<<', 'seems_inactive: >>False<<', u'notes: >>reduce 
after Apr 10th<<', u'atc_substance: NULL', u'pk_drug_component: NULL', 
u'fake_brand: NULL', u'schedule: >>1-0-0-1<<', 'started: >>2013-03-29 
07:39:01.032874+01:00<<', u'atc_brand: NULL', u'brand: NULL', 'modified_when: 
>>2013-03-29 07:42:50.091852+01:00<<', u'modified_by: >>any-doc<<', 
u'pk_data_source: NULL', u'substance: >>Olanzepine<<', u'episode: >>back 
pain<<', 'pk_episode: >>3<<', 'intake_is_approved_of: >>True<<', 
u'external_code_brand: NULL', u'aim: >>whatever<<', u'soap_cat: >>p<<', 
'amount: >>10<<', u'pk_health_issue: NULL', 'discontinued: >>2013-04-10 
11:11:11.111111+01:00<<', 'xmin_substance_intake: >>295144<<']
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
        dlg = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0xbd963d0> >
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     parent = <Gnumed.wxpython.gmMedicationWidgets.cCurrentSubstancesGrid; 
proxy of <Swig Object of type 'wxGrid *' at 0xb774548> >
2013-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = (<Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0xbd963d0> >,)
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     kwargs = {}
2013-03-29 07:58:16  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 328 <<<
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmEditArea.cGenericEditAreaDlg2; proxy of <Swig 
Object of type 'wxDialog *' at 0xbd963d0> >
2013-03-29 07:58:16  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 0xbff68518> >
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save] in [/usr/share/gnumed/Gnumed/wxpython/gmEditArea.py] at 
line 199 <<<
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmMedicationWidgets.cSubstanceIntakeEAPnl; proxy 
of <Swig Object of type 'wxScrolledWindow *' at 0xbca8a38> >
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [_save_as_update] in 
[/usr/share/gnumed/Gnumed/wxpython/gmMedicationWidgets.py] at line 1571 <<<
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <Gnumed.wxpython.gmMedicationWidgets.cSubstanceIntakeEAPnl; proxy 
of <Swig Object of type 'wxScrolledWindow *' at 0xbca8a38> >
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save] in 
[/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py] at line 541 <<<
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = [cSubstanceIntakeEntry:4]: ['pk_substance_intake: >>4<<', 
u'discontinue_reason: >><<', u'health_issue: NULL', 'pk_patient: >>12<<', 
u'pk_brand: NULL', 'is_long_term: >>False<<', 'is_currently_active: >>True<<', 
'duration: >>10 days, 0:00:00<<', u'unit: >>mg<<', u'preparation: >>tablet<<', 
'pk_substance: >>382<<', 'pk_encounter: >>11<<', u'external_code_type_brand: 
NULL', 'row_version: >>2<<', 'seems_inactive: >>False<<', u'notes: >>reduce 
after Apr 10th<<', u'atc_substance: NULL', u'pk_drug_component: NULL', 
u'fake_brand: NULL', u'schedule: >>1-0-0-1<<', 'started: >>2013-03-29 
07:39:01.032874+01:00<<', u'atc_brand: NULL', u'brand: NULL', 'modified_when: 
>>2013-03-29 07:42:50.091852+01:00<<', u'modified_by: >>any-doc<<', 
u'pk_data_source: NULL', u'substance: >>Olanzepine<<', u'episode: >>back 
pain<<', 'pk_episode: >>3<<', 'intake_is_approved_of: >>True<<', 
u'external_code_brand: NULL', u'aim: >>whatever<<', u'soap_cat: >>p<<', 
'amount: >>10<<', u'pk_health_issue: NULL', 'discontinued: >>2013-04-10 
11:11:11.111111+01:00<<', 'xmin_substance_intake: >>295144<<']
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = None
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #155): >>> 
execution frame [save_payload] in 
[/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py] at line 573 <<<
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = [cSubstanceIntakeEntry:4]: ['pk_substance_intake: >>4<<', 
u'discontinue_reason: >><<', u'health_issue: NULL', 'pk_patient: >>12<<', 
u'pk_brand: NULL', 'is_long_term: >>False<<', 'is_currently_active: >>True<<', 
'duration: >>10 days, 0:00:00<<', u'unit: >>mg<<', u'preparation: >>tablet<<', 
'pk_substance: >>382<<', 'pk_encounter: >>11<<', u'external_code_type_brand: 
NULL', 'row_version: >>2<<', 'seems_inactive: >>False<<', u'notes: >>reduce 
after Apr 10th<<', u'atc_substance: NULL', u'pk_drug_component: NULL', 
u'fake_brand: NULL', u'schedule: >>1-0-0-1<<', 'started: >>2013-03-29 
07:39:01.032874+01:00<<', u'atc_brand: NULL', u'brand: NULL', 'modified_when: 
>>2013-03-29 07:42:50.091852+01:00<<', u'modified_by: >>any-doc<<', 
u'pk_data_source: NULL', u'substance: >>Olanzepine<<', u'episode: >>back 
pain<<', 'pk_episode: >>3<<', 'intake_is_approved_of: >>True<<', 
u'external_code_brand: NULL', u'aim: >>whatever<<', u'soap_cat: >>p<<', 
'amount: >>10<<', u'pk_health_issue: NULL', 'discontinued: >>2013-04-10 
11:11:11.111111+01:00<<', 'xmin_substance_intake: >>295144<<']
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'pk_substance_intake': 4, 'soap_cat': u'p', 
'discontinue_reason': u'', 'health_issue': None, 'pk_patient': 12, 'pk_brand': 
None, 'is_long_term': False, 'is_currently_active': True, 'duration': 
datetime.timedelta(10), 'unit': u'mg', 'aim': u'whatever', 'pk_substance': 382, 
'external_code_type_brand': None, 'amount': Decimal('10'), 'seems_inactive': 
False, 'modified_when': datetime.datetime(2013, 3, 29, 7, 42, 50, 91852, 
tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name=None)), 'atc_substance': 
None, 'pk_drug_component': None, 'fake_brand': None, 'schedule': u'1-0-0-1', 
'started': datetime.datetime(2013, 3, 29, 7, 39, 1, 32874, 
tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name=None)), 'atc_brand': 
None, 'brand': None, 'modified_by': u'any-doc', 'pk_data_source': None, 
'substance': u'Olanzepine', 'episode': u'back pain', 'pk_episode': 3, 
'intake_is_approved_of': True, 'notes': u'reduce after Apr 10th', 
'discontinued': datetime.datetime(2013, 4, 10, 11, 11, 11, 111111, 
tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name='02:00:00.00')), 
'preparation': u'tablet', 'pk_encounter': 11, 'row_version': 2, 
'pk_health_issue': None, 'external_code_brand': None, 'xmin_substance_intake': 
'295144'}
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      field = xmin_substance_intake
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'UPDATE clin.substance_intake SET\n\t\t\t\tclin_when = 
%(started)s,\n\t\t\t\tdiscontinued = 
%(discontinued)s,\n\t\t\t\tdiscontinue_reason = 
gm.nullify_empty_string(%(discontinue_reason)s),\n\t\t\t\tschedule = 
gm.nullify_empty_string(%(schedule)s),\n\t\t\t\taim = 
gm.nullify_empty_string(%(aim)s),\n\t\t\t\tnarrative = 
gm.nullify_empty_string(%(notes)s),\n\t\t\t\tintake_is_approved_of = 
%(intake_is_approved_of)s,\n\t\t\t\tfk_episode = 
%(pk_episode)s,\n\n\t\t\t\tpreparation = (\n\t\t\t\t\tcase\n\t\t\t\t\t\twhen 
%(pk_brand)s is NULL then %(preparation)s\n\t\t\t\t\t\telse 
NULL\n\t\t\t\t\tend\n\t\t\t\t)::text,\n\n\t\t\t\tis_long_term = 
(\n\t\t\t\t\tcase\n\t\t\t\t\t\twhen (\n\t\t\t\t\t\t\t(%(is_long_term)s is 
False)\n\t\t\t\t\t\t\t\tand\n\t\t\t\t\t\t\t(%(duration)s is 
NULL)\n\t\t\t\t\t\t) is True then null\n\t\t\t\t\t\telse 
%(is_long_term)s\n\t\t\t\t\tend\n\t\t\t\t)::boolean,\n\n\t\t\t\tduration = 
(\n\t\t\t\t\tcase\n\t\t\t\t\t\twhen %(is_long_term)s is True then 
null\n\t\t\t\t\t\telse 
%(duration)s\n\t\t\t\t\tend\n\t\t\t\t)::interval\n\t\t\tWHERE\n\t\t\t\tpk = 
%(pk_substance_intake)s\n\t\t\t\t\tAND\n\t\t\t\txmin = 
%(xmin_substance_intake)s\n\t\t\tRETURNING\n\t\t\t\txmin as 
xmin_substance_intake\n\t\t', 'args': {'pk_substance_intake': 4, 'soap_cat': 
u'p', 'discontinue_reason': u'', 'health_issue': None, 'pk_patient': 12, 
'pk_brand': None, 'is_long_term': False, 'is_currently_active': True, 
'duration': datetime.timedelta(10), 'unit': u'mg', 'aim': u'whatever', 
'pk_substance': 382, 'external_code_type_brand': None, 'amount': Decimal('10'), 
'seems_inactive': False, 'modified_when': datetime.datetime(2013, 3, 29, 7, 42, 
50, 91852, tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name=None)), 
'atc_substance': None, 'pk_drug_component': None, 'fake_brand': None, 
'schedule': u'1-0-0-1', 'started': datetime.datetime(2013, 3, 29, 7, 39, 1, 
32874, tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name=None)), 
'atc_brand': None, 'brand': None, 'modified_by': u'any-doc', 'pk_data_source': 
None, 'substance': u'Olanzepine', 'episode': u'back pain', 'pk_episode': 3, 
'intake_is_approved_of': True, 'notes': u'reduce after Apr 10th', 
'discontinued': datetime.datetime(2013, 4, 10, 11, 11, 11, 111111, 
tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name='02:00:00.00')), 
'preparation': u'tablet', 'pk_encounter': 11, 'row_version': 2, 
'pk_health_issue': None, 'external_code_brand': None, 'xmin_substance_intake': 
'295144'}}]
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = UPDATE clin.substance_intake SET
                                clin_when = %(started)s,
                                discontinued = %(discontinued)s,
                                discontinue_reason = 
gm.nullify_empty_string(%(discontinue_reason)s),
                                schedule = 
gm.nullify_empty_string(%(schedule)s),
                                aim = gm.nullify_empty_string(%(aim)s),
                                narrative = gm.nullify_empty_string(%(notes)s),
                                intake_is_approved_of = 
%(intake_is_approved_of)s,
                                fk_episode = %(pk_episode)s,

                                preparation = (
                                        case
                                                when %(pk_brand)s is NULL then 
%(preparation)s
                                                else NULL
                                        end
                                )::text,

                                is_long_term = (
                                        case
                                                when (
                                                        (%(is_long_term)s is 
False)
                                                                and
                                                        (%(duration)s is NULL)
                                                ) is True then null
                                                else %(is_long_term)s
                                        end
                                )::boolean,

                                duration = (
                                        case
                                                when %(is_long_term)s is True 
then null
                                                else %(duration)s
                                        end
                                )::interval
                        WHERE
                                pk = %(pk_substance_intake)s
                                        AND
                                xmin = %(xmin_substance_intake)s
                        RETURNING
                                xmin as xmin_substance_intake
                
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 close_conn = <built-in method close of DictConnection object at 0xae5e92c>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       conn = <connection object at 0xae5e92c; dsn: 'dbname=gnumed_v18 
host=127.0.0.1 port=5432 user=any-doc password=xxxxxxx sslmode=prefer', closed: 
0>
2013-03-29 07:58:16  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 1237 <<<
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     end_tx = False
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 curs_close = <built-in method close of DictCursor object at 0xae6572c>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    verbose = False
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       curs = <cursor object at 0xae6572c; closed: -1>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
tx_rollback = <function __noop at 0xa3141ec>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
 conn_close = <function __noop at 0xa3141ec>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       args = {'pk_substance_intake': 4, 'soap_cat': u'p', 
'discontinue_reason': u'', 'health_issue': None, 'pk_patient': 12, 'pk_brand': 
None, 'is_long_term': False, 'is_currently_active': True, 'duration': 
datetime.timedelta(10), 'unit': u'mg', 'aim': u'whatever', 'pk_substance': 382, 
'external_code_type_brand': None, 'amount': Decimal('10'), 'seems_inactive': 
False, 'modified_when': datetime.datetime(2013, 3, 29, 7, 42, 50, 91852, 
tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name=None)), 'atc_substance': 
None, 'pk_drug_component': None, 'fake_brand': None, 'schedule': u'1-0-0-1', 
'started': datetime.datetime(2013, 3, 29, 7, 39, 1, 32874, 
tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name=None)), 'atc_brand': 
None, 'brand': None, 'modified_by': u'any-doc', 'pk_data_source': None, 
'substance': u'Olanzepine', 'episode': u'back pain', 'pk_episode': 3, 
'intake_is_approved_of': True, 'notes': u'reduce after Apr 10th', 
'discontinued': datetime.datetime(2013, 4, 10, 11, 11, 11, 111111, 
tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name='02:00:00.00')), 
'preparation': u'tablet', 'pk_encounter': 11, 'row_version': 2, 
'pk_health_issue': None, 'external_code_brand': None, 'xmin_substance_intake': 
'295144'}
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
     pg_exc = new row for relation "substance_intake" violates check constraint 
"discontinued_after_started"

2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
   link_obj = <connection object at 0xae5e92c; dsn: 'dbname=gnumed_v18 
host=127.0.0.1 port=5432 user=any-doc password=xxxxxxx sslmode=prefer', closed: 
0>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
    queries = [{'cmd': u'UPDATE clin.substance_intake SET\n\t\t\t\tclin_when = 
%(started)s,\n\t\t\t\tdiscontinued = 
%(discontinued)s,\n\t\t\t\tdiscontinue_reason = 
gm.nullify_empty_string(%(discontinue_reason)s),\n\t\t\t\tschedule = 
gm.nullify_empty_string(%(schedule)s),\n\t\t\t\taim = 
gm.nullify_empty_string(%(aim)s),\n\t\t\t\tnarrative = 
gm.nullify_empty_string(%(notes)s),\n\t\t\t\tintake_is_approved_of = 
%(intake_is_approved_of)s,\n\t\t\t\tfk_episode = 
%(pk_episode)s,\n\n\t\t\t\tpreparation = (\n\t\t\t\t\tcase\n\t\t\t\t\t\twhen 
%(pk_brand)s is NULL then %(preparation)s\n\t\t\t\t\t\telse 
NULL\n\t\t\t\t\tend\n\t\t\t\t)::text,\n\n\t\t\t\tis_long_term = 
(\n\t\t\t\t\tcase\n\t\t\t\t\t\twhen (\n\t\t\t\t\t\t\t(%(is_long_term)s is 
False)\n\t\t\t\t\t\t\t\tand\n\t\t\t\t\t\t\t(%(duration)s is 
NULL)\n\t\t\t\t\t\t) is True then null\n\t\t\t\t\t\telse 
%(is_long_term)s\n\t\t\t\t\tend\n\t\t\t\t)::boolean,\n\n\t\t\t\tduration = 
(\n\t\t\t\t\tcase\n\t\t\t\t\t\twhen %(is_long_term)s is True then 
null\n\t\t\t\t\t\telse 
%(duration)s\n\t\t\t\t\tend\n\t\t\t\t)::interval\n\t\t\tWHERE\n\t\t\t\tpk = 
%(pk_substance_intake)s\n\t\t\t\t\tAND\n\t\t\t\txmin = 
%(xmin_substance_intake)s\n\t\t\tRETURNING\n\t\t\t\txmin as 
xmin_substance_intake\n\t\t', 'args': {'pk_substance_intake': 4, 'soap_cat': 
u'p', 'discontinue_reason': u'', 'health_issue': None, 'pk_patient': 12, 
'pk_brand': None, 'is_long_term': False, 'is_currently_active': True, 
'duration': datetime.timedelta(10), 'unit': u'mg', 'aim': u'whatever', 
'pk_substance': 382, 'external_code_type_brand': None, 'amount': Decimal('10'), 
'seems_inactive': False, 'modified_when': datetime.datetime(2013, 3, 29, 7, 42, 
50, 91852, tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name=None)), 
'atc_substance': None, 'pk_drug_component': None, 'fake_brand': None, 
'schedule': u'1-0-0-1', 'started': datetime.datetime(2013, 3, 29, 7, 39, 1, 
32874, tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name=None)), 
'atc_brand': None, 'brand': None, 'modified_by': u'any-doc', 'pk_data_source': 
None, 'substance': u'Olanzepine', 'episode': u'back pain', 'pk_episode': 3, 
'intake_is_approved_of': True, 'notes': u'reduce after Apr 10th', 
'discontinued': datetime.datetime(2013, 4, 10, 11, 11, 11, 111111, 
tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name='02:00:00.00')), 
'preparation': u'tablet', 'pk_encounter': 11, 'row_version': 2, 
'pk_health_issue': None, 'external_code_brand': None, 'xmin_substance_intake': 
'295144'}}]
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
get_col_idx = True
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = {'cmd': u'UPDATE clin.substance_intake SET\n\t\t\t\tclin_when = 
%(started)s,\n\t\t\t\tdiscontinued = 
%(discontinued)s,\n\t\t\t\tdiscontinue_reason = 
gm.nullify_empty_string(%(discontinue_reason)s),\n\t\t\t\tschedule = 
gm.nullify_empty_string(%(schedule)s),\n\t\t\t\taim = 
gm.nullify_empty_string(%(aim)s),\n\t\t\t\tnarrative = 
gm.nullify_empty_string(%(notes)s),\n\t\t\t\tintake_is_approved_of = 
%(intake_is_approved_of)s,\n\t\t\t\tfk_episode = 
%(pk_episode)s,\n\n\t\t\t\tpreparation = (\n\t\t\t\t\tcase\n\t\t\t\t\t\twhen 
%(pk_brand)s is NULL then %(preparation)s\n\t\t\t\t\t\telse 
NULL\n\t\t\t\t\tend\n\t\t\t\t)::text,\n\n\t\t\t\tis_long_term = 
(\n\t\t\t\t\tcase\n\t\t\t\t\t\twhen (\n\t\t\t\t\t\t\t(%(is_long_term)s is 
False)\n\t\t\t\t\t\t\t\tand\n\t\t\t\t\t\t\t(%(duration)s is 
NULL)\n\t\t\t\t\t\t) is True then null\n\t\t\t\t\t\telse 
%(is_long_term)s\n\t\t\t\t\tend\n\t\t\t\t)::boolean,\n\n\t\t\t\tduration = 
(\n\t\t\t\t\tcase\n\t\t\t\t\t\twhen %(is_long_term)s is True then 
null\n\t\t\t\t\t\telse 
%(duration)s\n\t\t\t\t\tend\n\t\t\t\t)::interval\n\t\t\tWHERE\n\t\t\t\tpk = 
%(pk_substance_intake)s\n\t\t\t\t\tAND\n\t\t\t\txmin = 
%(xmin_substance_intake)s\n\t\t\tRETURNING\n\t\t\t\txmin as 
xmin_substance_intake\n\t\t', 'args': {'pk_substance_intake': 4, 'soap_cat': 
u'p', 'discontinue_reason': u'', 'health_issue': None, 'pk_patient': 12, 
'pk_brand': None, 'is_long_term': False, 'is_currently_active': True, 
'duration': datetime.timedelta(10), 'unit': u'mg', 'aim': u'whatever', 
'pk_substance': 382, 'external_code_type_brand': None, 'amount': Decimal('10'), 
'seems_inactive': False, 'modified_when': datetime.datetime(2013, 3, 29, 7, 42, 
50, 91852, tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name=None)), 
'atc_substance': None, 'pk_drug_component': None, 'fake_brand': None, 
'schedule': u'1-0-0-1', 'started': datetime.datetime(2013, 3, 29, 7, 39, 1, 
32874, tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name=None)), 
'atc_brand': None, 'brand': None, 'modified_by': u'any-doc', 'pk_data_source': 
None, 'substance': u'Olanzepine', 'episode': u'back pain', 'pk_episode': 3, 
'intake_is_approved_of': True, 'notes': u'reduce after Apr 10th', 
'discontinued': datetime.datetime(2013, 4, 10, 11, 11, 11, 111111, 
tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name='02:00:00.00')), 
'preparation': u'tablet', 'pk_encounter': 11, 'row_version': 2, 
'pk_health_issue': None, 'external_code_brand': None, 'xmin_substance_intake': 
'295144'}}
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
return_data = True
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
conn_commit = <function __noop at 0xa3141ec>
2013-03-29 07:58:16  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-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
      query = UPDATE clin.substance_intake SET
                                clin_when = %(started)s,
                                discontinued = %(discontinued)s,
                                discontinue_reason = 
gm.nullify_empty_string(%(discontinue_reason)s),
                                schedule = 
gm.nullify_empty_string(%(schedule)s),
                                aim = gm.nullify_empty_string(%(aim)s),
                                narrative = gm.nullify_empty_string(%(notes)s),
                                intake_is_approved_of = 
%(intake_is_approved_of)s,
                                fk_episode = %(pk_episode)s,

                                preparation = (
                                        case
                                                when %(pk_brand)s is NULL then 
%(preparation)s
                                                else NULL
                                        end
                                )::text,

                                is_long_term = (
                                        case
                                                when (
                                                        (%(is_long_term)s is 
False)
                                                                and
                                                        (%(duration)s is NULL)
                                                ) is True then null
                                                else %(is_long_term)s
                                        end
                                )::boolean,

                                duration = (
                                        case
                                                when %(is_long_term)s is True 
then null
                                                else %(duration)s
                                        end
                                )::interval
                        WHERE
                                pk = %(pk_substance_intake)s
                                        AND
                                xmin = %(xmin_substance_intake)s
                        RETURNING
                                xmin as xmin_substance_intake
                
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       self = <cursor object at 0xae6572c; closed: -1>
2013-03-29 07:58:16  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #170):          
       vars = {'pk_substance_intake': 4, 'soap_cat': u'p', 
'discontinue_reason': u'', 'health_issue': None, 'pk_patient': 12, 'pk_brand': 
None, 'is_long_term': False, 'is_currently_active': True, 'duration': 
datetime.timedelta(10), 'unit': u'mg', 'aim': u'whatever', 'pk_substance': 382, 
'external_code_type_brand': None, 'amount': Decimal('10'), 'seems_inactive': 
False, 'modified_when': datetime.datetime(2013, 3, 29, 7, 42, 50, 91852, 
tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name=None)), 'atc_substance': 
None, 'pk_drug_component': None, 'fake_brand': None, 'schedule': u'1-0-0-1', 
'started': datetime.datetime(2013, 3, 29, 7, 39, 1, 32874, 
tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name=None)), 'atc_brand': 
None, 'brand': None, 'modified_by': u'any-doc', 'pk_data_source': None, 
'substance': u'Olanzepine', 'episode': u'back pain', 'pk_episode': 3, 
'intake_is_approved_of': True, 'notes': u'reduce after Apr 10th', 
'discontinued': datetime.datetime(2013, 4, 10, 11, 11, 11, 111111, 
tzinfo=psycopg2.tz.FixedOffsetTimezone(offset=60, name='02:00:00.00')), 
'preparation': u'tablet', 'pk_encounter': 11, 'row_version': 2, 
'pk_health_issue': None, 'external_code_brand': None, 'xmin_substance_intake': 
'295144'}
2013-03-29 07:59:03  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::mail_log() 
#405): tried to discontinue a drug
2013-03-29 07:59:03  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::mail_log() 
#406): syncing log file for emailing
2013-03-29 07:59:03  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]