gnumed-bugs
[Top][All Lists]
Advanced

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

[Gnumed-bugs] <bug>: happend several times today


From: MaAn = maan
Subject: [Gnumed-bugs] <bug>: happend several times today
Date: Fri, 07 Aug 2015 09:55:47 +0200

Report sent via GNUmed's handler for unexpected exceptions.

user comment  : happend several times today

client version: 1.5.6

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

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

2015-08-07 08:03:23  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #269): -------- 
start of logging ------------------------------
2015-08-07 08:03:23  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #270): log file 
is </home/marc/.gnumed-logs/gnumed/gnumed-2015_08_07-08_03_23-2171.log>
2015-08-07 08:03:23  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #271): log 
level is [DEBUG]
2015-08-07 08:03:23  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #272): log file 
encoding is <utf8>
2015-08-07 08:03:23  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::__setup_logging() #273): initial 
python.str -> python.unicode encoding is <ANSI_X3.4-1968>
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #276): GNUmed client 
version [1.5.6] on branch [1.5]
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #277): Platform: 
('Linux', 'Behandlung1', '3.19.0-26-generic', '#27-Ubuntu SMP Tue Jul 28 
18:27:31 UTC 2015', 'x86_64', 'x86_64')
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #278): Python 2.7.9 
(default, Apr  2 2015, 15:33:21) 
[GCC 4.9.2] on linux2 (posix)
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #281): {'RELEASE': 
'15.04', 'CODENAME': 'vivid', 'ID': 'Ubuntu', 'DESCRIPTION': 'Ubuntu 15.04'}
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #284): process 
environment:
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):     
${GNOME_DESKTOP_SESSION_ID}: this-is-deprecated
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):               
${UPSTART_EVENTS}: started starting
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
   ${LESSOPEN}: | /usr/bin/lesspipe %s
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                 
${QT_IM_MODULE}: ibus
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
    ${LOGNAME}: marc
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
       ${USER}: marc
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):        
${GNOME_KEYRING_CONTROL}: 
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
   ${XDG_VTNR}: 7
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
       ${PATH}: 
~/bin/:/home/marc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/share/gnumed/bin
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
 ${WINDOWPATH}: 7
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
       ${LANG}: de_DE.UTF-8
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
       ${TERM}: xterm
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
      ${SHELL}: /bin/bash
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
 ${XAUTHORITY}: /var/run/gdm/auth-for-marc-punJ7m/database
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
   ${INSTANCE}: GNOME
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
      ${SHLVL}: 2
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):               
${MANDATORY_PATH}: /usr/share/gconf/gnome.mandatory.path
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):            
${CLUTTER_IM_MODULE}: xim
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
    ${DISPLAY}: :0
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):             
${UPSTART_INSTANCE}: 
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
        ${JOB}: gnome-session
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
   ${WINDOWID}: 27262986
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
${SESSIONTYPE}: gnome-session
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
 ${XMODIFIERS}: @im=ibus
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):               
${GPG_AGENT_INFO}: /run/user/1000/keyring/gpg:0:1
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
       ${HOME}: /home/marc
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                
${QT4_IM_MODULE}: xim
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
   ${USERNAME}: marc
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):          
${XDG_SESSION_DESKTOP}: gnome
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):            
${JAVA_TOOL_OPTIONS}: -javaagent:/usr/share/java/jayatanaag.jar 
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):              
${XDG_RUNTIME_DIR}: /run/user/1000
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
 ${PYTHONPATH}: /usr/share/gnumed/:/usr/share/gnumed/Gnumed/
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                
${SSH_AUTH_SOCK}: /run/user/1000/keyring/ssh
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
${VTE_VERSION}: 3803
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
 ${GDMSESSION}: gnome
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):              
${IM_CONFIG_PHASE}: 1
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
${UPSTART_JOB}: gnome-settings-daemon
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):            
${GNOME_KEYRING_PID}: 
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
  ${LESSCLOSE}: /usr/bin/lesspipe %s %s
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):          
${XDG_CURRENT_DESKTOP}: GNOME
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):               
${XDG_SESSION_ID}: c2
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):     
${DBUS_SESSION_BUS_ADDRESS}: unix:abstract=/tmp/dbus-qMkFCiA94z
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
          ${_}: /usr/bin/python
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                
${DEFAULTS_PATH}: /usr/share/gconf/gnome.default.path
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                
${GTK_IM_MODULE}: ibus
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):              
${DESKTOP_SESSION}: gnome
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):              
${UPSTART_SESSION}: unix:abstract=/com/ubuntu/upstart-session/1000/1531
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):              
${XDG_CONFIG_DIRS}: /etc/xdg/xdg-gnome:/usr/share/upstart/xdg:/etc/xdg
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
${GTK_MODULES}: overlay-scrollbar
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                
${XDG_DATA_DIRS}: /usr/share/gnome:/usr/local/share/:/usr/share/
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
        ${PWD}: /home/marc
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
  ${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: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:*.axv=01;35:*.anx=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:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::log_startup_info() #288):                  
   ${XDG_SEAT}: seat0
2015-08-07 08:03:23  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #507): adding command 
line arguments
2015-08-07 08:03:23  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #508): raw command line 
is:
2015-08-07 08:03:23  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_cli() #509): 
['/usr/share/gnumed/Gnumed/gnumed.py']
2015-08-07 08:03:23  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--debug] not 
in group [cli] in source [cli]
2015-08-07 08:03:23  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--slave] not 
in group [cli] in source [cli]
2015-08-07 08:03:23  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option 
[--skip-update-check] not in group [cli] in source [cli]
2015-08-07 08:03:23  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--hipaa] not 
in group [cli] in source [cli]
2015-08-07 08:03:23  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option 
[--local-import] not in group [cli] in source [cli]
2015-08-07 08:03:23  DEBUG     gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_local_repo_path() #203): 
[/home/marc/.gnumed/local_code/1.5/Gnumed/wxGladeWidgets] not found
2015-08-07 08:03:23  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_local_repo_path() #204): local 
wxGlade widgets repository not available
2015-08-07 08:03:24  INFO      gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::<module>() #59): mx.DateTime 
version: 3.2.8
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #69): known hooks:
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
post_patient_activation
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
post_person_creation
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
shutdown-post-GUI
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
startup-after-GUI-init
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
startup-before-GUI
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
request_user_attention
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
app_activated_startup
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): app_activated
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): app_deactivated
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
after_substance_intake_modified
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
after_test_result_modified
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
after_soap_modified
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
after_code_link_modified
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
after_new_doc_created
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): before_print_doc
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): before_fax_doc
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): before_mail_doc
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
before_print_doc_part
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
before_fax_doc_part
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
before_mail_doc_part
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
before_external_doc_access
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::<module>() #71): 
db_maintenance_warning
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #122): 
unmodified startup locale settings (should be [C])
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #124): 
current locale settings:
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #125): 
locale.get_locale(): (None, None)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_NUMERIC): (None, None)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_MESSAGES): (None, None)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_MONETARY): (None, None)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_COLLATE): (None, None)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_CTYPE): (None, None)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_TIME): (None, None)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_NUMERIC): C)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_MESSAGES): C)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_MONETARY): C)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_COLLATE): C)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_CTYPE): C)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_ALL): C)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_TIME): C)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #133): 
locale.getdefaultlocale() - default (user) locale: ('de_DE', 'UTF-8')
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
encoding sanity check (also check "locale.nl_langinfo(CODESET)" below):
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #142): 
sys.getdefaultencoding(): [ascii]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #143): 
locale.getpreferredencoding(): [ANSI_X3.4-1968]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #144): 
locale.getlocale()[1]: [None]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #145): 
sys.getfilesystemencoding(): [UTF-8]
2015-08-07 08:03:24  WARNING   gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #152): 
encoding suggested by locale (ANSI_X3.4-1968) does not match encoding currently 
set in locale (None)
2015-08-07 08:03:24  WARNING   gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #153): 
this might lead to encoding errors
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [ANSI_X3.4-1968]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [ascii]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [UTF-8]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #161): on 
Linux you can determine a likely candidate for the encoding by running "locale 
charmap"
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #163): 
locale related environment variables (${LANG} is typically used):
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LANGUAGE} not set
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LC_ALL} not set
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LC_CTYPE} not set
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #166): 
${LANG}=de_DE.UTF-8
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
database of locale conventions:
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(mon_decimal_point): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(int_frac_digits): 127
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(p_sep_by_space): 127
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(frac_digits): 127
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(thousands_sep): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(n_sign_posn): 127
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(decimal_point): .
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(int_curr_symbol): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(n_cs_precedes): 127
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(p_sign_posn): 127
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(mon_thousands_sep): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(negative_sign): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(currency_symbol): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(n_sep_by_space): 127
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(mon_grouping): []
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(p_cs_precedes): 127
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(positive_sign): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #174): 
locale.localeconv(grouping): []
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(D_FMT): %m/%d/%y
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(D_T_FMT): %a %b %e %H:%M:%S %Y
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(YESEXPR): ^[yY]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(ALT_DIGITS): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(T_FMT_AMPM): %I:%M:%S %p
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(RADIXCHAR): .
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(ERA_D_FMT): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(T_FMT): %H:%M:%S
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(NOEXPR): ^[nN]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(CRNCYSTR): -
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(ERA): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(CODESET): ANSI_X3.4-1968
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(THOUSEP): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #189): 
locale.nl_langinfo(ERA_D_T_FMT): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::get_encoding() #418): *actual* 
encoding of locale is None, using encoding *recommended* by locale
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #198): 
gmI18N.get_encoding(): ANSI_X3.4-1968
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::activate_locale() #249): 
activating user-default locale with <locale.setlocale(locale.LC_ALL, '')> 
returns: [de_DE.UTF-8]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #122): 
locale settings after activating user-default locale
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #124): 
current locale settings:
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #125): 
locale.get_locale(): ('de_DE', 'UTF-8')
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_NUMERIC): ('de_DE', 'UTF-8')
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_MESSAGES): ('de_DE', 'UTF-8')
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_MONETARY): ('de_DE', 'UTF-8')
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_COLLATE): ('de_DE', 'UTF-8')
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_CTYPE): ('de_DE', 'UTF-8')
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #127): 
locale.get_locale(LC_TIME): ('de_DE', 'UTF-8')
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_NUMERIC): de_DE.UTF-8)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_MESSAGES): de_DE.UTF-8)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_MONETARY): de_DE.UTF-8)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_COLLATE): de_DE.UTF-8)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_CTYPE): de_DE.UTF-8)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_ALL): de_DE.UTF-8)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #130): 
(locale.set_locale(LC_TIME): de_DE.UTF-8)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #133): 
locale.getdefaultlocale() - default (user) locale: ('de_DE', 'UTF-8')
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #137): 
encoding sanity check (also check "locale.nl_langinfo(CODESET)" below):
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #142): 
sys.getdefaultencoding(): [ascii]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #143): 
locale.getpreferredencoding(): [UTF-8]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #144): 
locale.getlocale()[1]: [UTF-8]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #145): 
sys.getfilesystemencoding(): [UTF-8]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [UTF-8]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [UTF-8]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [ascii]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #158): 
<codecs> module CAN handle encoding [UTF-8]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #161): on 
Linux you can determine a likely candidate for the encoding by running "locale 
charmap"
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #163): 
locale related environment variables (${LANG} is typically used):
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LANGUAGE} not set
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LC_ALL} not set
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #168): 
${LC_CTYPE} not set
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #166): 
${LANG}=de_DE.UTF-8
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #170): 
database of locale conventions:
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(mon_decimal_point): ,
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(int_frac_digits): 2
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(p_sep_by_space): 1
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(frac_digits): 2
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(thousands_sep): .
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(n_sign_posn): 1
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(decimal_point): ,
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(int_curr_symbol): EUR 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(n_cs_precedes): 0
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(p_sign_posn): 1
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(mon_thousands_sep): .
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(negative_sign): -
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #179): 
locale.localeconv(currency_symbol): €
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(n_sep_by_space): 1
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(mon_grouping): [3, 3, 0]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(p_cs_precedes): 0
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(positive_sign): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #177): 
locale.localeconv(grouping): [3, 3, 0]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(D_FMT): %d.%m.%Y
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(D_T_FMT): %a %d %b %Y %T %Z
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(YESEXPR): ^[jJyY].*
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(ALT_DIGITS): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(T_FMT_AMPM): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(RADIXCHAR): ,
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(ERA_D_FMT): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(T_FMT): %T
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(NOEXPR): ^[nN].*
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #194): 
locale.nl_langinfo(CRNCYSTR): +€
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(ERA): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(CODESET): UTF-8
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(THOUSEP): .
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #192): 
locale.nl_langinfo(ERA_D_T_FMT): 
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__log_locale_settings() #198): 
gmI18N.get_encoding(): UTF-8
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__split_locale_into_levels() 
#95): splitting canonical locale [de_DE] into levels
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::__split_locale_into_levels() 
#104): system locale levels: {'country': 'de_DE', 'full': 'de_DE', 'language': 
'de'}
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option 
[--text-domain] not in group [cli] in source [cli]
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option 
[--lang-gettext] not in group [cli] in source [cli]
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::local-import] found in source [internal]
2015-08-07 08:03:24  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #278): domain 
not specified, deriving from script name
2015-08-07 08:03:24  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #281): text 
domain is [gnumed]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #284): searching 
message catalog file for system locale [de_DE]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #291): 
${LANGUAGE} = [None]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #291): ${LC_ALL} 
= [None]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #291): 
${LC_MESSAGES} = [None]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #291): ${LANG} = 
[de_DE.UTF-8]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #318): system is 
POSIX, looking in standard locations (see Python Manual)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #327): looking 
at ${GNUMED_DIR}
2015-08-07 08:03:24  INFO      gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #333): 
${GNUMED_DIR} not set
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #342): looking 
above binary install directory [/usr/share/gnumed/po]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #346): looking 
in binary install directory [/usr/share/gnumed/Gnumed/po]
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #351): trying 
[/usr/share/locale](/de_DE/LC_MESSAGES/gnumed.mo)
2015-08-07 08:03:24  DEBUG     gm.i18n 
(/usr/share/gnumed/Gnumed/pycommon/gmI18N.py::install_domain() #365): found msg 
catalog: [Translate this or i18n into <en_EN> will not work properly !] => 
[Übersetzen oder Bauchplatscher !]
2015-08-07 08:03:24  INFO      gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::set_string_encoding() #233): 
setting python.str -> python.unicode encoding to <UTF-8> (locale.getlocale)
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--help] not 
in group [cli] in source [cli]
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [-h] not in 
group [cli] in source [cli]
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [-?] not in 
group [cli] in source [cli]
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--version] 
not in group [cli] in source [cli]
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [-V] not in 
group [cli] in source [cli]
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #159): wxPython not 
available
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #160): detecting 
paths directly
2015-08-07 08:03:24  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #166): app name 
passed in as [gnumed]
2015-08-07 08:03:24  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #212): initial temp 
dir: /tmp
2015-08-07 08:03:24  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #217): level 1 
intermediate temp dir: /tmp/gnumed
2015-08-07 08:03:24  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #222): level 2 
intermediate temp dir: /tmp/gnumed/marc
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::_set_tmp_dir() #352): previous 
temp dir: /tmp/gnumed/marc
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #265): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #266): 
sys.executable: /usr/bin/python
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #267): 
sys._MEIPASS: <not found>
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #268): 
os.environ["_MEIPASS2"]: <not found>
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #269): __file__ : 
/usr/share/gnumed/Gnumed/pycommon/gmTools.py
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #270): local 
application base dir: /usr/share/gnumed/Gnumed
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #271): current 
working dir: /home/marc
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #272): user home 
dir: /home/marc
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #273): 
user-specific config dir: /home/marc/.gnumed
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #274): system-wide 
config dir: /etc/gnumed
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #275): system-wide 
application data dir: /usr/share/gnumed
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #276): temporary 
dir: /tmp/gnumed/marc/gm-EiVl61
2015-08-07 08:03:24  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #122): 
mx.DateTime.now(): [2015-08-07 08:03:24,18]
2015-08-07 08:03:24  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #123): datetime.now()  
 : [2015-08-07 08:03:24.175625]
2015-08-07 08:03:24  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #124): 
time.localtime() : [time.struct_time(tm_year=2015, tm_mon=8, tm_mday=7, 
tm_hour=8, tm_min=3, tm_sec=24, tm_wday=4, tm_yday=219, tm_isdst=1)]
2015-08-07 08:03:24  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #125): time.gmtime()   
 : [time.struct_time(tm_year=2015, tm_mon=8, tm_mday=7, tm_hour=6, tm_min=3, 
tm_sec=24, tm_wday=4, tm_yday=219, tm_isdst=0)]
2015-08-07 08:03:24  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #130): $TZ not defined
2015-08-07 08:03:24  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #132): time.daylight: 
[1] (whether or not DST is locally used at all)
2015-08-07 08:03:24  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #133): time.timezone: 
[-3600] seconds
2015-08-07 08:03:24  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #134): time.altzone : 
[-7200] seconds
2015-08-07 08:03:24  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #135): time.tzname  : 
[CET / CEST] (non-DST / DST)
2015-08-07 08:03:24  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #136): 
mx.DateTime.now().gmtoffset(): [02:00:00,00]
2015-08-07 08:03:24  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #149): DST currently 
in effect: [True]
2015-08-07 08:03:24  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #158): DST currently 
in effect: using UTC offset of [7200] seconds instead of [3600] seconds
2015-08-07 08:03:24  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #164): UTC offset is 
positive, assuming EAST of Greenwich (clock is "ahead")
2015-08-07 08:03:24  DEBUG     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::init() #172): ISO timezone: 
[02:00:00,00] (taken from mx.DateTime.now().gmtoffset())
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--conf-file] 
not in group [cli] in source [cli]
2015-08-07 08:03:24  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "workbase": /home/marc/gnumed.conf (UTF-8)
2015-08-07 08:03:24  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #458): cannot 
open [/home/marc/gnumed.conf], keeping as dummy source
2015-08-07 08:03:24  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "system": /etc/gnumed/gnumed-client.conf (UTF-8)
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::parse_INI_stream() #274): parsing 
INI-style data stream [<open file u'/etc/gnumed/gnumed-client.conf', mode 'rb' 
at 0x7fe73e8fd4b0>]
2015-08-07 08:03:24  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "user": /home/marc/.gnumed/gnumed.conf (UTF-8)
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::parse_INI_stream() #274): parsing 
INI-style data stream [<open file u'/home/marc/.gnumed/gnumed.conf', mode 'rb' 
at 0x7fe73e8fd4b0>]
2015-08-07 08:03:24  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "local": /usr/share/gnumed/Gnumed/gnumed.conf (UTF-8)
2015-08-07 08:03:24  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #458): cannot 
open [/usr/share/gnumed/Gnumed/gnumed.conf], keeping as dummy source
2015-08-07 08:03:24  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "explicit": None (UTF-8)
2015-08-07 08:03:24  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #450): file 
[None] already known as source [workbase]
2015-08-07 08:03:24  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #451): adding 
it as source [explicit] may provoke trouble
2015-08-07 08:03:24  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #450): file 
[None] already known as source [local]
2015-08-07 08:03:24  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #451): adding 
it as source [explicit] may provoke trouble
2015-08-07 08:03:24  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "user-mime": /home/marc/.gnumed/mime_type2file_extension.conf (UTF-8)
2015-08-07 08:03:24  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #458): cannot 
open [/home/marc/.gnumed/mime_type2file_extension.conf], keeping as dummy source
2015-08-07 08:03:24  INFO      gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #445): file 
source "system-mime": /etc/gnumed/mime_type2file_extension.conf (UTF-8)
2015-08-07 08:03:24  ERROR     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_file_source() #458): cannot 
open [/etc/gnumed/mime_type2file_extension.conf], keeping as dummy source
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--ui] not in 
group [cli] in source [cli]
2015-08-07 08:03:24  DEBUG     gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_ui_type() #543): UI type: wxp
2015-08-07 08:03:24  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #51): psycopg2 version: 
2.6 (dt dec mx pq3 ext lo64)
2015-08-07 08:03:24  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #52): PostgreSQL via 
DB-API module "<module 'psycopg2' from 
'/usr/lib/python2.7/dist-packages/psycopg2/__init__.pyc'>": API level 2.0, 
thread safety 2, parameter style "pyformat"
2015-08-07 08:03:24  INFO      gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::<module>() #79): assuming default 
client encoding of [UTF8]
2015-08-07 08:03:24  INFO      gm.launcher 
(/usr/share/gnumed/Gnumed/gnumed.py::setup_backend() #548): client expects 
database version [20]
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [client 
timezone] not in group [backend] in source [explicit]
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [client 
timezone] not in group [backend] in source [workbase]
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [client 
timezone] not in group [backend] in source [local]
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [client 
timezone] not in group [backend] in source [user]
2015-08-07 08:03:24  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [client 
timezone] not in group [backend] in source [system]
2015-08-07 08:03:24  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [startup-before-GUI]
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #118): hook 
script stat(): posix.stat_result(st_mode=33152, st_ino=6686818, st_dev=2056, 
st_nlink=1, st_uid=1000, st_gid=1000, st_size=562, st_atime=1366091972, 
st_mtime=1366091972, st_ctime=1366091972)
2015-08-07 08:03:24  DEBUG     gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #120): hook 
script mode: 384 (oktal: 0600)
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#505): CWD: /home/marc
2015-08-07 08:03:24  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#509): appending to sys.path: [/home/marc/.gnumed/scripts]
2015-08-07 08:03:24  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#513): will remove import path: True
2015-08-07 08:03:24  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::import_module_from_directory() 
#526): imported module [hook_script] as [<module 'hook_script' from 
'/home/marc/.gnumed/scripts/hook_script.pyc'>]
2015-08-07 08:03:24  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::import_hook_module() #141): hook 
script: /home/marc/.gnumed/scripts/hook_script.py
2015-08-07 08:03:24  DEBUG     gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::<module>() #35): wxPython 
versions available on this machine: ['2.8-gtk2-unicode']
2015-08-07 08:03:24  ERROR     gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::<module>() #44): cannot select 
wxPython 3.0
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py", line 42, in <module>
    wxversion.select(versions = '3.0')
  File "/usr/lib/python2.7/dist-packages/wxversion.py", line 152, in select
    raise VersionError("Requested version of wxPython not found")
