gnumed-bugs
[Top][All Lists]
Advanced

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

[Gnumed-bugs] <bug>: merging patients


From: MaAn = maan
Subject: [Gnumed-bugs] <bug>: merging patients
Date: Wed, 01 Mar 2017 17:33:02 +0100

Report sent via GNUmed's handler for unexpected exceptions.

user comment  : merging patients

client version: 1.6.11

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

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

2017-03-01 11:22:06  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #270): -------- 
start of logging ------------------------------
2017-03-01 11:22:06  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #271): log file 
is </home/marc/.gnumed/logs/gnumed/gnumed-2017_03_01-11_22_06-24993.log>
2017-03-01 11:22:06  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #272): log 
level is [DEBUG]
2017-03-01 11:22:06  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #273): log file 
encoding is <utf8>
2017-03-01 11:22:06  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #274): initial 
python.str -> python.unicode encoding is <ANSI_X3.4-1968>
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #318): early startup 
log buffer:
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #320):  <faulthandler> 
enabled, target = [console]: <module 'faulthandler' from 
'/usr/lib/python2.7/dist-packages/faulthandler.x86_64-linux-gnu.so'> (2.0)
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #320):  running against 
systemwide install
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #320):  <faulthandler> 
enabled, target = [<_io.TextIOWrapper 
name='/home/marc/.gnumed/logs/gnumed/gnumed-2017_03_01-11_22_06-24993.log' 
encoding='utf8'>]: <module 'faulthandler' from 
'/usr/lib/python2.7/dist-packages/faulthandler.x86_64-linux-gnu.so'> (2.0)
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #322): GNUmed client 
version [1.6.11] on branch [1.6]
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #323): Platform: 
('Linux', 'Behandlung1', '4.8.0-37-generic', '#39-Ubuntu SMP Thu Jan 26 
02:27:07 UTC 2017', 'x86_64', 'x86_64')
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #324): Python 2.7.12+ 
(default, Sep 17 2016, 12:08:02) <\n>[GCC 6.2.0 20160914] on linux2 (posix)
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #327): lsb_release: 
{'RELEASE': '16.10', 'CODENAME': 'yakkety', 'ID': 'Ubuntu', 'DESCRIPTION': 
'Ubuntu 16.10'}
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #330): os.getcwd(): 
[/home/marc]
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #331): process 
environment:
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
 ${XAUTHORITY}: /tmp/xauth-1000-_0
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):     
${DBUS_SESSION_BUS_ADDRESS}: unix:path=/run/user/1000/bus
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
   ${LESSOPEN}: | /usr/bin/lesspipe %s
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):               
${XDG_SESSION_ID}: 3
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):             
${XDG_SESSION_TYPE}: x11
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
  ${LESSCLOSE}: /usr/bin/lesspipe %s %s
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
    ${LOGNAME}: marc
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
       ${USER}: marc
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
       ${HOME}: /home/marc
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
   ${XDG_VTNR}: 7
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
       ${PATH}: 
~/bin/:/home/marc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/share/gnumed/bin
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):            
${PAM_KWALLET_LOGIN}: /tmp/kwallet_marc.socket
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):          
${KDE_SESSION_VERSION}: 5
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):             
${KDE_FULL_SESSION}: true
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
       ${LANG}: de_DE.UTF-8
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
${PROFILEHOME}: 
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
       ${TERM}: xterm
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
      ${SHELL}: /bin/bash
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):             
${XDG_SESSION_PATH}: /org/freedesktop/DisplayManager/Session2
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):           
${XDG_SESSION_COOKIE}: 
39ef5038293d07337c776401515745b2-1488265923.118815-749287186
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
   ${LANGUAGE}: de:en_US
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):              
${SESSION_MANAGER}: 
local/Behandlung1:@/tmp/.ICE-unix/2386,unix/Behandlung1:/tmp/.ICE-unix/2386
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
      ${SHLVL}: 2
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):  
${QT_LINUX_ACCESSIBILITY_ALWAYS_ON}: 1
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):               
${MANDATORY_PATH}: /usr/share/gconf//usr/share/xsessions/plasma.mandatory.path
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):         
${KONSOLE_PROFILE_NAME}: Standard
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                
${XCURSOR_THEME}: breeze_cursors
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):          
${KONSOLE_DBUS_WINDOW}: /Windows/1
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):             
${QT_ACCESSIBILITY}: 1
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
   ${WINDOWID}: 54525957
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                
${SSH_AGENT_PID}: 2242
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):         
${KONSOLE_DBUS_SESSION}: /Sessions/1
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):            
${XDG_SESSION_CLASS}: user
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                 
${GTK2_MODULES}: overlay-scrollbar
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):          
${XDG_SESSION_DESKTOP}: KDE
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):              
${KDE_SESSION_UID}: 1000
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):              
${XDG_RUNTIME_DIR}: /run/user/1000
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
 ${PYTHONPATH}: /usr/share/gnumed/:/usr/share/gnumed/Gnumed/
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                
${SSH_AUTH_SOCK}: /tmp/ssh-EALs3DFPem4L/agent.2178
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):         
${KONSOLE_DBUS_SERVICE}: :1.217
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):           
${PAM_KWALLET5_LOGIN}: /tmp/kwallet5_marc.socket
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                
${GTK2_RC_FILES}: 
/etc/gtk-2.0/gtkrc:/home/marc/.gtkrc-2.0:/home/marc/.config/gtkrc-2.0
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                
${XDG_SEAT_PATH}: /org/freedesktop/DisplayManager/Seat0
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
  ${COLORFGBG}: 15;0
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):          
${XDG_CURRENT_DESKTOP}: KDE
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
     ${GS_LIB}: /home/marc/.fonts
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):             
${SHELL_SESSION_ID}: 520a61f5f2fc4000ab9b1d3fb6d32a11
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
          ${_}: /usr/bin/python
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                
${DEFAULTS_PATH}: /usr/share/gconf//usr/share/xsessions/plasma.default.path
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):              
${DESKTOP_SESSION}: /usr/share/xsessions/plasma
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):              
${XDG_CONFIG_DIRS}: 
/etc/xdg/xdg-/usr/share/xsessions/plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
${GTK_MODULES}: gail:atk-bridge
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
   ${XDG_SEAT}: seat0
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                
${XDG_DATA_DIRS}: 
/usr/share//usr/share/xsessions/plasma:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
        ${PWD}: /home/marc
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):  
${QT_AUTO_SCREEN_SCALE_FACTOR}: 0
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                 
${GTK_RC_FILES}: /etc/gtk/gtkrc:/home/marc/.gtkrc:/home/marc/.config/gtkrc
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
    ${DISPLAY}: :0
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                  
  ${LS_COLORS}: 
rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #336):                
${KDE_MULTIHEAD}: false
2017-03-01 11:22:06  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #509): adding command 
line arguments
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #510): raw command line 
is:
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #511): 
['/usr/share/gnumed/Gnumed/gnumed.py', '--skip-update-check']
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [--debug] not 
in group [cli] in source [cli]
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [--slave] not 
in group [cli] in source [cli]
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[cli::--skip-update-check] found in source [cli]
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [--hipaa] not 
in group [cli] in source [cli]
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[--local-import] not in group [cli] in source [cli]
2017-03-01 11:22:06  DEBUG     gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_local_repo_path() #238): 
[/home/marc/.gnumed/local_code/1.6/Gnumed/wxGladeWidgets] not found
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_local_repo_path() #239): local 
wxGlade widgets repository not available
2017-03-01 11:22:06  INFO      gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::<module>() #62): mx.DateTime 
version: 3.2.9
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
unmodified startup locale settings (should be [C])
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #134): 
current locale settings:
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #135): 
locale.getlocale(): (None, None)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
locale.getlocale(LC_NUMERIC): (None, None)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
locale.getlocale(LC_MESSAGES): (None, None)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
locale.getlocale(LC_MONETARY): (None, None)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
locale.getlocale(LC_COLLATE): (None, None)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
locale.getlocale(LC_CTYPE): (None, None)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
locale.getlocale(LC_TIME): (None, None)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #140): 
(locale.setlocale(LC_NUMERIC): C)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #140): 
(locale.setlocale(LC_MESSAGES): C)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #140): 
(locale.setlocale(LC_MONETARY): C)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #140): 
(locale.setlocale(LC_COLLATE): C)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #140): 
(locale.setlocale(LC_CTYPE): C)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #140): 
(locale.setlocale(LC_ALL): C)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #140): 
(locale.setlocale(LC_TIME): C)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #143): 
locale.getdefaultlocale() - default (user) locale: ('de_DE', 'UTF-8')
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #147): 
encoding sanity check (also check "locale.nl_langinfo(CODESET)" below):
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #152): 
sys.getdefaultencoding(): [ascii]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #153): 
locale.getpreferredencoding(): [ANSI_X3.4-1968]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #154): 
locale.getlocale()[1]: [None]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #155): 
sys.getfilesystemencoding(): [UTF-8]
2017-03-01 11:22:06  WARNING   gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #162): 
encoding suggested by locale (ANSI_X3.4-1968) does not match encoding currently 
set in locale (None)
2017-03-01 11:22:06  WARNING   gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #163): 
this might lead to encoding errors
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
<codecs> module CAN handle encoding [ANSI_X3.4-1968]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
<codecs> module CAN handle encoding [ascii]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
<codecs> module CAN handle encoding [UTF-8]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #171): on 
Linux you can determine a likely candidate for the encoding by running "locale 
charmap"
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #173): 
locale related environment variables (${LANG} is typically used):
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
${LANGUAGE}=de:en_US
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
${LC_ALL} not set
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
${LC_CTYPE} not set
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
${LANG}=de_DE.UTF-8
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #180): 
database of locale conventions:
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(mon_decimal_point): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(int_frac_digits): 127
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(p_sep_by_space): 127
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(frac_digits): 127
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(thousands_sep): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(n_sign_posn): 127
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(decimal_point): .
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(int_curr_symbol): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(n_cs_precedes): 127
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(p_sign_posn): 127
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(mon_thousands_sep): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(negative_sign): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(currency_symbol): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(n_sep_by_space): 127
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(mon_grouping): []
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(p_cs_precedes): 127
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(positive_sign): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #184): 
locale.localeconv(grouping): []
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #199): 
locale.nl_langinfo(D_FMT): %m/%d/%y
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #199): 
locale.nl_langinfo(D_T_FMT): %a %b %e %H:%M:%S %Y
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #199): 
locale.nl_langinfo(YESEXPR): ^[yY]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #199): 
locale.nl_langinfo(ALT_DIGITS): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #199): 
locale.nl_langinfo(T_FMT_AMPM): %I:%M:%S %p
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #199): 
locale.nl_langinfo(RADIXCHAR): .
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #199): 
locale.nl_langinfo(ERA_D_FMT): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #199): 
locale.nl_langinfo(T_FMT): %H:%M:%S
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #199): 
locale.nl_langinfo(NOEXPR): ^[nN]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #199): 
locale.nl_langinfo(CRNCYSTR): -
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #199): 
locale.nl_langinfo(ERA): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #199): 
locale.nl_langinfo(CODESET): ANSI_X3.4-1968
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #199): 
locale.nl_langinfo(THOUSEP): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #199): 
locale.nl_langinfo(ERA_D_T_FMT): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::get_encoding() #467): *actual* 
encoding of locale is None, using encoding *recommended* by locale
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #208): 
gmI18N.get_encoding(): ANSI_X3.4-1968
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::activate_locale() #252): 
activating user-default locale with <locale.setlocale(locale.LC_ALL, '')> 
returns: [de_DE.UTF-8]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #132): 
locale settings after activating user-default locale
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #134): 
current locale settings:
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #135): 
locale.getlocale(): ('de_DE', 'UTF-8')
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
locale.getlocale(LC_NUMERIC): ('de_DE', 'UTF-8')
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
locale.getlocale(LC_MESSAGES): ('de_DE', 'UTF-8')
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
locale.getlocale(LC_MONETARY): ('de_DE', 'UTF-8')
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
locale.getlocale(LC_COLLATE): ('de_DE', 'UTF-8')
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
locale.getlocale(LC_CTYPE): ('de_DE', 'UTF-8')
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
locale.getlocale(LC_TIME): ('de_DE', 'UTF-8')
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #140): 
(locale.setlocale(LC_NUMERIC): de_DE.UTF-8)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #140): 
(locale.setlocale(LC_MESSAGES): de_DE.UTF-8)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #140): 
(locale.setlocale(LC_MONETARY): de_DE.UTF-8)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #140): 
(locale.setlocale(LC_COLLATE): de_DE.UTF-8)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #140): 
(locale.setlocale(LC_CTYPE): de_DE.UTF-8)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #140): 
(locale.setlocale(LC_ALL): de_DE.UTF-8)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #140): 
(locale.setlocale(LC_TIME): de_DE.UTF-8)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #143): 
locale.getdefaultlocale() - default (user) locale: ('de_DE', 'UTF-8')
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #147): 
encoding sanity check (also check "locale.nl_langinfo(CODESET)" below):
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #152): 
sys.getdefaultencoding(): [ascii]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #153): 
locale.getpreferredencoding(): [UTF-8]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #154): 
locale.getlocale()[1]: [UTF-8]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #155): 
sys.getfilesystemencoding(): [UTF-8]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
<codecs> module CAN handle encoding [UTF-8]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
<codecs> module CAN handle encoding [UTF-8]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
<codecs> module CAN handle encoding [ascii]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
<codecs> module CAN handle encoding [UTF-8]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #171): on 
Linux you can determine a likely candidate for the encoding by running "locale 
charmap"
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #173): 
locale related environment variables (${LANG} is typically used):
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
${LANGUAGE}=de:en_US
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
${LC_ALL} not set
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #178): 
${LC_CTYPE} not set
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #176): 
${LANG}=de_DE.UTF-8
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #180): 
database of locale conventions:
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(mon_decimal_point): ,
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(int_frac_digits): 2
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(p_sep_by_space): 1
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(frac_digits): 2
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(thousands_sep): .
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(n_sign_posn): 1
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(decimal_point): ,
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(int_curr_symbol): EUR 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(n_cs_precedes): 0
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(p_sign_posn): 1
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(mon_thousands_sep): .
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(negative_sign): -
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.localeconv(currency_symbol): €
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(n_sep_by_space): 1
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(mon_grouping): [3, 3, 0]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(p_cs_precedes): 0
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(positive_sign): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #187): 
locale.localeconv(grouping): [3, 3, 0]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #202): 
locale.nl_langinfo(D_FMT): %d.%m.%Y
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #202): 
locale.nl_langinfo(D_T_FMT): %a %d %b %Y %T %Z
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #202): 
locale.nl_langinfo(YESEXPR): ^[+1jJyY]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #202): 
locale.nl_langinfo(ALT_DIGITS): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #202): 
locale.nl_langinfo(T_FMT_AMPM): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #202): 
locale.nl_langinfo(RADIXCHAR): ,
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #202): 
locale.nl_langinfo(ERA_D_FMT): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #202): 
locale.nl_langinfo(T_FMT): %T
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #202): 
locale.nl_langinfo(NOEXPR): ^[-0nN]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #204): 
locale.nl_langinfo(CRNCYSTR): +€
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #202): 
locale.nl_langinfo(ERA): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #202): 
locale.nl_langinfo(CODESET): UTF-8
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #202): 
locale.nl_langinfo(THOUSEP): .
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #202): 
locale.nl_langinfo(ERA_D_T_FMT): 
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #208): 
gmI18N.get_encoding(): UTF-8
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__split_locale_into_levels() 
#104): splitting canonical locale [de_DE] into levels
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__split_locale_into_levels() 
#113): system locale levels: {'country': 'de_DE', 'full': 'de_DE', 'language': 
'de'}
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[--text-domain] not in group [cli] in source [cli]
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[--lang-gettext] not in group [cli] in source [cli]
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[internal::local-import] found in source [internal]
2017-03-01 11:22:06  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #281): domain 
not specified, deriving from script name
2017-03-01 11:22:06  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #284): text 
domain is [gnumed]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #287): searching 
message catalog file for system locale [de_DE]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #289): checking 
process environment:
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #295):  
${LANGUAGE} = [de:en_US]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #295):  
${LC_ALL} = [None]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #295):  
${LC_MESSAGES} = [None]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #295):  ${LANG} 
= [de_DE.UTF-8]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #316): languages 
to try for translation: [None, 'de_DE'] (None: implicit system default)
2017-03-01 11:22:06  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #318): initial 
${LANG} setting: de_DE.UTF-8
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #323): resetting 
${LANG} to initial user default [de_DE.UTF-8]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__install_domain() #370): system 
is POSIX, looking in standard locations (see Python Manual)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__install_domain() #379): looking 
at ${GNUMED_DIR}
2017-03-01 11:22:06  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__install_domain() #385): 
${GNUMED_DIR} not set
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__install_domain() #394): looking 
above binary install directory [/usr/share/gnumed/po]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__install_domain() #398): looking 
in binary install directory [/usr/share/gnumed/Gnumed/po]
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__install_domain() #403): trying 
with (base=/usr/share/locale, $LANG(default)=de_DE.UTF-8, domain=gnumed)
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__install_domain() #404):  -> 
/usr/share/locale/$LANG(default)=de_DE.UTF-8/gnumed.mo
2017-03-01 11:22:06  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__install_domain() #418): found 
msg catalog: [Translate this or i18n into <en_EN> will not work properly !] => 
[Übersetzen oder Bauchplatscher !]
2017-03-01 11:22:06  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::set_string_encoding() #234): 
setting python.str -> python.unicode encoding to <UTF-8> (locale.getlocale)
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [--help] not 
in group [cli] in source [cli]
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [-h] not in 
group [cli] in source [cli]
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [-?] not in 
group [cli] in source [cli]
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [--version] 
not in group [cli] in source [cli]
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [-V] not in 
group [cli] in source [cli]
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #233): wxPython not 
available
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #234): detecting 
paths directly
2017-03-01 11:22:06  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #240): app name 
passed in as [gnumed]
2017-03-01 11:22:06  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #286): initial 
(user level) temp dir: /tmp
2017-03-01 11:22:06  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #291): intermediate 
(app level) temp dir: /tmp/gnumed-marc
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::_set_tmp_dir() #422): previous 
temp dir: /tmp/gnumed-marc
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::_set_tmp_dir() #425): new temp 
dir: /tmp/gnumed-marc/gltz5PE
2017-03-01 11:22:06  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #294): final (app 
instance level) temp dir: /tmp/gnumed-marc/gltz5PE
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #335): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #336): 
sys.executable: /usr/bin/python
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #337): 
sys._MEIPASS: <not found>
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #338): 
os.environ["_MEIPASS2"]: <not found>
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #339): __file__ : 
/usr/share/gnumed/Gnumed/pycommon/gmTools.py
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #340): local 
application base dir: /usr/share/gnumed/Gnumed
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #341): current 
working dir: /home/marc
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #342): user home 
dir: /home/marc
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #343): 
user-specific config dir: /home/marc/.gnumed
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #344): system-wide 
config dir: /etc/gnumed
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #345): system-wide 
application data dir: /usr/share/gnumed
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #346): temporary 
dir: /tmp/gnumed-marc/gltz5PE
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::mklink() #703): creating symlink 
(overwrite = False):
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::mklink() #704): link 
[/tmp/gnumed-marc/gltz5PE/zzz-gnumed.log] =>
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::mklink() #705): => physical 
[/home/marc/.gnumed/logs/gnumed/gnumed-2017_03_01-11_22_06-24993.log]
2017-03-01 11:22:06  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #125): 
mx.DateTime.now(): [2017-03-01 11:22:06,31]
2017-03-01 11:22:06  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #126): datetime.now()  
 : [2017-03-01 11:22:06.307039]
