Dear Edgar On Thu, 1 Apr 2021 21:52:35 +0200 Edgar Hagenbichler <edgar.hagenbich...@hagenbichler.at> wrote:
> Dear all, > > could somebody please help? > > With my Tryton client I can access the Tryton demo-database. > > When I try to reach federation.gnuhealth.org with Login with user/pw > I get: > > Traceback (most recent call last): > File "C:\msys64\home\ced\tryton-5.0/tryton/gui/main.py", line 275, > in do_activate > File "C:\msys64\home\ced\tryton-5.0/tryton/common/common.py", line > 998, in __init__ > File "C:\msys64\home\ced\tryton-5.0/tryton/rpc.py", line 87, in > login File "C:/msys64/mingw32/lib/python3.8/xmlrpc/client.py", line > 1109, in __call__ > File "C:\msys64\home\ced\tryton-5.0/tryton/jsonrpc.py", line 286, > in I hope not to have nightmares with "C:\" :) > __request > tryton.jsonrpc.Fault: <Fault 'duplicate key value violates unique > constraint "ir_session_pkey"\nDETAIL: Key (id)=(598) already > exists.\n': 'Traceback (most recent call last):\n File > > Could not connect to the server > > Two days ago Raspi as well as federation server worked. > > Can I do something, e.g. delete the session key? Have you logged out? The session is assigned at the moment of login into the system, and closed/dropped at the moment of login out. Another possibility is that for whatever reason the database is in an inconsistent state. All the best Luis