Deux reliques de axon empêche la suppression/pruge de profile synapse
Au moment de supprimer un profile sur synapse l'appel à `delete_without_purging` fait cherche axon qui n'existe plus
Applying hook <function SynapseApplication.delete_without_purging at 0x7f27681c3040>
Traceback (most recent call last):
File "/var/www/hiboo/venv/bin/flask", line 8, in <module>
sys.exit(main())
File "/var/www/hiboo/venv/lib/python3.9/site-packages/flask/cli.py", line 986, in main
cli.main()
File "/var/www/hiboo/venv/lib/python3.9/site-packages/flask/cli.py", line 567, in main
return super().main(*args, **kwargs)
File "/var/www/hiboo/venv/lib/python3.9/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/var/www/hiboo/venv/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/var/www/hiboo/venv/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/var/www/hiboo/venv/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/var/www/hiboo/venv/lib/python3.9/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/var/www/hiboo/venv/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/var/www/hiboo/venv/lib/python3.9/site-packages/flask/cli.py", line 407, in decorator
return __ctx.invoke(f, *args, **kwargs)
File "/var/www/hiboo/venv/lib/python3.9/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/var/www/hiboo/hiboo/cli.py", line 24, in tasks_loop
common.apply_all_transitions()
File "/var/www/hiboo/hiboo/profile/common.py", line 10, in apply_all_transitions
apply_transition(profile)
File "/var/www/hiboo/hiboo/profile/common.py", line 30, in apply_transition
manual = app.apply_hooks(profile, profile.transition, profile.transition_step)
File "/var/www/hiboo/hiboo/application/base.py", line 118, in apply_hooks
results.append(function(self, profile))
File "/var/www/hiboo/hiboo/application/social.py", line 147, in delete_without_purging
client = self.get_axon(profile.service)
AttributeError: 'SynapseApplication' object has no attribute 'get_axon'
Il faudrait supprimer les dernières références à axon.