2017-03-01 11:22:06  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #127): 
time.localtime() : [time.struct_time(tm_year=2017, tm_mon=3, tm_mday=1, 
tm_hour=11, tm_min=22, tm_sec=6, tm_wday=2, tm_yday=60, tm_isdst=0)]
2017-03-01 11:22:06  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #128): time.gmtime()   
 : [time.struct_time(tm_year=2017, tm_mon=3, tm_mday=1, tm_hour=10, tm_min=22, 
tm_sec=6, tm_wday=2, tm_yday=60, tm_isdst=0)]
2017-03-01 11:22:06  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #133): $TZ not defined
2017-03-01 11:22:06  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #135): time.daylight: 
[1] (whether or not DST is locally used at all)
2017-03-01 11:22:06  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #136): time.timezone: 
[-3600] seconds
2017-03-01 11:22:06  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #137): time.altzone : 
[-7200] seconds
2017-03-01 11:22:06  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #138): time.tzname  : 
[CET / CEST] (non-DST / DST)
2017-03-01 11:22:06  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #139): 
mx.DateTime.now().gmtoffset(): [01:00:00,00]
2017-03-01 11:22:06  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #152): DST currently 
in effect: [False]
2017-03-01 11:22:06  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #164): DST currently 
not in effect: using UTC offset of [3600] seconds instead of [7200] seconds
2017-03-01 11:22:06  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #167): UTC offset is 
positive, assuming EAST of Greenwich (clock is "ahead")
2017-03-01 11:22:06  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #175): ISO timezone: 
[01:00:00,00] (taken from mx.DateTime.now().gmtoffset())
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [--conf-file] 
not in group [cli] in source [cli]
2017-03-01 11:22:06  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #447): file 
source "workbase": /home/marc/gnumed.conf (UTF-8)
2017-03-01 11:22:06  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #460): cannot 
open [/home/marc/gnumed.conf], keeping as dummy source
2017-03-01 11:22:06  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #447): file 
source "system": /etc/gnumed/gnumed-client.conf (UTF-8)
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::parse_INI_stream() #276): parsing 
INI-style data stream [<_io.TextIOWrapper 
name=u'/etc/gnumed/gnumed-client.conf' encoding='UTF-8'>]
2017-03-01 11:22:06  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #447): file 
source "user": /home/marc/.gnumed/gnumed.conf (UTF-8)
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::parse_INI_stream() #276): parsing 
INI-style data stream [<_io.TextIOWrapper 
name=u'/home/marc/.gnumed/gnumed.conf' encoding='UTF-8'>]
2017-03-01 11:22:06  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #447): file 
source "local": /usr/share/gnumed/Gnumed/gnumed.conf (UTF-8)
2017-03-01 11:22:06  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #460): cannot 
open [/usr/share/gnumed/Gnumed/gnumed.conf], keeping as dummy source
2017-03-01 11:22:06  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #447): file 
source "explicit": None (UTF-8)
2017-03-01 11:22:06  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #452): file 
[None] already known as source [workbase]
2017-03-01 11:22:06  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #453): adding 
it as source [explicit] may provoke trouble
2017-03-01 11:22:06  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #452): file 
[None] already known as source [local]
2017-03-01 11:22:06  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #453): adding 
it as source [explicit] may provoke trouble
2017-03-01 11:22:06  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #447): file 
source "user-mime": /home/marc/.gnumed/mime_type2file_extension.conf (UTF-8)
2017-03-01 11:22:06  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #460): cannot 
open [/home/marc/.gnumed/mime_type2file_extension.conf], keeping as dummy source
2017-03-01 11:22:06  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #447): file 
source "system-mime": /etc/gnumed/mime_type2file_extension.conf (UTF-8)
2017-03-01 11:22:06  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #460): cannot 
open [/etc/gnumed/mime_type2file_extension.conf], keeping as dummy source
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [--ui] not in 
group [cli] in source [cli]
2017-03-01 11:22:06  DEBUG     gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_ui_type() #607): UI type: wxp
2017-03-01 11:22:06  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #52): psycopg2 version: 
2.6.2 (dt dec mx pq3 ext lo64)
2017-03-01 11:22:06  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #53): 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"
2017-03-01 11:22:06  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #80): assuming default 
client encoding of [UTF8]
2017-03-01 11:22:06  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_backend() #612): client expects 
database version [21]
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [client 
timezone] not in group [backend] in source [explicit]
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [client 
timezone] not in group [backend] in source [workbase]
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [client 
timezone] not in group [backend] in source [local]
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [client 
timezone] not in group [backend] in source [user]
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [client 
timezone] not in group [backend] in source [system]
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #70): known hooks:
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
post_patient_activation
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
post_person_creation
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
shutdown-post-GUI
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
startup-after-GUI-init
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
startup-before-GUI
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
request_user_attention
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
app_activated_startup
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): app_activated
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): app_deactivated
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
after_substance_intake_modified
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
after_test_result_modified
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
after_soap_modified
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
after_code_link_modified
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
after_new_doc_created
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): before_print_doc
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): before_fax_doc
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): before_mail_doc
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
before_print_doc_part
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
before_fax_doc_part
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
before_mail_doc_part
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
before_external_doc_access
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #72): 
db_maintenance_warning
2017-03-01 11:22:06  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #150): told to 
pull hook [startup-before-GUI]
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #119): hook 
script stat(): posix.stat_result(st_mode=33152, st_ino=6686818, st_dev=2057, 
st_nlink=1, st_uid=1000, st_gid=1000, st_size=562, st_atime=1366091972, 
st_mtime=1366091972, st_ctime=1366091972)
2017-03-01 11:22:06  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #121): hook 
script mode: 384 (oktal: 0600)
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#725): CWD: /home/marc
2017-03-01 11:22:06  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#729): appending to sys.path: [/home/marc/.gnumed/scripts]
2017-03-01 11:22:06  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#733): will remove import path: True
2017-03-01 11:22:06  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#746): imported module [hook_script] as [<module 'hook_script' from 
'/home/marc/.gnumed/scripts/hook_script.pyc'>]
2017-03-01 11:22:06  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #142): hook 
script: /home/marc/.gnumed/scripts/hook_script.py
2017-03-01 11:22:06  DEBUG     gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::<module>() #46): wxPython 
versions available on this machine: ['3.0-gtk2']
2017-03-01 11:22:06  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [--wxp] not 
in group [cli] in source [cli]
2017-03-01 11:22:06  DEBUG     gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::<module>() #52): no wxPython 
version requested explicitely, trying wxp3, then wxp2
2017-03-01 11:22:06  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::<module>() #76): wxPython 
version loaded: 3.0.2.0 ('__WXGTK__', 'wxGTK', 'unicode', 'gtk2', 
'wx-assertions-on', 'SWIG-1.3.29')
2017-03-01 11:22:06  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.episode_code_mod_db]
2017-03-01 11:22:06  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.rfe_code_mod_db]
2017-03-01 11:22:06  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.aoe_code_mod_db]
2017-03-01 11:22:06  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.health_issue_code_mod_db]
2017-03-01 11:22:06  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.narrative_code_mod_db]
2017-03-01 11:22:06  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.procedure_code_mod_db]
2017-03-01 11:22:06  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.test_result_mod_db]
2017-03-01 11:22:06  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.clin_narrative_mod_db]
2017-03-01 11:22:06  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.substance_intake_mod_db]
2017-03-01 11:22:06  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmCfgWidgets.py::<module>() #30): $Revision: 
1.4 $
2017-03-01 11:22:06  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::<module>() #27): $Revision: 
1.47 $
2017-03-01 11:22:06  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmSOAPWidgets.py::<module>() #22): 
$Revision: 1.114 $
2017-03-01 11:22:07  DEBUG     cNull 
(/usr/share/gnumed/Gnumed/pycommon/gmNull.py::__init__() #67): args: ()
2017-03-01 11:22:07  DEBUG     cNull 
(/usr/share/gnumed/Gnumed/pycommon/gmNull.py::__init__() #68): kwargs: {}
2017-03-01 11:22:07  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::<module>() #180): redirecting 
wx.Log to [<Gnumed.wxpython.gmGuiMain.cLog_wx2gm; proxy of <Swig Object of type 
'wxPyLog *' at 0x55907cde9d00> >]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [--profile] 
not in group [cli] in source [cli]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[internal::debug] found in source [internal]
2017-03-01 11:22:07  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::set_chart_puller() #1863): 
setting chart puller to <<function pull_chart at 0x7f15c9fe48c0>>
2017-03-01 11:22:07  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::set_yielder() #1872): setting 
yielder to <<function Yield at 0x7f15d49ffb90>>
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[internal::debug] found in source [internal]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [help desk] 
not in group [workplace] in source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [help desk] 
not in group [workplace] in source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [help desk] 
not in group [workplace] in source [local]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [help desk] 
not in group [workplace] in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[workplace::help desk] found in source [system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[internal::client_version] found in source [internal]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[internal::client_version] found in source [internal]
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #234): detecting 
paths directly
2017-03-01 11:22:07  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #240): app name 
passed in as [gnumed]
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #284): temp dir 
already set
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #335): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #336): 
sys.executable: /usr/bin/python
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #337): 
sys._MEIPASS: <not found>
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #338): 
os.environ["_MEIPASS2"]: <not found>
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #339): __file__ : 
/usr/share/gnumed/Gnumed/pycommon/gmTools.py
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #340): local 
application base dir: /usr/share/gnumed/Gnumed
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #341): current 
working dir: /home/marc
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #342): user home 
dir: /home/marc
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #343): 
user-specific config dir: /home/marc/.gnumed
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #344): system-wide 
config dir: /etc/gnumed
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #345): system-wide 
application data dir: /usr/share/gnumed
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #346): temporary 
dir: /tmp/gnumed-marc/gltz5PE
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #301): re-detecting 
paths with wxPython
2017-03-01 11:22:07  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #304): wxPython app 
name is [gnumed]
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #335): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #336): 
sys.executable: /usr/bin/python
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #337): 
sys._MEIPASS: <not found>
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #338): 
os.environ["_MEIPASS2"]: <not found>
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #339): __file__ : 
/usr/share/gnumed/Gnumed/pycommon/gmTools.py
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #340): local 
application base dir: /usr/share/gnumed/Gnumed
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #341): current 
working dir: /home/marc
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #342): user home 
dir: /home/marc
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #343): 
user-specific config dir: /home/marc/.gnumed
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #344): system-wide 
config dir: /etc/gnumed
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #345): system-wide 
application data dir: /usr/share/gnumed
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #346): temporary 
dir: /tmp/gnumed-marc/gltz5PE
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [--conf-file] 
not in group [cli] in source [cli]
2017-03-01 11:22:07  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::__setup_prefs_file() #3763): 
user preferences file: /home/marc/.gnumed/gnumed.conf
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [user email] 
not in group [preferences] in source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [user email] 
not in group [preferences] in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [user email] 
not in group [preferences] in source [local]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [user email] 
not in group [preferences] in source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [user email] 
not in group [preferences] in source [system]
2017-03-01 11:22:07  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::__setup_platform() #3838): 
running on GTK (probably Linux)
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[--override-schema-check] not in group [cli] in source [cli]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[internal::client_branch] found in source [internal]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[internal::client_version] found in source [internal]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [name] not in 
group [workplace] in source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [name] not in 
group [workplace] in source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [name] not in 
group [workplace] in source [local]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [name] not in 
group [workplace] in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[workplace::name] found in source [system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profiles] 
not in group [backend] in source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[backend::profiles] found in source [system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profiles] 
not in group [backend] in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profiles] 
not in group [backend] in source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [host] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [host] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [host] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option [profile 
GNUmed database on this machine ("local": Linux/Mac)::host] found in source 
[system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [port] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [port] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [port] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option [profile 
GNUmed database on this machine ("local": Linux/Mac)::port] found in source 
[system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [database] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [database] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [database] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option [profile 
GNUmed database on this machine ("local": Linux/Mac)::database] found in source 
[system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [encoding] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [encoding] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [encoding] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [encoding] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [public/open 
access] not in group [profile GNUmed database on this machine ("local": 
Linux/Mac)] in source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [public/open 
access] not in group [profile GNUmed database on this machine ("local": 
Linux/Mac)] in source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [public/open 
access] not in group [profile GNUmed database on this machine ("local": 
Linux/Mac)] in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option [profile 
GNUmed database on this machine ("local": Linux/Mac)::public/open access] found 
in source [system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [help desk] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [help desk] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [help desk] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option [profile 
GNUmed database on this machine ("local": Linux/Mac)::help desk] found in 
source [system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [host] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [host] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [host] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option [profile 
GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)::host] found in 
source [system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [port] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [port] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [port] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option [profile 
GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)::port] found in 
source [system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [database] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [database] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [database] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option [profile 
GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)::database] found 
in source [system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [encoding] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [encoding] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [encoding] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [encoding] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [public/open 
access] not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [public/open 
access] not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [public/open 
access] not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option [profile 
GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)::public/open 
access] found in source [system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [help desk] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [help desk] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [help desk] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option [profile 
GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)::help desk] found 
in source [system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [host] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [host] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [host] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::host] found in source [system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [port] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [port] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [port] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::port] found in source [system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [database] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [database] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [database] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::database] found in source 
[system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [public/open 
access] not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] 
in source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [public/open 
access] not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] 
in source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [public/open 
access] not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] 
in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::public/open access] found in 
source [system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [help desk] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [help desk] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [help desk] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::help desk] found in source 
[system]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[internal::debug] found in source [internal]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [logins] not 
in group [backend] in source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [logins] not 
in group [backend] in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [logins] not 
in group [backend] in source [workbase]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [login] not 
in group [preferences] in source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[preferences::login] found in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile] not 
in group [preferences] in source [explicit]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[preferences::profile] found in source [user]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[internal::debug] found in source [internal]
2017-03-01 11:22:07  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #393): option 
[internal::slave] found in source [internal]
2017-03-01 11:22:07  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::get_icon() #1434): icon found in 
[/usr/share/gnumed/bitmaps/gm_icon-serpent_and_gnu.png]
2017-03-01 11:22:07  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::connect_to_database() 
#128): login attempt 1 of 3
2017-03-01 11:22:14  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::__on_login_button_pressed()
 #805): debug mode disabled
2017-03-01 11:22:14  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [--quiet] not 
in group [cli] in source [cli]
2017-03-01 11:22:15  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::sanity_check_database_settings() 
#2227): PG option [log_connections] set to [off], expected [on], risk: 
<non-compliance with HIPAA>
2017-03-01 11:22:15  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::sanity_check_database_settings() 
#2227): PG option [log_disconnections] set to [off], expected [on], risk: 
<non-compliance with HIPAA>
2017-03-01 11:22:16  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_stream_source() #440): 
overriding source <user> with [<_io.TextIOWrapper 
name=u'/home/marc/.gnumed/gnumed.conf' encoding='utf8'>]
2017-03-01 11:22:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [dem.names_mod_db]
2017-03-01 11:22:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [dem.identity_mod_db]
2017-03-01 11:22:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.episode_mod_db]
2017-03-01 11:22:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [dem.message_inbox_mod_db]
2017-03-01 11:22:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.reviewed_test_results_mod_db]
2017-03-01 11:22:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [dem.identity_mod_db]
2017-03-01 11:22:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_med_mod_db]
2017-03-01 11:22:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.reviewed_doc_objs_mod_db]
2017-03-01 11:22:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.waiting_list_mod_db]
2017-03-01 11:22:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.reviewed_test_results_mod_db]
2017-03-01 11:22:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [narrative_mod_db]
2017-03-01 11:22:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.episode_mod_db]
2017-03-01 11:22:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.health_issue_mod_db]
2017-03-01 11:22:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.family_history_mod_db]
2017-03-01 11:22:16  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_med_mod_db]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.rfe_code_mod_db]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.aoe_code_mod_db]
2017-03-01 11:22:17  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_med_mod_db]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.rfe_code_mod_db]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.aoe_code_mod_db]
2017-03-01 11:22:17  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.episode_mod_db]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.health_issue_mod_db]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.episode_code_mod_db]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.substance_intake_mod_db]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.test_result_mod_db]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [current_patient_unset]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_med_mod_db]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [current_patient_unset]
2017-03-01 11:22:17  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:22:17  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:22:17  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:22:17  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:22:17  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.episode_mod_db]
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [clin.health_issue_mod_db]
2017-03-01 11:22:17  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:22:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [bill.bill_item_mod_db]
2017-03-01 11:28:11  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:28:11  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:28:11  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:28:11  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:28:12  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:28:12  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:28:12  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:28:12  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:28:12  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:28:12  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:28:20  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#48): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 45, in 
_twain_import_module
    import twain
