gnumed-bugs
[Top][All Lists]
Advanced

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

Re: <bug>: <user did not comment on bug report>


From: Karsten Hilbert
Subject: Re: <bug>: <user did not comment on bug report>
Date: Sun, 18 Oct 2020 22:20:09 +0200

Hello SRG,

thanks for your report.

On Fri, Oct 16, 2020 at 06:56:15PM +0200, srg wrote:

The problem you are seeing:

> 2020-10-16 18:56:06  DEBUG     gm.gui        [139713973483328 MainThread]  
> (/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #225): unhandled exception caught:
> Traceback (most recent call last):
>   File "/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py", line 3453, in OnInit
>     if not self.__verify_db_account():
>   File "/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py", line 3639, in 
> __verify_db_account
>     _provider = gmStaff.gmCurrentProvider(provider = gmStaff.cStaff())
>   File "/usr/share/gnumed/Gnumed/business/gmStaff.py", line 72, in __init__
>     self.__is_current_user = (gmPG2.get_current_user() == 
> self._payload[self._idx['db_user']])
>   File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 420, in 
> get_current_user
>     rows, idx = run_ro_queries(queries = [{'cmd': 'select CURRENT_USER'}])
>   File "/usr/share/gnumed/Gnumed/pycommon/gmPG2.py", line 1462, in 
> run_ro_queries
>     curs.execute(query['cmd'], args)
>   File "/usr/lib/python3/dist-packages/psycopg2/extras.py", line 142, in 
> execute
>     return super(DictCursor, self).execute(query, vars)
> psycopg2.DatabaseError: extraneous data in "T" message

only happens on

> 2020-10-16 18:51:38  INFO      gm.db_pool    [139713973483328 MainThread]  
> (/usr/share/gnumed/Gnumed/pycommon/gmConnectionPool.py::<module>() #83): 
> psycopg2 module version: 2.8.4 (dt dec pq3 ext lo64)

and turned out to be an unholy alliance of Python3 and
threading. The full story's found in this commit:

        39083af38ed36b7585ed748d17b6ca56a4d27a3a

It has been fixed since GNUmed 1.8.2 so we recommend you
switch from

> client version: 1.8.0

to a more recent version.

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]