VersionError: Requested version of wxPython not found
2015-08-07 08:03:25  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::<module>() #49): wxPython 
version loaded: 2.8.12.1 ('__WXGTK__', 'wxGTK', 'unicode', 'gtk2', 
'wx-assertions-off', 'SWIG-1.3.29')
2015-08-07 08:03:25  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.episode_code_mod_db]
2015-08-07 08:03:25  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.rfe_code_mod_db]
2015-08-07 08:03:25  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.aoe_code_mod_db]
2015-08-07 08:03:25  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.health_issue_code_mod_db]
2015-08-07 08:03:25  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.narrative_code_mod_db]
2015-08-07 08:03:25  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.procedure_code_mod_db]
2015-08-07 08:03:25  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.test_result_mod_db]
2015-08-07 08:03:25  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.clin_narrative_mod_db]
2015-08-07 08:03:25  INFO      gm.atc 
(/usr/share/gnumed/Gnumed/business/gmATC.py::<module>() #24): $Revision: 1.7 $
2015-08-07 08:03:25  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.substance_intake_mod_db]
2015-08-07 08:03:25  INFO      gm.vaccination 
(/usr/share/gnumed/Gnumed/business/gmVaccination.py::<module>() #18): 
$Revision: 1.38 $
2015-08-07 08:03:26  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmCfgWidgets.py::<module>() #30): $Revision: 
1.4 $
2015-08-07 08:03:28  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::<module>() #27): $Revision: 
1.47 $
2015-08-07 08:03:28  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmSOAPWidgets.py::<module>() #22): 
$Revision: 1.114 $
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--profile] 
not in group [cli] in source [cli]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2015-08-07 08:03:32  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::set_chart_puller() #1676): 
setting chart puller to <<function pull_chart at 0x7fe72dbde7d0>>
2015-08-07 08:03:32  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::set_yielder() #1685): setting 
yielder to <<function Yield at 0x7fe7387dbb18>>
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [workplace] in source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [workplace] in source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [workplace] in source [local]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [workplace] in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[workplace::help desk] found in source [system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::client_version] found in source [internal]
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #160): detecting 
paths directly
2015-08-07 08:03:32  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #166): app name 
passed in as [gnumed]
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #210): temp dir 
already set
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #265): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #266): 
sys.executable: /usr/bin/python
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #267): 
sys._MEIPASS: <not found>
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #268): 
os.environ["_MEIPASS2"]: <not found>
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #269): __file__ : 
/usr/share/gnumed/Gnumed/pycommon/gmTools.py
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #270): local 
application base dir: /usr/share/gnumed/Gnumed
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #271): current 
working dir: /home/marc
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #272): user home 
dir: /home/marc
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #273): 
user-specific config dir: /home/marc/.gnumed
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #274): system-wide 
config dir: /etc/gnumed
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #275): system-wide 
application data dir: /usr/share/gnumed
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #276): temporary 
dir: /tmp/gnumed/marc/gm-EiVl61
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #231): re-detecting 
paths with wxPython
2015-08-07 08:03:32  INFO      gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::init_paths() #234): wxPython app 
name is [gnumed]
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #265): 
sys.argv[0]: /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #266): 
sys.executable: /usr/bin/python
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #267): 
sys._MEIPASS: <not found>
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #268): 
os.environ["_MEIPASS2"]: <not found>
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #269): __file__ : 
/usr/share/gnumed/Gnumed/pycommon/gmTools.py
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #270): local 
application base dir: /usr/share/gnumed/Gnumed
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #271): current 
working dir: /home/marc
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #272): user home 
dir: /home/marc
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #273): 
user-specific config dir: /home/marc/.gnumed
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #274): system-wide 
config dir: /etc/gnumed
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #275): system-wide 
application data dir: /usr/share/gnumed
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::__log_paths() #276): temporary 
dir: /tmp/gnumed/marc/gm-EiVl61
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--conf-file] 
not in group [cli] in source [cli]
2015-08-07 08:03:32  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::__setup_prefs_file() #3475): 
user preferences file: /home/marc/.gnumed/gnumed.conf
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [user email] 
not in group [preferences] in source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [user email] 
not in group [preferences] in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [user email] 
not in group [preferences] in source [local]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [user email] 
not in group [preferences] in source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [user email] 
not in group [preferences] in source [system]
2015-08-07 08:03:32  INFO      gm.main 
(/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py::__setup_platform() #3550): 
running on GTK (probably Linux)
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option 
[--override-schema-check] not in group [cli] in source [cli]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::client_branch] found in source [internal]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::client_version] found in source [internal]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [name] not in 
group [workplace] in source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [name] not in 
group [workplace] in source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [name] not in 
group [workplace] in source [local]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [name] not in 
group [workplace] in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[workplace::name] found in source [system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [profiles] 
not in group [backend] in source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[backend::profiles] found in source [system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [profiles] 
not in group [backend] in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [profiles] 
not in group [backend] in source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("local": Linux/Mac)::host] found in source 
[system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database on this machine ("local": Linux/Mac)] in source 
[user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("local": Linux/Mac)::port] found in source 
[system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("local": Linux/Mac)::database] found in source 
[system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database on this machine ("local": 
Linux/Mac)] in source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database on this machine ("local": 
Linux/Mac)] in source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database on this machine ("local": 
Linux/Mac)] in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("local": Linux/Mac)::public/open access] found 
in source [system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database on this machine ("local": Linux/Mac)] in 
source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("local": Linux/Mac)::help desk] found in 
source [system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)::host] found in 
source [system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)] 
in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)::port] found in 
source [system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)::database] found 
in source [system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)::public/open 
access] found in source [system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database on this machine ("TCP/IP": 
Windows/Linux/Mac)] in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database on this machine ("TCP/IP": Windows/Linux/Mac)::help desk] found 
in source [system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [host] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::host] found in source [system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [port] not in 
group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::port] found in source [system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [database] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::database] found in source 
[system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [encoding] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] 
in source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] 
in source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [public/open 
access] not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] 
in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::public/open access] found in 
source [system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [help desk] 
not in group [profile GNUmed database at publicdb.gnumed.de (PUBLIC)] in source 
[user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option [profile 
GNUmed database at publicdb.gnumed.de (PUBLIC)::help desk] found in source 
[system]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [logins] not 
in group [backend] in source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [logins] not 
in group [backend] in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [logins] not 
in group [backend] in source [workbase]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [login] not 
in group [preferences] in source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[preferences::login] found in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [profile] not 
in group [preferences] in source [explicit]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[preferences::profile] found in source [user]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2015-08-07 08:03:32  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::slave] found in source [internal]
2015-08-07 08:03:32  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::get_icon() #924): icon found in 
[/usr/share/gnumed/bitmaps/gm_icon-serpent_and_gnu.png]
2015-08-07 08:03:32  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::connect_to_database() 
#128): login attempt 1 of 3
2015-08-07 08:11:36  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmAuthWidgets.py::__on_login_button_pressed()
 #805): debug mode disabled
2015-08-07 08:11:36  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #389): option [--quiet] not 
in group [cli] in source [cli]
2015-08-07 08:11:38  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::__validate_timezone() #324): time 
zone [CEST] is not settable
2015-08-07 08:11:38  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::sanity_check_database_settings() 
#1909): PG option [log_connections] set to [off], expected [on], risk: 
<non-compliance with HIPAA>
2015-08-07 08:11:38  WARNING   gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::sanity_check_database_settings() 
#1909): PG option [log_disconnections] set to [off], expected [on], risk: 
<non-compliance with HIPAA>
2015-08-07 08:11:40  WARNING   gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::add_stream_source() #438): 
overriding source <user> with [<open file u'/home/marc/.gnumed/gnumed.conf', 
mode 'rb' at 0x7fe72dbdb4b0>]
2015-08-07 08:11:40  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.identity_mod_db]
2015-08-07 08:11:40  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.names_mod_db]
2015-08-07 08:11:40  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.names_mod_db]
2015-08-07 08:11:40  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.identity_mod_db]
2015-08-07 08:11:40  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.praxis_branch_mod_db]
2015-08-07 08:11:40  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.names_mod_db]
2015-08-07 08:11:40  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.identity_mod_db]
2015-08-07 08:11:40  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.episode_mod_db]
2015-08-07 08:11:40  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.allgergy_mod_db]
2015-08-07 08:11:40  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.allergy_state_mod_db]
2015-08-07 08:11:40  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.names_mod_db]
2015-08-07 08:11:40  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.identity_mod_db]
2015-08-07 08:11:40  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.identity_tag_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.message_inbox_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.reviewed_test_results_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.identity_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_med_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.reviewed_doc_objs_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.waiting_list_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.identity_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.names_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.comm_channel_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.job_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.episode_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.health_issue_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.substance_intake_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.hospital_stay_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.family_history_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.procedure_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.vaccination_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [dem.message_inbox_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.test_result_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.reviewed_test_results_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_med_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [narrative_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.episode_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.health_issue_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.family_history_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_med_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.rfe_code_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.aoe_code_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_med_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.rfe_code_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.aoe_code_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.episode_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.health_issue_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.episode_code_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.substance_intake_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.test_result_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.test_result_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.reviewed_test_results_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_med_mod_db]
2015-08-07 08:11:41  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 08:11:42  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.episode_mod_db]
2015-08-07 08:11:42  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.health_issue_mod_db]
2015-08-07 08:11:42  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [bill.bill_item_mod_db]
2015-08-07 08:22:12  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.encounter_mod_db]
2015-08-07 08:22:12  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 08:22:12  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 08:22:15  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 08:22:15  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 08:22:20  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 08:22:21  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 08:48:54  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #56): print job 
type "invoice" not registered
2015-08-07 08:48:54  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #59): print API 
"None" unknown, trying all
2015-08-07 09:25:45  CRITICAL  gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py::refetch_payload() 
#542): [cIdentity:3607]: cannot reload, payload changed
2015-08-07 09:25:47  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.encounter_mod_db]
2015-08-07 09:25:47  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 09:25:47  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 09:25:47  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #164): current in client: [cEncounter:14839]: ['last_affirmed_original_tz: 
>>2015-08-07 08:22:11.622907<<', 'pk_type: >>1<<', 'pk_patient: >>3439<<', 
u'assessment_of_encounter: >>BWS, SSB; <<', 'pk_org_type: >>4<<', 
'pk_generic_codes_aoe: >>[]<<', u'modified_by: >>MaAn<<', 'xmin_encounter: 
>>138587<<', u'l10n_type: >>in Praxis<<', 'modified_when: >>2015-08-07 
08:22:11.622907+02:00<<', 'pk_generic_codes_rfe: >>[]<<', u'type: >>in 
surgery<<', u'modified_by_raw: >>maan<<', 'started: >>2015-08-07 
08:22:11.622907+02:00<<', 'reason_for_encounter: NULL', 'pk_unit_type: >>4<<', 
'pk_audit: >>203526<<', u'praxis_branch: >>Praxis<<', 'last_affirmed: 
>>2015-08-07 08:58:01.733062+02:00<<', 'pk_org_unit: >>7<<', 'pk_encounter: 
>>14839<<', 'row_version: >>0<<', 'pk_org: >>7<<', 'source_time_zone: 
>>2:00:00<<', 'started_original_tz: >>2015-08-07 08:22:11.622907<<', u'praxis: 
>>Praxis Angermann<<']
2015-08-07 09:25:47  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #215): enabling debug mode
2015-08-07 09:25:47  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/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
14665, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 167, in 
db_callback_encounter_mod_db
    curr_enc_in_db['pk_encounter']
ValueError: unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #160): 
exception: unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #161): type: 
<type 'exceptions.ValueError'>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #162): list of 
attributes:
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #164):   args: 
('unsaved changes in active encounter [14839], cannot switch to another one 
[14839]',)
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #164):   
message: unsaved changes in active encounter [14839], cannot switch to another 
one [14839]
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #187): stack 
trace follows:
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #188): (locals 
by frame, outmost frame first)
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       code = <code object <module> at 0x7fe7400ed030, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   mod_name = Gnumed.gnumed
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 alter_argv = 1
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     loader = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   pkg_name = Gnumed
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
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.5.6', '_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'], 'codecs': <module 'codecs' 
from '/usr/lib/python2.7/codecs.pyc'>, 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7fe73ecec1b8>, 
'setup_cli': <function setup_cli at 0x7fe73ecec0c8>, '_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 0x7fe73ecec668>, 'current_client_branch': u'1.5', 
'setup_logging': <function setup_logging at 0x7fe73ece1ed8>, 'setup_ui_type': 
<function setup_ui_type at 0x7fe73ecec500>, '__package__': 'Gnumed', 
'platform': <module 'platform' from '/usr/lib/python2.7/platform.pyc'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x7fe73ecec320>, 'shutdown_tmp_dir': 
<function shutdown_tmp_dir at 0x7fe73ecec6e0>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x7fe73ecec398>, 'setup_date_time': <function 
setup_date_time at 0x7fe73ecec410>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x7fe73ecec230>, 'profile_file': None, '__license__': 'GPL v2 or later (details 
at http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7fe73ece1f50>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x7fe73ece1de8>, '__author__': 'H. Herb 
<address@hidden>, K. Hilbert <address@hidden>, I. Haywood <address@hidden>', 
'sys': <module 'sys' (built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' 
from '/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7fe7401fead0>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7fe73ecec5f0>, 'handle_sig_term': <function 
handle_sig_term at 0x7fe73ecec140>, '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 0x7fe740148878>, 'setup_backend': <function 
setup_backend at 0x7fe73ecec578>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7fe73ecec488>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7fe73ecec050>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7fe73ece1e60>, 'handle_help_request': <function handle_help_request at 
0x7fe73ecec2a8>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7fe73e95f190>, 'setup_python_path': <function setup_python_path at 
0x7fe73ece1d70>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>}
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       code = <code object <module> at 0x7fe7400ed030, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
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.5.6', '_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'], 'codecs': <module 'codecs' 
from '/usr/lib/python2.7/codecs.pyc'>, 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7fe73ecec1b8>, 
'setup_cli': <function setup_cli at 0x7fe73ecec0c8>, '_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 0x7fe73ecec668>, 'current_client_branch': u'1.5', 
'setup_logging': <function setup_logging at 0x7fe73ece1ed8>, 'setup_ui_type': 
<function setup_ui_type at 0x7fe73ecec500>, '__package__': 'Gnumed', 
'platform': <module 'platform' from '/usr/lib/python2.7/platform.pyc'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x7fe73ecec320>, 'shutdown_tmp_dir': 
<function shutdown_tmp_dir at 0x7fe73ecec6e0>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x7fe73ecec398>, 'setup_date_time': <function 
setup_date_time at 0x7fe73ecec410>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x7fe73ecec230>, 'profile_file': None, '__license__': 'GPL v2 or later (details 
at http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7fe73ece1f50>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x7fe73ece1de8>, '__author__': 'H. Herb 
<address@hidden>, K. Hilbert <address@hidden>, I. Haywood <address@hidden>', 
'sys': <module 'sys' (built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' 
from '/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7fe7401fead0>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7fe73ecec5f0>, 'handle_sig_term': <function 
handle_sig_term at 0x7fe73ecec140>, '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 0x7fe740148878>, 'setup_backend': <function 
setup_backend at 0x7fe73ecec578>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7fe73ecec488>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7fe73ecec050>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7fe73ece1e60>, 'handle_help_request': <function handle_help_request at 
0x7fe73ecec2a8>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7fe73e95f190>, 'setup_python_path': <function setup_python_path at 
0x7fe73ece1d70>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>}
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
init_globals = None
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   pkg_name = Gnumed
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   mod_name = __main__
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 647 
<<<
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
_known_short_options = h?V
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
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.

2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
_old_sig_term = None
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
current_client_version = 1.5.6
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
_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']
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     codecs = <module 'codecs' from '/usr/lib/python2.7/codecs.pyc'>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    ui_type = wxp
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_signal_handlers = <function setup_signal_handlers at 0x7fe73ecec1b8>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  setup_cli = <function setup_cli at 0x7fe73ecec0c8>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_logging = <function shutdown_logging at 0x7fe73ecec668>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
current_client_branch = 1.5
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_logging = <function setup_logging at 0x7fe73ece1ed8>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_ui_type = <function setup_ui_type at 0x7fe73ecec500>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
__package__ = Gnumed
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
handle_version_request = <function handle_version_request at 0x7fe73ecec320>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x7fe73ecec6e0>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
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.

2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_paths_and_files = <function setup_paths_and_files at 0x7fe73ecec398>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
setup_date_time = <function setup_date_time at 0x7fe73ecec410>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
setup_locale = <function setup_locale at 0x7fe73ecec230>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
profile_file = None
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
log_startup_info = <function log_startup_info at 0x7fe73ece1f50>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
__builtins__ = <module '__builtin__' (built-in)>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_local_repo_path = <function setup_local_repo_path at 0x7fe73ece1de8>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        sys = <module 'sys' (built-in)>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _log = <logging.Logger object at 0x7fe7401fead0>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   __name__ = __main__
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_backend = <function shutdown_backend at 0x7fe73ecec5f0>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
handle_sig_term = <function handle_sig_term at 0x7fe73ecec140>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
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.

2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_backend = <function setup_backend at 0x7fe73ecec578>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  setup_cfg = <function setup_cfg at 0x7fe73ecec488>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x7fe73ecec050>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     signal = <module 'signal' (built-in)>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
setup_fault_handler = <function setup_fault_handler at 0x7fe73ece1e60>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
handle_help_request = <function handle_help_request at 0x7fe73ecec2a8>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x7fe73e95f190>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):    
setup_python_path = <function setup_python_path at 0x7fe73ece1d70>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3720 <<<
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >,)
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     kwargs = {}
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [<lambda>] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
14665 <<<
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      event = <wx._core.PyEvent; proxy of <Swig Object of type 'wxPyEvent *' at 
0x7fe7180092e0> >
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [db_callback_encounter_mod_db] in 
[/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py] at line 167 <<<
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       self = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x7fe7130f8110>
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):       
curr_enc_in_db = [cEncounter:14839]:
last_affirmed_original_tz: 2015-08-07 08:22:11.622907
pk_type: 1
pk_patient: 3439
assessment_of_encounter: NULL
pk_org_type: 4
pk_generic_codes_aoe: []
modified_by: MaAn
xmin_encounter: 138587
l10n_type: in Praxis
modified_when: 2015-08-07 08:22:11.622907+02:00
pk_generic_codes_rfe: []
type: in surgery
modified_by_raw: maan
started: 2015-08-07 08:22:11.622907+02:00
reason_for_encounter: NULL
pk_unit_type: 4
pk_audit: 203526
praxis_branch: Praxis
last_affirmed: 2015-08-07 08:22:11.622907+02:00
pk_org_unit: 7
pk_encounter: 14839
row_version: 0
pk_org: 7
source_time_zone: 2:00:00
started_original_tz: 2015-08-07 08:22:11.622907
praxis: Praxis Angermann
2015-08-07 09:25:47  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       kwds = {'pk_column': u'pk', 'pk_row': u'14841', 'sender': None, 
'notification_index': 76, 'message_index': 152, 'listener_pid': 17661, 
'pk_identity': u'3607', 'sending_backend_pid': 4909, 'originated_in_database': 
True, 'table': u'clin.encounter', 'operation': u'INSERT', 'signal': 
'clin.encounter_mod_db'}
2015-08-07 09:25:47  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:25:47  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:25:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 4919, readonly: False
2015-08-07 09:25:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:25:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:25:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:25:47  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::remove_empty_encounters()
 #2137): removing empty encounters for pk_identity [3607]
2015-08-07 09:25:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 4920, readonly: False
2015-08-07 09:25:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:25:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:25:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:25:47  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1447): RW query 
failed: [SELECT clin.remove_old_empty_encounters(3607::INTEGER, '1 
week'::INTERVAL)]
2015-08-07 09:25:47  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1451): PG error 
code: P0001
2015-08-07 09:25:47  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1453): PG error 
message: ERROR:  clin.remove_old_empty_encounters(person=3607, min_age=7 days): 
there are less than 2 encounters for this patient
2015-08-07 09:25:47  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::remove_empty_encounters()
 #2151): error deleting empty encounters
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 2149, in 
remove_empty_encounters
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}])
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1445, 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=3607, min_age=7 days): 
there are less than 2 encounters for this patient

2015-08-07 09:25:48  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#165): SQL: SELECT * FROM dem.v_message_inbox WHERE pk_patient = %(pat)s AND 
is_overdue IS TRUE ORDER BY due_date, importance DESC, received_when DESC
2015-08-07 09:25:48  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#166): args: {'pat': 3607}
2015-08-07 09:25:48  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [post_patient_activation]
2015-08-07 09:25:48  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::__init__() #43): 
instantiated document folder for patient [3607]
2015-08-07 09:25:48  INFO      gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::get_latest_mugshot() #96): 
no mugshots available for patient [3607]
2015-08-07 09:25:48  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:25:48  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:25:48  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14841]
2015-08-07 09:25:48  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 4921, readonly: False
2015-08-07 09:25:48  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:25:48  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:25:48  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:25:48  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #77: Notify(4921, 'gm_table_mod', 
'operation=INSERT::table=clin.allergy_state::PK name=pk::row PK=3607::person 
PK=3607')
2015-08-07 09:25:48  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.allergy_state_mod_db]
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_post_patient_selection()
 #638): post_patient_selection
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
 #446): called by reget-on-paint mixin API
2015-08-07 09:25:48  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:25:48  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:25:48  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:25:48  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:25:48  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=-1* -> event.GetSelection()=0
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #167): the following two should match but do not:
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #168):  event.GetOldSelection(): -1
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #169):  notebook.GetSelection(): 16
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#220): those two really *should* match:
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#221):  wx.Notebook.GetSelection() (before switch) : 16
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#222):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::repopulate_ui() 
#457): called by notebook plugin API, skipping inbox loading
2015-08-07 09:25:48  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:25:48  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=16* -> event.GetSelection()=3
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:25:48  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=16 -> event.GetSelection()=3*
2015-08-07 09:25:48  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_deactivated]
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:25:49  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [request_user_attention]
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:25:49  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14841]
2015-08-07 09:25:49  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 4923, readonly: False
2015-08-07 09:25:49  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:25:49  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:25:49  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:25:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:25:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=3* -> event.GetSelection()=2
2015-08-07 09:25:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:25:49  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=3 -> event.GetSelection()=2*
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:25:49  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#165): SQL: SELECT * FROM dem.v_message_inbox WHERE pk_patient = %(pat)s AND 
is_overdue IS TRUE ORDER BY due_date, importance DESC, received_when DESC
2015-08-07 09:25:49  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#166): args: {'pat': 3607}
2015-08-07 09:25:49  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_inbox_messages() 
#250): SQL: SELECT * FROM dem.v_message_inbox WHERE pk_patient = %(pat)s ORDER 
BY due_date NULLS LAST, importance DESC, received_when DESC
2015-08-07 09:25:49  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_inbox_messages() 
#251): args: {'pat': 3607}
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:25:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:25:50  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [request_user_attention]
2015-08-07 09:25:50  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #247): syncing log file for backup to 
[/home/marc/.gnumed/error_logs/gnumed-2015_08_07-08_03_23-2171_2015-08-07_09-25-47.log]
2015-08-07 09:25:50  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #120): -------- synced 
log file -------------------------------
2015-08-07 09:25:50  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_activated]
2015-08-07 09:25:54  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 4954, readonly: True
2015-08-07 09:25:54  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1662): 
access mode [READ ONLY]
2015-08-07 09:25:54  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1664): 
readonly: autocommit=True to avoid <IDLE IN TRANSACTION>
2015-08-07 09:25:54  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1135): 
expecting 1897 bytes of BYTEA data in chunks of 1897 bytes
2015-08-07 09:25:54  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1141): # of 
chunks: 1; remainder: 0 bytes
2015-08-07 09:25:54  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__init__() #993): LaTeX sandbox 
directory: [/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir]
2015-08-07 09:25:54  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__init__() #671): working on 
template file 
[/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4.tex]
2015-08-07 09:25:54  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::substitute_placeholders() 
#1027): placeholder substitution run #1
2015-08-07 09:25:54  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1047): 
[/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4.tex]
 -> 
