gnumed-bugs
[Top][All Lists]
Advanced

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

Re: <bug>: Just accessing medication database via top


From: Karsten Hilbert
Subject: Re: <bug>: Just accessing medication database via top
Date: Fri, 1 Nov 2019 23:49:47 +0100
User-agent: Mutt/1.10.1 (2018-07-13)

Dear Azrael,

thanks for your report. Unfortunately, you did not provide an
email address so we can only help over the mailing list.

The problem you are seeing

> 2019-11-01 16:23:57  DEBUG     gm.gui 
> (D:\workplace\gnumed-client.1.6.5\build\pyi.win32\gnumed\outPYZ1.pyz\Gnumed.wxpython.gmExceptionHandlingWidgets::handle_uncaught_exception_wx()
>  #219): unhandled exception caught:
> Traceback (most recent call last):
>   File 
> "D:\workplace\gnumed-client.1.6.5\build\pyi.win32\gnumed\outPYZ1.pyz\Gnumed.wxpython.gmGuiMain",
>  line 2521, in __on_jump_to_drug_db
> TypeError: jump_to_drug_database() got an unexpected keyword argument 'parent'
> 2019-11-01 16:23:57  DEBUG     gm.logging 
> (D:\workplace\gnumed-client.1.6.5\build\pyi.win32\gnumed\outPYZ1.pyz\Gnumed.pycommon.gmLog2::log_stack_trace()
>  #161): exception: jump_to_drug_database() got an unexpected keyword argument 
> 'parent'
> 2019-11-01 16:23:57  DEBUG     gm.logging 
> (D:\workplace\gnumed-client.1.6.5\build\pyi.win32\gnumed\outPYZ1.pyz\Gnumed.pycommon.gmLog2::log_stack_trace()
>  #162): type: <type 'exceptions.TypeError'>
> 2019-11-01 16:23:57  DEBUG     gm.logging 
> (D:\workplace\gnumed-client.1.6.5\build\pyi.win32\gnumed\outPYZ1.pyz\Gnumed.pycommon.gmLog2::log_stack_trace()
>  #163): list of attributes:
> 2019-11-01 16:23:57  DEBUG     gm.logging 
> (D:\workplace\gnumed-client.1.6.5\build\pyi.win32\gnumed\outPYZ1.pyz\Gnumed.pycommon.gmLog2::log_stack_trace()
>  #165):   args: ("jump_to_drug_database() got an unexpected keyword argument 
> 'parent'",)
> 2019-11-01 16:23:57  DEBUG     gm.logging 
> (D:\workplace\gnumed-client.1.6.5\build\pyi.win32\gnumed\outPYZ1.pyz\Gnumed.pycommon.gmLog2::log_stack_trace()
>  #165):   message: jump_to_drug_database() got an unexpected keyword argument 
> 'parent'

while doing

> user comment  : Just accessing medication database via top menu

is fixed in this commit:

        commit 1427034edd19d500b8d56d566c534461658fbfdb
        Author: Karsten Hilbert <address@hidden>
        Date:   Sun Dec 11 21:17:26 2016 +0100

            Fix exceptions on adding hospital stay/starting drug database

                    When switching to the drug database gmGuiMain passed in a
                    <parent> argument which jump_to_drug_db() doesn't need.
                    Also "pat" was referenced where it should have been
                    "patient".

                    GNUmed did check there's an org unit selected before
                    attempting to save a hospital stay but forgot to flag the
                    EA as invalid if not.

This commit has been included in the 1.6.11 release. However,
you are currently using an older version:

> client version: 1.6.5

Our best suggestion is that you upgrade to the latest 1.6
version, which is 1.6.15, available here (at least a source
release, there's no Windows installable):

        https://www.gnumed.de/downloads/client/1.6/

Feel free to ask if you encounter problems running a source release.

Best,
Karsten
--
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B



reply via email to

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