Error after upgrade to tryton 6.0

Hi all,

I’ve an error after upgrading to version 6.

How did I proceed:

  • Create a new virtualenv and install version 6
  • Create a backup of the database and restore it with a new name
  • Apply UPDATES on the new db from Migration from 5.8 to 6.0
  • Update the trytond.service to use the new venv
  • Restart service
  • Update my local client to version 6

The client found the db but gives me this after login:

Traceback (most recent call last):
  File "/home/laron/.local/lib/python3.8/site-packages/tryton/gui/main.py", line 249, in do_activate
    common.Login()
  File "/home/laron/.local/lib/python3.8/site-packages/tryton/common/common.py", line 978, in __init__
    func(parameters)
  File "/home/laron/.local/lib/python3.8/site-packages/tryton/rpc.py", line 85, in login
    result = connection.common.db.login(username, parameters, language)
  File "/usr/lib/python3.8/xmlrpc/client.py", line 1109, in __call__
    return self.__send(self.__name, args)
  File "/home/laron/.local/lib/python3.8/site-packages/tryton/jsonrpc.py", line 296, in __request
    raise Fault(*response['error'])
tryton.jsonrpc.Fault: 'set' object has no attribute 'append'

Fault: 'set' object has no attribute 'append'

Looks like a login problem, but I’m a bit lost.
Any clue is welcome…

Which version exactly. A Tryton series is composed of two numbers (see Release process).

You should provide the logs of the server because the problem is on the server.
It comes probably from a custom module so you should also provide the list of activated modules.

Obviously the logs has the answer. Thanks for your help.
My virtualenv was badly configured in trytond.conf…