[/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4-result_run1.tex]
2015-08-07 09:25:54  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1068): 3 placeholders found with pattern: \$<[^<:]+::.*?::\d*?>\$
2015-08-07 09:25:54  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<title::::>$]
2015-08-07 09:25:54  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[title]; length=[]; options=>>><<<
2015-08-07 09:25:54  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<firstname::::>$]
2015-08-07 09:25:54  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[firstname]; length=[]; options=>>><<<
2015-08-07 09:25:54  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<lastname::::>$]
2015-08-07 09:25:54  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[lastname]; length=[]; options=>>><<<
2015-08-07 09:25:54  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1068): 2 placeholders found with pattern: \$<[^<:]+::.*?::\d*?>\$
2015-08-07 09:25:54  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<adr_street::home::>$]
2015-08-07 09:25:54  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[adr_street]; length=[]; options=>>>home<<<
2015-08-07 09:25:54  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<adr_number::home::>$]
2015-08-07 09:25:54  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[adr_number]; length=[]; options=>>>home<<<
2015-08-07 09:25:55  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1068): 2 placeholders found with pattern: \$<[^<:]+::.*?::\d*?>\$
2015-08-07 09:25:55  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<adr_postcode::home::>$]
2015-08-07 09:25:55  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[adr_postcode]; length=[]; options=>>>home<<<
2015-08-07 09:25:55  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<adr_location::home::>$]
2015-08-07 09:25:55  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[adr_location]; length=[]; options=>>>home<<<
2015-08-07 09:25:55  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1068): 1 placeholders found with pattern: \$<[^<:]+::.*?::\d*?>\$
2015-08-07 09:25:55  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<date_of_birth::%d.%m.%Y::>$]
2015-08-07 09:25:55  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[date_of_birth]; length=[]; options=>>>%d.%m.%Y<<<
2015-08-07 09:25:55  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::substitute_placeholders() 
#1027): placeholder substitution run #2
2015-08-07 09:25:55  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1047): 
[/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4-result_run1.tex]
 -> 
[/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4-result_run2.tex]
2015-08-07 09:25:55  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #124): 
<application/x-latex> editor: [None]
2015-08-07 09:25:55  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #124): 
<application/x-tex> editor: [None]
2015-08-07 09:25:55  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/pycommon/gmMimeLib.py::get_editor_cmd() #124): 
<text/plain> editor: [vi 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4-result_run2.tex]
2015-08-07 09:25:55  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>vi 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4-result_run2.tex<<<
2015-08-07 09:25:55  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2015-08-07 09:25:55  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2015-08-07 09:25:55  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>vi 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4-result_run2.tex<<<
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2015-08-07 09:25:56  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #1134): 
ignoring <format> directive [None], generating PDF
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -recorder -interaction=nonstopmode 
-output-directory=/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4-result_run2.tex<<<
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2015-08-07 09:25:56  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -draftmode -recorder -interaction=nonstopmode 
-output-directory=/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4-result_run2.tex<<<
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -recorder -interaction=nonstopmode 
-output-directory=/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4-result_run2.tex<<<
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2015-08-07 09:25:56  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -draftmode -recorder -interaction=nonstopmode 
-output-directory=/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4-result_run2.tex<<<
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -recorder -interaction=nonstopmode 
-output-directory=/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4-result_run2.tex<<<
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2015-08-07 09:25:56  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2015-08-07 09:25:56  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -recorder -interaction=nonstopmode 
-output-directory=/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4-result_run2.tex<<<
2015-08-07 09:25:57  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2015-08-07 09:25:57  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2015-08-07 09:25:57  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2015-08-07 09:25:57  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2015-08-07 09:25:57  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2015-08-07 09:25:57  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2015-08-07 09:25:57  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #1155): 
copying sandboxed PDF: 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4-result_run2.pdf
 -> /tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4-result_run2.pdf
2015-08-07 09:25:57  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_deactivated]
2015-08-07 09:25:57  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_activated]
2015-08-07 09:25:58  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #45): printing 
"generic_document": 
[u'/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4-result_run2.pdf']
2015-08-07 09:25:58  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #59): print API 
"None" unknown, trying all
2015-08-07 09:25:58  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::_print_files_by_gtklp() 
#170): printing with ['gtklp', '-i', '-# 1', 
u'/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4-result_run2.pdf']
2015-08-07 09:26:00  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:00  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 4974, readonly: False
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #78: Notify(4974, 'gm_table_mod', 
'operation=INSERT::table=clin.episode::PK name=pk::row PK=11379::person 
PK=3607')
2015-08-07 09:26:00  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:00  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.episode_mod_db]
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5061, readonly: False
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #79: Notify(5061, 'gm_table_mod', 
'operation=INSERT::table=blobs.doc_med::PK name=pk::row PK=15476::person 
PK=3607')
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_med_mod_db]
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5093, readonly: False
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #80: Notify(5093, 'gm_table_mod', 
'operation=INSERT::table=blobs.doc_obj::PK name=pk::row PK=30034')
2015-08-07 09:26:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_obj_mod_db]
2015-08-07 09:26:01  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::file2md5() #402): 
md5(/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4-result_run2.pdf): <131072> 
byte blocks
2015-08-07 09:26:01  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::file2md5() #413): 
md5(/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4-result_run2.pdf): 
669d15677a3e7d5c255e3d55605ee8c4
2015-08-07 09:26:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5102, readonly: False
2015-08-07 09:26:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::file2bytea() #1231): MD5 sums of 
data file and database BYTEA field match: 
[file::669d15677a3e7d5c255e3d55605ee8c4] = 
[DB::669d15677a3e7d5c255e3d55605ee8c4]
2015-08-07 09:26:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #81: Notify(5102, 'gm_table_mod', 
'operation=UPDATE::table=blobs.doc_obj::PK name=pk::row PK=30034')
2015-08-07 09:26:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_obj_mod_db]
2015-08-07 09:26:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5107, readonly: False
2015-08-07 09:26:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #82: Notify(5107, 'gm_table_mod', 
'operation=UPDATE::table=blobs.doc_obj::PK name=pk::row PK=30034')
2015-08-07 09:26:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_obj_mod_db]
2015-08-07 09:26:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5108, readonly: False
2015-08-07 09:26:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #83: Notify(5108, 'gm_table_mod', 
'operation=INSERT::table=blobs.doc_obj::PK name=pk::row PK=30035')
2015-08-07 09:26:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_obj_mod_db]
2015-08-07 09:26:02  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::file2md5() #402): 
md5(/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4-result_run2.tex):
 <131072> byte blocks
2015-08-07 09:26:02  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::file2md5() #413): 
md5(/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-0eyqn4_yqaU_s.dir/gm-L-Template-0eyqn4-result_run2.tex):
 a397066ed53bfbe6ff89f59f1137f709
2015-08-07 09:26:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5118, readonly: False
2015-08-07 09:26:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::file2bytea() #1231): MD5 sums of 
data file and database BYTEA field match: 
[file::a397066ed53bfbe6ff89f59f1137f709] = 
[DB::a397066ed53bfbe6ff89f59f1137f709]
2015-08-07 09:26:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #84: Notify(5118, 'gm_table_mod', 
'operation=UPDATE::table=blobs.doc_obj::PK name=pk::row PK=30035')
2015-08-07 09:26:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_obj_mod_db]
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5119, readonly: False
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #85: Notify(5119, 'gm_table_mod', 
'operation=UPDATE::table=blobs.doc_obj::PK name=pk::row PK=30035')
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_obj_mod_db]
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5120, readonly: False
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #86: Notify(5120, 'gm_table_mod', 
'operation=INSERT::table=blobs.reviewed_doc_objs::PK name=pk::row PK=28615')
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal 
[blobs.reviewed_doc_objs_mod_db]
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5121, readonly: False
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #87: Notify(5121, 'gm_table_mod', 
'operation=INSERT::table=blobs.reviewed_doc_objs::PK name=pk::row PK=28616')
2015-08-07 09:26:03  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:03  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal 
[blobs.reviewed_doc_objs_mod_db]
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5122, readonly: False
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #88: Notify(5122, 'gm_table_mod', 
'operation=INSERT::table=clin.clin_narrative::PK name=pk::row PK=58111::person 
PK=3607')
2015-08-07 09:26:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.clin_narrative_mod_db]
2015-08-07 09:26:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:04  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14841]
2015-08-07 09:26:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5123, readonly: False
2015-08-07 09:26:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:04  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_doc_mod_db() 
#629): doc_mod_db
2015-08-07 09:26:04  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_message_inbox_mod_db()
 #633): message_inbox_mod_db
2015-08-07 09:26:04  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
 #446): called by reget-on-paint mixin API
2015-08-07 09:26:04  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_doc_obj_review_mod_db()
 #625): doc_obj_review_mod_db
2015-08-07 09:26:04  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_message_inbox_mod_db()
 #633): message_inbox_mod_db
2015-08-07 09:26:04  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
 #446): called by reget-on-paint mixin API
2015-08-07 09:26:04  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_doc_obj_review_mod_db()
 #625): doc_obj_review_mod_db
2015-08-07 09:26:04  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_message_inbox_mod_db()
 #633): message_inbox_mod_db
2015-08-07 09:26:04  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
 #446): called by reget-on-paint mixin API
2015-08-07 09:26:04  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [after_soap_modified]
2015-08-07 09:26:04  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [request_user_attention]
2015-08-07 09:26:04  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [request_user_attention]
2015-08-07 09:26:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:05  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#165): SQL: SELECT * FROM dem.v_message_inbox WHERE pk_patient = %(pat)s AND 
is_overdue IS TRUE ORDER BY due_date, importance DESC, received_when DESC
2015-08-07 09:26:05  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#166): args: {'pat': 3607}
2015-08-07 09:26:05  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_inbox_messages() 
#250): SQL: SELECT * FROM dem.v_message_inbox WHERE pk_patient = %(pat)s ORDER 
BY due_date NULLS LAST, importance DESC, received_when DESC
2015-08-07 09:26:05  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_inbox_messages() 
#251): args: {'pat': 3607}
2015-08-07 09:26:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:05  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [request_user_attention]
2015-08-07 09:26:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5151, readonly: False
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #89: Notify(5151, 'gm_table_mod', 
'operation=INSERT::table=clin.health_issue::PK name=pk::row PK=6591::person 
PK=3607')
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.health_issue_mod_db]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5152, readonly: False
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #90: Notify(5152, 'gm_table_mod', 
'operation=INSERT::table=clin.episode::PK name=pk::row PK=11380::person 
PK=3607')
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.episode_mod_db]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5153, readonly: False
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #91: Notify(5153, 'gm_table_mod', 
'operation=INSERT::table=clin.allergy::PK name=pk::row PK=3020::person PK=3607')
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.allergy_mod_db]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #92: Notify(5153, 'gm_table_mod', 
'operation=UPDATE::table=clin.allergy_state::PK name=pk::row PK=3607::person 
PK=3607')
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.allergy_state_mod_db]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5154, readonly: False
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #93: Notify(5154, 'gm_table_mod', 
'operation=UPDATE::table=clin.allergy::PK name=pk::row PK=3020::person PK=3607')
2015-08-07 09:26:09  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14841]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.allergy_mod_db]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5155, readonly: False
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5157, readonly: False
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:09  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14841]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #94: Notify(5157, 'gm_table_mod', 
'operation=UPDATE::table=clin.allergy_state::PK name=pk::row PK=3607::person 
PK=3607')
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.allergy_state_mod_db]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5158, readonly: False
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:09  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14841]
2015-08-07 09:26:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5159, readonly: False
2015-08-07 09:26:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14841]
2015-08-07 09:26:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5161, readonly: False
2015-08-07 09:26:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14841]
2015-08-07 09:26:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5162, readonly: False
2015-08-07 09:26:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:10  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#165): SQL: SELECT * FROM dem.v_message_inbox WHERE pk_patient = %(pat)s AND 
is_overdue IS TRUE ORDER BY due_date, importance DESC, received_when DESC
2015-08-07 09:26:10  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#166): args: {'pat': 3607}
2015-08-07 09:26:11  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_inbox_messages() 
#250): SQL: SELECT * FROM dem.v_message_inbox WHERE pk_patient = %(pat)s ORDER 
BY due_date NULLS LAST, importance DESC, received_when DESC
2015-08-07 09:26:11  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_inbox_messages() 
#251): args: {'pat': 3607}
2015-08-07 09:26:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:11  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_deactivated]
2015-08-07 09:26:12  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_activated]
2015-08-07 09:26:12  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_deactivated]
2015-08-07 09:26:12  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_activated]
2015-08-07 09:26:12  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:12  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:12  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:12  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:14  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:26:14  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=2* -> event.GetSelection()=4
2015-08-07 09:26:14  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:26:14  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=2 -> event.GetSelection()=4*
2015-08-07 09:26:14  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:14  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:14  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:14  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:14  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14841]
2015-08-07 09:26:14  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5187, readonly: False
2015-08-07 09:26:14  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:14  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:14  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:14  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:14  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:14  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 09:26:14  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:26:14  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=-1* -> event.GetSelection()=0
2015-08-07 09:26:14  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #167): the following two should match but do not:
2015-08-07 09:26:14  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #168):  event.GetOldSelection(): -1
2015-08-07 09:26:14  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #169):  notebook.GetSelection(): 4
2015-08-07 09:26:14  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:26:14  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2015-08-07 09:26:14  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#220): those two really *should* match:
2015-08-07 09:26:14  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#221):  wx.Notebook.GetSelection() (before switch) : 4
2015-08-07 09:26:14  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#222):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2015-08-07 09:26:14  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::repopulate_ui() 
#457): called by notebook plugin API, skipping inbox loading
2015-08-07 09:26:14  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:14  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:16  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_deactivated]
2015-08-07 09:26:21  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_activated]
2015-08-07 09:26:31  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:31  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:31  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5261, readonly: False
2015-08-07 09:26:31  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:31  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:31  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:31  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #95: Notify(5261, 'gm_table_mod', 
'operation=INSERT::table=clin.health_issue::PK name=pk::row PK=6592::person 
PK=3607')
2015-08-07 09:26:31  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.health_issue_mod_db]
2015-08-07 09:26:31  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5262, readonly: False
2015-08-07 09:26:31  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:31  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:31  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:31  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #96: Notify(5262, 'gm_table_mod', 
'operation=UPDATE::table=clin.health_issue::PK name=pk::row PK=6592::person 
PK=3607')
2015-08-07 09:26:31  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.health_issue_mod_db]
2015-08-07 09:26:31  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:31  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:31  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:31  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:32  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14841]
2015-08-07 09:26:32  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5264, readonly: False
2015-08-07 09:26:32  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:32  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:32  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:32  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:32  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:32  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:32  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:32  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14841]
2015-08-07 09:26:32  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5266, readonly: False
2015-08-07 09:26:32  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:26:32  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:26:32  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:26:32  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:26:32  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=4* -> event.GetSelection()=5
2015-08-07 09:26:32  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:26:32  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=4 -> event.GetSelection()=5*
2015-08-07 09:26:32  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:32  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:33  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:26:33  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:26:33  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 09:26:33  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:26:33  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=0* -> event.GetSelection()=1
2015-08-07 09:26:33  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #167): the following two should match but do not:
2015-08-07 09:26:33  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #168):  event.GetOldSelection(): 0
2015-08-07 09:26:33  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #169):  notebook.GetSelection(): 5
2015-08-07 09:26:33  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:26:33  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=0 -> event.GetSelection()=1*
2015-08-07 09:26:33  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#220): those two really *should* match:
2015-08-07 09:26:33  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#221):  wx.Notebook.GetSelection() (before switch) : 5
2015-08-07 09:26:33  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#222):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): 0
2015-08-07 09:27:24  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:27:24  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=5* -> event.GetSelection()=12
2015-08-07 09:27:24  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:27:24  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=5 -> event.GetSelection()=12*
2015-08-07 09:27:25  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:27:25  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=12* -> event.GetSelection()=9
2015-08-07 09:27:25  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:27:25  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=12 -> event.GetSelection()=9*
2015-08-07 09:27:26  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#45): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 42, in 
_twain_import_module
    import twain
ImportError: No module named twain
2015-08-07 09:27:26  ERROR     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::_twain_import_module() 
#45): cannot import TWAIN module (WinTWAIN.py)
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py", line 42, in 
_twain_import_module
    import twain
ImportError: No module named twain
2015-08-07 09:27:26  DEBUG     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::acquire_pages_into_files() 
#479): using XSane
2015-08-07 09:27:26  DEBUG     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::acquire_pages_into_files() 
#487): requested filename: [None]
2015-08-07 09:27:26  DEBUG     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::__get_session_xsanerc() 
#412): GNUmed -> XSane session xsanerc: 
/tmp/gnumed/marc/gm-EiVl61/gm-session_xsanerc-VGxN21.conf
2015-08-07 09:27:26  DEBUG     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::__get_session_xsanerc() 
#440): replaced [tmp-path] with [/tmp/gnumed/marc/gm-EiVl61]
2015-08-07 09:27:26  DEBUG     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::__get_session_xsanerc() 
#440): replaced [working-directory] with [/tmp/gnumed/marc/gm-EiVl61]
2015-08-07 09:27:26  DEBUG     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::__get_session_xsanerc() 
#440): replaced [filename] with [<--force-filename>]
2015-08-07 09:27:26  DEBUG     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::__get_session_xsanerc() 
#440): replaced [filetype] with [.png]
2015-08-07 09:27:26  DEBUG     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::__get_session_xsanerc() 
#440): replaced [skip-existing-numbers] with [1]
2015-08-07 09:27:26  DEBUG     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::__get_session_xsanerc() 
#440): replaced [filename-counter-step] with [1]
2015-08-07 09:27:26  DEBUG     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::__get_session_xsanerc() 
#440): replaced [filename-counter-len] with [3]
2015-08-07 09:27:26  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>xsane --no-mode-selection --save --force-filename 
"/tmp/gnumed/marc/gm-EiVl61/gm-scan-DOaq4j-001.png" --xsane-rc 
"/tmp/gnumed/marc/gm-EiVl61/gm-session_xsanerc-VGxN21.conf"  <<<
2015-08-07 09:27:26  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2015-08-07 09:27:26  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0]
2015-08-07 09:27:26  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>xsane --no-mode-selection --save --force-filename 
"/tmp/gnumed/marc/gm-EiVl61/gm-scan-DOaq4j-001.png" --xsane-rc 
"/tmp/gnumed/marc/gm-EiVl61/gm-session_xsanerc-VGxN21.conf"<<<
2015-08-07 09:27:47  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2015-08-07 09:27:47  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2015-08-07 09:27:47  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2015-08-07 09:27:47  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2015-08-07 09:27:47  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2015-08-07 09:27:47  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2015-08-07 09:27:47  DEBUG     gm.scanning 
(/usr/share/gnumed/Gnumed/pycommon/gmScanBackend.py::acquire_pages_into_files() 
#490): acquired pages into files: 
[u'/tmp/gnumed/marc/gm-EiVl61/gm-scan-DOaq4j-001.png']
2015-08-07 09:27:47  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_deactivated]
2015-08-07 09:27:47  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_activated]
2015-08-07 09:27:55  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:27:55  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:27:55  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:27:55  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5621, readonly: False
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #97: Notify(5621, 'gm_table_mod', 
'operation=INSERT::table=clin.episode::PK name=pk::row PK=11381::person 
PK=3607')
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.episode_mod_db]
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5622, readonly: False
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #98: Notify(5622, 'gm_table_mod', 
'operation=INSERT::table=blobs.doc_med::PK name=pk::row PK=15477::person 
PK=3607')
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_med_mod_db]
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5623, readonly: False
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #99: Notify(5623, 'gm_table_mod', 
'operation=UPDATE::table=blobs.doc_med::PK name=pk::row PK=15477::person 
PK=3607')
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_med_mod_db]
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5630, readonly: False
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #100: Notify(5630, 'gm_table_mod', 
'operation=INSERT::table=blobs.doc_obj::PK name=pk::row PK=30036')
2015-08-07 09:27:55  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_obj_mod_db]
2015-08-07 09:27:56  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::file2md5() #402): 
md5(/tmp/gnumed/marc/gm-EiVl61/gm-scan-DOaq4j-001.png): <131072> byte blocks
2015-08-07 09:27:56  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::file2md5() #413): 
md5(/tmp/gnumed/marc/gm-EiVl61/gm-scan-DOaq4j-001.png): 
0195f32cdad6a89977279718b88e9d2f
2015-08-07 09:27:56  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5636, readonly: False
2015-08-07 09:27:56  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:27:56  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:27:56  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::file2bytea() #1231): MD5 sums of 
data file and database BYTEA field match: 
[file::0195f32cdad6a89977279718b88e9d2f] = 
[DB::0195f32cdad6a89977279718b88e9d2f]
2015-08-07 09:27:56  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #101: Notify(5636, 'gm_table_mod', 
'operation=UPDATE::table=blobs.doc_obj::PK name=pk::row PK=30036')
2015-08-07 09:27:56  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_obj_mod_db]
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5639, readonly: False
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #102: Notify(5639, 'gm_table_mod', 
'operation=UPDATE::table=blobs.doc_obj::PK name=pk::row PK=30036')
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_obj_mod_db]
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5640, readonly: False
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #103: Notify(5640, 'gm_table_mod', 
'operation=INSERT::table=blobs.reviewed_doc_objs::PK name=pk::row PK=28617')
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal 
[blobs.reviewed_doc_objs_mod_db]
2015-08-07 09:27:57  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [after_new_doc_created]
2015-08-07 09:27:57  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:27:57  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:27:57  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:27:57  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:27:57  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:27:57  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:27:57  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14841]
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 5650, readonly: False
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:27:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:27:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_doc_mod_db() 
#629): doc_mod_db
2015-08-07 09:27:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_message_inbox_mod_db()
 #633): message_inbox_mod_db
2015-08-07 09:27:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
 #446): called by reget-on-paint mixin API
2015-08-07 09:27:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_doc_mod_db() 
#629): doc_mod_db
2015-08-07 09:27:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_message_inbox_mod_db()
 #633): message_inbox_mod_db
2015-08-07 09:27:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
 #446): called by reget-on-paint mixin API
2015-08-07 09:27:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_doc_obj_review_mod_db()
 #625): doc_obj_review_mod_db
2015-08-07 09:27:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_message_inbox_mod_db()
 #633): message_inbox_mod_db