ImportError: No module named twain
2017-03-01 11:28:20  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#48): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 45, in 
_twain_import_module
    import twain
ImportError: No module named twain
2017-03-01 11:32:35  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:32:35  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:32:35  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:32:35  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:32:44  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:32:44  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:32:44  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:32:44  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:32:50  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#48): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 45, in 
_twain_import_module
    import twain
ImportError: No module named twain
2017-03-01 11:32:50  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#48): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 45, in 
_twain_import_module
    import twain
ImportError: No module named twain
2017-03-01 11:33:28  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#48): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 45, in 
_twain_import_module
    import twain
ImportError: No module named twain
2017-03-01 11:33:28  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#48): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 45, in 
_twain_import_module
    import twain
ImportError: No module named twain
2017-03-01 11:37:26  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:37:26  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:37:26  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:37:26  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:37:26  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:37:26  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:37:26  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:37:26  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:37:27  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:37:27  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:37:27  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 11:37:27  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 11:58:04  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #58): print job 
type "invoice" not registered
2017-03-01 11:58:04  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #61): print API 
"None" unknown, trying all
2017-03-01 12:12:34  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 12:12:34  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 12:12:34  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 12:12:34  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 12:12:35  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1745): query 
failed in RW connection
2017-03-01 12:12:35  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1746): Link 
state:
Cursor
  identity: 139731052568912; name: None
  closed: False; scrollable: None; with hold: False; arraysize: 1; itersize: 
2000;
  last rowcount: -1; rownumber: 0; lastrowid (OID): 0;
  last description: None
  statusmessage: 
Connection
  identity: 139731052326992; backend pid: 8046; protocol version: 3;
  closed: 0; autocommit: False; isolation level: tx aborted or unknown, cannot 
retrieve; encoding: UTF8; async: 0;
  TX status: 3; CX status: 2; executing async op: False;
Query
  SELECT clin.remove_old_empty_encounters(5915::INTEGER, '1 week'::INTERVAL)

2017-03-01 12:12:35  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1751): PG error 
code: P0001
2017-03-01 12:12:35  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1753): PG error 
message: ERROR:  clin.remove_old_empty_encounters(person=5915, min_age=7 days): 
there are less than 2 encounters for this patient
2017-03-01 12:12:35  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::remove_empty_encounters()
 #2644): error deleting empty encounters
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 2642, in 
remove_empty_encounters
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}])
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1737, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 120, in 
execute
    return super(DictCursor, self).execute(query, vars)
InternalError: clin.remove_old_empty_encounters(person=5915, min_age=7 days): 
there are less than 2 encounters for this patient

2017-03-01 12:12:35  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 12:12:35  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 12:12:35  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 12:12:35  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 12:12:37  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1745): query 
failed in RW connection
2017-03-01 12:12:37  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1746): Link 
state:
Cursor
  identity: 139731052568912; name: None
  closed: False; scrollable: None; with hold: False; arraysize: 1; itersize: 
2000;
  last rowcount: -1; rownumber: 0; lastrowid (OID): 0;
  last description: None
  statusmessage: 
Connection
  identity: 139731052118096; backend pid: 8174; protocol version: 3;
  closed: 0; autocommit: False; isolation level: tx aborted or unknown, cannot 
retrieve; encoding: UTF8; async: 0;
  TX status: 3; CX status: 2; executing async op: False;
Query
  SELECT clin.remove_old_empty_encounters(5915::INTEGER, '1 week'::INTERVAL)

2017-03-01 12:12:37  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1751): PG error 
code: P0001
2017-03-01 12:12:37  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1753): PG error 
message: ERROR:  clin.remove_old_empty_encounters(person=5915, min_age=7 days): 
there are less than 2 encounters for this patient
2017-03-01 12:12:37  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::remove_empty_encounters()
 #2644): error deleting empty encounters
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 2642, in 
remove_empty_encounters
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}])
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1737, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 120, in 
execute
    return super(DictCursor, self).execute(query, vars)
InternalError: clin.remove_old_empty_encounters(person=5915, min_age=7 days): 
there are less than 2 encounters for this patient

2017-03-01 12:13:03  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 12:13:03  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 12:13:11  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 12:13:11  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 12:24:52  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#48): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 45, in 
_twain_import_module
    import twain
ImportError: No module named twain
2017-03-01 12:24:52  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#48): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 45, in 
_twain_import_module
    import twain
ImportError: No module named twain
2017-03-01 12:39:46  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #58): print job 
type "invoice" not registered
2017-03-01 12:39:46  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #61): print API 
"None" unknown, trying all
2017-03-01 12:59:16  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 12:59:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 12:59:16  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 12:59:16  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 12:59:17  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 12:59:17  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 12:59:17  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 12:59:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 12:59:17  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 12:59:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 12:59:17  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 12:59:17  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 13:13:48  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #58): print job 
type "invoice" not registered
2017-03-01 13:13:48  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #61): print API 
"None" unknown, trying all
2017-03-01 13:15:09  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 13:15:09  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 13:15:09  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 13:15:09  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 13:15:09  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1745): query 
failed in RW connection
2017-03-01 13:15:09  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1746): Link 
state:
Cursor
  identity: 139731052568912; name: None
  closed: False; scrollable: None; with hold: False; arraysize: 1; itersize: 
2000;
  last rowcount: -1; rownumber: 0; lastrowid (OID): 0;
  last description: None
  statusmessage: 
Connection
  identity: 139731052163152; backend pid: 536; protocol version: 3;
  closed: 0; autocommit: False; isolation level: tx aborted or unknown, cannot 
retrieve; encoding: UTF8; async: 0;
  TX status: 3; CX status: 2; executing async op: False;
Query
  SELECT clin.remove_old_empty_encounters(5916::INTEGER, '1 week'::INTERVAL)

2017-03-01 13:15:09  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1751): PG error 
code: P0001
2017-03-01 13:15:09  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1753): PG error 
message: ERROR:  clin.remove_old_empty_encounters(person=5916, min_age=7 days): 
there are less than 2 encounters for this patient
2017-03-01 13:15:09  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::remove_empty_encounters()
 #2644): error deleting empty encounters
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 2642, in 
remove_empty_encounters
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}])
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1737, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 120, in 
execute
    return super(DictCursor, self).execute(query, vars)
InternalError: clin.remove_old_empty_encounters(person=5916, min_age=7 days): 
there are less than 2 encounters for this patient

2017-03-01 13:15:09  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 13:15:09  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 13:15:09  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 13:15:09  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 13:15:12  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1745): query 
failed in RW connection
2017-03-01 13:15:12  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1746): Link 
state:
Cursor
  identity: 139731052568912; name: None
  closed: False; scrollable: None; with hold: False; arraysize: 1; itersize: 
2000;
  last rowcount: -1; rownumber: 0; lastrowid (OID): 0;
  last description: None
  statusmessage: 
Connection
  identity: 139731052163152; backend pid: 555; protocol version: 3;
  closed: 0; autocommit: False; isolation level: tx aborted or unknown, cannot 
retrieve; encoding: UTF8; async: 0;
  TX status: 3; CX status: 2; executing async op: False;
Query
  SELECT clin.remove_old_empty_encounters(5916::INTEGER, '1 week'::INTERVAL)

2017-03-01 13:15:12  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1751): PG error 
code: P0001
2017-03-01 13:15:12  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1753): PG error 
message: ERROR:  clin.remove_old_empty_encounters(person=5916, min_age=7 days): 
there are less than 2 encounters for this patient
2017-03-01 13:15:12  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::remove_empty_encounters()
 #2644): error deleting empty encounters
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 2642, in 
remove_empty_encounters
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}])
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1737, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 120, in 
execute
    return super(DictCursor, self).execute(query, vars)
InternalError: clin.remove_old_empty_encounters(person=5916, min_age=7 days): 
there are less than 2 encounters for this patient

2017-03-01 13:15:27  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 13:15:27  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 13:15:43  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 13:15:43  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 13:48:41  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#48): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 45, in 
_twain_import_module
    import twain
ImportError: No module named twain
2017-03-01 13:48:41  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#48): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 45, in 
_twain_import_module
    import twain
ImportError: No module named twain
2017-03-01 13:52:51  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #58): print job 
type "invoice" not registered
2017-03-01 13:52:51  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #61): print API 
"None" unknown, trying all
2017-03-01 13:56:01  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 13:56:01  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 13:56:01  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 13:56:01  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 13:56:02  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1745): query 
failed in RW connection
2017-03-01 13:56:02  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1746): Link 
state:
Cursor
  identity: 139731052568912; name: None
  closed: False; scrollable: None; with hold: False; arraysize: 1; itersize: 
2000;
  last rowcount: -1; rownumber: 0; lastrowid (OID): 0;
  last description: None
  statusmessage: 
Connection
  identity: 139731052204112; backend pid: 27399; protocol version: 3;
  closed: 0; autocommit: False; isolation level: tx aborted or unknown, cannot 
retrieve; encoding: UTF8; async: 0;
  TX status: 3; CX status: 2; executing async op: False;
Query
  SELECT clin.remove_old_empty_encounters(5917::INTEGER, '1 week'::INTERVAL)

2017-03-01 13:56:02  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1751): PG error 
code: P0001
2017-03-01 13:56:02  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1753): PG error 
message: ERROR:  clin.remove_old_empty_encounters(person=5917, min_age=7 days): 
there are less than 2 encounters for this patient
2017-03-01 13:56:02  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::remove_empty_encounters()
 #2644): error deleting empty encounters
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 2642, in 
remove_empty_encounters
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}])
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1737, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 120, in 
execute
    return super(DictCursor, self).execute(query, vars)
InternalError: clin.remove_old_empty_encounters(person=5917, min_age=7 days): 
there are less than 2 encounters for this patient

2017-03-01 13:56:02  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 13:56:02  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 13:56:02  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 13:56:02  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 13:56:04  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1745): query 
failed in RW connection
2017-03-01 13:56:04  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1746): Link 
state:
Cursor
  identity: 139731052568912; name: None
  closed: False; scrollable: None; with hold: False; arraysize: 1; itersize: 
2000;
  last rowcount: -1; rownumber: 0; lastrowid (OID): 0;
  last description: None
  statusmessage: 
Connection
  identity: 139731052204112; backend pid: 27466; protocol version: 3;
  closed: 0; autocommit: False; isolation level: tx aborted or unknown, cannot 
retrieve; encoding: UTF8; async: 0;
  TX status: 3; CX status: 2; executing async op: False;
Query
  SELECT clin.remove_old_empty_encounters(5917::INTEGER, '1 week'::INTERVAL)

2017-03-01 13:56:04  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1751): PG error 
code: P0001
2017-03-01 13:56:04  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1753): PG error 
message: ERROR:  clin.remove_old_empty_encounters(person=5917, min_age=7 days): 
there are less than 2 encounters for this patient
2017-03-01 13:56:04  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::remove_empty_encounters()
 #2644): error deleting empty encounters
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 2642, in 
remove_empty_encounters
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}])
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1737, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 120, in 
execute
    return super(DictCursor, self).execute(query, vars)
InternalError: clin.remove_old_empty_encounters(person=5917, min_age=7 days): 
there are less than 2 encounters for this patient

2017-03-01 13:56:15  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 13:56:15  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 13:56:30  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 13:56:30  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 14:19:17  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #58): print job 
type "invoice" not registered
2017-03-01 14:19:17  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #61): print API 
"None" unknown, trying all
2017-03-01 14:38:22  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 14:38:22  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 14:38:22  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 14:38:22  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 14:38:22  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 14:38:22  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 14:38:22  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 14:38:22  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 14:38:23  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 14:38:23  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 14:38:30  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 14:38:30  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 14:38:31  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 14:38:31  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 15:00:15  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #58): print job 
type "invoice" not registered
2017-03-01 15:00:15  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #61): print API 
"None" unknown, trying all
2017-03-01 15:00:57  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 15:00:57  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 15:00:57  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 15:00:57  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 15:00:57  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1745): query 
failed in RW connection
2017-03-01 15:00:57  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1746): Link 
state:
Cursor
  identity: 139731052569680; name: None
  closed: False; scrollable: None; with hold: False; arraysize: 1; itersize: 
