Upgrading a module

Was going to upgrade a module until this error showed.

Traceback (most recent call last):
  File "/trytond/wsgi.py", line 119, in dispatch_request
    return endpoint(request, **request.view_args)
  File "/trytond/protocols/dispatcher.py", line 49, in rpc
    return methods.get(request.rpc_method, _dispatch)(
  File "/trytond/wsgi.py", line 86, in auth_required
    return wrapped(*args, **kwargs)
  File "/trytond/protocols/wrappers.py", line 181, in wrapper
    return func(request, pool, *args, **kwargs)
  File "/trytond/protocols/dispatcher.py", line 207, in _dispatch
    result = rpc.result(meth(*c_args, **c_kwargs))
  File "/trytond/wizard/wizard.py", line 328, in execute
    return wizard._execute(state_name)
  File "/trytond/wizard/wizard.py", line 361, in _execute
    result = self._execute(transition())
  File "/trytond/ir/module.py", line 583, in transition_upgrade
    pool.init(update=update, lang=lang)
  File "/trytond/pool.py", line 165, in init
    restart = not load_modules(
  File "/trytond/modules/__init__.py", line 459, in load_modules
    _load_modules(update)
  File "/trytond/modules/__init__.py", line 422, in _load_modules
    load_module_graph(graph, pool, update, lang)
  File "/trytond/modules/__init__.py", line 224, in load_module_graph
    pool.setup(classes)
  File "/trytond/pool.py", line 251, in setup
    cls.__setup__()
  File "/trytond/modules/health_caldav/res.py", line 32, in __setup__
    cls.email.depends.append('calendars')
AttributeError: 'set' object has no attribute 'append'

Should I install orchange something?

We already told you two times to check the changelogs. You should really do that!

In the changelog for the 6.4 release there is this entry:

* Use a set for field's depends                                                                                                                                                               

Python’s sets have a different API than the list. You must update your code to follow the set API.

I see from your traceback that you are using a gnuhealth module.
Latest gnuhealth version works on tryton 6.0 series but it seems you are using a more recent series. If you want to use gnuhealth modules you should keep with 6.0 series.

Remember: All tryton components (server and modules) must be from the same series (its first two digits of the version must be the same).