2015-08-07 09:27:58  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
 #446): called by reget-on-paint mixin API
2015-08-07 09:27:58  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [request_user_attention]
2015-08-07 09:27:58  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [request_user_attention]
2015-08-07 09:27:58  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [request_user_attention]
2015-08-07 09:27:58  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_deactivated]
2015-08-07 09:27:58  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_activated]
2015-08-07 09:28:04  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:28:04  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=9* -> event.GetSelection()=5
2015-08-07 09:28:04  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:28:04  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=9 -> event.GetSelection()=5*
2015-08-07 09:28:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:28:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:28:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #104: Notify(5682, 'gm_table_mod', 
'operation=INSERT::table=clin.encounter::PK name=pk::row PK=14842::person 
PK=3548')
2015-08-07 09:28:05  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.encounter_mod_db]
2015-08-07 09:28:05  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #164): current in client: [cEncounter:14839]: ['last_affirmed_original_tz: 
>>2015-08-07 08:22:11.622907<<', 'pk_type: >>1<<', 'pk_patient: >>3439<<', 
u'assessment_of_encounter: >>BWS, SSB; <<', 'pk_org_type: >>4<<', 
'pk_generic_codes_aoe: >>[]<<', u'modified_by: >>MaAn<<', 'xmin_encounter: 
>>138587<<', u'l10n_type: >>in Praxis<<', 'modified_when: >>2015-08-07 
08:22:11.622907+02:00<<', 'pk_generic_codes_rfe: >>[]<<', u'type: >>in 
surgery<<', u'modified_by_raw: >>maan<<', 'started: >>2015-08-07 
08:22:11.622907+02:00<<', 'reason_for_encounter: NULL', 'pk_unit_type: >>4<<', 
'pk_audit: >>203526<<', u'praxis_branch: >>Praxis<<', 'last_affirmed: 
>>2015-08-07 08:58:01.733062+02:00<<', 'pk_org_unit: >>7<<', 'pk_encounter: 
>>14839<<', 'row_version: >>0<<', 'pk_org: >>7<<', 'source_time_zone: 
>>2:00:00<<', 'started_original_tz: >>2015-08-07 08:22:11.622907<<', u'praxis: 
>>Praxis Angermann<<']
2015-08-07 09:28:05  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #195): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
14665, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 167, in 
db_callback_encounter_mod_db
    curr_enc_in_db['pk_encounter']
ValueError: unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:28:05  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #160): 
exception: unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #161): type: 
<type 'exceptions.ValueError'>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #162): list of 
attributes:
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #164):   args: 
('unsaved changes in active encounter [14839], cannot switch to another one 
[14839]',)
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #164):   
message: unsaved changes in active encounter [14839], cannot switch to another 
one [14839]
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #187): stack 
trace follows:
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #188): (locals 
by frame, outmost frame first)
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       code = <code object <module> at 0x7fe7400ed030, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   mod_name = Gnumed.gnumed
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 alter_argv = 1
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     loader = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   pkg_name = Gnumed
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
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.5.6', '_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'], 'codecs': <module 'codecs' 
from '/usr/lib/python2.7/codecs.pyc'>, 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7fe73ecec1b8>, 
'setup_cli': <function setup_cli at 0x7fe73ecec0c8>, '_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 0x7fe73ecec668>, 'current_client_branch': u'1.5', 
'setup_logging': <function setup_logging at 0x7fe73ece1ed8>, 'setup_ui_type': 
<function setup_ui_type at 0x7fe73ecec500>, '__package__': 'Gnumed', 
'platform': <module 'platform' from '/usr/lib/python2.7/platform.pyc'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x7fe73ecec320>, 'shutdown_tmp_dir': 
<function shutdown_tmp_dir at 0x7fe73ecec6e0>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x7fe73ecec398>, 'setup_date_time': <function 
setup_date_time at 0x7fe73ecec410>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x7fe73ecec230>, 'profile_file': None, '__license__': 'GPL v2 or later (details 
at http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7fe73ece1f50>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x7fe73ece1de8>, '__author__': 'H. Herb 
<address@hidden>, K. Hilbert <address@hidden>, I. Haywood <address@hidden>', 
'sys': <module 'sys' (built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' 
from '/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7fe7401fead0>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7fe73ecec5f0>, 'handle_sig_term': <function 
handle_sig_term at 0x7fe73ecec140>, '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 0x7fe740148878>, 'setup_backend': <function 
setup_backend at 0x7fe73ecec578>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7fe73ecec488>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7fe73ecec050>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7fe73ece1e60>, 'handle_help_request': <function handle_help_request at 
0x7fe73ecec2a8>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7fe73e95f190>, 'setup_python_path': <function setup_python_path at 
0x7fe73ece1d70>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>}
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       code = <code object <module> at 0x7fe7400ed030, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
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.5.6', '_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'], 'codecs': <module 'codecs' 
from '/usr/lib/python2.7/codecs.pyc'>, 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7fe73ecec1b8>, 
'setup_cli': <function setup_cli at 0x7fe73ecec0c8>, '_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 0x7fe73ecec668>, 'current_client_branch': u'1.5', 
'setup_logging': <function setup_logging at 0x7fe73ece1ed8>, 'setup_ui_type': 
<function setup_ui_type at 0x7fe73ecec500>, '__package__': 'Gnumed', 
'platform': <module 'platform' from '/usr/lib/python2.7/platform.pyc'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x7fe73ecec320>, 'shutdown_tmp_dir': 
<function shutdown_tmp_dir at 0x7fe73ecec6e0>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x7fe73ecec398>, 'setup_date_time': <function 
setup_date_time at 0x7fe73ecec410>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x7fe73ecec230>, 'profile_file': None, '__license__': 'GPL v2 or later (details 
at http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7fe73ece1f50>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x7fe73ece1de8>, '__author__': 'H. Herb 
<address@hidden>, K. Hilbert <address@hidden>, I. Haywood <address@hidden>', 
'sys': <module 'sys' (built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' 
from '/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7fe7401fead0>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7fe73ecec5f0>, 'handle_sig_term': <function 
handle_sig_term at 0x7fe73ecec140>, '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 0x7fe740148878>, 'setup_backend': <function 
setup_backend at 0x7fe73ecec578>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7fe73ecec488>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7fe73ecec050>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7fe73ece1e60>, 'handle_help_request': <function handle_help_request at 
0x7fe73ecec2a8>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7fe73e95f190>, 'setup_python_path': <function setup_python_path at 
0x7fe73ece1d70>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>}
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
init_globals = None
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   pkg_name = Gnumed
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   mod_name = __main__
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 647 
<<<
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
_known_short_options = h?V
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
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.

2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
_old_sig_term = None
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
current_client_version = 1.5.6
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
_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']
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     codecs = <module 'codecs' from '/usr/lib/python2.7/codecs.pyc'>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    ui_type = wxp
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_signal_handlers = <function setup_signal_handlers at 0x7fe73ecec1b8>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  setup_cli = <function setup_cli at 0x7fe73ecec0c8>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_logging = <function shutdown_logging at 0x7fe73ecec668>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
current_client_branch = 1.5
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_logging = <function setup_logging at 0x7fe73ece1ed8>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_ui_type = <function setup_ui_type at 0x7fe73ecec500>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
__package__ = Gnumed
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
handle_version_request = <function handle_version_request at 0x7fe73ecec320>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x7fe73ecec6e0>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
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.

2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_paths_and_files = <function setup_paths_and_files at 0x7fe73ecec398>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
setup_date_time = <function setup_date_time at 0x7fe73ecec410>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
setup_locale = <function setup_locale at 0x7fe73ecec230>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
profile_file = None
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
log_startup_info = <function log_startup_info at 0x7fe73ece1f50>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
__builtins__ = <module '__builtin__' (built-in)>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_local_repo_path = <function setup_local_repo_path at 0x7fe73ece1de8>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        sys = <module 'sys' (built-in)>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _log = <logging.Logger object at 0x7fe7401fead0>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   __name__ = __main__
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_backend = <function shutdown_backend at 0x7fe73ecec5f0>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
handle_sig_term = <function handle_sig_term at 0x7fe73ecec140>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
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.

2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_backend = <function setup_backend at 0x7fe73ecec578>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  setup_cfg = <function setup_cfg at 0x7fe73ecec488>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x7fe73ecec050>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     signal = <module 'signal' (built-in)>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
setup_fault_handler = <function setup_fault_handler at 0x7fe73ece1e60>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
handle_help_request = <function handle_help_request at 0x7fe73ecec2a8>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x7fe73e95f190>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):    
setup_python_path = <function setup_python_path at 0x7fe73ece1d70>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3720 <<<
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >,)
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     kwargs = {}
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [<lambda>] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
14665 <<<
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      event = <wx._core.PyEvent; proxy of <Swig Object of type 'wxPyEvent *' at 
0x7fe718001580> >
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [db_callback_encounter_mod_db] in 
[/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py] at line 167 <<<
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       self = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x7fe7130f8110>
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):       
curr_enc_in_db = [cEncounter:14839]:
last_affirmed_original_tz: 2015-08-07 08:22:11.622907
pk_type: 1
pk_patient: 3439
assessment_of_encounter: NULL
pk_org_type: 4
pk_generic_codes_aoe: []
modified_by: MaAn
xmin_encounter: 138587
l10n_type: in Praxis
modified_when: 2015-08-07 08:22:11.622907+02:00
pk_generic_codes_rfe: []
type: in surgery
modified_by_raw: maan
started: 2015-08-07 08:22:11.622907+02:00
reason_for_encounter: NULL
pk_unit_type: 4
pk_audit: 203526
praxis_branch: Praxis
last_affirmed: 2015-08-07 08:22:11.622907+02:00
pk_org_unit: 7
pk_encounter: 14839
row_version: 0
pk_org: 7
source_time_zone: 2:00:00
started_original_tz: 2015-08-07 08:22:11.622907
praxis: Praxis Angermann
2015-08-07 09:28:05  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       kwds = {'pk_column': u'pk', 'pk_row': u'14842', 'sender': None, 
'notification_index': 104, 'message_index': 208, 'listener_pid': 17661, 
'pk_identity': u'3548', 'sending_backend_pid': 5682, 'originated_in_database': 
True, 'table': u'clin.encounter', 'operation': u'INSERT', 'signal': 
'clin.encounter_mod_db'}
2015-08-07 09:28:05  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #171): clin.encounter_mod_db received but no change to active encounter payload
2015-08-07 09:28:06  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #247): syncing log file for backup to 
[/home/marc/.gnumed/error_logs/gnumed-2015_08_07-08_03_23-2171_2015-08-07_09-28-05.log]
2015-08-07 09:28:06  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #120): -------- synced 
log file -------------------------------
2015-08-07 09:40:28  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #105: Notify(8891, 'gm_table_mod', 
'operation=INSERT::table=clin.encounter::PK name=pk::row PK=14843::person 
PK=2816')
2015-08-07 09:40:28  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.encounter_mod_db]
2015-08-07 09:40:28  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #164): current in client: [cEncounter:14839]: ['last_affirmed_original_tz: 
>>2015-08-07 08:22:11.622907<<', 'pk_type: >>1<<', 'pk_patient: >>3439<<', 
u'assessment_of_encounter: >>BWS, SSB; <<', 'pk_org_type: >>4<<', 
'pk_generic_codes_aoe: >>[]<<', u'modified_by: >>MaAn<<', 'xmin_encounter: 
>>138587<<', u'l10n_type: >>in Praxis<<', 'modified_when: >>2015-08-07 
08:22:11.622907+02:00<<', 'pk_generic_codes_rfe: >>[]<<', u'type: >>in 
surgery<<', u'modified_by_raw: >>maan<<', 'started: >>2015-08-07 
08:22:11.622907+02:00<<', 'reason_for_encounter: NULL', 'pk_unit_type: >>4<<', 
'pk_audit: >>203526<<', u'praxis_branch: >>Praxis<<', 'last_affirmed: 
>>2015-08-07 08:58:01.733062+02:00<<', 'pk_org_unit: >>7<<', 'pk_encounter: 
>>14839<<', 'row_version: >>0<<', 'pk_org: >>7<<', 'source_time_zone: 
>>2:00:00<<', 'started_original_tz: >>2015-08-07 08:22:11.622907<<', u'praxis: 
>>Praxis Angermann<<']
2015-08-07 09:40:28  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #195): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
14665, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 167, in 
db_callback_encounter_mod_db
    curr_enc_in_db['pk_encounter']
ValueError: unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:40:28  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #160): 
exception: unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #161): type: 
<type 'exceptions.ValueError'>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #162): list of 
attributes:
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #164):   args: 
('unsaved changes in active encounter [14839], cannot switch to another one 
[14839]',)
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #164):   
message: unsaved changes in active encounter [14839], cannot switch to another 
one [14839]
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #187): stack 
trace follows:
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #188): (locals 
by frame, outmost frame first)
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       code = <code object <module> at 0x7fe7400ed030, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   mod_name = Gnumed.gnumed
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 alter_argv = 1
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     loader = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   pkg_name = Gnumed
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
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.5.6', '_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'], 'codecs': <module 'codecs' 
from '/usr/lib/python2.7/codecs.pyc'>, 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7fe73ecec1b8>, 
'setup_cli': <function setup_cli at 0x7fe73ecec0c8>, '_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 0x7fe73ecec668>, 'current_client_branch': u'1.5', 
'setup_logging': <function setup_logging at 0x7fe73ece1ed8>, 'setup_ui_type': 
<function setup_ui_type at 0x7fe73ecec500>, '__package__': 'Gnumed', 
'platform': <module 'platform' from '/usr/lib/python2.7/platform.pyc'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x7fe73ecec320>, 'shutdown_tmp_dir': 
<function shutdown_tmp_dir at 0x7fe73ecec6e0>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x7fe73ecec398>, 'setup_date_time': <function 
setup_date_time at 0x7fe73ecec410>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x7fe73ecec230>, 'profile_file': None, '__license__': 'GPL v2 or later (details 
at http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7fe73ece1f50>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x7fe73ece1de8>, '__author__': 'H. Herb 
<address@hidden>, K. Hilbert <address@hidden>, I. Haywood <address@hidden>', 
'sys': <module 'sys' (built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' 
from '/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7fe7401fead0>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7fe73ecec5f0>, 'handle_sig_term': <function 
handle_sig_term at 0x7fe73ecec140>, '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 0x7fe740148878>, 'setup_backend': <function 
setup_backend at 0x7fe73ecec578>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7fe73ecec488>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7fe73ecec050>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7fe73ece1e60>, 'handle_help_request': <function handle_help_request at 
0x7fe73ecec2a8>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7fe73e95f190>, 'setup_python_path': <function setup_python_path at 
0x7fe73ece1d70>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>}
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       code = <code object <module> at 0x7fe7400ed030, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
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.5.6', '_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'], 'codecs': <module 'codecs' 
from '/usr/lib/python2.7/codecs.pyc'>, 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7fe73ecec1b8>, 
'setup_cli': <function setup_cli at 0x7fe73ecec0c8>, '_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 0x7fe73ecec668>, 'current_client_branch': u'1.5', 
'setup_logging': <function setup_logging at 0x7fe73ece1ed8>, 'setup_ui_type': 
<function setup_ui_type at 0x7fe73ecec500>, '__package__': 'Gnumed', 
'platform': <module 'platform' from '/usr/lib/python2.7/platform.pyc'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x7fe73ecec320>, 'shutdown_tmp_dir': 
<function shutdown_tmp_dir at 0x7fe73ecec6e0>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x7fe73ecec398>, 'setup_date_time': <function 
setup_date_time at 0x7fe73ecec410>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x7fe73ecec230>, 'profile_file': None, '__license__': 'GPL v2 or later (details 
at http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7fe73ece1f50>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x7fe73ece1de8>, '__author__': 'H. Herb 
<address@hidden>, K. Hilbert <address@hidden>, I. Haywood <address@hidden>', 
'sys': <module 'sys' (built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' 
from '/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7fe7401fead0>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7fe73ecec5f0>, 'handle_sig_term': <function 
handle_sig_term at 0x7fe73ecec140>, '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 0x7fe740148878>, 'setup_backend': <function 
setup_backend at 0x7fe73ecec578>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7fe73ecec488>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7fe73ecec050>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7fe73ece1e60>, 'handle_help_request': <function handle_help_request at 
0x7fe73ecec2a8>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7fe73e95f190>, 'setup_python_path': <function setup_python_path at 
0x7fe73ece1d70>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>}
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
init_globals = None
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   pkg_name = Gnumed
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   mod_name = __main__
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 647 
<<<
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
_known_short_options = h?V
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
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.

2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
_old_sig_term = None
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
current_client_version = 1.5.6
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
_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']
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     codecs = <module 'codecs' from '/usr/lib/python2.7/codecs.pyc'>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    ui_type = wxp
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_signal_handlers = <function setup_signal_handlers at 0x7fe73ecec1b8>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  setup_cli = <function setup_cli at 0x7fe73ecec0c8>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_logging = <function shutdown_logging at 0x7fe73ecec668>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
current_client_branch = 1.5
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_logging = <function setup_logging at 0x7fe73ece1ed8>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_ui_type = <function setup_ui_type at 0x7fe73ecec500>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
__package__ = Gnumed
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
handle_version_request = <function handle_version_request at 0x7fe73ecec320>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x7fe73ecec6e0>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
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.

2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_paths_and_files = <function setup_paths_and_files at 0x7fe73ecec398>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
setup_date_time = <function setup_date_time at 0x7fe73ecec410>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
setup_locale = <function setup_locale at 0x7fe73ecec230>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
profile_file = None
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
log_startup_info = <function log_startup_info at 0x7fe73ece1f50>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
__builtins__ = <module '__builtin__' (built-in)>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_local_repo_path = <function setup_local_repo_path at 0x7fe73ece1de8>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        sys = <module 'sys' (built-in)>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _log = <logging.Logger object at 0x7fe7401fead0>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   __name__ = __main__
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_backend = <function shutdown_backend at 0x7fe73ecec5f0>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
handle_sig_term = <function handle_sig_term at 0x7fe73ecec140>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
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.

2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_backend = <function setup_backend at 0x7fe73ecec578>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  setup_cfg = <function setup_cfg at 0x7fe73ecec488>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x7fe73ecec050>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     signal = <module 'signal' (built-in)>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
setup_fault_handler = <function setup_fault_handler at 0x7fe73ece1e60>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
handle_help_request = <function handle_help_request at 0x7fe73ecec2a8>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x7fe73e95f190>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):    
setup_python_path = <function setup_python_path at 0x7fe73ece1d70>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3720 <<<
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >,)
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     kwargs = {}
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [<lambda>] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
14665 <<<
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      event = <wx._core.PyEvent; proxy of <Swig Object of type 'wxPyEvent *' at 
0x7fe718001f20> >
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [db_callback_encounter_mod_db] in 
[/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py] at line 167 <<<
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       self = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x7fe7130f8110>
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):       
curr_enc_in_db = [cEncounter:14839]:
last_affirmed_original_tz: 2015-08-07 08:22:11.622907
pk_type: 1
pk_patient: 3439
assessment_of_encounter: NULL
pk_org_type: 4
pk_generic_codes_aoe: []
modified_by: MaAn
xmin_encounter: 138587
l10n_type: in Praxis
modified_when: 2015-08-07 08:22:11.622907+02:00
pk_generic_codes_rfe: []
type: in surgery
modified_by_raw: maan
started: 2015-08-07 08:22:11.622907+02:00
reason_for_encounter: NULL
pk_unit_type: 4
pk_audit: 203526
praxis_branch: Praxis
last_affirmed: 2015-08-07 08:22:11.622907+02:00
pk_org_unit: 7
pk_encounter: 14839
row_version: 0
pk_org: 7
source_time_zone: 2:00:00
started_original_tz: 2015-08-07 08:22:11.622907
praxis: Praxis Angermann
2015-08-07 09:40:28  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       kwds = {'pk_column': u'pk', 'pk_row': u'14843', 'sender': None, 
'notification_index': 105, 'message_index': 210, 'listener_pid': 17661, 
'pk_identity': u'2816', 'sending_backend_pid': 8891, 'originated_in_database': 
True, 'table': u'clin.encounter', 'operation': u'INSERT', 'signal': 
'clin.encounter_mod_db'}
2015-08-07 09:40:28  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #171): clin.encounter_mod_db received but no change to active encounter payload
2015-08-07 09:41:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #106: Notify(9045, 'gm_table_mod', 
'operation=INSERT::table=clin.encounter::PK name=pk::row PK=14844::person 
PK=3259')
2015-08-07 09:41:02  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.encounter_mod_db]
2015-08-07 09:41:02  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #164): current in client: [cEncounter:14839]: ['last_affirmed_original_tz: 
>>2015-08-07 08:22:11.622907<<', 'pk_type: >>1<<', 'pk_patient: >>3439<<', 
u'assessment_of_encounter: >>BWS, SSB; <<', 'pk_org_type: >>4<<', 
'pk_generic_codes_aoe: >>[]<<', u'modified_by: >>MaAn<<', 'xmin_encounter: 
>>138587<<', u'l10n_type: >>in Praxis<<', 'modified_when: >>2015-08-07 
08:22:11.622907+02:00<<', 'pk_generic_codes_rfe: >>[]<<', u'type: >>in 
surgery<<', u'modified_by_raw: >>maan<<', 'started: >>2015-08-07 
08:22:11.622907+02:00<<', 'reason_for_encounter: NULL', 'pk_unit_type: >>4<<', 
'pk_audit: >>203526<<', u'praxis_branch: >>Praxis<<', 'last_affirmed: 
>>2015-08-07 08:58:01.733062+02:00<<', 'pk_org_unit: >>7<<', 'pk_encounter: 
>>14839<<', 'row_version: >>0<<', 'pk_org: >>7<<', 'source_time_zone: 
>>2:00:00<<', 'started_original_tz: >>2015-08-07 08:22:11.622907<<', u'praxis: 
>>Praxis Angermann<<']
2015-08-07 09:41:02  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #195): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
14665, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 167, in 
db_callback_encounter_mod_db
    curr_enc_in_db['pk_encounter']