2000;
  last rowcount: -1; rownumber: 0; lastrowid (OID): 0;
  last description: None
  statusmessage: 
Connection
  identity: 139731055419472; backend pid: 24059; protocol version: 3;
  closed: 0; autocommit: False; isolation level: tx aborted or unknown, cannot 
retrieve; encoding: UTF8; async: 0;
  TX status: 3; CX status: 2; executing async op: False;
Query
  SELECT clin.remove_old_empty_encounters(5918::INTEGER, '1 week'::INTERVAL)

2017-03-01 15:00:57  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1751): PG error 
code: P0001
2017-03-01 15:00:57  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1753): PG error 
message: ERROR:  clin.remove_old_empty_encounters(person=5918, min_age=7 days): 
there are less than 2 encounters for this patient
2017-03-01 15:00:57  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::remove_empty_encounters()
 #2644): error deleting empty encounters
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 2642, in 
remove_empty_encounters
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}])
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1737, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 120, in 
execute
    return super(DictCursor, self).execute(query, vars)
InternalError: clin.remove_old_empty_encounters(person=5918, min_age=7 days): 
there are less than 2 encounters for this patient

2017-03-01 15:00:57  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 15:00:57  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 15:00:57  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 15:00:57  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 15:00:59  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1745): query 
failed in RW connection
2017-03-01 15:00:59  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1746): Link 
state:
Cursor
  identity: 139731052569680; name: None
  closed: False; scrollable: None; with hold: False; arraysize: 1; itersize: 
2000;
  last rowcount: -1; rownumber: 0; lastrowid (OID): 0;
  last description: None
  statusmessage: 
Connection
  identity: 139731055616080; backend pid: 24126; protocol version: 3;
  closed: 0; autocommit: False; isolation level: tx aborted or unknown, cannot 
retrieve; encoding: UTF8; async: 0;
  TX status: 3; CX status: 2; executing async op: False;
Query
  SELECT clin.remove_old_empty_encounters(5918::INTEGER, '1 week'::INTERVAL)

2017-03-01 15:00:59  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1751): PG error 
code: P0001
2017-03-01 15:00:59  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1753): PG error 
message: ERROR:  clin.remove_old_empty_encounters(person=5918, min_age=7 days): 
there are less than 2 encounters for this patient
2017-03-01 15:00:59  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::remove_empty_encounters()
 #2644): error deleting empty encounters
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 2642, in 
remove_empty_encounters
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}])
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1737, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 120, in 
execute
    return super(DictCursor, self).execute(query, vars)
InternalError: clin.remove_old_empty_encounters(person=5918, min_age=7 days): 
there are less than 2 encounters for this patient

2017-03-01 15:02:42  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 15:02:42  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 15:02:52  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 15:02:52  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 15:18:38  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#48): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 45, in 
_twain_import_module
    import twain
ImportError: No module named twain
2017-03-01 15:18:38  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#48): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 45, in 
_twain_import_module
    import twain
ImportError: No module named twain
2017-03-01 15:36:19  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #58): print job 
type "invoice" not registered
2017-03-01 15:36:19  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #61): print API 
"None" unknown, trying all
2017-03-01 16:00:04  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:00:04  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:00:04  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:00:04  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:00:04  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:00:04  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:00:04  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:00:04  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:00:04  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:00:05  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:10:07  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #58): print job 
type "invoice" not registered
2017-03-01 16:10:07  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #61): print API 
"None" unknown, trying all
2017-03-01 16:11:48  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:11:48  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:11:48  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:11:48  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:11:48  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:11:48  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:11:48  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:11:48  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:11:49  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:11:49  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:11:49  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:11:49  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:21:49  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #58): print job 
type "invoice" not registered
2017-03-01 16:21:49  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #61): print API 
"None" unknown, trying all
2017-03-01 16:22:53  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:22:53  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:22:53  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:22:53  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:22:53  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:22:53  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:22:53  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:22:53  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:22:53  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:22:53  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:23:06  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:23:17  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:23:25  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:23:31  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:23:34  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:23:46  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:23:50  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #61): print API 
"None" unknown, trying all
2017-03-01 16:24:09  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:24:09  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:24:09  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:24:09  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:24:09  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1745): query 
failed in RW connection
2017-03-01 16:24:09  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1746): Link 
state:
Cursor
  identity: 139731052569680; name: None
  closed: False; scrollable: None; with hold: False; arraysize: 1; itersize: 
2000;
  last rowcount: -1; rownumber: 0; lastrowid (OID): 0;
  last description: None
  statusmessage: 
Connection
  identity: 139731055202384; backend pid: 14848; protocol version: 3;
  closed: 0; autocommit: False; isolation level: tx aborted or unknown, cannot 
retrieve; encoding: UTF8; async: 0;
  TX status: 3; CX status: 2; executing async op: False;
Query
  SELECT clin.remove_old_empty_encounters(5920::INTEGER, '1 week'::INTERVAL)

2017-03-01 16:24:09  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1751): PG error 
code: P0001
2017-03-01 16:24:09  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1753): PG error 
message: ERROR:  clin.remove_old_empty_encounters(person=5920, min_age=7 days): 
there are less than 2 encounters for this patient
2017-03-01 16:24:09  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::remove_empty_encounters()
 #2644): error deleting empty encounters
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 2642, in 
remove_empty_encounters
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}])
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1737, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 120, in 
execute
    return super(DictCursor, self).execute(query, vars)
InternalError: clin.remove_old_empty_encounters(person=5920, min_age=7 days): 
there are less than 2 encounters for this patient

2017-03-01 16:24:09  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:24:09  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:24:09  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:24:09  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:24:11  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1745): query 
failed in RW connection
2017-03-01 16:24:11  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1746): Link 
state:
Cursor
  identity: 139731052569680; name: None
  closed: False; scrollable: None; with hold: False; arraysize: 1; itersize: 
2000;
  last rowcount: -1; rownumber: 0; lastrowid (OID): 0;
  last description: None
  statusmessage: 
Connection
  identity: 139731055362128; backend pid: 14884; protocol version: 3;
  closed: 0; autocommit: False; isolation level: tx aborted or unknown, cannot 
retrieve; encoding: UTF8; async: 0;
  TX status: 3; CX status: 2; executing async op: False;
Query
  SELECT clin.remove_old_empty_encounters(5920::INTEGER, '1 week'::INTERVAL)

2017-03-01 16:24:11  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1751): PG error 
code: P0001
2017-03-01 16:24:11  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1753): PG error 
message: ERROR:  clin.remove_old_empty_encounters(person=5920, min_age=7 days): 
there are less than 2 encounters for this patient
2017-03-01 16:24:11  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::remove_empty_encounters()
 #2644): error deleting empty encounters
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 2642, in 
remove_empty_encounters
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}])
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1737, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 120, in 
execute
    return super(DictCursor, self).execute(query, vars)
InternalError: clin.remove_old_empty_encounters(person=5920, min_age=7 days): 
there are less than 2 encounters for this patient

2017-03-01 16:26:19  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:26:19  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:26:30  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 16:26:30  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 16:28:23  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#48): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 45, in 
_twain_import_module
    import twain
ImportError: No module named twain
2017-03-01 16:28:23  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#48): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 45, in 
_twain_import_module
    import twain
ImportError: No module named twain
2017-03-01 17:00:14  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #58): print job 
type "invoice" not registered
2017-03-01 17:00:14  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #61): print API 
"None" unknown, trying all
2017-03-01 17:01:43  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:01:43  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 17:01:43  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:01:43  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 17:01:43  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:01:43  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:01:43  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:01:43  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 17:01:43  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:01:44  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 17:16:52  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #58): print job 
type "invoice" not registered
2017-03-01 17:16:52  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #61): print API 
"None" unknown, trying all
2017-03-01 17:17:00  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:17:00  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 17:17:00  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:17:00  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 17:17:00  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:17:00  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:17:00  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:17:00  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 17:17:01  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:17:01  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 17:17:04  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:17:04  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 17:17:04  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:17:04  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 17:31:09  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #58): print job 
type "invoice" not registered
2017-03-01 17:31:09  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #61): print API 
"None" unknown, trying all
2017-03-01 17:31:58  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:31:58  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 17:31:58  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:31:58  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 17:31:59  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:31:59  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:31:59  ERROR     gm.txtctrl 
(/usr/share/gnumed/Gnumed/wxpython/gmTextCtrl.py::__init__() #109): no unicode 
character selection tool found
2017-03-01 17:31:59  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #105): unknown 
signal [blobs.doc_obj_mod_db]
2017-03-01 17:32:35  WARNING   gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::assimilate_identity() #1093): 
identity [2107] is about to assimilate identity [5921], SQL script 
[/tmp/gnumed-marc/gltz5PE/gm-assimilate-5921-into-2107-B0sjC8.sql]
2017-03-01 17:32:36  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1745): query 
failed in RW connection
2017-03-01 17:32:36  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1746): Link 
state:
Cursor
  identity: 139731052569680; name: None
  closed: False; scrollable: None; with hold: False; arraysize: 1; itersize: 
2000;
  last rowcount: -1; rownumber: 0; lastrowid (OID): 0;
  last description: None
  statusmessage: 
Connection
  identity: 139731055325264; backend pid: 16332; protocol version: 3;
  closed: 0; autocommit: False; isolation level: tx aborted or unknown, cannot 
retrieve; encoding: UTF8; async: 0;
  TX status: 3; CX status: 2; executing async op: False;
Query
  
                                INSERT INTO dem.names (
                                        id_identity, active, lastnames, 
firstnames, preferred, comment
                                )
                                        SELECT
                                                2107, false, lastnames, 
firstnames, preferred, comment
                                        FROM dem.names d_n
                                        WHERE d_n.id_identity = 5921 AND 
d_n.active IS true

2017-03-01 17:32:36  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1751): PG error 
code: 23505
2017-03-01 17:32:36  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1753): PG error 
message: ERROR:  INSERT on dem.names: More than one person with 
(firstnames=Rosemarie), (lastnames=Dießner), (dob=2013-08-19 11:11:11.111+02), 
(comment=<NULL>)
2017-03-01 17:32:36  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #215): enabling debug mode
2017-03-01 17:32:36  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #219): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmPatSearchWidgets.py", line 135, in 
_on_merge_button_pressed
    success, msg = patient2keep.assimilate_identity(other_identity = 
patient2merge, link_obj = conn)
  File "/usr/share/gnumed/Gnumed/business/gmPerson.py", line 1105, in 
assimilate_identity
    gmPG2.run_rw_queries(link_obj = link_obj, queries = queries, end_tx = True)
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1737, in 
run_rw_queries
    curs.execute(query['cmd'], args)
  File "/usr/lib/python2.7/dist-packages/psycopg2/extras.py", line 120, in 
execute
    return super(DictCursor, self).execute(query, vars)
IntegrityError: INSERT on dem.names: More than one person with 
(firstnames=Rosemarie), (lastnames=Dießner), (dob=2013-08-19 11:11:11.111+02), 
(comment=<NULL>)

