gnumed-bugs
[Top][All Lists]
Advanced

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

Re: <bug>: log in


From: Karsten Hilbert
Subject: Re: <bug>: log in
Date: Tue, 30 Mar 2021 23:33:36 +0200

Hello smithg,

thanks for taking the time to report this issue.

> user comment  : log in
>
> client version: 1.8.0

The problem you are seeing

> 2021-03-30 21:32:16  ERROR     gm.staff      [140062037444416 MainThread]  
> (/usr/share/gnumed/Gnumed/business/gmStaff.py::__init__() #57): cannot 
> instantiate staff instance
> Traceback (most recent call last):
>   File "/usr/share/gnumed/Gnumed/business/gmStaff.py", line 55, in __init__
>     rows, idx = gmPG2.run_ro_queries(queries = [{'cmd': cmd}], 
> get_col_idx=True)
>   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.OperationalError: insufficient data in "T" message
>
> 2021-03-30 21:32:16  ERROR     gm.db         [140062037444416 MainThread]  
> (/usr/share/gnumed/Gnumed/pycommon/gmPG2.py::run_ro_queries() #1466): query 
> failed in RO connection
> 2021-03-30 21:32:16  ERROR     gm.gui        [140062037444416 MainThread]  
> (/usr/share/gnumed/Gnumed/wxpython/gmExceptionHandlingWidgets.py::handle_uncaught_exception_wx()
>  #221): enabling debug mode
> 2021-03-30 21:32:16  DEBUG     gm.gui        [140062037444416 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/business/gmStaff.py", line 55, in __init__
>     rows, idx = gmPG2.run_ro_queries(queries = [{'cmd': cmd}], 
> get_col_idx=True)
>   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.OperationalError: insufficient data in "T" message

is fixed in version 1.8.2.

I suggest upgrading to the latest 1.8 release which can be found here:

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

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]