ValueError: unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:41:02  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #160): 
exception: unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #161): type: 
<type 'exceptions.ValueError'>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #162): list of 
attributes:
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #164):   args: 
('unsaved changes in active encounter [14839], cannot switch to another one 
[14839]',)
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #164):   
message: unsaved changes in active encounter [14839], cannot switch to another 
one [14839]
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #187): stack 
trace follows:
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #188): (locals 
by frame, outmost frame first)
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       code = <code object <module> at 0x7fe7400ed030, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   mod_name = Gnumed.gnumed
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 alter_argv = 1
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     loader = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   pkg_name = Gnumed
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
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.5.6', '_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'], 'codecs': <module 'codecs' 
from '/usr/lib/python2.7/codecs.pyc'>, 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7fe73ecec1b8>, 
'setup_cli': <function setup_cli at 0x7fe73ecec0c8>, '_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 0x7fe73ecec668>, 'current_client_branch': u'1.5', 
'setup_logging': <function setup_logging at 0x7fe73ece1ed8>, 'setup_ui_type': 
<function setup_ui_type at 0x7fe73ecec500>, '__package__': 'Gnumed', 
'platform': <module 'platform' from '/usr/lib/python2.7/platform.pyc'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x7fe73ecec320>, 'shutdown_tmp_dir': 
<function shutdown_tmp_dir at 0x7fe73ecec6e0>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x7fe73ecec398>, 'setup_date_time': <function 
setup_date_time at 0x7fe73ecec410>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x7fe73ecec230>, 'profile_file': None, '__license__': 'GPL v2 or later (details 
at http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7fe73ece1f50>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x7fe73ece1de8>, '__author__': 'H. Herb 
<address@hidden>, K. Hilbert <address@hidden>, I. Haywood <address@hidden>', 
'sys': <module 'sys' (built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' 
from '/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7fe7401fead0>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7fe73ecec5f0>, 'handle_sig_term': <function 
handle_sig_term at 0x7fe73ecec140>, '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 0x7fe740148878>, 'setup_backend': <function 
setup_backend at 0x7fe73ecec578>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7fe73ecec488>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7fe73ecec050>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7fe73ece1e60>, 'handle_help_request': <function handle_help_request at 
0x7fe73ecec2a8>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7fe73e95f190>, 'setup_python_path': <function setup_python_path at 
0x7fe73ece1d70>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>}
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       code = <code object <module> at 0x7fe7400ed030, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
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.5.6', '_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'], 'codecs': <module 'codecs' 
from '/usr/lib/python2.7/codecs.pyc'>, 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7fe73ecec1b8>, 
'setup_cli': <function setup_cli at 0x7fe73ecec0c8>, '_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 0x7fe73ecec668>, 'current_client_branch': u'1.5', 
'setup_logging': <function setup_logging at 0x7fe73ece1ed8>, 'setup_ui_type': 
<function setup_ui_type at 0x7fe73ecec500>, '__package__': 'Gnumed', 
'platform': <module 'platform' from '/usr/lib/python2.7/platform.pyc'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x7fe73ecec320>, 'shutdown_tmp_dir': 
<function shutdown_tmp_dir at 0x7fe73ecec6e0>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x7fe73ecec398>, 'setup_date_time': <function 
setup_date_time at 0x7fe73ecec410>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x7fe73ecec230>, 'profile_file': None, '__license__': 'GPL v2 or later (details 
at http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7fe73ece1f50>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x7fe73ece1de8>, '__author__': 'H. Herb 
<address@hidden>, K. Hilbert <address@hidden>, I. Haywood <address@hidden>', 
'sys': <module 'sys' (built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' 
from '/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7fe7401fead0>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7fe73ecec5f0>, 'handle_sig_term': <function 
handle_sig_term at 0x7fe73ecec140>, '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 0x7fe740148878>, 'setup_backend': <function 
setup_backend at 0x7fe73ecec578>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7fe73ecec488>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7fe73ecec050>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7fe73ece1e60>, 'handle_help_request': <function handle_help_request at 
0x7fe73ecec2a8>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7fe73e95f190>, 'setup_python_path': <function setup_python_path at 
0x7fe73ece1d70>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>}
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
init_globals = None
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   pkg_name = Gnumed
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   mod_name = __main__
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 647 
<<<
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
_known_short_options = h?V
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
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.

2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
_old_sig_term = None
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
current_client_version = 1.5.6
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
_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']
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     codecs = <module 'codecs' from '/usr/lib/python2.7/codecs.pyc'>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    ui_type = wxp
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_signal_handlers = <function setup_signal_handlers at 0x7fe73ecec1b8>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  setup_cli = <function setup_cli at 0x7fe73ecec0c8>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_logging = <function shutdown_logging at 0x7fe73ecec668>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
current_client_branch = 1.5
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_logging = <function setup_logging at 0x7fe73ece1ed8>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_ui_type = <function setup_ui_type at 0x7fe73ecec500>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
__package__ = Gnumed
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
handle_version_request = <function handle_version_request at 0x7fe73ecec320>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x7fe73ecec6e0>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
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.

2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_paths_and_files = <function setup_paths_and_files at 0x7fe73ecec398>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
setup_date_time = <function setup_date_time at 0x7fe73ecec410>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
setup_locale = <function setup_locale at 0x7fe73ecec230>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
profile_file = None
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
log_startup_info = <function log_startup_info at 0x7fe73ece1f50>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
__builtins__ = <module '__builtin__' (built-in)>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_local_repo_path = <function setup_local_repo_path at 0x7fe73ece1de8>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        sys = <module 'sys' (built-in)>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _log = <logging.Logger object at 0x7fe7401fead0>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   __name__ = __main__
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_backend = <function shutdown_backend at 0x7fe73ecec5f0>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
handle_sig_term = <function handle_sig_term at 0x7fe73ecec140>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
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.

2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_backend = <function setup_backend at 0x7fe73ecec578>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  setup_cfg = <function setup_cfg at 0x7fe73ecec488>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x7fe73ecec050>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     signal = <module 'signal' (built-in)>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
setup_fault_handler = <function setup_fault_handler at 0x7fe73ece1e60>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
handle_help_request = <function handle_help_request at 0x7fe73ecec2a8>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x7fe73e95f190>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):    
setup_python_path = <function setup_python_path at 0x7fe73ece1d70>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3720 <<<
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >,)
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     kwargs = {}
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [handle_uncaught_exception_wx] in 
[/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py] at line 241 
<<<
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   new_name = 
/home/marc/.gnumed/error_logs/gnumed-2015_08_07-08_03_23-2171_2015-08-07_09-40-28.log
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        dlg = 
<Gnumed.wxpython.gmExceptionHandlingWidgets.cUnhandledExceptionDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x490e1d0> >
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       name = gnumed-2015_08_07-08_03_23-2171
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
          v = unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        ext = .log
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
          t = <type 'exceptions.ValueError'>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x7fe73e95f190>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
         tb = <traceback object at 0x7fe712d08dd0>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [ShowModal] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_windows.py] at line 
703 <<<
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       args = 
(<Gnumed.wxpython.gmExceptionHandlingWidgets.cUnhandledExceptionDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x490e1d0> >,)
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     kwargs = {}
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [<lambda>] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
14665 <<<
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      event = <wx._core.PyEvent; proxy of <Swig Object of type 'wxPyEvent *' at 
0x7fe7180091b0> >
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [db_callback_encounter_mod_db] in 
[/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py] at line 167 <<<
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       self = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x7fe7130f8110>
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):       
curr_enc_in_db = [cEncounter:14839]:
last_affirmed_original_tz: 2015-08-07 08:22:11.622907
pk_type: 1
pk_patient: 3439
assessment_of_encounter: NULL
pk_org_type: 4
pk_generic_codes_aoe: []
modified_by: MaAn
xmin_encounter: 138587
l10n_type: in Praxis
modified_when: 2015-08-07 08:22:11.622907+02:00
pk_generic_codes_rfe: []
type: in surgery
modified_by_raw: maan
started: 2015-08-07 08:22:11.622907+02:00
reason_for_encounter: NULL
pk_unit_type: 4
pk_audit: 203526
praxis_branch: Praxis
last_affirmed: 2015-08-07 08:22:11.622907+02:00
pk_org_unit: 7
pk_encounter: 14839
row_version: 0
pk_org: 7
source_time_zone: 2:00:00
started_original_tz: 2015-08-07 08:22:11.622907
praxis: Praxis Angermann
2015-08-07 09:41:02  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       kwds = {'pk_column': u'pk', 'pk_row': u'14844', 'sender': None, 
'notification_index': 106, 'message_index': 212, 'listener_pid': 17661, 
'pk_identity': u'3259', 'sending_backend_pid': 9045, 'originated_in_database': 
True, 'table': u'clin.encounter', 'operation': u'INSERT', 'signal': 
'clin.encounter_mod_db'}
2015-08-07 09:41:02  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #171): clin.encounter_mod_db received but no change to active encounter payload
2015-08-07 09:44:00  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_deactivated]
2015-08-07 09:49:17  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_activated]
2015-08-07 09:49:22  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #247): syncing log file for backup to 
[/home/marc/.gnumed/error_logs/gnumed-2015_08_07-08_03_23-2171_2015-08-07_09-41-02.log]
2015-08-07 09:49:22  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #120): -------- synced 
log file -------------------------------
2015-08-07 09:49:23  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #247): syncing log file for backup to 
[/home/marc/.gnumed/error_logs/gnumed-2015_08_07-08_03_23-2171_2015-08-07_09-40-28.log]
2015-08-07 09:49:23  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #120): -------- synced 
log file -------------------------------
2015-08-07 09:50:25  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:50:25  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:50:25  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py::save_current_editor() 
#1679): saving editor on current page (#1)
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11494, readonly: False
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #107: Notify(11494, 'gm_table_mod', 
'operation=INSERT::table=clin.episode::PK name=pk::row PK=11382::person 
PK=3607')
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.episode_mod_db]
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11495, readonly: False
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #108: Notify(11495, 'gm_table_mod', 
'operation=UPDATE::table=clin.episode::PK name=pk::row PK=11382::person 
PK=3607')
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.episode_mod_db]
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11496, readonly: False
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #109: Notify(11496, 'gm_table_mod', 
'operation=UPDATE::table=clin.episode::PK name=pk::row PK=11382::person 
PK=3607')
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.episode_mod_db]
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11503, readonly: False
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:34  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:35  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #110: Notify(11503, 'gm_table_mod', 
'operation=INSERT::table=clin.clin_narrative::PK name=pk::row PK=58112::person 
PK=3607')
2015-08-07 09:50:35  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.clin_narrative_mod_db]
2015-08-07 09:50:35  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11507, readonly: False
2015-08-07 09:50:35  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:35  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:35  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:36  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #111: Notify(11507, 'gm_table_mod', 
'operation=INSERT::table=clin.clin_narrative::PK name=pk::row PK=58113::person 
PK=3607')
2015-08-07 09:50:36  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.clin_narrative_mod_db]
2015-08-07 09:50:36  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11508, readonly: False
2015-08-07 09:50:36  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:36  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:36  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:36  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #112: Notify(11508, 'gm_table_mod', 
'operation=INSERT::table=clin.clin_narrative::PK name=pk::row PK=58114::person 
PK=3607')
2015-08-07 09:50:36  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.clin_narrative_mod_db]
2015-08-07 09:50:36  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11510, readonly: False
2015-08-07 09:50:36  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:36  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:36  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:37  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #113: Notify(11510, 'gm_table_mod', 
'operation=INSERT::table=clin.clin_narrative::PK name=pk::row PK=58115::person 
PK=3607')
2015-08-07 09:50:37  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.clin_narrative_mod_db]
2015-08-07 09:50:37  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmNarrativeWidgets.py::save_current_editor() 
#1685): deleting
2015-08-07 09:50:37  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:50:37  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=-1* -> event.GetSelection()=0
2015-08-07 09:50:37  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #167): the following two should match but do not:
2015-08-07 09:50:37  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #168):  event.GetOldSelection(): -1
2015-08-07 09:50:37  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #169):  notebook.GetSelection(): 5
2015-08-07 09:50:37  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:50:37  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2015-08-07 09:50:37  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#220): those two really *should* match:
2015-08-07 09:50:37  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#221):  wx.Notebook.GetSelection() (before switch) : 5
2015-08-07 09:50:37  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#222):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2015-08-07 09:50:37  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::repopulate_ui() 
#457): called by notebook plugin API, skipping inbox loading
2015-08-07 09:50:37  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:50:37  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:50:37  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:50:37  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:50:37  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:50:37  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:50:37  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14841]
2015-08-07 09:50:37  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11520, readonly: False
2015-08-07 09:50:37  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:37  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:37  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:38  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:50:38  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:50:38  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:50:38  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:50:38  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:50:38  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:50:38  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14841]
2015-08-07 09:50:38  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11521, readonly: False
2015-08-07 09:50:38  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:38  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:38  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:38  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:50:38  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:50:39  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:50:39  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:50:39  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:50:39  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:50:39  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14841]
2015-08-07 09:50:39  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11531, readonly: False
2015-08-07 09:50:39  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:39  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:39  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:39  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [after_soap_modified]
2015-08-07 09:50:39  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [after_soap_modified]
2015-08-07 09:50:39  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [after_soap_modified]
2015-08-07 09:50:39  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [after_soap_modified]
2015-08-07 09:50:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:50:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=5* -> event.GetSelection()=16
2015-08-07 09:50:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:50:44  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=5 -> event.GetSelection()=16*
2015-08-07 09:50:47  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:50:47  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:50:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11559, readonly: False
2015-08-07 09:50:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #114: Notify(11559, 'gm_table_mod', 
'operation=INSERT::table=bill.bill_item::PK name=pk::row PK=14443::person 
PK=3607')
2015-08-07 09:50:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_item_mod_db]
2015-08-07 09:50:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11560, readonly: False
2015-08-07 09:50:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #115: Notify(11560, 'gm_table_mod', 
'operation=UPDATE::table=bill.bill_item::PK name=pk::row PK=14443::person 
PK=3607')
2015-08-07 09:50:47  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_item_mod_db]
2015-08-07 09:50:50  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:50:50  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:50:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11579, readonly: False
2015-08-07 09:50:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #116: Notify(11579, 'gm_table_mod', 
'operation=INSERT::table=bill.bill_item::PK name=pk::row PK=14444::person 
PK=3607')
2015-08-07 09:50:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_item_mod_db]
2015-08-07 09:50:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11580, readonly: False
2015-08-07 09:50:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #117: Notify(11580, 'gm_table_mod', 
'operation=UPDATE::table=bill.bill_item::PK name=pk::row PK=14444::person 
PK=3607')
2015-08-07 09:50:50  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_item_mod_db]
2015-08-07 09:50:57  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:50:57  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:50:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11609, readonly: False
2015-08-07 09:50:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #118: Notify(11609, 'gm_table_mod', 
'operation=INSERT::table=bill.bill_item::PK name=pk::row PK=14445::person 
PK=3607')
2015-08-07 09:50:57  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_item_mod_db]
2015-08-07 09:50:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11610, readonly: False
2015-08-07 09:50:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:50:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:50:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:50:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #119: Notify(11610, 'gm_table_mod', 
'operation=UPDATE::table=bill.bill_item::PK name=pk::row PK=14445::person 
PK=3607')
2015-08-07 09:50:58  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_item_mod_db]
2015-08-07 09:51:00  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:51:00  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:51:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11620, readonly: False
2015-08-07 09:51:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:00  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #120: Notify(11620, 'gm_table_mod', 
'operation=INSERT::table=bill.bill_item::PK name=pk::row PK=14446::person 
PK=3607')
2015-08-07 09:51:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_item_mod_db]
2015-08-07 09:51:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11633, readonly: False
2015-08-07 09:51:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #121: Notify(11633, 'gm_table_mod', 
'operation=UPDATE::table=bill.bill_item::PK name=pk::row PK=14446::person 
PK=3607')
2015-08-07 09:51:01  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_item_mod_db]
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11643, readonly: False
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #122: Notify(11643, 'gm_table_mod', 
'operation=INSERT::table=bill.bill::PK name=pk::row PK=3267')
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_mod_db]
2015-08-07 09:51:03  INFO      gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmBillingWidgets.py::create_bill_from_items()
 #492): created bill [GM3607 / 2015-08-07 / 095103]
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11644, readonly: False
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #123: Notify(11644, 'gm_table_mod', 
'operation=UPDATE::table=bill.bill_item::PK name=pk::row PK=14443::person 
PK=3607')
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_item_mod_db]
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #124: Notify(11644, 'gm_table_mod', 
'operation=UPDATE::table=bill.bill_item::PK name=pk::row PK=14444::person 
PK=3607')
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_item_mod_db]
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #125: Notify(11644, 'gm_table_mod', 
'operation=UPDATE::table=bill.bill_item::PK name=pk::row PK=14445::person 
PK=3607')
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_item_mod_db]
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #126: Notify(11644, 'gm_table_mod', 
'operation=UPDATE::table=bill.bill_item::PK name=pk::row PK=14446::person 
PK=3607')
2015-08-07 09:51:03  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_item_mod_db]
2015-08-07 09:51:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11645, readonly: False
2015-08-07 09:51:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #127: Notify(11645, 'gm_table_mod', 
'operation=UPDATE::table=bill.bill::PK name=pk::row PK=3267')
2015-08-07 09:51:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_mod_db]
2015-08-07 09:51:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11646, readonly: False
2015-08-07 09:51:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #128: Notify(11646, 'gm_table_mod', 
'operation=UPDATE::table=bill.bill::PK name=pk::row PK=3267')
2015-08-07 09:51:04  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_mod_db]
2015-08-07 09:51:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11656, readonly: False
2015-08-07 09:51:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #129: Notify(11656, 'gm_table_mod', 
'operation=UPDATE::table=bill.bill::PK name=pk::row PK=3267')
2015-08-07 09:51:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_mod_db]
2015-08-07 09:51:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11657, readonly: True
2015-08-07 09:51:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1662): 
access mode [READ ONLY]
2015-08-07 09:51:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1664): 
readonly: autocommit=True to avoid <IDLE IN TRANSACTION>
2015-08-07 09:51:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1135): 
expecting 2336 bytes of BYTEA data in chunks of 2336 bytes
2015-08-07 09:51:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::bytea2file_object() #1141): # of 
chunks: 1; remainder: 0 bytes
2015-08-07 09:51:06  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__init__() #993): LaTeX sandbox 
directory: [/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir]
2015-08-07 09:51:06  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__init__() #671): working on 
template file 
[/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir/gm-L-Template-tFDt1P.tex]
2015-08-07 09:51:06  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::substitute_placeholders() 
#1027): placeholder substitution run #1
2015-08-07 09:51:06  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1047): 
[/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir/gm-L-Template-tFDt1P.tex]
 -> 
[/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir/gm-L-Template-tFDt1P-result_run1.tex]
2015-08-07 09:51:06  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1068): 2 placeholders found with pattern: \$<[^<:]+::.*?::\d*?>\$
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<lastname::::4>$]
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[lastname]; length=[4]; options=>>><<<
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<firstname::::4>$]
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[firstname]; length=[4]; options=>>><<<
2015-08-07 09:51:06  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1068): 1 placeholders found with pattern: \$<[^<:]+::.*?::\d*?>\$
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<gender_mapper::Herr//Frau::>$]
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[gender_mapper]; length=[]; options=>>>Herr//Frau<<<
2015-08-07 09:51:06  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1068): 3 placeholders found with pattern: \$<[^<:]+::.*?::\d*?>\$
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<title::::>$]
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[title]; length=[]; options=>>><<<
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<firstname::::>$]
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[firstname]; length=[]; options=>>><<<
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<lastname::::>$]
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[lastname]; length=[]; options=>>><<<
2015-08-07 09:51:06  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1068): 2 placeholders found with pattern: \$<[^<:]+::.*?::\d*?>\$
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<adr_street::home::>$]
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[adr_street]; length=[]; options=>>>home<<<
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<adr_number::home::>$]
2015-08-07 09:51:06  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[adr_number]; length=[]; options=>>>home<<<
2015-08-07 09:51:07  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1068): 2 placeholders found with pattern: \$<[^<:]+::.*?::\d*?>\$
2015-08-07 09:51:07  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<adr_postcode::home::>$]
2015-08-07 09:51:07  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[adr_postcode]; length=[]; options=>>>home<<<
2015-08-07 09:51:07  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<adr_location::home::>$]
2015-08-07 09:51:07  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[adr_location]; length=[]; options=>>>home<<<
2015-08-07 09:51:07  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1068): 4 placeholders found with pattern: \$<[^<:]+::.*?::\d*?>\$
2015-08-07 09:51:07  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<title::::>$]
2015-08-07 09:51:07  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[title]; length=[]; options=>>><<<
2015-08-07 09:51:07  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<firstname::::>$]
2015-08-07 09:51:07  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[firstname]; length=[]; options=>>><<<
2015-08-07 09:51:07  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<lastname::::>$]
2015-08-07 09:51:07  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[lastname]; length=[]; options=>>><<<
2015-08-07 09:51:07  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<date_of_birth::%d.%m.%Y::>$]
2015-08-07 09:51:07  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[date_of_birth]; length=[]; options=>>>%d.%m.%Y<<<
2015-08-07 09:51:07  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1068): 1 placeholders found with pattern: \$<[^<:]+::.*?::\d*?>\$
2015-08-07 09:51:07  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<progress_notes::a// %s \\ ::>$]
2015-08-07 09:51:07  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[progress_notes]; length=[]; options=>>>a// %s \\ <<<
2015-08-07 09:51:07  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:51:07  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:51:09  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1068): 1 placeholders found with pattern: \$<[^<:]+::.*?::\d*?>\$
2015-08-07 09:51:09  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<bill_item:: %(date_to_bill)s & %(billable_code)s & {\footnotesize 
%(billable_description)s, %(item_detail)s } & %(unit_count)s / 
%(amount_multiplier)s & %(total_amount)s \EUR \\ // %d.%m.%Y::>$]
2015-08-07 09:51:09  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[bill_item]; length=[]; options=>>> %(date_to_bill)s & 
%(billable_code)s & {\footnotesize %(billable_description)s, %(item_detail)s } 
& %(unit_count)s / %(amount_multiplier)s & %(total_amount)s \EUR \\ // 
%d.%m.%Y<<<
2015-08-07 09:51:09  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1068): 1 placeholders found with pattern: \$<[^<:]+::.*?::\d*?>\$
2015-08-07 09:51:09  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #495): replacing 
[$<bill::%(total_amount)s::>$]
2015-08-07 09:51:09  DEBUG     gm.scripting 
(/usr/share/gnumed/Gnumed/wxpython/gmMacro.py::__getitem__() #544): placeholder 
parts: name=[bill]; length=[]; options=>>>%(total_amount)s<<<
2015-08-07 09:51:09  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::substitute_placeholders() 
#1027): placeholder substitution run #2
2015-08-07 09:51:09  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::__substitute_placeholders() 
#1047): 
[/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir/gm-L-Template-tFDt1P-result_run1.tex]
 -> 
[/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir/gm-L-Template-tFDt1P-result_run2.tex]
2015-08-07 09:51:09  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #1134): 
ignoring <format> directive [None], generating PDF
2015-08-07 09:51:09  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -recorder -interaction=nonstopmode 
-output-directory=/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir/gm-L-Template-tFDt1P-result_run2.tex<<<
2015-08-07 09:51:09  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2015-08-07 09:51:09  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2015-08-07 09:51:09  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -draftmode -recorder -interaction=nonstopmode 
-output-directory=/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir/gm-L-Template-tFDt1P-result_run2.tex<<<
2015-08-07 09:51:09  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2015-08-07 09:51:09  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2015-08-07 09:51:09  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2015-08-07 09:51:09  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2015-08-07 09:51:09  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2015-08-07 09:51:09  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2015-08-07 09:51:09  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -draftmode -recorder -interaction=nonstopmode 
-output-directory=/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir/gm-L-Template-tFDt1P-result_run2.tex<<<
2015-08-07 09:51:09  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2015-08-07 09:51:09  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2015-08-07 09:51:09  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -draftmode -recorder -interaction=nonstopmode 
-output-directory=/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir/gm-L-Template-tFDt1P-result_run2.tex<<<
2015-08-07 09:51:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2015-08-07 09:51:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2015-08-07 09:51:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2015-08-07 09:51:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2015-08-07 09:51:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2015-08-07 09:51:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2015-08-07 09:51:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #168): 
shell command >>>pdflatex -recorder -interaction=nonstopmode 
-output-directory=/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir/gm-L-Template-tFDt1P-result_run2.tex<<<
2015-08-07 09:51:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #169): 
blocking: True
2015-08-07 09:51:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #170): 
acceptable return codes: [0, 1]
2015-08-07 09:51:10  INFO      gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #209): 
running shell command >>>pdflatex -recorder -interaction=nonstopmode 
-output-directory=/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir/gm-L-Template-tFDt1P-result_run2.tex<<<
2015-08-07 09:51:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #212): 
os.system() returned: [0]
2015-08-07 09:51:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #224): 
exited via exit(): True
2015-08-07 09:51:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #226): 
exit code: [0]
2015-08-07 09:51:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #228): 
normal exit: True
2015-08-07 09:51:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #229): 
dumped core: False
2015-08-07 09:51:10  DEBUG     gm.shell 
(/usr/share/gnumed/Gnumed/pycommon/gmShellAPI.py::run_command_in_shell() #230): 
stopped by signal: False
2015-08-07 09:51:10  DEBUG     gm.forms 
(/usr/share/gnumed/Gnumed/business/gmForms.py::generate_output() #1155): 
copying sandboxed PDF: 
/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir/gm-L-Template-tFDt1P-result_run2.pdf
 -> /tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P-result_run2.pdf
2015-08-07 09:51:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:51:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:51:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11685, readonly: False
2015-08-07 09:51:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:12  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #130: Notify(11685, 'gm_table_mod', 
'operation=INSERT::table=blobs.doc_med::PK name=pk::row PK=15478::person 
PK=3607')
2015-08-07 09:51:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_med_mod_db]
2015-08-07 09:51:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11686, readonly: False
2015-08-07 09:51:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #131: Notify(11686, 'gm_table_mod', 
'operation=UPDATE::table=blobs.doc_med::PK name=pk::row PK=15478::person 
PK=3607')
2015-08-07 09:51:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_med_mod_db]
2015-08-07 09:51:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11687, readonly: False
2015-08-07 09:51:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #132: Notify(11687, 'gm_table_mod', 
'operation=INSERT::table=blobs.doc_obj::PK name=pk::row PK=30037')
2015-08-07 09:51:13  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_obj_mod_db]
2015-08-07 09:51:14  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::file2md5() #402): 
md5(/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P-result_run2.pdf): <131072> 
byte blocks
2015-08-07 09:51:14  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::file2md5() #413): 
md5(/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P-result_run2.pdf): 
2dda5a6b6844c91439e79c64d1594e43
2015-08-07 09:51:14  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11697, readonly: False
2015-08-07 09:51:14  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:14  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:14  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::file2bytea() #1231): MD5 sums of 
data file and database BYTEA field match: 
[file::2dda5a6b6844c91439e79c64d1594e43] = 
[DB::2dda5a6b6844c91439e79c64d1594e43]
2015-08-07 09:51:14  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #133: Notify(11697, 'gm_table_mod', 
'operation=UPDATE::table=blobs.doc_obj::PK name=pk::row PK=30037')
2015-08-07 09:51:14  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_obj_mod_db]
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11698, readonly: False
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #134: Notify(11698, 'gm_table_mod', 
'operation=UPDATE::table=blobs.doc_obj::PK name=pk::row PK=30037')
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_obj_mod_db]
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11699, readonly: False
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #135: Notify(11699, 'gm_table_mod', 
'operation=INSERT::table=blobs.doc_obj::PK name=pk::row PK=30038')
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_obj_mod_db]
2015-08-07 09:51:15  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::file2md5() #402): 
md5(/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir/gm-L-Template-tFDt1P-result_run2.tex):
 <131072> byte blocks
