gnumed-bugs
[Top][All Lists]
Advanced

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

Re: <bug>: gnumed installieren und einrichten


From: Karsten Hilbert
Subject: Re: <bug>: gnumed installieren und einrichten
Date: Fri, 6 Nov 2020 22:59:55 +0100

Hallo Thomas,

thanks for reporting this issue.

> user comment  : gnumed installieren und einrichten
>
> client version: 1.8.0

The problem you are seeing

> 2020-11-06 22:35:59  DEBUG     gm.gui        [140135344060224 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 3455, in OnInit
>     if not self.__verify_praxis_branch():
>   File "/usr/share/gnumed/Gnumed/wxpython/gmGuiMain.py", line 3667, in 
> __verify_praxis_branch
>     if not gmPraxisWidgets.set_active_praxis_branch(no_parent = True):
>   File "/usr/share/gnumed/Gnumed/wxpython/gmPraxisWidgets.py", line 412, in 
> set_active_praxis_branch
>     branches = gmPraxis.get_praxis_branches()
>   File "/usr/share/gnumed/Gnumed/business/gmPraxis.py", line 258, in 
> get_praxis_branches
>     return [ cPraxisBranch(row = {'data': r, 'idx': idx, 'pk_field': 
> 'pk_praxis_branch'}) for r in rows ]
>   File "/usr/share/gnumed/Gnumed/business/gmPraxis.py", line 258, in 
> <listcomp>
>     return [ cPraxisBranch(row = {'data': r, 'idx': idx, 'pk_field': 
> 'pk_praxis_branch'}) for r in rows ]
>   File "/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py", line 337, 
> in __init__
>     self._init_from_row_data(row = row)
>   File "/usr/share/gnumed/Gnumed/pycommon/gmBusinessDBObject.py", line 396, 
> in _init_from_row_data
>     self.pk_obj = row['data'][row['idx'][row['pk_field']]]
> KeyError: 'pk_praxis_branch'

comes from a faulty interaction between threading on Python 3
and psycopg 2.8. It has been fixed in GNUmed 1.8.2 (you are
using 1.8.0, and the most recent release is 1.8.3).

You may want to try a newer release from

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

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



reply via email to

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