2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #162): type: 
<class 'psycopg2.IntegrityError'>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #163): list of 
attributes:
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):   args: 
('INSERT on dem.names: More than one person with (firstnames=Rosemarie), 
(lastnames=Die\xc3\x9fner), (dob=2013-08-19 11:11:11.111+02), 
(comment=<NULL>)\n',)
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):   
cursor: <cursor object at 0x7f15abc0a450; closed: -1>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):   diag: 
<psycopg2.extensions.Diagnostics object at 0x7f15d9a75f30>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):   
pgcode: 23505
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #165):   
u_pgerror: ERROR:  INSERT on dem.names: More than one person with 
(firstnames=Rosemarie), (lastnames=Dießner), (dob=2013-08-19 11:11:11.111+02), 
(comment=<NULL>)
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #188): stack 
trace follows:
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #189): (locals 
by frame, outmost frame first)
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #195): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
174 <<<
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       code = <code object <module> at 0x7f15dc78dc30, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 3>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
   mod_name = Gnumed.gnumed
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
 alter_argv = 1
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
     loader = <pkgutil.ImpLoader instance at 0x7f15dc78cbd8>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
   pkg_name = Gnumed
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):         
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.6.11', '_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', u'wxp='], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7f15db329848>, 
'io': <module 'io' from '/usr/lib/python2.7/io.pyc'>, 'setup_cli': <function 
setup_cli at 0x7f15db329758>, '_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'>, 'shutdown_logging': 
<function shutdown_logging at 0x7f15db329cf8>, 'setup_paths_and_files': 
<function setup_paths_and_files at 0x7f15db329a28>, 'current_client_branch': 
u'1.6', 'setup_logging': <function setup_logging at 0x7f15db3295f0>, 
'_symlink_windows': <function _symlink_windows at 0x7f15db329230>, 
'__package__': 'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'handle_sig_term': <function 
handle_sig_term at 0x7f15db3297d0>, 'handle_version_request': <function 
handle_version_request at 0x7f15db3299b0>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x7f15db329d70>, 'missing_cli_config_file': u'\nGNUmed 
startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Currently "wxp" (wxPython) 
only.\n--wxp=<version>\n Explicitely request a wxPython version. Can be set to 
either "2" or "3".\n Defaults to "try 3, then 2" if not set.\n--version, -V\n 
Show version information.\n--help, -h, or -?\n Show this help.\n', 
'handle_help_request': <function handle_help_request at 0x7f15db329938>, 
'setup_date_time': <function setup_date_time at 0x7f15db329aa0>, 'stat': 
<module 'stat' from '/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function 
setup_locale at 0x7f15db3298c0>, 'profile_file': None, '__license__': 'GPL v2 
or later (details at http://www.gnu.org)', 'log_startup_info': <function 
log_startup_info at 0x7f15db329668>, '__builtins__': <module '__builtin__' 
(built-in)>, '__file__': '/usr/share/gnumed/Gnumed/gnumed.py', 
'setup_local_repo_path': <function setup_local_repo_path at 0x7f15db329500>, 
'__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'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7f15dc844a90>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7f15db329c80>, 'print_function': _Feature((2, 6, 0, 
'alpha', 2), (3, 0, 0, 'alpha', 0), 65536), '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 0x7f15dc78cbd8>, 'setup_backend': <function 
setup_backend at 0x7f15db329c08>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7f15db329b18>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7f15db3296e0>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7f15db329578>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7f15daacb910>, 'setup_python_path': <function setup_python_path at 
0x7f15db329488>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>, 
'setup_ui_type': <function setup_ui_type at 0x7f15db329b90>}
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #195): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7f15dc78cbd8>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       code = <code object <module> at 0x7f15dc78dc30, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 3>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
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.6.11', '_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', u'wxp='], 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7f15db329848>, 
'io': <module 'io' from '/usr/lib/python2.7/io.pyc'>, 'setup_cli': <function 
setup_cli at 0x7f15db329758>, '_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'>, 'shutdown_logging': 
<function shutdown_logging at 0x7f15db329cf8>, 'setup_paths_and_files': 
<function setup_paths_and_files at 0x7f15db329a28>, 'current_client_branch': 
u'1.6', 'setup_logging': <function setup_logging at 0x7f15db3295f0>, 
'_symlink_windows': <function _symlink_windows at 0x7f15db329230>, 
'__package__': 'Gnumed', 'platform': <module 'platform' from 
'/usr/lib/python2.7/platform.pyc'>, 'handle_sig_term': <function 
handle_sig_term at 0x7f15db3297d0>, 'handle_version_request': <function 
handle_version_request at 0x7f15db3299b0>, 'shutdown_tmp_dir': <function 
shutdown_tmp_dir at 0x7f15db329d70>, 'missing_cli_config_file': u'\nGNUmed 
startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Currently "wxp" (wxPython) 
only.\n--wxp=<version>\n Explicitely request a wxPython version. Can be set to 
either "2" or "3".\n Defaults to "try 3, then 2" if not set.\n--version, -V\n 
Show version information.\n--help, -h, or -?\n Show this help.\n', 
'handle_help_request': <function handle_help_request at 0x7f15db329938>, 
'setup_date_time': <function setup_date_time at 0x7f15db329aa0>, 'stat': 
<module 'stat' from '/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function 
setup_locale at 0x7f15db3298c0>, 'profile_file': None, '__license__': 'GPL v2 
or later (details at http://www.gnu.org)', 'log_startup_info': <function 
log_startup_info at 0x7f15db329668>, '__builtins__': <module '__builtin__' 
(built-in)>, '__file__': '/usr/share/gnumed/Gnumed/gnumed.py', 
'setup_local_repo_path': <function setup_local_repo_path at 0x7f15db329500>, 
'__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'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7f15dc844a90>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7f15db329c80>, 'print_function': _Feature((2, 6, 0, 
'alpha', 2), (3, 0, 0, 'alpha', 0), 65536), '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 0x7f15dc78cbd8>, 'setup_backend': <function 
setup_backend at 0x7f15db329c08>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7f15db329b18>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7f15db3296e0>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7f15db329578>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7f15daacb910>, 'setup_python_path': <function setup_python_path at 
0x7f15db329488>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>, 
'setup_ui_type': <function setup_ui_type at 0x7f15db329b90>}
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):         
init_globals = None
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
   pkg_name = Gnumed
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
   mod_name = __main__
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #195): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 716 
<<<
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210): 
_known_short_options = h?V
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):      
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.

2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):        
_old_sig_term = None
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210): 
current_client_version = 1.6.11
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):  
_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', 
u'wxp=']
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
    ui_type = wxp
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210): 
setup_signal_handlers = <function setup_signal_handlers at 0x7f15db329848>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
         io = <module 'io' from '/usr/lib/python2.7/io.pyc'>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
  setup_cli = <function setup_cli at 0x7f15db329758>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):     
shutdown_logging = <function shutdown_logging at 0x7f15db329cf8>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210): 
setup_paths_and_files = <function setup_paths_and_files at 0x7f15db329a28>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210): 
current_client_branch = 1.6
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):        
setup_logging = <function setup_logging at 0x7f15db3295f0>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):     
_symlink_windows = <function _symlink_windows at 0x7f15db329230>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
__package__ = Gnumed
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):      
handle_sig_term = <function handle_sig_term at 0x7f15db3297d0>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210): 
handle_version_request = <function handle_version_request at 0x7f15db3299b0>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x7f15db329d70>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210): 
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.

2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):  
handle_help_request = <function handle_help_request at 0x7f15db329938>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):      
setup_date_time = <function setup_date_time at 0x7f15db329aa0>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):         
setup_locale = <function setup_locale at 0x7f15db3298c0>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):         
profile_file = None
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):     
log_startup_info = <function log_startup_info at 0x7f15db329668>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):         
__builtins__ = <module '__builtin__' (built-in)>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210): 
setup_local_repo_path = <function setup_local_repo_path at 0x7f15db329500>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
        sys = <module 'sys' (built-in)>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       _log = <logging.Logger object at 0x7f15dc844a90>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
   __name__ = __main__
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):     
shutdown_backend = <function shutdown_backend at 0x7f15db329c80>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):       
print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 65536)
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):  
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.

2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7f15dc78cbd8>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):        
setup_backend = <function setup_backend at 0x7f15db329c08>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
  setup_cfg = <function setup_cfg at 0x7f15db329b18>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x7f15db3296e0>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
     signal = <module 'signal' (built-in)>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):  
setup_fault_handler = <function setup_fault_handler at 0x7f15db329578>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x7f15daacb910>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):    
setup_python_path = <function setup_python_path at 0x7f15db329488>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):        
setup_ui_type = <function setup_ui_type at 0x7f15db329b90>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #195): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 4008 <<<
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x55907cdb6700> >
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #195): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py] at line 8657 <<<
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x55907cdb6700> >
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #195): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py] at line 7952 <<<
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x55907cdb6700> >,)
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
     kwargs = {}
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #195): >>> 
execution frame [__on_merge_patients] in 
[/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at line 3165 <<<
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       self = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x55907cfc4000> >
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7ffd33da3770> >
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #195): >>> 
execution frame [merge_patients] in 
[/usr/share/gnumed/Gnumed/wxpython/gmPatSearchWidgets.py] at line 63 <<<
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
        dlg = <Gnumed.wxpython.gmPatSearchWidgets.cMergePatientsDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x55907e8f60e0> >
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
     parent = <Gnumed.wxpython.gmGuiMain.gmTopLevelFrame; proxy of <Swig Object 
of type 'wxFrame *' at 0x55907cfc4000> >
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #195): >>> 
execution frame [ShowModal] in 
[/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_windows.py] at line 805 <<<
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       args = (<Gnumed.wxpython.gmPatSearchWidgets.cMergePatientsDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x55907e8f60e0> >,)
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
     kwargs = {}
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #195): >>> 
execution frame [_on_merge_button_pressed] in 
[/usr/share/gnumed/Gnumed/wxpython/gmPatSearchWidgets.py] at line 135 <<<
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):         
patient2keep = <Gnumed.business.gmPerson.gmCurrentPatient object at 
0x7f15c8bf6250>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):        
patient2merge = [cPerson:5921]:
comment: NULL
pk_emergency_contact: NULL
pk_identity: 5921
pk_primary_provider: 4
dob_is_estimated: False
match_type: Nachname - Vorname
emergency_contact: NULL
title: NULL
xmin_identity: 461711
tob: NULL
pk_marital_status: NULL
pk_active_name: 6158
dob_only: 2013-08-19 11:11:11.111000+02:00
preferred: NULL
firstnames: Rosemarie
is_deleted: False
dob: 2013-08-19 11:11:11.111000+02:00
gender: f
marital_status: unknown
l10n_marital_status: unbekannt
l10n_gender: w
lastnames: Dießner
deceased: NULL
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       self = <Gnumed.wxpython.gmPatSearchWidgets.cMergePatientsDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x55907e8f60e0> >
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       doit = True
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
      event = <wx._core.CommandEvent; proxy of <Swig Object of type 
'wxCommandEvent *' at 0x7ffd33da1b10> >
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       conn = <connection object at 0x7f15abeab050; dsn: 'dbname=gnumed_v21 
host=192.168.2.10 port=5432 user=gm-dbo password=xxxxxxxxxxx sslmode=prefer', 
closed: 0>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #195): >>> 
execution frame [assimilate_identity] in 
[/usr/share/gnumed/Gnumed/business/gmPerson.py] at line 1105 <<<
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
        FKs = [['dem', 'identity', 'pk', [5], 'au.referral', [12], 
u'fk_referee'], ['dem', 'identity', 'pk', [5], 'bill.bill', [9], 
u'fk_receiver_identity'], ['dem', 'identity', 'pk', [5], 'clin.lab_request', 
[14], u'fk_requestor'], ['dem', 'identity', 'pk', [5], 'clin.test_org', [7], 
u'fk_adm_contact'], ['dem', 'identity', 'pk', [5], 'clin.test_org', [8], 
u'fk_med_contact'], ['dem', 'identity', 'pk', [5], 'clin.waiting_list', [6], 
u'fk_patient'], ['dem', 'identity', 'pk', [5], 'de_de.kvk', [2], 
u'fk_patient'], ['dem', 'identity', 'pk', [5], 'de_de.zuzahlungsbefreiung', 
[2], u'id_patient'], ['dem', 'identity', 'pk', [5], 'dem.identity', [17], 
u'fk_emergency_contact'], ['dem', 'identity', 'pk', [5], 'dem.identity_tag', 
[6], u'fk_identity'], ['dem', 'identity', 'pk', [5], 'dem.lnk_identity2comm', 
[2], u'fk_identity'], ['dem', 'identity', 'pk', [5], 'dem.lnk_identity2ext_id', 
[6], u'id_identity'], ['dem', 'identity', 'pk', [5], 'dem.lnk_job2person', [6], 
u'fk_identity'], ['dem', 'identity', 'pk', [5], 'dem.lnk_person2relative', [6], 
u'id_identity'], ['dem', 'identity', 'pk', [5], 'dem.lnk_person2relative', [7], 
u'id_relative'], ['dem', 'identity', 'pk', [5], 'dem.lnk_person_org_address', 
[2], u'id_identity'], ['dem', 'identity', 'pk', [5], 'dem.message_inbox', [11], 
u'fk_patient'], ['dem', 'identity', 'pk', [5], 'dem.names', [2], 
u'id_identity'], ['dem', 'identity', 'pk', [5], 'dem.staff', [6], 
u'fk_identity'], ['dem', 'identity', 'pk', [5], 'clin.patient', [6], 
u'fk_identity'], ['clin', 'patient', 'fk_identity', [6], 'clin.encounter', [6], 
u'fk_patient'], ['clin', 'patient', 'fk_identity', [6], 
'clin.lnk_pat2vaccination_course', [6], u'fk_patient'], ['clin', 'patient', 
'fk_identity', [6], 'clin.incoming_data_unmatched', [18], 
u'fk_identity_disambiguated'], ['clin', 'patient', 'fk_identity', [6], 
'clin.export_item', [2], u'fk_identity']]
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
     script = <_io.TextIOWrapper 