2015-08-07 09:51:15  DEBUG     gm.tools 
(/usr/share/gnumed/Gnumed/pycommon/gmTools.py::file2md5() #413): 
md5(/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P_DLLwxm.dir/gm-L-Template-tFDt1P-result_run2.tex):
 1bbd1c1e9295281ffb2ef7feb0cb60b1
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11700, readonly: False
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::file2bytea() #1231): MD5 sums of 
data file and database BYTEA field match: 
[file::1bbd1c1e9295281ffb2ef7feb0cb60b1] = 
[DB::1bbd1c1e9295281ffb2ef7feb0cb60b1]
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #136: Notify(11700, 'gm_table_mod', 
'operation=UPDATE::table=blobs.doc_obj::PK name=pk::row PK=30038')
2015-08-07 09:51:15  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_obj_mod_db]
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11710, readonly: False
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #137: Notify(11710, 'gm_table_mod', 
'operation=UPDATE::table=blobs.doc_obj::PK name=pk::row PK=30038')
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [blobs.doc_obj_mod_db]
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11711, readonly: False
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #138: Notify(11711, 'gm_table_mod', 
'operation=INSERT::table=blobs.reviewed_doc_objs::PK name=pk::row PK=28618')
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal 
[blobs.reviewed_doc_objs_mod_db]
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11712, readonly: False
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #139: Notify(11712, 'gm_table_mod', 
'operation=INSERT::table=blobs.reviewed_doc_objs::PK name=pk::row PK=28619')
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal 
[blobs.reviewed_doc_objs_mod_db]
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 11713, readonly: False
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #140: Notify(11713, 'gm_table_mod', 
'operation=UPDATE::table=bill.bill::PK name=pk::row PK=3267')
2015-08-07 09:51:16  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [bill.bill_mod_db]
2015-08-07 09:51:16  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #45): printing 
"invoice": [u'/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P-result_run2.pdf']
2015-08-07 09:51:16  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #56): print job 
type "invoice" not registered
2015-08-07 09:51:16  WARNING   gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::print_files() #59): print API 
"None" unknown, trying all
2015-08-07 09:51:16  DEBUG     gm.printing 
(/usr/share/gnumed/Gnumed/pycommon/gmPrinting.py::_print_files_by_gtklp() 
#170): printing with ['gtklp', '-i', '-# 1', 
u'/tmp/gnumed/marc/gm-EiVl61/gm-L-Template-tFDt1P-result_run2.pdf']
2015-08-07 09:51:20  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_doc_mod_db() 
#629): doc_mod_db
2015-08-07 09:51:20  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_message_inbox_mod_db()
 #633): message_inbox_mod_db
2015-08-07 09:51:20  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
 #446): called by reget-on-paint mixin API
2015-08-07 09:51:20  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_doc_mod_db() 
#629): doc_mod_db
2015-08-07 09:51:20  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_message_inbox_mod_db()
 #633): message_inbox_mod_db
2015-08-07 09:51:20  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
 #446): called by reget-on-paint mixin API
2015-08-07 09:51:20  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_doc_obj_review_mod_db()
 #625): doc_obj_review_mod_db
2015-08-07 09:51:20  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_message_inbox_mod_db()
 #633): message_inbox_mod_db
2015-08-07 09:51:20  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
 #446): called by reget-on-paint mixin API
2015-08-07 09:51:20  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_doc_obj_review_mod_db()
 #625): doc_obj_review_mod_db
2015-08-07 09:51:20  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_message_inbox_mod_db()
 #633): message_inbox_mod_db
2015-08-07 09:51:20  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
 #446): called by reget-on-paint mixin API
2015-08-07 09:51:20  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [request_user_attention]
2015-08-07 09:51:20  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [request_user_attention]
2015-08-07 09:51:20  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [request_user_attention]
2015-08-07 09:51:20  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [request_user_attention]
2015-08-07 09:51:20  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_deactivated]
2015-08-07 09:51:20  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_activated]
2015-08-07 09:53:44  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::_generate_queries_de() 
#379): [wobst]: not a search term with a simple, unambigous structure
2015-08-07 09:53:44  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::_normalize_soundalikes() 
#151): [wobst] -> [wobs(th|t)]
2015-08-07 09:53:44  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::_generate_queries_de() 
#389): [wobst]: a single name part
2015-08-07 09:53:44  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPersonSearch.py::get_identities() #81): 
running {'cmd': u"\n\t\t\t\tSELECT DISTINCT ON (pk_identity) * FROM 
(\n\t\t\t\t\tSELECT * FROM ((\n\t\t\t\t\t\t-- lastname\n\t\t\t\t\t\tSELECT 
vbp.*, %s::text AS match_type FROM dem.v_basic_person vbp, dem.names 
n\n\t\t\t\t\t\tWHERE vbp.pk_identity = n.id_identity and lower(n.lastnames) ~* 
lower(%s)\n\t\t\t\t\t) union all (\n\t\t\t\t\t\t-- 
firstname\n\t\t\t\t\t\tSELECT vbp.*, %s::text AS match_type FROM 
dem.v_basic_person vbp, dem.names n\n\t\t\t\t\t\tWHERE vbp.pk_identity = 
n.id_identity and lower(n.firstnames) ~* lower(%s)\n\t\t\t\t\t) union all 
(\n\t\t\t\t\t\t-- nickname\n\t\t\t\t\t\tSELECT vbp.*, %s::text AS match_type 
FROM dem.v_basic_person vbp, dem.names n\n\t\t\t\t\t\tWHERE vbp.pk_identity = 
n.id_identity and lower(n.preferred) ~* lower(%s)\n\t\t\t\t\t) union all 
(\n\t\t\t\t\t\t-- anywhere in 
name\n\t\t\t\t\t\tSELECT\n\t\t\t\t\t\t\tvbp.*,\n\t\t\t\t\t\t\t%s::text AS 
match_type\n\t\t\t\t\t\tFROM\n\t\t\t\t\t\t\tdem.v_basic_person 
vbp,\n\t\t\t\t\t\t\tdem.names 
n\n\t\t\t\t\t\tWHERE\n\t\t\t\t\t\t\tvbp.pk_identity = 
n.id_identity\n\t\t\t\t\t\t\t\tAND\n\t\t\t\t\t\t\tlower(n.firstnames || ' ' || 
n.lastnames || ' ' || coalesce(n.preferred, '')) ~* lower(%s)\n\t\t\t\t\t)) AS 
super_list ORDER BY lastnames, firstnames, dob\n\t\t\t\t) AS 
sorted_list\n\t\t\t", 'args': [u'Nachname', u'^wobs(th|t)', u'Vorname', 
u'^wobs(th|t)', u'Spitzname', u'^wobs(th|t)', u'beliebiger Namensteil', 
u'wobs(th|t)']}
2015-08-07 09:53:44  INFO      gm.person 
(/usr/share/gnumed/Gnumed/wxpython/gmPatSearchWidgets.py::_on_enter() #1053): 2 
matching person(s) found
2015-08-07 09:53:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::__init__() #1871): patient 
change [3607] -> [2599] requested
2015-08-07 09:53:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:53:49  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12484, readonly: False
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #141: Notify(12484, 'gm_table_mod', 
'operation=UPDATE::table=clin.encounter::PK name=pk::row PK=14841::person 
PK=3607')
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.encounter_mod_db]
2015-08-07 09:53:52  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::cleanup() #126): 
cleaning up after clinical record for patient [3607]
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::unlock_row() #1051): trying to 
unlock row: [clin.encounter] [14841] (exclusive: False)
2015-08-07 09:53:52  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:53:52  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1757): pulling chart 
(thread 140631190554368)
2015-08-07 09:53:52  DEBUG     gm.chart_pull 
(/usr/share/gnumed/Gnumed/wxpython/gmChartPullingWidgets.py::pull_chart() 
#187): pulling chart for identity [2599]
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12494, readonly: False
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:53:52  DEBUG     gm.chart_pull 
(/usr/share/gnumed/Gnumed/wxpython/gmChartPullingWidgets.py::_get_very_recent_encounter()
 #48): no <very recent> encounter (younger than [1 hour 30 minutes]) found
2015-08-07 09:53:52  DEBUG     gm.chart_pull 
(/usr/share/gnumed/Gnumed/wxpython/gmChartPullingWidgets.py::_get_fairly_recent_encounter()
 #83): no <fairly recent> encounter (between [1 hour 30 minutes] and [6 hours] 
old) found
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12495, readonly: False
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #142: Notify(12495, 'gm_table_mod', 
'operation=INSERT::table=clin.encounter::PK name=pk::row PK=14845::person 
PK=2599')
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.encounter_mod_db]
2015-08-07 09:53:52  DEBUG     gm.chart_pull 
(/usr/share/gnumed/Gnumed/wxpython/gmChartPullingWidgets.py::_decide_on_active_encounter()
 #172): new encounter [14845] initiated
2015-08-07 09:53:52  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::_set_current_encounter()
 #1696): first setting of active encounter in this clinical record instance
2015-08-07 09:53:52  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::lock_row() #1034): locking row: 
[clin.encounter] [14845] (exclusive: False)
2015-08-07 09:53:52  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.encounter_mod_db]
2015-08-07 09:53:52  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::__init__() #96): 
Instantiated clinical record for patient [2599].
2015-08-07 09:53:52  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:53:52  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #164): current in client: [cEncounter:14839]: ['last_affirmed_original_tz: 
>>2015-08-07 08:22:11.622907<<', 'pk_type: >>1<<', 'pk_patient: >>3439<<', 
u'assessment_of_encounter: >>BWS, SSB; <<', 'pk_org_type: >>4<<', 
'pk_generic_codes_aoe: >>[]<<', u'modified_by: >>MaAn<<', 'xmin_encounter: 
>>138587<<', u'l10n_type: >>in Praxis<<', 'modified_when: >>2015-08-07 
08:22:11.622907+02:00<<', 'pk_generic_codes_rfe: >>[]<<', u'type: >>in 
surgery<<', u'modified_by_raw: >>maan<<', 'started: >>2015-08-07 
08:22:11.622907+02:00<<', 'reason_for_encounter: NULL', 'pk_unit_type: >>4<<', 
'pk_audit: >>203526<<', u'praxis_branch: >>Praxis<<', 'last_affirmed: 
>>2015-08-07 08:58:01.733062+02:00<<', 'pk_org_unit: >>7<<', 'pk_encounter: 
>>14839<<', 'row_version: >>0<<', 'pk_org: >>7<<', 'source_time_zone: 
>>2:00:00<<', 'started_original_tz: >>2015-08-07 08:22:11.622907<<', u'praxis: 
>>Praxis Angermann<<']
2015-08-07 09:53:52  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #195): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
14665, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 167, in 
db_callback_encounter_mod_db
    curr_enc_in_db['pk_encounter']
ValueError: unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:53:52  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #160): 
exception: unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #161): type: 
<type 'exceptions.ValueError'>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #162): list of 
attributes:
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #164):   args: 
('unsaved changes in active encounter [14839], cannot switch to another one 
[14839]',)
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #164):   
message: unsaved changes in active encounter [14839], cannot switch to another 
one [14839]
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #187): stack 
trace follows:
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #188): (locals 
by frame, outmost frame first)
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       code = <code object <module> at 0x7fe7400ed030, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   mod_name = Gnumed.gnumed
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 alter_argv = 1
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     loader = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   pkg_name = Gnumed
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
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.5.6', '_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'], 'codecs': <module 'codecs' 
from '/usr/lib/python2.7/codecs.pyc'>, 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7fe73ecec1b8>, 
'setup_cli': <function setup_cli at 0x7fe73ecec0c8>, '_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 0x7fe73ecec668>, 'current_client_branch': u'1.5', 
'setup_logging': <function setup_logging at 0x7fe73ece1ed8>, 'setup_ui_type': 
<function setup_ui_type at 0x7fe73ecec500>, '__package__': 'Gnumed', 
'platform': <module 'platform' from '/usr/lib/python2.7/platform.pyc'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x7fe73ecec320>, 'shutdown_tmp_dir': 
<function shutdown_tmp_dir at 0x7fe73ecec6e0>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x7fe73ecec398>, 'setup_date_time': <function 
setup_date_time at 0x7fe73ecec410>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x7fe73ecec230>, 'profile_file': None, '__license__': 'GPL v2 or later (details 
at http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7fe73ece1f50>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x7fe73ece1de8>, '__author__': 'H. Herb 
<address@hidden>, K. Hilbert <address@hidden>, I. Haywood <address@hidden>', 
'sys': <module 'sys' (built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' 
from '/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7fe7401fead0>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7fe73ecec5f0>, 'handle_sig_term': <function 
handle_sig_term at 0x7fe73ecec140>, '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 0x7fe740148878>, 'setup_backend': <function 
setup_backend at 0x7fe73ecec578>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7fe73ecec488>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7fe73ecec050>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7fe73ece1e60>, 'handle_help_request': <function handle_help_request at 
0x7fe73ecec2a8>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7fe73e95f190>, 'setup_python_path': <function setup_python_path at 
0x7fe73ece1d70>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>}
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       code = <code object <module> at 0x7fe7400ed030, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
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.5.6', '_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'], 'codecs': <module 'codecs' 
from '/usr/lib/python2.7/codecs.pyc'>, 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7fe73ecec1b8>, 
'setup_cli': <function setup_cli at 0x7fe73ecec0c8>, '_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 0x7fe73ecec668>, 'current_client_branch': u'1.5', 
'setup_logging': <function setup_logging at 0x7fe73ece1ed8>, 'setup_ui_type': 
<function setup_ui_type at 0x7fe73ecec500>, '__package__': 'Gnumed', 
'platform': <module 'platform' from '/usr/lib/python2.7/platform.pyc'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x7fe73ecec320>, 'shutdown_tmp_dir': 
<function shutdown_tmp_dir at 0x7fe73ecec6e0>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x7fe73ecec398>, 'setup_date_time': <function 
setup_date_time at 0x7fe73ecec410>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x7fe73ecec230>, 'profile_file': None, '__license__': 'GPL v2 or later (details 
at http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7fe73ece1f50>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x7fe73ece1de8>, '__author__': 'H. Herb 
<address@hidden>, K. Hilbert <address@hidden>, I. Haywood <address@hidden>', 
'sys': <module 'sys' (built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' 
from '/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7fe7401fead0>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7fe73ecec5f0>, 'handle_sig_term': <function 
handle_sig_term at 0x7fe73ecec140>, '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 0x7fe740148878>, 'setup_backend': <function 
setup_backend at 0x7fe73ecec578>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7fe73ecec488>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7fe73ecec050>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7fe73ece1e60>, 'handle_help_request': <function handle_help_request at 
0x7fe73ecec2a8>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7fe73e95f190>, 'setup_python_path': <function setup_python_path at 
0x7fe73ece1d70>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>}
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
init_globals = None
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   pkg_name = Gnumed
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   mod_name = __main__
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 647 
<<<
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
_known_short_options = h?V
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
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.

2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
_old_sig_term = None
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
current_client_version = 1.5.6
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
_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']
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     codecs = <module 'codecs' from '/usr/lib/python2.7/codecs.pyc'>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    ui_type = wxp
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_signal_handlers = <function setup_signal_handlers at 0x7fe73ecec1b8>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  setup_cli = <function setup_cli at 0x7fe73ecec0c8>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_logging = <function shutdown_logging at 0x7fe73ecec668>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
current_client_branch = 1.5
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_logging = <function setup_logging at 0x7fe73ece1ed8>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_ui_type = <function setup_ui_type at 0x7fe73ecec500>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
__package__ = Gnumed
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
handle_version_request = <function handle_version_request at 0x7fe73ecec320>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x7fe73ecec6e0>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
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.

2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_paths_and_files = <function setup_paths_and_files at 0x7fe73ecec398>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
setup_date_time = <function setup_date_time at 0x7fe73ecec410>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
setup_locale = <function setup_locale at 0x7fe73ecec230>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
profile_file = None
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
log_startup_info = <function log_startup_info at 0x7fe73ece1f50>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
__builtins__ = <module '__builtin__' (built-in)>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_local_repo_path = <function setup_local_repo_path at 0x7fe73ece1de8>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        sys = <module 'sys' (built-in)>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _log = <logging.Logger object at 0x7fe7401fead0>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   __name__ = __main__
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_backend = <function shutdown_backend at 0x7fe73ecec5f0>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
handle_sig_term = <function handle_sig_term at 0x7fe73ecec140>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
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.

2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_backend = <function setup_backend at 0x7fe73ecec578>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  setup_cfg = <function setup_cfg at 0x7fe73ecec488>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x7fe73ecec050>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     signal = <module 'signal' (built-in)>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
setup_fault_handler = <function setup_fault_handler at 0x7fe73ece1e60>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
handle_help_request = <function handle_help_request at 0x7fe73ecec2a8>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x7fe73e95f190>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):    
setup_python_path = <function setup_python_path at 0x7fe73ece1d70>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3720 <<<
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >,)
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     kwargs = {}
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [<lambda>] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
14665 <<<
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      event = <wx._core.PyEvent; proxy of <Swig Object of type 'wxPyEvent *' at 
0x7fe718003040> >
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [db_callback_encounter_mod_db] in 
[/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py] at line 167 <<<
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       self = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x7fe7130f8110>
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):       
curr_enc_in_db = [cEncounter:14839]:
last_affirmed_original_tz: 2015-08-07 08:22:11.622907
pk_type: 1
pk_patient: 3439
assessment_of_encounter: NULL
pk_org_type: 4
pk_generic_codes_aoe: []
modified_by: MaAn
xmin_encounter: 138587
l10n_type: in Praxis
modified_when: 2015-08-07 08:22:11.622907+02:00
pk_generic_codes_rfe: []
type: in surgery
modified_by_raw: maan
started: 2015-08-07 08:22:11.622907+02:00
reason_for_encounter: NULL
pk_unit_type: 4
pk_audit: 203526
praxis_branch: Praxis
last_affirmed: 2015-08-07 08:22:11.622907+02:00
pk_org_unit: 7
pk_encounter: 14839
row_version: 0
pk_org: 7
source_time_zone: 2:00:00
started_original_tz: 2015-08-07 08:22:11.622907
praxis: Praxis Angermann
2015-08-07 09:53:52  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       kwds = {'pk_column': u'pk', 'pk_row': u'14841', 'sender': None, 
'notification_index': 141, 'message_index': 282, 'listener_pid': 17661, 
'pk_identity': u'3607', 'sending_backend_pid': 12484, 'originated_in_database': 
True, 'table': u'clin.encounter', 'operation': u'UPDATE', 'signal': 
'clin.encounter_mod_db'}
2015-08-07 09:53:52  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #171): clin.encounter_mod_db received but no change to active encounter payload
2015-08-07 09:53:53  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=-1* -> event.GetSelection()=0
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #167): the following two should match but do not:
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #168):  event.GetOldSelection(): -1
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #169):  notebook.GetSelection(): 16
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#220): those two really *should* match:
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#221):  wx.Notebook.GetSelection() (before switch) : 16
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#222):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::repopulate_ui() 
#457): called by notebook plugin API, skipping inbox loading
2015-08-07 09:53:53  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=-1* -> event.GetSelection()=0
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #167): the following two should match but do not:
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #168):  event.GetOldSelection(): -1
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #169):  notebook.GetSelection(): 16
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#220): those two really *should* match:
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#221):  wx.Notebook.GetSelection() (before switch) : 16
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#222):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::repopulate_ui() 
#457): called by notebook plugin API, skipping inbox loading
2015-08-07 09:53:53  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #164): current in client: [cEncounter:14839]: ['last_affirmed_original_tz: 
>>2015-08-07 08:22:11.622907<<', 'pk_type: >>1<<', 'pk_patient: >>3439<<', 
u'assessment_of_encounter: >>BWS, SSB; <<', 'pk_org_type: >>4<<', 
'pk_generic_codes_aoe: >>[]<<', u'modified_by: >>MaAn<<', 'xmin_encounter: 
>>138587<<', u'l10n_type: >>in Praxis<<', 'modified_when: >>2015-08-07 
08:22:11.622907+02:00<<', 'pk_generic_codes_rfe: >>[]<<', u'type: >>in 
surgery<<', u'modified_by_raw: >>maan<<', 'started: >>2015-08-07 
08:22:11.622907+02:00<<', 'reason_for_encounter: NULL', 'pk_unit_type: >>4<<', 
'pk_audit: >>203526<<', u'praxis_branch: >>Praxis<<', 'last_affirmed: 
>>2015-08-07 08:58:01.733062+02:00<<', 'pk_org_unit: >>7<<', 'pk_encounter: 
>>14839<<', 'row_version: >>0<<', 'pk_org: >>7<<', 'source_time_zone: 
>>2:00:00<<', 'started_original_tz: >>2015-08-07 08:22:11.622907<<', u'praxis: 
>>Praxis Angermann<<']
2015-08-07 09:53:53  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #195): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
14665, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 167, in 
db_callback_encounter_mod_db
    curr_enc_in_db['pk_encounter']
ValueError: unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:53:53  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #160): 
exception: unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #161): type: 
<type 'exceptions.ValueError'>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #162): list of 
attributes:
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #164):   args: 
('unsaved changes in active encounter [14839], cannot switch to another one 
[14839]',)
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #164):   
message: unsaved changes in active encounter [14839], cannot switch to another 
one [14839]
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #187): stack 
trace follows:
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #188): (locals 
by frame, outmost frame first)
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       code = <code object <module> at 0x7fe7400ed030, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   mod_name = Gnumed.gnumed
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 alter_argv = 1
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     loader = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   pkg_name = Gnumed
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
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.5.6', '_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'], 'codecs': <module 'codecs' 
from '/usr/lib/python2.7/codecs.pyc'>, 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7fe73ecec1b8>, 
'setup_cli': <function setup_cli at 0x7fe73ecec0c8>, '_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 0x7fe73ecec668>, 'current_client_branch': u'1.5', 
'setup_logging': <function setup_logging at 0x7fe73ece1ed8>, 'setup_ui_type': 
<function setup_ui_type at 0x7fe73ecec500>, '__package__': 'Gnumed', 
'platform': <module 'platform' from '/usr/lib/python2.7/platform.pyc'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x7fe73ecec320>, 'shutdown_tmp_dir': 
<function shutdown_tmp_dir at 0x7fe73ecec6e0>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x7fe73ecec398>, 'setup_date_time': <function 
setup_date_time at 0x7fe73ecec410>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x7fe73ecec230>, 'profile_file': None, '__license__': 'GPL v2 or later (details 
at http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7fe73ece1f50>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x7fe73ece1de8>, '__author__': 'H. Herb 
<address@hidden>, K. Hilbert <address@hidden>, I. Haywood <address@hidden>', 
'sys': <module 'sys' (built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' 
from '/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7fe7401fead0>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7fe73ecec5f0>, 'handle_sig_term': <function 
handle_sig_term at 0x7fe73ecec140>, '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 0x7fe740148878>, 'setup_backend': <function 
setup_backend at 0x7fe73ecec578>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7fe73ecec488>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7fe73ecec050>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7fe73ece1e60>, 'handle_help_request': <function handle_help_request at 
0x7fe73ecec2a8>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7fe73e95f190>, 'setup_python_path': <function setup_python_path at 
0x7fe73ece1d70>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>}
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       code = <code object <module> at 0x7fe7400ed030, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
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.5.6', '_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'], 'codecs': <module 'codecs' 
from '/usr/lib/python2.7/codecs.pyc'>, 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7fe73ecec1b8>, 
'setup_cli': <function setup_cli at 0x7fe73ecec0c8>, '_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 0x7fe73ecec668>, 'current_client_branch': u'1.5', 
'setup_logging': <function setup_logging at 0x7fe73ece1ed8>, 'setup_ui_type': 
<function setup_ui_type at 0x7fe73ecec500>, '__package__': 'Gnumed', 
'platform': <module 'platform' from '/usr/lib/python2.7/platform.pyc'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x7fe73ecec320>, 'shutdown_tmp_dir': 
<function shutdown_tmp_dir at 0x7fe73ecec6e0>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x7fe73ecec398>, 'setup_date_time': <function 
setup_date_time at 0x7fe73ecec410>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x7fe73ecec230>, 'profile_file': None, '__license__': 'GPL v2 or later (details 
at http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7fe73ece1f50>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x7fe73ece1de8>, '__author__': 'H. Herb 
<address@hidden>, K. Hilbert <address@hidden>, I. Haywood <address@hidden>', 
'sys': <module 'sys' (built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' 
from '/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7fe7401fead0>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7fe73ecec5f0>, 'handle_sig_term': <function 
handle_sig_term at 0x7fe73ecec140>, '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 0x7fe740148878>, 'setup_backend': <function 
setup_backend at 0x7fe73ecec578>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7fe73ecec488>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7fe73ecec050>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7fe73ece1e60>, 'handle_help_request': <function handle_help_request at 
0x7fe73ecec2a8>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7fe73e95f190>, 'setup_python_path': <function setup_python_path at 
0x7fe73ece1d70>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>}
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
init_globals = None
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   pkg_name = Gnumed
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   mod_name = __main__
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 647 
<<<
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
_known_short_options = h?V
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
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.

2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
_old_sig_term = None
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
current_client_version = 1.5.6
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
_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']
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     codecs = <module 'codecs' from '/usr/lib/python2.7/codecs.pyc'>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    ui_type = wxp
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_signal_handlers = <function setup_signal_handlers at 0x7fe73ecec1b8>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  setup_cli = <function setup_cli at 0x7fe73ecec0c8>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_logging = <function shutdown_logging at 0x7fe73ecec668>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
current_client_branch = 1.5
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_logging = <function setup_logging at 0x7fe73ece1ed8>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_ui_type = <function setup_ui_type at 0x7fe73ecec500>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
__package__ = Gnumed
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
handle_version_request = <function handle_version_request at 0x7fe73ecec320>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x7fe73ecec6e0>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
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.

2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_paths_and_files = <function setup_paths_and_files at 0x7fe73ecec398>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
setup_date_time = <function setup_date_time at 0x7fe73ecec410>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
setup_locale = <function setup_locale at 0x7fe73ecec230>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
profile_file = None
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
log_startup_info = <function log_startup_info at 0x7fe73ece1f50>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
__builtins__ = <module '__builtin__' (built-in)>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_local_repo_path = <function setup_local_repo_path at 0x7fe73ece1de8>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        sys = <module 'sys' (built-in)>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _log = <logging.Logger object at 0x7fe7401fead0>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   __name__ = __main__
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_backend = <function shutdown_backend at 0x7fe73ecec5f0>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
handle_sig_term = <function handle_sig_term at 0x7fe73ecec140>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
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.

2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_backend = <function setup_backend at 0x7fe73ecec578>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  setup_cfg = <function setup_cfg at 0x7fe73ecec488>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x7fe73ecec050>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     signal = <module 'signal' (built-in)>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
setup_fault_handler = <function setup_fault_handler at 0x7fe73ece1e60>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
handle_help_request = <function handle_help_request at 0x7fe73ecec2a8>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x7fe73e95f190>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):    
setup_python_path = <function setup_python_path at 0x7fe73ece1d70>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3720 <<<
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >,)
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     kwargs = {}
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [handle_uncaught_exception_wx] in 
[/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py] at line 241 
<<<
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   new_name = 
/home/marc/.gnumed/error_logs/gnumed-2015_08_07-08_03_23-2171_2015-08-07_09-53-52.log
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        dlg = 
<Gnumed.wxpython.gmExceptionHandlingWidgets.cUnhandledExceptionDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x4943f00> >
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       name = gnumed-2015_08_07-08_03_23-2171
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
          v = unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        ext = .log
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
          t = <type 'exceptions.ValueError'>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x7fe73e95f190>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
         tb = <traceback object at 0x7fe712d1cf38>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [ShowModal] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_windows.py] at line 
703 <<<
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       args = 
(<Gnumed.wxpython.gmExceptionHandlingWidgets.cUnhandledExceptionDlg; proxy of 
<Swig Object of type 'wxDialog *' at 0x4943f00> >,)
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     kwargs = {}
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [<lambda>] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
14665 <<<
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      event = <wx._core.PyEvent; proxy of <Swig Object of type 'wxPyEvent *' at 
0x7fe718004120> >
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [db_callback_encounter_mod_db] in 
[/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py] at line 167 <<<
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       self = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x7fe7130f8110>
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):       
curr_enc_in_db = [cEncounter:14839]:
last_affirmed_original_tz: 2015-08-07 08:22:11.622907
pk_type: 1
pk_patient: 3439
assessment_of_encounter: NULL
pk_org_type: 4
pk_generic_codes_aoe: []
modified_by: MaAn
xmin_encounter: 138587
l10n_type: in Praxis
modified_when: 2015-08-07 08:22:11.622907+02:00
pk_generic_codes_rfe: []
type: in surgery
modified_by_raw: maan
started: 2015-08-07 08:22:11.622907+02:00
reason_for_encounter: NULL
pk_unit_type: 4
pk_audit: 203526
praxis_branch: Praxis
last_affirmed: 2015-08-07 08:22:11.622907+02:00
pk_org_unit: 7
pk_encounter: 14839
row_version: 0
pk_org: 7
source_time_zone: 2:00:00
started_original_tz: 2015-08-07 08:22:11.622907
praxis: Praxis Angermann
2015-08-07 09:53:53  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       kwds = {'pk_column': u'pk', 'pk_row': u'14845', 'sender': None, 
'notification_index': 142, 'message_index': 284, 'listener_pid': 17661, 
'pk_identity': u'2599', 'sending_backend_pid': 12495, 'originated_in_database': 
True, 'table': u'clin.encounter', 'operation': u'INSERT', 'signal': 
'clin.encounter_mod_db'}
2015-08-07 09:53:53  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #171): clin.encounter_mod_db received but no change to active encounter payload
2015-08-07 09:53:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:53:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:53:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12496, readonly: False
2015-08-07 09:53:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:53:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:53:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:53:53  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::remove_empty_encounters()
 #2137): removing empty encounters for pk_identity [2599]
2015-08-07 09:53:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12497, readonly: False
2015-08-07 09:53:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:53:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:53:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:53:53  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#165): SQL: SELECT * FROM dem.v_message_inbox WHERE pk_patient = %(pat)s AND 
is_overdue IS TRUE ORDER BY due_date, importance DESC, received_when DESC
2015-08-07 09:53:53  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#166): args: {'pat': 2599}
2015-08-07 09:53:53  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [post_patient_activation]
2015-08-07 09:53:53  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::__init__() #43): 
instantiated document folder for patient [2599]
2015-08-07 09:53:53  INFO      gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::get_latest_mugshot() #96): 
no mugshots available for patient [2599]
2015-08-07 09:53:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:53:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:53:53  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14845]
2015-08-07 09:53:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12498, readonly: False
2015-08-07 09:53:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:53:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:53:53  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_post_patient_selection()
 #638): post_patient_selection
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
 #446): called by reget-on-paint mixin API
2015-08-07 09:53:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:53:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:53:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:53:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:53:53  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=-1* -> event.GetSelection()=0
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #167): the following two should match but do not:
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #168):  event.GetOldSelection(): -1
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #169):  notebook.GetSelection(): 16
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#220): those two really *should* match:
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#221):  wx.Notebook.GetSelection() (before switch) : 16
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#222):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2015-08-07 09:53:53  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::repopulate_ui() 
#457): called by notebook plugin API, skipping inbox loading
2015-08-07 09:53:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:53:53  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:53:54  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:53:54  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:53:54  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 09:53:54  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:53:54  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=0* -> event.GetSelection()=1
2015-08-07 09:53:54  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #167): the following two should match but do not:
2015-08-07 09:53:54  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #168):  event.GetOldSelection(): 0
2015-08-07 09:53:54  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #169):  notebook.GetSelection(): 16
2015-08-07 09:53:54  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:53:54  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=0 -> event.GetSelection()=1*
2015-08-07 09:53:54  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#220): those two really *should* match:
2015-08-07 09:53:54  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#221):  wx.Notebook.GetSelection() (before switch) : 16
2015-08-07 09:53:54  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#222):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): 0
2015-08-07 09:53:54  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:53:54  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=16* -> event.GetSelection()=2
2015-08-07 09:53:54  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:53:54  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=16 -> event.GetSelection()=2*
2015-08-07 09:53:54  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:53:54  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:53:54  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:53:54  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:53:54  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:53:54  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:53:54  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:53:54  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:53:54  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:53:54  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:53:54  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#165): SQL: SELECT * FROM dem.v_message_inbox WHERE pk_patient = %(pat)s AND 
is_overdue IS TRUE ORDER BY due_date, importance DESC, received_when DESC
2015-08-07 09:53:54  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#166): args: {'pat': 2599}
2015-08-07 09:53:54  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_inbox_messages() 
#250): SQL: SELECT * FROM dem.v_message_inbox WHERE pk_patient = %(pat)s ORDER 
BY due_date NULLS LAST, importance DESC, received_when DESC
2015-08-07 09:53:54  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_inbox_messages() 
#251): args: {'pat': 2599}
2015-08-07 09:53:54  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:53:54  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:02  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #247): syncing log file for backup to 
[/home/marc/.gnumed/error_logs/gnumed-2015_08_07-08_03_23-2171_2015-08-07_09-53-53.log]
2015-08-07 09:54:02  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #120): -------- synced 
log file -------------------------------
2015-08-07 09:54:03  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #247): syncing log file for backup to 
[/home/marc/.gnumed/error_logs/gnumed-2015_08_07-08_03_23-2171_2015-08-07_09-53-52.log]
2015-08-07 09:54:03  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #120): -------- synced 
log file -------------------------------
2015-08-07 09:54:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:04  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:05  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:11  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_deactivated]
2015-08-07 09:54:22  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [app_activated]
2015-08-07 09:54:31  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:31  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:31  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:31  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:31  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:31  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:31  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:31  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:42  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:54:42  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:54:55  ERROR     gm.datetime 
(/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py::pydt_strftime() #265): Python 
cannot strftime() this <datetime>
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py", line 263, in 
pydt_strftime
    return dt.strftime(format).decode(encoding, 'replace')
ValueError: year=201 is before 1900; the datetime strftime() methods require 
year >= 1900
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12815, readonly: False
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #143: Notify(12815, 'gm_table_mod', 
'operation=INSERT::table=dem.names::PK name=id::row PK=3713::person PK=3608')
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [dem.names_mod_db]
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #144: Notify(12815, 'gm_table_mod', 
'operation=INSERT::table=dem.identity::PK name=pk::row PK=3608::person PK=3608')
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [dem.identity_mod_db]
2015-08-07 09:55:06  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [post_person_creation]
2015-08-07 09:55:06  DEBUG     gm.patient 
(/usr/share/gnumed/Gnumed/wxpython/gmPersonCreationWidgets.py::_save_as_new() 
#477): identity created: [cIdentity:3608]: ['comment: NULL', 
'pk_emergency_contact: NULL', 'pk_identity: >>3608<<', 'pk_primary_provider: 
NULL', 'dob_is_estimated: >>False<<', 'emergency_contact: NULL', 'title: NULL', 
'xmin_identity: >>138740<<', 'tob: NULL', 'pk_marital_status: NULL', 
'pk_active_name: >>3713<<', 'dob_only: >>2014-07-28 11:11:11.111000+02:00<<', 
'preferred: NULL', u'firstnames: >>Pauline<<', 'dob: >>2014-07-28 
11:11:11.111000+02:00<<', u'gender: >>f<<', u'marital_status: >>unknown<<', 
u'l10n_marital_status: >>unbekannt<<', u'l10n_gender: >>w<<', 'cob: NULL', 
u'lastnames: >>Wobst<<', 'pupic: NULL', 'deceased: NULL']
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12816, readonly: False
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #145: Notify(12816, 'gm_table_mod', 
'operation=UPDATE::table=dem.names::PK name=id::row PK=3713::person PK=3608')
2015-08-07 09:55:06  CRITICAL  gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py::refetch_payload() 
#542): [cIdentity:3608]: cannot reload, payload changed
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [dem.names_mod_db]
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12817, readonly: False
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #146: Notify(12817, 'gm_table_mod', 
'operation=UPDATE::table=dem.identity::PK name=pk::row PK=3608::person PK=3608')
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [dem.identity_mod_db]
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12818, readonly: False
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:55:06  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:55:07  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12819, readonly: False
2015-08-07 09:55:07  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:55:07  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:55:07  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:55:07  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #147: Notify(12819, 'gm_table_mod', 
'operation=INSERT::table=dem.lnk_identity2comm::PK name=pk::row PK=3741::person 
PK=3608')
2015-08-07 09:55:07  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [dem.lnk_identity2comm_mod_db]
2015-08-07 09:55:07  DEBUG     gm.patient 
(/usr/share/gnumed/Gnumed/wxpython/gmPersonCreationWidgets.py::create_new_person()
 #84): created new person [3608]
2015-08-07 09:55:08  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::__init__() #1871): patient 
change [2599] -> [3608] requested
2015-08-07 09:55:08  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:08  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:08  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::cleanup() #126): 
cleaning up after clinical record for patient [2599]
2015-08-07 09:55:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::unlock_row() #1051): trying to 
unlock row: [clin.encounter] [14845] (exclusive: False)
2015-08-07 09:55:08  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:08  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1757): pulling chart 
(thread 140631190554368)
2015-08-07 09:55:08  DEBUG     gm.chart_pull 
(/usr/share/gnumed/Gnumed/wxpython/gmChartPullingWidgets.py::pull_chart() 
#187): pulling chart for identity [3608]
2015-08-07 09:55:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12829, readonly: False
2015-08-07 09:55:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:55:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:55:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:55:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #148: Notify(12829, 'gm_table_mod', 
'operation=INSERT::table=clin.patient::PK name=pk::row PK=3608::person PK=3608')
2015-08-07 09:55:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.patient_mod_db]
2015-08-07 09:55:08  DEBUG     gm.chart_pull 
(/usr/share/gnumed/Gnumed/wxpython/gmChartPullingWidgets.py::_get_very_recent_encounter()
 #48): no <very recent> encounter (younger than [1 hour 30 minutes]) found
2015-08-07 09:55:08  DEBUG     gm.chart_pull 
(/usr/share/gnumed/Gnumed/wxpython/gmChartPullingWidgets.py::_get_fairly_recent_encounter()
 #83): no <fairly recent> encounter (between [1 hour 30 minutes] and [6 hours] 
old) found
2015-08-07 09:55:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12830, readonly: False
2015-08-07 09:55:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:55:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:55:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:55:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #149: Notify(12830, 'gm_table_mod', 
'operation=INSERT::table=clin.encounter::PK name=pk::row PK=14846::person 
PK=3608')
2015-08-07 09:55:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.encounter_mod_db]
2015-08-07 09:55:08  DEBUG     gm.chart_pull 
(/usr/share/gnumed/Gnumed/wxpython/gmChartPullingWidgets.py::_decide_on_active_encounter()
 #172): new encounter [14846] initiated
2015-08-07 09:55:08  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::_set_current_encounter()
 #1696): first setting of active encounter in this clinical record instance
2015-08-07 09:55:08  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::lock_row() #1034): locking row: 
[clin.encounter] [14846] (exclusive: False)
2015-08-07 09:55:08  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [clin.encounter_mod_db]
2015-08-07 09:55:08  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::__init__() #96): 
Instantiated clinical record for patient [3608].
2015-08-07 09:55:08  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_identity_mod_db()
 #621): identity_mod_db
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_message_inbox_mod_db()
 #633): message_inbox_mod_db
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
 #446): called by reget-on-paint mixin API
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_identity_mod_db()
 #621): identity_mod_db
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_message_inbox_mod_db()
 #633): message_inbox_mod_db
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
 #446): called by reget-on-paint mixin API
2015-08-07 09:55:08  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=-1* -> event.GetSelection()=0
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #167): the following two should match but do not:
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #168):  event.GetOldSelection(): -1
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #169):  notebook.GetSelection(): 2
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#220): those two really *should* match:
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#221):  wx.Notebook.GetSelection() (before switch) : 2
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#222):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::repopulate_ui() 
#457): called by notebook plugin API, skipping inbox loading
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=-1* -> event.GetSelection()=0
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #167): the following two should match but do not:
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #168):  event.GetOldSelection(): -1
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #169):  notebook.GetSelection(): 2
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#220): those two really *should* match:
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#221):  wx.Notebook.GetSelection() (before switch) : 2
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#222):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2015-08-07 09:55:08  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::repopulate_ui() 
#457): called by notebook plugin API, skipping inbox loading
2015-08-07 09:55:09  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 09:55:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:55:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=-1* -> event.GetSelection()=0
2015-08-07 09:55:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #167): the following two should match but do not:
2015-08-07 09:55:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #168):  event.GetOldSelection(): -1
2015-08-07 09:55:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #169):  notebook.GetSelection(): 2
2015-08-07 09:55:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:55:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2015-08-07 09:55:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#220): those two really *should* match:
2015-08-07 09:55:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#221):  wx.Notebook.GetSelection() (before switch) : 2
2015-08-07 09:55:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#222):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2015-08-07 09:55:09  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::repopulate_ui() 
#457): called by notebook plugin API, skipping inbox loading
2015-08-07 09:55:09  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #164): current in client: [cEncounter:14839]: ['last_affirmed_original_tz: 
>>2015-08-07 08:22:11.622907<<', 'pk_type: >>1<<', 'pk_patient: >>3439<<', 
u'assessment_of_encounter: >>BWS, SSB; <<', 'pk_org_type: >>4<<', 
'pk_generic_codes_aoe: >>[]<<', u'modified_by: >>MaAn<<', 'xmin_encounter: 
>>138587<<', u'l10n_type: >>in Praxis<<', 'modified_when: >>2015-08-07 
08:22:11.622907+02:00<<', 'pk_generic_codes_rfe: >>[]<<', u'type: >>in 
surgery<<', u'modified_by_raw: >>maan<<', 'started: >>2015-08-07 
08:22:11.622907+02:00<<', 'reason_for_encounter: NULL', 'pk_unit_type: >>4<<', 
'pk_audit: >>203526<<', u'praxis_branch: >>Praxis<<', 'last_affirmed: 
>>2015-08-07 08:58:01.733062+02:00<<', 'pk_org_unit: >>7<<', 'pk_encounter: 
>>14839<<', 'row_version: >>0<<', 'pk_org: >>7<<', 'source_time_zone: 
>>2:00:00<<', 'started_original_tz: >>2015-08-07 08:22:11.622907<<', u'praxis: 
>>Praxis Angermann<<']
2015-08-07 09:55:09  DEBUG     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
 #195): unhandled exception caught:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
14665, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 167, in 
db_callback_encounter_mod_db
    curr_enc_in_db['pk_encounter']
ValueError: unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:55:09  DEBUG     gm.cfg 
(/usr/share/gnumed/Gnumed/pycommon/gmCfg2.py::get() #391): option 
[internal::debug] found in source [internal]
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #160): 
exception: unsaved changes in active encounter [14839], cannot switch to 
another one [14839]
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #161): type: 
<type 'exceptions.ValueError'>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #162): list of 
attributes:
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #164):   args: 
('unsaved changes in active encounter [14839], cannot switch to another one 
[14839]',)
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #164):   
message: unsaved changes in active encounter [14839], cannot switch to another 
one [14839]
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #187): stack 
trace follows:
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #188): (locals 
by frame, outmost frame first)
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [_run_module_as_main] in [/usr/lib/python2.7/runpy.py] at line 
162 <<<
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       code = <code object <module> at 0x7fe7400ed030, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   mod_name = Gnumed.gnumed
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 alter_argv = 1
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     loader = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   pkg_name = Gnumed
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      fname = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
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.5.6', '_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'], 'codecs': <module 'codecs' 
from '/usr/lib/python2.7/codecs.pyc'>, 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7fe73ecec1b8>, 
'setup_cli': <function setup_cli at 0x7fe73ecec0c8>, '_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 0x7fe73ecec668>, 'current_client_branch': u'1.5', 
'setup_logging': <function setup_logging at 0x7fe73ece1ed8>, 'setup_ui_type': 
<function setup_ui_type at 0x7fe73ecec500>, '__package__': 'Gnumed', 
'platform': <module 'platform' from '/usr/lib/python2.7/platform.pyc'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x7fe73ecec320>, 'shutdown_tmp_dir': 
<function shutdown_tmp_dir at 0x7fe73ecec6e0>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x7fe73ecec398>, 'setup_date_time': <function 
setup_date_time at 0x7fe73ecec410>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x7fe73ecec230>, 'profile_file': None, '__license__': 'GPL v2 or later (details 
at http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7fe73ece1f50>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x7fe73ece1de8>, '__author__': 'H. Herb 
<address@hidden>, K. Hilbert <address@hidden>, I. Haywood <address@hidden>', 
'sys': <module 'sys' (built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' 
from '/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7fe7401fead0>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7fe73ecec5f0>, 'handle_sig_term': <function 
handle_sig_term at 0x7fe73ecec140>, '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 0x7fe740148878>, 'setup_backend': <function 
setup_backend at 0x7fe73ecec578>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7fe73ecec488>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7fe73ecec050>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7fe73ece1e60>, 'handle_help_request': <function handle_help_request at 
0x7fe73ecec2a8>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7fe73e95f190>, 'setup_python_path': <function setup_python_path at 
0x7fe73ece1d70>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>}
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [_run_code] in [/usr/lib/python2.7/runpy.py] at line 72 <<<
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 mod_loader = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       code = <code object <module> at 0x7fe7400ed030, file 
"/usr/share/gnumed/Gnumed/gnumed.py", line 50>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
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.5.6', '_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'], 'codecs': <module 'codecs' 
from '/usr/lib/python2.7/codecs.pyc'>, 'ui_type': 'wxp', 
'setup_signal_handlers': <function setup_signal_handlers at 0x7fe73ecec1b8>, 
'setup_cli': <function setup_cli at 0x7fe73ecec0c8>, '_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 0x7fe73ecec668>, 'current_client_branch': u'1.5', 
'setup_logging': <function setup_logging at 0x7fe73ece1ed8>, 'setup_ui_type': 
<function setup_ui_type at 0x7fe73ecec500>, '__package__': 'Gnumed', 
'platform': <module 'platform' from '/usr/lib/python2.7/platform.pyc'>, 
'gmDateTime': <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>, 'handle_version_request': 
<function handle_version_request at 0x7fe73ecec320>, 'shutdown_tmp_dir': 
<function shutdown_tmp_dir at 0x7fe73ecec6e0>, 'missing_cli_config_file': 
u'\nGNUmed startup: Missing configuration 
file.\n-------------------------------------------\n\nYou explicitly specified 
a configuration file\non the command line:\n\n\t--conf-file=%s\n\nThe file does 
not exist, however.\n', '__doc__': 'GNUmed client launcher.\n\nThis is the 
launcher for the GNUmed GUI client. It takes\ncare of all the pre- and post-GUI 
runtime environment setup.\n\n--quiet\n Be extra quiet and show only _real_ 
errors in the log.\n--debug\n Pre-set the [debug mode] checkbox in the login 
dialog to\n increase verbosity in the log file. Useful for, well, debugging 
:-)\n--slave\n Pre-set the [enable remote control] checkbox in the login\n 
dialog to enable the XML-RPC remote control feature.\n--hipaa\n Enable HIPAA 
functionality which has user impact.\n--profile=<file>\n Activate profiling and 
write profile data to <file>.\n--text-domain=<text domain>\n Set this to change 
the name of the language file to be loaded.\n Note, this does not change the 
directory the file is searched in,\n only the name of the file where messages 
are loaded from. The\n standard textdomain is, of course, 
"gnumed.mo".\n--log-file=<file>\n Use this to change the name of the log 
file.\n See gmLog2.py to find out where the standard log file would\n end 
up.\n--conf-file=<file>\n Use configuration file <file> instead of searching 
for it in\n standard locations.\n--lang-gettext=<language>\n Explicitly set the 
language to use in gettext translation. The very\n same effect can be achieved 
by setting the environment variable $LANG\n from a launcher 
script.\n--override-schema-check\n Continue loading the client even if the 
database schema version\n and the client software version cannot be verified to 
be compatible.\n--skip-update-check\n Skip checking for client updates. This is 
useful during development\n and when the update check URL is unavailable 
(down).\n--local-import\n Adjust the PYTHONPATH such that GNUmed can be run 
from a local source tree.\n--ui=<ui type>\n Start an alternative UI. Defaults 
to wxPython if not specified.\n Valid values: chweb (CherryPy), wxp (wxPython), 
web (ProxiedWeb)\n--version, -V\n Show version information.\n--help, -h, or 
-?\n Show this help.\n', 'setup_paths_and_files': <function 
setup_paths_and_files at 0x7fe73ecec398>, 'setup_date_time': <function 
setup_date_time at 0x7fe73ecec410>, 'stat': <module 'stat' from 
'/usr/lib/python2.7/stat.pyc'>, 'setup_locale': <function setup_locale at 
0x7fe73ecec230>, 'profile_file': None, '__license__': 'GPL v2 or later (details 
at http://www.gnu.org)', 'log_startup_info': <function log_startup_info at 
0x7fe73ece1f50>, '__builtins__': <module '__builtin__' (built-in)>, '__file__': 
'/usr/share/gnumed/Gnumed/gnumed.py', 'setup_local_repo_path': <function 
setup_local_repo_path at 0x7fe73ece1de8>, '__author__': 'H. Herb 
<address@hidden>, K. Hilbert <address@hidden>, I. Haywood <address@hidden>', 
'sys': <module 'sys' (built-in)>, 'gmHooks': <module 'Gnumed.pycommon.gmHooks' 
from '/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>, 'gmTools': <module 
'Gnumed.pycommon.gmTools' from '/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>, 
'_log': <logging.Logger object at 0x7fe7401fead0>, '__name__': '__main__', 
'gmPG2': <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>, 'shutdown_backend': <function 
shutdown_backend at 0x7fe73ecec5f0>, 'handle_sig_term': <function 
handle_sig_term at 0x7fe73ecec140>, '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 0x7fe740148878>, 'setup_backend': <function 
setup_backend at 0x7fe73ecec578>, 'logging': <module 'logging' from 
'/usr/lib/python2.7/logging/__init__.pyc'>, 'setup_cfg': <function setup_cfg at 
0x7fe73ecec488>, 'setup_console_exception_handler': <function 
setup_console_exception_handler at 0x7fe73ecec050>, 'signal': <module 'signal' 
(built-in)>, 'setup_fault_handler': <function setup_fault_handler at 
0x7fe73ece1e60>, 'handle_help_request': <function handle_help_request at 
0x7fe73ecec2a8>, '_cfg': <Gnumed.pycommon.gmCfg2.gmCfgData object at 
0x7fe73e95f190>, 'setup_python_path': <function setup_python_path at 
0x7fe73ece1d70>, 'os': <module 'os' from '/usr/lib/python2.7/os.pyc'>}
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
init_globals = None
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   pkg_name = Gnumed
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   mod_name = __main__
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  mod_fname = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [<module>] in [/usr/share/gnumed/Gnumed/gnumed.py] at line 647 
<<<
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
_known_short_options = h?V
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
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.