name=u'/tmp/gnumed-marc/gltz5PE/gm-assimilate-5921-into-2107-B0sjC8.sql' 
encoding='UTF-8'>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
   curr_pat = <Gnumed.business.gmPerson.gmCurrentPatient object at 
0x7f15c8bf6250>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       args = {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  
17:32'}
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):       
other_identity = [cPerson:5921]:
comment: NULL
pk_emergency_contact: NULL
pk_identity: 5921
pk_primary_provider: 4
dob_is_estimated: False
match_type: Nachname - Vorname
emergency_contact: NULL
title: NULL
xmin_identity: 461711
tob: NULL
pk_marital_status: NULL
pk_active_name: 6158
dob_only: 2013-08-19 11:11:11.111000+02:00
preferred: NULL
firstnames: Rosemarie
is_deleted: False
dob: 2013-08-19 11:11:11.111000+02:00
gender: f
marital_status: unknown
l10n_marital_status: unbekannt
l10n_gender: w
lastnames: Dießner
deceased: NULL
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
script_name = /tmp/gnumed-marc/gltz5PE/gm-assimilate-5921-into-2107-B0sjC8.sql
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):         
cmd_template = UPDATE %s SET %s = %%(pat2keep)s WHERE %s = %%(pat2del)s
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
    queries = [{'cmd': u'\n\t\t\t\tUPDATE clin.allergy_state 
SET\n\t\t\t\t\thas_allergy = greatest (\n\t\t\t\t\t\t(SELECT has_allergy FROM 
clin.v_pat_allergy_state WHERE pk_patient = %(pat2del)s),\n\t\t\t\t\t\t(SELECT 
has_allergy FROM clin.v_pat_allergy_state WHERE pk_patient = 
%(pat2keep)s)\n\t\t\t\t\t),\n\t\t\t\t\t-- perhaps use least() to play it safe 
and make it appear longer ago than it might have been, actually 
?\n\t\t\t\t\tlast_confirmed = greatest (\n\t\t\t\t\t\t(SELECT last_confirmed 
FROM clin.v_pat_allergy_state WHERE pk_patient = 
%(pat2del)s),\n\t\t\t\t\t\t(SELECT last_confirmed FROM clin.v_pat_allergy_state 
WHERE pk_patient = %(pat2keep)s)\n\t\t\t\t\t)\n\t\t\t\tWHERE\n\t\t\t\t\tpk = 
(SELECT pk_allergy_state FROM clin.v_pat_allergy_state WHERE pk_patient = 
%(pat2keep)s)\n\t\t\t', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': 
u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'delete from clin.allergy_state where pk 
= (select pk_allergy_state from clin.v_pat_allergy_state where pk_patient = 
%(pat2del)s)', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 
M\xe4rz 01  17:32'}}, {'cmd': u'\n\t\t\t\tUPDATE clin.patient 
SET\n\t\t\t\t\tedc = coalesce (\n\t\t\t\t\t\tedc,\n\t\t\t\t\t\t(SELECT edc FROM 
clin.patient WHERE fk_identity = 
%(pat2del)s)\n\t\t\t\t\t)\n\t\t\t\tWHERE\n\t\t\t\t\tfk_identity = 
%(pat2keep)s\n\t\t\t', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': 
u'2017 M\xe4rz 01  17:32'}}, {'cmd': u"\n\t\t\t\tUPDATE dem.names d_n1 
SET\n\t\t\t\t\tlastnames = lastnames || ' (zusammengef\xfchrt 2017 M\xe4r 01  
17:32.35)'\n\t\t\t\tWHERE\n\t\t\t\t\td_n1.id_identity = 
%(pat2del)s\n\t\t\t\t\t\tAND\n\t\t\t\t\tEXISTS (\n\t\t\t\t\t\tSELECT 1 FROM 
dem.names d_n2\n\t\t\t\t\t\tWHERE\n\t\t\t\t\t\t\td_n2.id_identity = 
%(pat2keep)s\n\t\t\t\t\t\t\t\tAND\n\t\t\t\t\t\t\td_n2.lastnames = 
d_n1.lastnames\n\t\t\t\t\t\t\t\tAND\n\t\t\t\t\t\t\td_n2.firstnames = 
d_n1.firstnames\n\t\t\t\t\t)", 'args': {'pat2keep': 2107, 'pat2del': 5921, 
'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'\n\t\t\t\tUPDATE dem.names 
SET\n\t\t\t\t\tid_identity = %(pat2keep)s\n\t\t\t\tWHERE id_identity = 
%(pat2del)s AND active IS false', 'args': {'pat2keep': 2107, 'pat2del': 5921, 
'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'\n\t\t\t\tINSERT INTO dem.names 
(\n\t\t\t\t\tid_identity, active, lastnames, firstnames, preferred, 
comment\n\t\t\t\t)\n\t\t\t\t\tSELECT\n\t\t\t\t\t\t%(pat2keep)s, false, 
lastnames, firstnames, preferred, comment\n\t\t\t\t\tFROM dem.names 
d_n\n\t\t\t\t\tWHERE d_n.id_identity = %(pat2del)s AND d_n.active IS true', 
'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  
17:32'}}, {'cmd': u"\n\t\t\t\tUPDATE dem.lnk_identity2comm\n\t\t\t\tSET url = 
url || ' (zusammengef\xfchrt 2017 M\xe4r 01  
17:32.35)'\n\t\t\t\tWHERE\n\t\t\t\t\tfk_identity = 
%(pat2del)s\n\t\t\t\t\t\tAND\n\t\t\t\t\tEXISTS (\n\t\t\t\t\t\tSELECT 1 FROM 
dem.lnk_identity2comm d_li2c\n\t\t\t\t\t\tWHERE d_li2c.fk_identity = 
%(pat2keep)s AND d_li2c.url = url\n\t\t\t\t\t)\n\t\t\t\t", 'args': {'pat2keep': 
2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': 
u"\n\t\t\t\tUPDATE dem.lnk_identity2ext_id\n\t\t\t\tSET external_id = 
external_id || ' (zusammengef\xfchrt 2017 M\xe4r 01  
17:32.35)'\n\t\t\t\tWHERE\n\t\t\t\t\tid_identity = 
%(pat2del)s\n\t\t\t\t\t\tAND\n\t\t\t\t\tEXISTS (\n\t\t\t\t\t\tSELECT 1 FROM 
dem.lnk_identity2ext_id 
d_li2e\n\t\t\t\t\t\tWHERE\n\t\t\t\t\t\t\td_li2e.id_identity = 
%(pat2keep)s\n\t\t\t\t\t\t\t\tAND\n\t\t\t\t\t\t\td_li2e.external_id = 
external_id\n\t\t\t\t\t\t\t\tAND\n\t\t\t\t\t\t\td_li2e.fk_origin = 
fk_origin\n\t\t\t\t\t)\n\t\t\t\t", 'args': {'pat2keep': 2107, 'pat2del': 5921, 
'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'\n\t\t\t\tDELETE FROM 
dem.lnk_person_org_address\n\t\t\t\tWHERE\n\t\t\t\t\tid_identity = 
%(pat2del)s\n\t\t\t\t\t\tAND\n\t\t\t\t\tid_address IN (\n\t\t\t\t\t\tSELECT 
id_address FROM dem.lnk_person_org_address d_lpoa\n\t\t\t\t\t\tWHERE 
d_lpoa.id_identity = %(pat2keep)s\n\t\t\t\t\t)\n\t\t\t', 'args': {'pat2keep': 
2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
au.referral SET fk_referee = %(pat2keep)s WHERE fk_referee = %(pat2del)s', 
'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  
17:32'}}, {'cmd': u'UPDATE bill.bill SET fk_receiver_identity = %(pat2keep)s 
WHERE fk_receiver_identity = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
clin.lab_request SET fk_requestor = %(pat2keep)s WHERE fk_requestor = 
%(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 
M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE clin.test_org SET fk_adm_contact = 
%(pat2keep)s WHERE fk_adm_contact = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
clin.test_org SET fk_med_contact = %(pat2keep)s WHERE fk_med_contact = 
%(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 
M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE clin.waiting_list SET fk_patient = 
%(pat2keep)s WHERE fk_patient = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
de_de.kvk SET fk_patient = %(pat2keep)s WHERE fk_patient = %(pat2del)s', 
'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  
17:32'}}, {'cmd': u'UPDATE de_de.zuzahlungsbefreiung SET id_patient = 
%(pat2keep)s WHERE id_patient = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
dem.identity SET fk_emergency_contact = %(pat2keep)s WHERE fk_emergency_contact 
= %(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 
M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE dem.identity_tag SET fk_identity = 
%(pat2keep)s WHERE fk_identity = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
dem.lnk_identity2comm SET fk_identity = %(pat2keep)s WHERE fk_identity = 
%(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 
M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE dem.lnk_identity2ext_id SET id_identity 
= %(pat2keep)s WHERE id_identity = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
dem.lnk_job2person SET fk_identity = %(pat2keep)s WHERE fk_identity = 
%(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 
M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE dem.lnk_person2relative SET id_identity 
= %(pat2keep)s WHERE id_identity = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
dem.lnk_person2relative SET id_relative = %(pat2keep)s WHERE id_relative = 
%(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 
M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE dem.lnk_person_org_address SET 
id_identity = %(pat2keep)s WHERE id_identity = %(pat2del)s', 'args': 
{'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, 
{'cmd': u'UPDATE dem.message_inbox SET fk_patient = %(pat2keep)s WHERE 
fk_patient = %(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': 
u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE dem.staff SET fk_identity = 
%(pat2keep)s WHERE fk_identity = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
clin.encounter SET fk_patient = %(pat2keep)s WHERE fk_patient = %(pat2del)s', 
'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  
17:32'}}, {'cmd': u'UPDATE clin.lnk_pat2vaccination_course SET fk_patient = 
%(pat2keep)s WHERE fk_patient = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
clin.incoming_data_unmatched SET fk_identity_disambiguated = %(pat2keep)s WHERE 
fk_identity_disambiguated = %(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 
5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE clin.export_item 
SET fk_identity = %(pat2keep)s WHERE fk_identity = %(pat2del)s', 'args': 
{'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, 
{'cmd': u'DELETE FROM clin.patient WHERE fk_identity = %(pat2del)s', 'args': 
{'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, 
{'cmd': u'delete from dem.identity where pk = %(pat2del)s', 'args': 
{'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}]
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
   link_obj = <connection object at 0x7f15abeab050; dsn: 'dbname=gnumed_v21 
host=192.168.2.10 port=5432 user=gm-dbo password=xxxxxxxxxxx sslmode=prefer', 
closed: 0>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
      query = {'cmd': u'delete from dem.identity where pk = %(pat2del)s', 
'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
         FK = ['clin', 'patient', 'fk_identity', [6], 'clin.export_item', [2], 
u'fk_identity']
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       self = [cPatient:2107]:
comment: NULL
pk_emergency_contact: NULL
pk_identity: 2107
pk_primary_provider: 4
dob_is_estimated: False
emergency_contact: NULL
title: NULL
xmin_identity: 7591
tob: NULL
pk_marital_status: NULL
pk_active_name: 2172
dob_only: 2013-08-19 11:11:11.111000+02:00
preferred: NULL
firstnames: Rosmarie
is_deleted: False
dob: 2013-08-19 11:11:11.111000+02:00
gender: f
marital_status: unknown
l10n_marital_status: unbekannt
l10n_gender: w
lastnames: Dießner
deceased: NULL
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #195): >>> 
execution frame [run_rw_queries] in 
[/usr/share/gnumed/Gnumed/pycommon/gmPG2.py] at line 1786 <<<
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
     end_tx = True
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
 curs_close = <built-in method close of DictCursor object at 0x7f15abc0a450>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
    verbose = False
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       curs = <cursor object at 0x7f15abc0a450; closed: -1>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
conn_commit = <built-in method commit of DictConnection object at 
0x7f15abeab050>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
tx_rollback = <built-in method rollback of DictConnection object at 
0x7f15abeab050>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
 conn_close = <function <lambda> at 0x7f15abc7a758>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       args = {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  
17:32'}
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
     pg_exc = INSERT on dem.names: More than one person with 
(firstnames=Rosemarie), (lastnames=Dießner), (dob=2013-08-19 11:11:11.111+02), 
(comment=<NULL>)

2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
   link_obj = <connection object at 0x7f15abeab050; dsn: 'dbname=gnumed_v21 
host=192.168.2.10 port=5432 user=gm-dbo password=xxxxxxxxxxx sslmode=prefer', 
closed: 0>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
    queries = [{'cmd': u'\n\t\t\t\tUPDATE clin.allergy_state 
SET\n\t\t\t\t\thas_allergy = greatest (\n\t\t\t\t\t\t(SELECT has_allergy FROM 
clin.v_pat_allergy_state WHERE pk_patient = %(pat2del)s),\n\t\t\t\t\t\t(SELECT 
has_allergy FROM clin.v_pat_allergy_state WHERE pk_patient = 
%(pat2keep)s)\n\t\t\t\t\t),\n\t\t\t\t\t-- perhaps use least() to play it safe 
and make it appear longer ago than it might have been, actually 
?\n\t\t\t\t\tlast_confirmed = greatest (\n\t\t\t\t\t\t(SELECT last_confirmed 
FROM clin.v_pat_allergy_state WHERE pk_patient = 
%(pat2del)s),\n\t\t\t\t\t\t(SELECT last_confirmed FROM clin.v_pat_allergy_state 
WHERE pk_patient = %(pat2keep)s)\n\t\t\t\t\t)\n\t\t\t\tWHERE\n\t\t\t\t\tpk = 
(SELECT pk_allergy_state FROM clin.v_pat_allergy_state WHERE pk_patient = 
%(pat2keep)s)\n\t\t\t', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': 
u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'delete from clin.allergy_state where pk 
= (select pk_allergy_state from clin.v_pat_allergy_state where pk_patient = 
%(pat2del)s)', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 
M\xe4rz 01  17:32'}}, {'cmd': u'\n\t\t\t\tUPDATE clin.patient 
SET\n\t\t\t\t\tedc = coalesce (\n\t\t\t\t\t\tedc,\n\t\t\t\t\t\t(SELECT edc FROM 
clin.patient WHERE fk_identity = 
%(pat2del)s)\n\t\t\t\t\t)\n\t\t\t\tWHERE\n\t\t\t\t\tfk_identity = 
%(pat2keep)s\n\t\t\t', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': 
u'2017 M\xe4rz 01  17:32'}}, {'cmd': u"\n\t\t\t\tUPDATE dem.names d_n1 
SET\n\t\t\t\t\tlastnames = lastnames || ' (zusammengef\xfchrt 2017 M\xe4r 01  
17:32.35)'\n\t\t\t\tWHERE\n\t\t\t\t\td_n1.id_identity = 
%(pat2del)s\n\t\t\t\t\t\tAND\n\t\t\t\t\tEXISTS (\n\t\t\t\t\t\tSELECT 1 FROM 
dem.names d_n2\n\t\t\t\t\t\tWHERE\n\t\t\t\t\t\t\td_n2.id_identity = 
%(pat2keep)s\n\t\t\t\t\t\t\t\tAND\n\t\t\t\t\t\t\td_n2.lastnames = 
d_n1.lastnames\n\t\t\t\t\t\t\t\tAND\n\t\t\t\t\t\t\td_n2.firstnames = 
d_n1.firstnames\n\t\t\t\t\t)", 'args': {'pat2keep': 2107, 'pat2del': 5921, 
'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'\n\t\t\t\tUPDATE dem.names 
SET\n\t\t\t\t\tid_identity = %(pat2keep)s\n\t\t\t\tWHERE id_identity = 
%(pat2del)s AND active IS false', 'args': {'pat2keep': 2107, 'pat2del': 5921, 
'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'\n\t\t\t\tINSERT INTO dem.names 
(\n\t\t\t\t\tid_identity, active, lastnames, firstnames, preferred, 
comment\n\t\t\t\t)\n\t\t\t\t\tSELECT\n\t\t\t\t\t\t%(pat2keep)s, false, 
lastnames, firstnames, preferred, comment\n\t\t\t\t\tFROM dem.names 
d_n\n\t\t\t\t\tWHERE d_n.id_identity = %(pat2del)s AND d_n.active IS true', 
'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  
17:32'}}, {'cmd': u"\n\t\t\t\tUPDATE dem.lnk_identity2comm\n\t\t\t\tSET url = 
url || ' (zusammengef\xfchrt 2017 M\xe4r 01  
17:32.35)'\n\t\t\t\tWHERE\n\t\t\t\t\tfk_identity = 
%(pat2del)s\n\t\t\t\t\t\tAND\n\t\t\t\t\tEXISTS (\n\t\t\t\t\t\tSELECT 1 FROM 
dem.lnk_identity2comm d_li2c\n\t\t\t\t\t\tWHERE d_li2c.fk_identity = 
%(pat2keep)s AND d_li2c.url = url\n\t\t\t\t\t)\n\t\t\t\t", 'args': {'pat2keep': 
2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': 
u"\n\t\t\t\tUPDATE dem.lnk_identity2ext_id\n\t\t\t\tSET external_id = 
external_id || ' (zusammengef\xfchrt 2017 M\xe4r 01  
17:32.35)'\n\t\t\t\tWHERE\n\t\t\t\t\tid_identity = 
%(pat2del)s\n\t\t\t\t\t\tAND\n\t\t\t\t\tEXISTS (\n\t\t\t\t\t\tSELECT 1 FROM 
dem.lnk_identity2ext_id 
d_li2e\n\t\t\t\t\t\tWHERE\n\t\t\t\t\t\t\td_li2e.id_identity = 
%(pat2keep)s\n\t\t\t\t\t\t\t\tAND\n\t\t\t\t\t\t\td_li2e.external_id = 
external_id\n\t\t\t\t\t\t\t\tAND\n\t\t\t\t\t\t\td_li2e.fk_origin = 
fk_origin\n\t\t\t\t\t)\n\t\t\t\t", 'args': {'pat2keep': 2107, 'pat2del': 5921, 
'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'\n\t\t\t\tDELETE FROM 
dem.lnk_person_org_address\n\t\t\t\tWHERE\n\t\t\t\t\tid_identity = 
%(pat2del)s\n\t\t\t\t\t\tAND\n\t\t\t\t\tid_address IN (\n\t\t\t\t\t\tSELECT 
id_address FROM dem.lnk_person_org_address d_lpoa\n\t\t\t\t\t\tWHERE 
d_lpoa.id_identity = %(pat2keep)s\n\t\t\t\t\t)\n\t\t\t', 'args': {'pat2keep': 
2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
au.referral SET fk_referee = %(pat2keep)s WHERE fk_referee = %(pat2del)s', 
'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  
17:32'}}, {'cmd': u'UPDATE bill.bill SET fk_receiver_identity = %(pat2keep)s 
WHERE fk_receiver_identity = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
clin.lab_request SET fk_requestor = %(pat2keep)s WHERE fk_requestor = 
%(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 
M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE clin.test_org SET fk_adm_contact = 
%(pat2keep)s WHERE fk_adm_contact = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
clin.test_org SET fk_med_contact = %(pat2keep)s WHERE fk_med_contact = 
%(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 
M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE clin.waiting_list SET fk_patient = 
%(pat2keep)s WHERE fk_patient = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
de_de.kvk SET fk_patient = %(pat2keep)s WHERE fk_patient = %(pat2del)s', 
'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  
17:32'}}, {'cmd': u'UPDATE de_de.zuzahlungsbefreiung SET id_patient = 
%(pat2keep)s WHERE id_patient = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
dem.identity SET fk_emergency_contact = %(pat2keep)s WHERE fk_emergency_contact 
= %(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 
M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE dem.identity_tag SET fk_identity = 
%(pat2keep)s WHERE fk_identity = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
dem.lnk_identity2comm SET fk_identity = %(pat2keep)s WHERE fk_identity = 
%(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 
M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE dem.lnk_identity2ext_id SET id_identity 
= %(pat2keep)s WHERE id_identity = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
dem.lnk_job2person SET fk_identity = %(pat2keep)s WHERE fk_identity = 
%(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 
M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE dem.lnk_person2relative SET id_identity 
= %(pat2keep)s WHERE id_identity = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
dem.lnk_person2relative SET id_relative = %(pat2keep)s WHERE id_relative = 
%(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 
M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE dem.lnk_person_org_address SET 
id_identity = %(pat2keep)s WHERE id_identity = %(pat2del)s', 'args': 
{'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, 
{'cmd': u'UPDATE dem.message_inbox SET fk_patient = %(pat2keep)s WHERE 
fk_patient = %(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': 
u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE dem.staff SET fk_identity = 
%(pat2keep)s WHERE fk_identity = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
clin.encounter SET fk_patient = %(pat2keep)s WHERE fk_patient = %(pat2del)s', 
'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  
17:32'}}, {'cmd': u'UPDATE clin.lnk_pat2vaccination_course SET fk_patient = 
%(pat2keep)s WHERE fk_patient = %(pat2del)s', 'args': {'pat2keep': 2107, 
'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE 
clin.incoming_data_unmatched SET fk_identity_disambiguated = %(pat2keep)s WHERE 
fk_identity_disambiguated = %(pat2del)s', 'args': {'pat2keep': 2107, 'pat2del': 
5921, 'date': u'2017 M\xe4rz 01  17:32'}}, {'cmd': u'UPDATE clin.export_item 
SET fk_identity = %(pat2keep)s WHERE fk_identity = %(pat2del)s', 'args': 
{'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, 
{'cmd': u'DELETE FROM clin.patient WHERE fk_identity = %(pat2del)s', 'args': 
{'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}, 
{'cmd': u'delete from dem.identity where pk = %(pat2del)s', 'args': 
{'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}]
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
get_col_idx = False
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
      query = {'cmd': u'\n\t\t\t\tINSERT INTO dem.names 
(\n\t\t\t\t\tid_identity, active, lastnames, firstnames, preferred, 
comment\n\t\t\t\t)\n\t\t\t\t\tSELECT\n\t\t\t\t\t\t%(pat2keep)s, false, 
lastnames, firstnames, preferred, comment\n\t\t\t\t\tFROM dem.names 
d_n\n\t\t\t\t\tWHERE d_n.id_identity = %(pat2del)s AND d_n.active IS true', 
'args': {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  17:32'}}
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
return_data = None
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):     
notices_accessor = <connection object at 0x7f15abeab050; dsn: 
'dbname=gnumed_v21 host=192.168.2.10 port=5432 user=gm-dbo password=xxxxxxxxxxx 
sslmode=prefer', closed: 0>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #195): >>> 
execution frame [execute] in 
[/usr/lib/python2.7/dist-packages/psycopg2/extras.py] at line 120 <<<
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
      query = 
                                INSERT INTO dem.names (
                                        id_identity, active, lastnames, 
firstnames, preferred, comment
                                )
                                        SELECT
                                                %(pat2keep)s, false, lastnames, 
firstnames, preferred, comment
                                        FROM dem.names d_n
                                        WHERE d_n.id_identity = %(pat2del)s AND 
d_n.active IS true
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       self = <cursor object at 0x7f15abc0a450; closed: -1>
2017-03-01 17:32:36  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #210):          
       vars = {'pat2keep': 2107, 'pat2del': 5921, 'date': u'2017 M\xe4rz 01  
17:32'}
2017-03-01 17:32:58  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::mail_log() 
#405): merging patients
2017-03-01 17:32:58  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::mail_log() 
#406): syncing log file for emailing
2017-03-01 17:32:58  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #121): -------- synced 
log file -------------------------------

reply via email to

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