2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     gmI18N = <module 'Gnumed.pycommon.gmI18N' from 
'/usr/share/gnumed/Gnumed/pycommon/gmI18N.py'>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
_old_sig_term = None
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
current_client_version = 1.5.6
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
_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']
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     codecs = <module 'codecs' from '/usr/lib/python2.7/codecs.pyc'>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    ui_type = wxp
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_signal_handlers = <function setup_signal_handlers at 0x7fe73ecec1b8>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  setup_cli = <function setup_cli at 0x7fe73ecec0c8>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
_known_ui_types = [u'web', u'wxp', u'chweb']
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     shutil = <module 'shutil' from '/usr/lib/python2.7/shutil.pyc'>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     gmLog2 = <module 'Gnumed.pycommon.gmLog2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmLog2.py'>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  gmGuiMain = <module 'Gnumed.wxpython.gmGuiMain' from 
'/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py'>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_logging = <function shutdown_logging at 0x7fe73ecec668>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
current_client_branch = 1.5
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_logging = <function setup_logging at 0x7fe73ece1ed8>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_ui_type = <function setup_ui_type at 0x7fe73ecec500>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
__package__ = Gnumed
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   platform = <module 'platform' from '/usr/lib/python2.7/platform.pyc'>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 gmDateTime = <module 'Gnumed.pycommon.gmDateTime' from 
'/usr/share/gnumed/Gnumed/pycommon/gmDateTime.py'>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
handle_version_request = <function handle_version_request at 0x7fe73ecec320>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_tmp_dir = <function shutdown_tmp_dir at 0x7fe73ecec6e0>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
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.

2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_paths_and_files = <function setup_paths_and_files at 0x7fe73ecec398>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
setup_date_time = <function setup_date_time at 0x7fe73ecec410>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       stat = <module 'stat' from '/usr/lib/python2.7/stat.pyc'>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
setup_locale = <function setup_locale at 0x7fe73ecec230>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
profile_file = None
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
__license__ = GPL v2 or later (details at http://www.gnu.org)
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
log_startup_info = <function log_startup_info at 0x7fe73ece1f50>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):         
__builtins__ = <module '__builtin__' (built-in)>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   __file__ = /usr/share/gnumed/Gnumed/gnumed.py
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_local_repo_path = <function setup_local_repo_path at 0x7fe73ece1de8>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 __author__ = H. Herb <address@hidden>, K. Hilbert <address@hidden>, I. Haywood 
<address@hidden>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        sys = <module 'sys' (built-in)>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    gmHooks = <module 'Gnumed.pycommon.gmHooks' from 
'/usr/share/gnumed/Gnumed/pycommon/gmHooks.py'>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    gmTools = <module 'Gnumed.pycommon.gmTools' from 
'/usr/share/gnumed/Gnumed/pycommon/gmTools.py'>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _log = <logging.Logger object at 0x7fe7401fead0>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
   __name__ = __main__
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      gmPG2 = <module 'Gnumed.pycommon.gmPG2' from 
'/usr/share/gnumed/Gnumed/pycommon/gmPG2.py'>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):     
shutdown_backend = <function shutdown_backend at 0x7fe73ecec5f0>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):      
handle_sig_term = <function handle_sig_term at 0x7fe73ecec140>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
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.

2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
 __loader__ = <pkgutil.ImpLoader instance at 0x7fe740148878>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):        
setup_backend = <function setup_backend at 0x7fe73ecec578>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
    logging = <module 'logging' from '/usr/lib/python2.7/logging/__init__.pyc'>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
  setup_cfg = <function setup_cfg at 0x7fe73ecec488>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209): 
setup_console_exception_handler = <function setup_console_exception_handler at 
0x7fe73ecec050>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     signal = <module 'signal' (built-in)>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
setup_fault_handler = <function setup_fault_handler at 0x7fe73ece1e60>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):  
handle_help_request = <function handle_help_request at 0x7fe73ecec2a8>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       _cfg = <Gnumed.pycommon.gmCfg2.gmCfgData object at 0x7fe73e95f190>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):    
setup_python_path = <function setup_python_path at 0x7fe73ece1d70>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
         os = <module 'os' from '/usr/lib/python2.7/os.pyc'>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [main] in [/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py] at 
line 3720 <<<
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
        app = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 8010 
<<<
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       self = <Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [MainLoop] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 7306 
<<<
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       args = (<Gnumed.wxpython.gmGuiMain.gmApp; proxy of <Swig Object of type 
'wxPyApp *' at 0x308d7f0> >,)
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
     kwargs = {}
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [<lambda>] in 
[/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py] at line 
14665 <<<
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
      event = <wx._core.PyEvent; proxy of <Swig Object of type 'wxPyEvent *' at 
0x7fe718003ca0> >
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #194): >>> 
execution frame [db_callback_encounter_mod_db] in 
[/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py] at line 167 <<<
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       self = <Gnumed.business.gmClinicalRecord.cClinicalRecord object at 
0x7fe7130f8110>
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):       
curr_enc_in_db = [cEncounter:14839]:
last_affirmed_original_tz: 2015-08-07 08:22:11.622907
pk_type: 1
pk_patient: 3439
assessment_of_encounter: NULL
pk_org_type: 4
pk_generic_codes_aoe: []
modified_by: MaAn
xmin_encounter: 138587
l10n_type: in Praxis
modified_when: 2015-08-07 08:22:11.622907+02:00
pk_generic_codes_rfe: []
type: in surgery
modified_by_raw: maan
started: 2015-08-07 08:22:11.622907+02:00
reason_for_encounter: NULL
pk_unit_type: 4
pk_audit: 203526
praxis_branch: Praxis
last_affirmed: 2015-08-07 08:22:11.622907+02:00
pk_org_unit: 7
pk_encounter: 14839
row_version: 0
pk_org: 7
source_time_zone: 2:00:00
started_original_tz: 2015-08-07 08:22:11.622907
praxis: Praxis Angermann
2015-08-07 09:55:09  DEBUG     gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::log_stack_trace() #209):          
       kwds = {'pk_column': u'pk', 'pk_row': u'14846', 'sender': None, 
'notification_index': 149, 'message_index': 298, 'listener_pid': 17661, 
'pk_identity': u'3608', 'sending_backend_pid': 12830, 'originated_in_database': 
True, 'table': u'clin.encounter', 'operation': u'INSERT', 'signal': 
'clin.encounter_mod_db'}
2015-08-07 09:55:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:09  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#165): SQL: SELECT * FROM dem.v_message_inbox WHERE pk_patient = %(pat)s AND 
is_overdue IS TRUE ORDER BY due_date, importance DESC, received_when DESC
2015-08-07 09:55:09  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#166): args: {'pat': 3608}
2015-08-07 09:55:09  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_inbox_messages() 
#250): SQL: SELECT * FROM dem.v_message_inbox WHERE pk_patient = %(pat)s ORDER 
BY due_date NULLS LAST, importance DESC, received_when DESC
2015-08-07 09:55:09  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_inbox_messages() 
#251): args: {'pat': 3608}
2015-08-07 09:55:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:09  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:09  DEBUG     gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::__init__() #43): 
instantiated document folder for patient [3608]
2015-08-07 09:55:10  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #171): clin.encounter_mod_db received but no change to active encounter payload
2015-08-07 09:55:10  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::db_callback_encounter_mod_db()
 #171): clin.encounter_mod_db received but no change to active encounter payload
2015-08-07 09:55:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12831, readonly: False
2015-08-07 09:55:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:55:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:55:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:55:10  DEBUG     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::remove_empty_encounters()
 #2137): removing empty encounters for pk_identity [3608]
2015-08-07 09:55:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12832, readonly: False
2015-08-07 09:55:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:55:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:55:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:55:10  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1447): RW query 
failed: [SELECT clin.remove_old_empty_encounters(3608::INTEGER, '1 
week'::INTERVAL)]
2015-08-07 09:55:10  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1451): PG error 
code: P0001
2015-08-07 09:55:10  ERROR     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_rw_queries() #1453): PG error 
message: ERROR:  clin.remove_old_empty_encounters(person=3608, min_age=7 days): 
there are less than 2 encounters for this patient
2015-08-07 09:55:10  ERROR     gm.emr 
(/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py::remove_empty_encounters()
 #2151): error deleting empty encounters
Traceback (most recent call last):
  File "/usr/share/gnumed/Gnumed/business/gmClinicalRecord.py", line 2149, in 
remove_empty_encounters
    rows, idx = gmPG2.run_rw_queries(queries = [{'cmd': cmd, 'args': args}])
  File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1445, 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=3608, min_age=7 days): 
there are less than 2 encounters for this patient

2015-08-07 09:55:10  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#165): SQL: SELECT * FROM dem.v_message_inbox WHERE pk_patient = %(pat)s AND 
is_overdue IS TRUE ORDER BY due_date, importance DESC, received_when DESC
2015-08-07 09:55:10  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#166): args: {'pat': 3608}
2015-08-07 09:55:10  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [post_patient_activation]
2015-08-07 09:55:10  INFO      gm.docs 
(/usr/share/gnumed/Gnumed/business/gmDocuments.py::get_latest_mugshot() #96): 
no mugshots available for patient [3608]
2015-08-07 09:55:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:10  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14846]
2015-08-07 09:55:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12835, readonly: False
2015-08-07 09:55:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:55:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:55:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:55:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #220): #150: Notify(12835, 'gm_table_mod', 
'operation=INSERT::table=clin.allergy_state::PK name=pk::row PK=3608::person 
PK=3608')
2015-08-07 09:55:10  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmBackendListener.py::_process_notifications()
 #263): emulating old-style table specific signal [clin.allergy_state_mod_db]
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_on_post_patient_selection()
 #638): post_patient_selection
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::_schedule_data_reget()
 #446): called by reget-on-paint mixin API
2015-08-07 09:55:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:10  ERROR     gm.messaging 
(/usr/share/gnumed/Gnumed/pycommon/gmDispatcher.py::connect() #104): unknown 
signal [blobs.doc_obj_mod_db]
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=-1* -> event.GetSelection()=0
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #167): the following two should match but do not:
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #168):  event.GetOldSelection(): -1
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #169):  notebook.GetSelection(): 2
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=-1 -> event.GetSelection()=0*
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#220): those two really *should* match:
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#221):  wx.Notebook.GetSelection() (before switch) : 2
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#222):  EVT_NOTEBOOK_PAGE_CHANGED.GetOldSelection(): -1
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmProviderInboxWidgets.py::repopulate_ui() 
#457): called by notebook plugin API, skipping inbox loading
2015-08-07 09:55:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:10  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=2* -> event.GetSelection()=3
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:55:10  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=2 -> event.GetSelection()=3*
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:11  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [request_user_attention]
2015-08-07 09:55:11  INFO      gm.hook 
(/usr/share/gnumed/Gnumed/pycommon/gmHooks.py::run_hook_script() #149): told to 
pull hook [request_user_attention]
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:11  DEBUG     gm.domain 
(/usr/share/gnumed/Gnumed/business/gmAllergy.py::ensure_has_allergy_state() 
#29): checking allergy state for identity of encounter [14846]
2015-08-07 09:55:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1627): new 
database connection, backend PID: 12844, readonly: False
2015-08-07 09:55:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1671): 
access mode [READ WRITE]
2015-08-07 09:55:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_raw_connection() #1673): 
readwrite: autocommit=False
2015-08-07 09:55:11  DEBUG     gm.db 
(/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::get_connection() #1736): client 
string encoding [UTF8], isolation level [serializable], time zone [posix/Poland]
2015-08-07 09:55:11  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #156): just before switching notebook tabs
2015-08-07 09:55:11  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changing()
 #164): event.GetOldSelection()=3* -> event.GetSelection()=2
2015-08-07 09:55:11  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#210): just after switching notebook tabs
2015-08-07 09:55:11  DEBUG     gm.ui 
(/usr/share/gnumed/Gnumed/wxpython/gmHorstSpace.py::_on_notebook_page_changed() 
#217): event.GetOldSelection()=3 -> event.GetSelection()=2*
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:11  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#165): SQL: SELECT * FROM dem.v_message_inbox WHERE pk_patient = %(pat)s AND 
is_overdue IS TRUE ORDER BY due_date, importance DESC, received_when DESC
2015-08-07 09:55:11  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_overdue_messages() 
#166): args: {'pat': 3608}
2015-08-07 09:55:11  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_inbox_messages() 
#250): SQL: SELECT * FROM dem.v_message_inbox WHERE pk_patient = %(pat)s ORDER 
BY due_date NULLS LAST, importance DESC, received_when DESC
2015-08-07 09:55:11  DEBUG     gm.inbox 
(/usr/share/gnumed/Gnumed/business/gmProviderInbox.py::get_inbox_messages() 
#251): args: {'pat': 3608}
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1735): accessing EMR 
(thread 140631190554368)
2015-08-07 09:55:11  DEBUG     gm.person 
(/usr/share/gnumed/Gnumed/business/gmPerson.py::get_emr() #1764): returning EMR 
(thread 140631190554368)
2015-08-07 09:55:42  ERROR     gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::mail_log() 
#405): happend several times today
2015-08-07 09:55:42  WARNING   gm.gui 
(/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::mail_log() 
#406): syncing log file for emailing
2015-08-07 09:55:42  CRITICAL  gm.logging 
(/usr/share/gnumed/Gnumed/pycommon/gmLog2.py::flush() #120): -------- synced 
log file -------------------------------

reply via email to

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